Hoplite v2.6.0 Release Notes

    • ➕ Added Environment abstraction
    • Added XdgConfigPropertySource for loading config from $XDG_CONFIG_HOME
    • ➕ Added support for GCP Secrets Manager. To use import hoplite-gcp and set your keys to be gcpsm://mykey.
    • ➕ Added support for AWS Secrets Manager using Amazon's SDK version 2. The syntax is the same, but import hoplite-aws2 instead of hoplite-aws.
    • ➕ Added CascadeMode to control how config should cascade through files.
    • ➕ Added decoder for java.util.Locale
    • 🔧 PrefixObfuscator can now be configured by prefix length and mask.
    • ➕ Added remote-lookup details to the report to show keys used from AWS Secrets Manager, GCP cloud etc.
    • 👌 Support squashing arrays into a comma delimited list by setting flattenArraysToString on the config builder. #339
    • 👌 Support map lookup in AWS preprocessors #341
    • 🛠 Fix sealed subclass picking #338

    💥 Breaking Changes

    These breaking changes are to advanced customization features. Most users will need to change no code.

    • ReporterBuilder has been removed - specify the obfuscator and secrets policy directly on the ConfigLoaderBuilder.
    • SecretsPolicy interface has been changed to directly use Nodes and not just Paths.
    • The Preprocessor interface has changed to have an extra parameter named DecoderContext.