Skip to content

Releases: Kale-Ko/EJCL

5.1.0

04 Jan 00:41
abb8162
Compare
Choose a tag to compare

The project now uses JDK 21.

Possible speed ups for saving and loading.

A bunch of small bug fixes.
Add MySQLHelper#query(Connection, String, List<String>).

Fixed a bunch of javadocs.

5.0.1

21 Dec 10:22
f7719fe
Compare
Choose a tag to compare

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

21 Dec 09:42
3191ab0
Compare
Choose a tag to compare

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.

4.3.0

17 Oct 19:11
0029810
Compare
Choose a tag to compare

Updated BJSL

Fixed some issues with the pom.xml
MySQL and MariaDB drivers are now included in the pom.xml so you shouldn't need to manually specify them anymore

4.2.0 / 4.2.1

03 Sep 04:22
fcf5674
Compare
Choose a tag to compare

Use new shade plugin
Everything should function the same

4.1.1

29 Aug 01:20
097e970
Compare
Choose a tag to compare

Updated BJSL.

BJSL release notes:

Remove usages of sun.misc.Unsafe.
As consequence of this a default zero-arg constructor is now required on all objects (Defining no constructor should do the trick as well).

4.1.0

28 Aug 23:55
9679a91
Compare
Choose a tag to compare

Updated BJSL.

BJSL release notes:

Add a new expectations system.

Currently the only added expectations are @ExpectNotNull and @ExpectIsNull.
Upon a failed expectation an ExpectationFailedException is thrown with the failed condition and variable.

4.0.0

22 Aug 06:22
ef24a52
Compare
Choose a tag to compare

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

3.10.0

03 Jul 11:07
495d4f8
Compare
Choose a tag to compare

StructuredMySQLConfig will now keep track of changes to the config and only update the the values that you changed.

It is now required that configs call #load before accessing data for the first time.

3.9.4

01 Jun 07:25
ccb5838
Compare
Choose a tag to compare

Updated dependencies (gradle, jackson, connector/j)