Skip to content

Latest commit

 

History

History
89 lines (56 loc) · 3.12 KB

CHANGELOG.md

File metadata and controls

89 lines (56 loc) · 3.12 KB

Version 3.1.8 (2021-06-29)

  • [new] Support returning tree nodes from functions, allowing to pass subtrees between functions.
  • [new] A new safeValue() function allows to obtain the value of a node without any exception being raised. If an error occurs it is returned as the value.
  • [new] The toString() method on the Coffig class will now return a fully evaluated YAML by default.

Version 3.1.7 (2021-05-05)

  • [fix] Generic arrays (like Class[]) are no longer ignored in the mapping process.

Version 3.1.6 (2020-08-05)

  • [fix] Fix NullPointerException when a blank value is present in properties files.

Version 3.1.5 (2019-09-12)

  • [fix] Fix NullPointerException when a YAML or JSON file read by the Jackson provider is empty.

Version 3.1.4 (2018-12-18)

  • [fix] Fix macro and function evaluation in properties mapping/unmapping.

Version 3.1.3 (2018-12-03)

  • [chg] Built and tested with OpenJDK 11 (minimum Java version still being 8).

Version 3.1.2 (2018-10-18)

  • [chg] Add debug logging

Version 3.1.1 (2018-09-03)

  • [fix] Always make ServiceLoader use the most complete classloader it can find.
  • [fix] Fixed missing detailed error messages for configuration exceptions.
  • [brk] Removed copy constructors from nodes (their shallow copy was risky and useless).

Version 3.1.0 (2018-02-14)

  • [new] Java 9 compatibility.
  • [new] Ability to register change listeners that will be called on refresh if the nodes they are interested in change.
  • [new] Ability to automatically refresh the configuration on YAML/JSON/Properties file change.
  • [fix] Fix resolution of nested macros.

Version 3.0.1 (2017-08-03)

  • [fix] Fix handling of colon (:) inside macro quoted values (i.e. ${'1:2:3'}).
  • [fix] Fix the ability to map maps with null values.

Version 3.0.0 (2017-07-31)

  • [brk] Remove node attributes.
  • [brk] API cleanup.
  • [brk] When converting an array node to a map node, items are used as keys instead of values.
  • [chg] Compatibility with Jackson 2.8.0+.
  • [fix] Properly parse and handle null values.

Version 2.1.1 (2017-06-07)

  • [fix] Fix instantiation of arrays as default values.

Version 2.1.0 (2017-04-28)

  • [new] Mapper for durations.
  • [chg] Map properties files as in-depth trees (not flat keys at the top-level).

Version 2.0.1 (2017-02-20)

  • [fix] Fix formatting of configuration YAML dump.

Version 2.0.0 (2017-02-16)

  • [brk] Replace immutable/mutable dual data-structure with a single one and an unmodifiable wrapper.
  • [brk] Replace collections by streams when accessing nodes.
  • [brk] API refactoring
  • [chg] Add debug and trace logging for main configuration operations (create, fork, refresh, get).
  • [chg] No provider is registered by default anymore.
  • [chg] No processor is registered by default anymore.
  • [chg] No evaluator is registered by default anymore.

Version 1.1.0 (2017-01-12)

  • [new] Allow to ignore macro and function resolution by escaping them with \.
  • [new] Visit superclasses when gathering field info for object mapping.
  • [new] Add a mapper for configuration builders (i.e. objects that provide functions for configuration).

Version 1.0.0 (2016-12-12)

  • [new] Initial version.