Skip to content

5.0.0

Compare
Choose a tag to compare
@Kale-Ko Kale-Ko released this 21 Dec 09:42
· 11 commits to main since this release
3191ab0

MySQLConfig's now use a more advanced format that includes the type. This makes it compatible with the new DefaultTypeProcessors. On first load the new field will be created and set with the default value of STRING. This should work in all cases except with Instant's. To fix this see MIGRATE.md.

SimpleFileConfigs now use a more advanced format that includes the type. This makes it compatible with the new DefaultTypeProcessors. See above about Instant's.

MySQLConfig's now use an InetSocketAddress instead of a host/port combo, this should allow for more flexibility, old methods where retained for compatability.
StructuredMySQLConfig's now use Durations instead of a number of milliseconds for the cache length, this should also allow for more flexibility, old methods where retained for compatability.
MySQLConfig's auto reconnect functionality will now try up to 5 times to reconnect instead of just once.

FileConfigs now use java.nio.Path instead of java.util.File.
FileConfigs will no longer create a file if it doesn't exist on load.

Arrays can now be used as the structure for certain config types (currently just StructuredBJSLFileConfig's and StructuredMemoryConfig's).

For ObjectProcessor changes see https://github.com/Kale-Ko/BJSL/releases/tag/2.0.0.

Failing to load the MySQL or MariaDB driver will now throw a DriverLoadException instead of a RuntimeException.

Some internal methods that where accidentally public are now protected.

Added some missing JavaDocs.
Updated and fixed some JavaDocs.
Changed some javadoc generation options.
Source is now included in JavaDocs.
JavaDocs now link to external JavaDocs for used libraries.