Releases: Kalepa/safe-init
Releases · Kalepa/safe-init
1.3.0
v1.3.0 (2024-09-26)
New features
- Safe Init now allows you to work around the crazy 4KB limit on environment variables in AWS Lambda. Just put some of your environment variables in a JSON file (
.env.json
by default) and Safe Init will take care of the rest.
Full Changelog: 1.2.3...1.3.0
1.2.3
v1.2.3 (2024-09-24)
Improvements
- Safe Init will now fall back to fetching secrets from AWS Secrets Manager if fetching from Redis throws any exception.
Full Changelog: 1.2.2...1.2.3
1.2.2
1.2.1
v1.2.1 (2024-08-01)
Improvements
- Safe Init will no longer add the configured AWS Secrets Manager secret ARN prefix to the specified value if it already contains a prefix.
Full Changelog: 1.2.0...1.2.1
1.2.0
v1.2.0 (2024-07-29)
BREAKING CHANGES
- Setting Slack webhook URLs and custom loggers using monkey patching wasn't working reliably and is no longer supported. Instead, use ContextVars to set your desired values and Safe Init will read them automatically.
Improvements
- Fixed Slack notifications not being sent when Safe Init couldn't gather enough information to identify function execution context.
Full Changelog: 1.1.6...1.2.0
1.1.6
v1.1.6 (2024-07-25)
Improvements
- Added a new option (
SAFE_INIT_ALWAYS_NOTIFY_SLACK
) that enables Safe Init to notify Slack about failures even if a Sentry notification has been sent successfully.
Full Changelog: 1.1.5...1.1.6
1.1.5
v1.1.5 (2024-07-24)
Bug fixes
- Fixed a bug where the value of an AWS Secrets Manager secret wasn't always returned as a string.
Full Changelog: 1.1.4...1.1.5
1.1.4
v1.1.4 (2024-07-22)
New features
- Added a new option that allows specifying a common ARN prefix for all secrets using the
SAFE_INIT_SECRET_ARN_PREFIX
environment variable.
Bug fixes
- Fixed a bug where a KeyError could be raised if an environment variable was no longer found after function import phase.
Full Changelog: 1.1.3...1.1.4
1.1.3
v1.1.3 (2024-06-10)
Bug fixes
- Fixed a bug where setting environment variables to a false-like value (e.g.
0
,false
,off
,no
) would not work as expected.
Full Changelog: 1.1.2...1.1.3
1.1.2
v1.1.2 (2024-05-07)
Bug fixes
- Fixed a bug where resolved AWS Secrets Manager secrets were being accessible during the initialization, but not during the execution of the Lambda function.
Full Changelog: 1.1.0...1.1.2