Releases: wdolek/w4k-extensions-configuration-aws-secretsmanager
Releases · wdolek/w4k-extensions-configuration-aws-secretsmanager
v2.3.0
v2.2.0
v2.1.1
v2.1.0
v2.0.0
What's Changed
- Overall refactoring/API changes, see below
- Reintroduce observability by @wdolek in #8
- Introduce source builder by @wdolek in #11
- Instead of creating logger once, create it before every fetch (allow hacking in different logger factory instance) by @wdolek in #12
Full Changelog: v1.2.0...v2.0.0
Breaking changes
- Errors have to be handled explicitly using
OnLoadExceptionandOnReloadException⚠️ When using polling watcher, exceptions are NOT swallowed by default
- When passing AWS Secrets Manager client (
IAmazonSecretsManager), client is first and secret name second SecretsManagerConfigurationProviderOptionsremoved, instead,SecretsManagerConfigurationSourceis configured directly- Implies removal of configuration override accepting configure action of
SecretsManagerConfigurationProviderOptions
- Implies removal of configuration override accepting configure action of
v1.2.0
v1.1.0
What's Changed
- Add multiple secrets as source at once by @wdolek in #1
⚠️ Breaking change: Remove extension methods with defaultisOptionalparameter by @wdolek in #2⚠️ Breaking change: RequireAWSSDK.SecretsManagerv3.7.0 or later by @wdolek in #3
Full Changelog: v1.0.0...v1.1.0
Change detail
Fetch multiple secrets:
builder.Configuration.AddSecretsManager(["my-first-secret", "my-second-secret"]);Instead isOptional parameter, configure options:
// removed, API no longer available
builder.Configuration.AddSecretsManager("my-secret-secrets", isOptional: true);
// replaced by use of configure callback
builder.Configuration.AddSecretsManager("my-secret-secrets", c => c.IsOptional = true);Breaking change in minor version: package is not widely used - limited impact; loading secret as optional seems to be very niche usecase
v1.0.0
Version 1.0.0
🥳 First stable:
- finalized API (see README)
- fixed tiny issue when tokenizer added leading delimiter "
:" to configuration key without prefix - improved test coverage 🤷
Full Changelog: v0.2.0-alpha...v1.0.0
v0.2.0-alpha
What's new
- possibility to use
IConfigurationWatcherfor triggering configuration value refresh- including
SecretsManagerPollingWatcherfor simple polling (based on given interval)
- including
- startup timeout configuration: if provider fails to load secret in given time, exception is thrown
- provider optionality: it is possible to set configuration source as optional, meaning exception is not thrown on failure
- logging of provider events (requires
ILoggerFactoryinstance)
Full Changelog: v0.1.0-alpha...v0.2.0-alpha
v0.1.0-alpha
🥳 Initial implementation of AWS SecretsManager configuration provider
There are still rough edges and API is not finalized yet, though basic functionality is there and working as expected.
Full Changelog: https://github.com/wdolek/w4k-extensions-configuration-aws-secretsmanager/commits/v0.1.0-alpha