Commit Graph

19 Commits

Author SHA1 Message Date
Christian Koop 7e1fff7105
Release v3.1.1 2024-03-24 11:16:01 +01:00
dependabot[bot] af4cd8de3e
Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.1 to 3.5.2 (#39)
Bumps [org.apache.maven.plugins:maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.5.1 to 3.5.2.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases)
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.5.1...maven-shade-plugin-3.5.2)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-shade-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-01 13:28:46 +01:00
Christian Koop ca28ff77ae
Release v3.1.0 2024-01-13 21:16:41 +01:00
Christian Koop e5b48b624f
Upgrade Craftaro Core (+dynamic library loading; +MC 1.20.4 support)
Notable changes:
* Spigot 1.20.3/3 compatibility
* dynamic library/dependency loading
  * Smaller plugin jar size
2024-01-13 21:16:41 +01:00
Christian Koop 829e97e5e2
Release v3.0.0-b3-SNAPSHOT 2024-01-13 17:01:22 +01:00
Christian Koop 95b128d73d
fix: Properly migrate the database related code to the new core's API
See previously commits for context

tl;dr
The database migration introduced a lot of changed behaviour and breaking changes.
The plugin essentially could never have worked and nobody reported the issue (or tested it).

I've completely redone the code migration, keeping changes for the plugin internals to a minimum.
Hopefully I didn't overlook anything...
2024-01-13 17:01:22 +01:00
Christian Koop fadb84f2a9
Revert "fix: A lot of issues introduced after migrating to the new database API"
This reverts commit 2eec844447.
2024-01-13 17:01:22 +01:00
Christian Koop 2eec844447
fix: A lot of issues introduced after migrating to the new database API
The new database API introduced a lot of breaking changes and changed behaviour sadly.
When migrating this plugin to the new API these were not taken into account properly and
essentially broke the whole database/storage layer of the plugin.

* SQL statements that were valid in SQLite but are not in H2, which is now the default
* H2 jdbc driver not being shaded into the final jar
* catching exceptions, logging a message, and then continuing code execution (in the core)
* introducing race conditions
* ...

These fixes sometimes rely on the non-multi-threaded APIs provided now which will most certaintly
come with a performance hit on larger servers.
But at least it works again... tbh I do not really want to spend too much time fixing this stuff...

A potential issue that still exists in the use of `DataManager#getNextId` in `AnchorManagerImpl`.
Right now it returns a value based on the largest ID currently in the database – Completely circumventing
the whole auto_increment characteristic of the table schema...
This is another changed behaviour that gets introduced opening the possibility for conflicting IDs
*outside* of the database table itself. The ID can be used as a reference in other places
2023-10-24 01:44:00 +02:00
Christian Koop 9e850c5a49
Release v3.0.0-b2-SNAPSHOT 2023-10-23 17:57:47 +02:00
dependabot[bot] ef6f4a8c8c
Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.0 to 3.5.1 (#31)
Bumps [org.apache.maven.plugins:maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases)
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.5.0...maven-shade-plugin-3.5.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-shade-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 12:34:57 +02:00
dependabot[bot] 330164ae33
Bump maven-shade-plugin from 3.4.1 to 3.5.0
Bumps [maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases)
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.4.1...maven-shade-plugin-3.5.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-shade-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 19:59:13 +02:00
Christian Koop a2ed4c8656
Fix final plugin jar's name being suffixed with '-Plugin'
The suffix comes from the module itself but this is the main artifact of the project.
2023-06-24 11:28:44 +02:00
Christian Koop 3967209265
Moved all classes from`com.songoda` package to `com.craftaro` package 2023-06-24 11:27:25 +02:00
Christian Koop f82486aecb
Sets the plugin's version to v3.0.0-SNAPSHOT 2023-06-24 11:00:53 +02:00
Christian Koop dea440732e
Make the plugin compatible with the latest Core-Snapshot build
I've replaced CompatibleMaterial with a library adding XMaterial.
2023-06-24 10:57:14 +02:00
Christian Koop da2e999ef9
Change the project structure to allow a dedicated API module to exist 2023-06-21 15:05:48 +02:00
The_Creeper_Cow adfa664c4b POM file operational 2018-10-18 19:46:43 +02:00
Brianna O'Keefe 98b2ab6e9d Version/Pom 2018-09-09 17:14:39 -04:00
Brianna O'Keefe 54ea982e34 Initial commit 2018-08-31 11:02:51 -04:00