All Versions
70
Latest Version
Avg Release Cycle
21 days
Latest Release
-

Changelog History
Page 3

  • v2.0.1 Changes

    • ๐Ÿ‘Œ Improved error messages from AWS Secrets Manager
    • 0๏ธโƒฃ Adjusted default obfuscator to obfuscate all fields
    • ๐Ÿ›  Fixed arg names used in constructor error message
  • v2.0.0 Changes

    ๐Ÿ’ฅ Breaking Changes
    • Requires Kotlin 1.6 or higher
    • Requires JDK 11 or higher
    • ๐Ÿ— ConfigLoader.Builder has been removed and replaced with ConfigLoaderBuilder which has clearer semantics around defaults, and how to override defaults.
    • 0๏ธโƒฃ The env vars property source is no longer registered by default. Env vars are typically used to override specific config values, not as an entire source of values, so this avoids some subtle runtime bugs.
    • Using an unresolved substitution value, eg ${foo} where foo doesn't exist, is now an error.
    • ๐Ÿšš The ConfigLoader.loadConfig functions that accept a File or Path have been removed to simply the config loader class. Instead, use the equivalent methods on ConfigLoaderBuilder
    • ParameterMappers now return Set<String> rather than String to allow each parameter mapper to return more than one alternative name. This is only of relevance if you have written custom parameter mappers.
    • Preprocessor now returns errors as types, rather than throwing exceptions. This is only of relevance if you have written custom preprocessors.
    ๐Ÿ†• New Features
    • ConfigLoaderBuilder.report has been added to output a report of the property sources, the resolved config values ( obfuscated), and which config values were unused.
    • ConfigLoaderBuilder.strict mode reports unused config values at any level. If a property source provides a value that is not used, the config loader will error when strict mode is on.
    • ๐Ÿ‘ Multiple @ConfigAlias annotations are now supported per field
    • ๐Ÿ‘ Better error handling on preprocessors.
  • v1.4.16 Changes

    • โž• Added support for sealed class objects in Json by defining empty maps #245
  • v1.4.15 Changes

    • ๐Ÿ›  Fixed regression with multiple constructors introduced in 1.4.10
  • v1.4.14 Changes

    • ๐Ÿšš Moved LocalTimeDecoder to core module
  • v1.4.13 Changes

    • ๐Ÿ›  Fixed regression with ConfigSouce::fromPath #234
  • v1.4.12 Changes

    • โž• Added ParameterStorePathPreprocessor
    • โž• Added ParameterStorePathPropertySource
    • โž• add LocalTimeDecoder (#233) - Jan Brezina
  • v1.4.11 Changes

    • โž• Added order to defaults (Sources, Preprocessors and ParamMappers) (#229) - David Gomes
  • v1.4.10 Changes

    • โž• Added extension methods for Minutes and Seconds to Kotlin durations.
    • data class with multiple constructors can select appropriate constructor to load (#231) - alexis-airwallex
  • v1.4.9 Changes

    • โž• Added Minutes and Seconds as types and added decoders for both.