Skip to content

Releases: Exlll/ConfigLib

v4.8.0

24 Dec 02:06
712eb3f

Choose a tag to compare

What's Changed

  • Add option to enable type coercion during deserialization by @Exlll in #56

Full Changelog: v4.7.0...v4.8.0

ConfigLib version 4.7.0

20 Dec 16:41
d36129d

Choose a tag to compare

What's Changed

  • Expose static factory to create type serializers

Full Changelog: v4.6.4...v4.7.0

ConfigLib version 4.6.4

16 Nov 16:06
5e2fd08

Choose a tag to compare

What's Changed

  • Use target type (not element type) when choosing a deserializer for numbers by @Exlll in #50

Full Changelog: v4.6.3...v4.6.4

ConfigLib version 4.6.3

16 Oct 21:12
a578622

Choose a tag to compare

What's Changed

  • Don't erase configuration file on YAML-dump failure by @Exlll in #47

Full Changelog: v4.6.2...v4.6.3

ConfigLib version 4.6.2

15 Oct 14:33
1982476

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.6.1...v4.6.2

v4.6.1

19 May 20:37

Choose a tag to compare

What's Changed

  • Prevent NPE in tryCreateParentDirectories by @tomwmth in #40

New Contributors

Full Changelog: v4.6.0...v4.6.1

ConfigLib version 4.6.0

27 Apr 16:14
531285f

Choose a tag to compare

Add better support for environment variables

See corresponding documentation in the README.

Fix: Enforce serializers to only produce valid target types

All serializers were already required (by the specification) to only produce
valid target types. However, this restriction hasn't been enforced so far and
can cause unexpected errors during deserialization if custom serializers are
involved.

This fix constitutes a breaking change if you have custom serializers that
don't follow the spec. The output of serializers is now checked during
serialization; if it's not of a valid target type, an exception is thrown.

ConfigLib version 4.5.0

23 Feb 01:31
cb44743

Choose a tag to compare

What's Changed

Added support for post-processing configurations via annotations and methods.

Full Changelog: v4.4.0...v4.5.0

ConfigLib version 4.4.0

26 Jan 13:24

Choose a tag to compare

What's Changed

  • Add builder option to specify charset for file encoding by @WiIIiam278 in #28

New Contributors

Full Changelog: v4.3.0...v4.4.0

ConfigLib version 4.3.0

02 Dec 11:35

Choose a tag to compare

  • Added a new interface, IOStreamConfigurationStore, that provides the two methods
    read and write which take an InputStream and OutputStream, respectively. This
    interface is implemented by the YamlConfigurationStore class.
  • Added several static methods to the YamlConfigurations class that correspond to
    these new read/write methods.