Skip to content

Latest commit

 

History

History
68 lines (55 loc) · 3.56 KB

CHANGELOG.md

File metadata and controls

68 lines (55 loc) · 3.56 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

Fixed

  • Absurd NullPointerException at com.yacl4j.core.util.ConfigurationUtils.emptyConfiguration(ConfigurationUtils.java:33) with IBM SDK 8 (see commit message for more details).

Fixed

  • Added missing setter for the ValueDecoder in the ConfigurationBuilder.
  • Fixed existing setter for the PlaceholderResolver in the ConfigurationBuilder.

Added

  • Added possibility to set a custom placeholder resolver.
  • Added possibility to set a custom value decoder.

Fixed

  • Fixed wrong handling of null values during placeholder resolution.

Added

  • Added optional configuration sources. #3

Changed

  • Improved ConfigurationSourceBuilder API by adding "from" as prefix of the builder methods.

Changed

  • Repackaged Jackson-related dependencies.

Changed

  • Empty files are treated as empty configurations.

Added

  • Introduced http module.

Changed

  • Aligned ConfigurationSource for environment variables to the one for system properties, i.e. environment variables specified as json pointers are interpreted as such.
  • The FileConfigurationSource is now based on the InputStream abstraction. The only visible side effect of this change is the possibility to load configuration files embedded in some other jar on the classpath.

Added

  • Introduced ConfigurationSource for json-based configurations.

Changed

  • Re-thought '.' character handling in case of Java Properties. This impacts the way in which properties are added to the configuration tree and the way in which placeholders need to be specified in order to be correctly resolved.

Added

  • Introduced ConfigurationSource for properties-based configurations.
  • Introduced ConfigurationSource for environment variables.
  • Introduced support for configuration files from path.
  • Introduced support for configuration files from classpath.

Changed

  • Re-designed ConfigurationBuilder API. This impacts how the configuration sources are specified.

0.0.1

Added

  • Introduced ConfigurationSource for yaml-based configurations.
  • Introduced ConfigurationSource for system properties.
  • Introduced non-recursive PlaceholdersResolver.
  • Introduced support for JDK 8 datatypes (with Jackson Jdk8Module).
  • Introduced support for deserialization through interfaces (with Jackson MrBeanModule).