Releases: Kale-Ko/EJCL
5.1.0
5.0.1
Added a Migration Guide, see MIGRATE.md
Added a delay in between reconnect attempts (1, 2, 4, and then 8 seconds).
Added StructuredMySQLConfig#revalidateCache
for re-validating the cache.
Updated the README with links.
5.0.0
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.
SimpleFileConfig
s 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 Duration
s 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.
FileConfig
s now use java.nio.Path
instead of java.util.File
.
FileConfig
s 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.
4.3.0
4.2.0 / 4.2.1
Use new shade plugin
Everything should function the same
4.1.1
4.1.0
4.0.0
All configs are now created with builders instead of large constructors.
The builders are constructed with the required parameters and all other optional parameters can be set using #setX
methods
In addition (Un)StructuredXmlConfig
and others have been removed in favor of (Un)StructuredBJSLConfig#createXml
A few other small fixes in Javadocs