- Re work the initial non minecraft api as it was flawed, all issues are hopefully addressed
- fix silly crash
- Add two new functions in
SQLibConfig
that allow for setting the config and default database directory, allowing for sqlib to be used in unsupported mod loads and even outside of minecraft
- Fix MySql/MariaDB/Postgres not loading correctly on velocity
- Add a new
DataStore
functiongetOrCreateDefaultContainer
to cover the most common on create lambda
- Update to 1.21.2
- Fix config not generating when using manual database creation
- fix invalid config creation on windows
- Get on datacontainers now returns an optional instead of null
- Move Gson Types into their own class so they can be used without minecraft being present
- Fix an oversight that could cause problems when null values are retrieved from the database
- Fix Another crash (we do love testing in prod dont we)
- Fix a different crash
- Fix crash
- Change
DataStore
Lookup functions to use optionals instead of returning null for that sweet sweet functional goodness
- Change the way the mod/plugin is loaded internally, allowing
SQLib.getDatabase()
to be called much earlier - Update MariaDB Driver
- Velocity actually works now
- Add an optional
onCreate
function to theDataStore.getOrCreateContainer()
functions
- Allow
DataStore
s andDataContainer
s to be compared using.equals()
- Make the transaction commit return a
DataContainer
- Fix crash when
getContainer()
fails
- Add a DataContainer lookup function to DataStore that was missed in the api rewrite