Summary
This release adds a new list intersection set of actions in Feature Flags, hot new community content, and tons of bugs squashed!
🌟 Huge thanks to community friends (recurring contributors): @gwlester on new feature flag list intersection, @ericbn on docs layer ARN automation bug, and @ran-isenberg on two hot new content!
Feature flags list intersection
Thanks to @Rogalek for the feature request!
You can now toggle feature flags on three new actions:
-
ALL_IN_VALUE
. Toggle a given flag if all list items provided are also available in the schema.-
Schema sample
{ "my_feature": { "default": false, "rules": { "tenant_id is in allowed list": { "when_match": true, "conditions": [ { "action": "ALL_IN_VALUE", "key": "tenant_id", "value": [ "Łukasz", "Gerald", "Leandro", "Heitor" ] } ] } } } }
-
-
ANY_IN_VALUE
. Toggle a given flag if any list item provided is also available in the schema.-
Schema sample
{ "my_feature": { "default": false, "rules": { "tenant_id is in allowed list": { "when_match": true, "conditions": [ { "action": "NONE_IN_VALUE", "key": "tenant_id", "value": [ "Łukasz", "Gerald", "Leandro", "Heitor" ] } ] } } } }
-
-
NONE_IN_VALUE
. Toggle a given flag is no list item provided is available in the schema.-
Schema sample
{ "my_feature": { "default": false, "rules": { "tenant_id is in allowed list": { "when_match": true, "conditions": [ { "action": "NONE_IN_VALUE", "key": "tenant_id", "value": [ "Łukasz", "Gerald", "Leandro", "Heitor" ] } ] } } } }
-
Changes
🌟New features and non-breaking changes
📜 Documentation updates
- docs(we-made-this): add swagger post (#3799) by @ran-isenberg
- chore(deps): bump squidfunk/mkdocs-material from
62d3668
to43b898a
in /docs (#3801) by @dependabot - docs(we-made-this): add reinvent 2023 session (#3790) by @ran-isenberg
- docs(feature_flags): fix incorrect line markers and envelope name (#3792) by @ran-isenberg
- docs(homepage): remove leftover announcement banner (#3783) by @dreamorosi
- docs(home): update layer version to 62 for package version 2.33.1 (#3778) by @ericbn
- docs(home): add note about POWERTOOLS_DEV side effects in CloudWatch Logs (#3770) by @heitorlessa
- chore(deps): bump squidfunk/mkdocs-material from
6a72238
to62d3668
in /docs (#3756) by @dependabot - docs(roadmap): latest roadmap update; use new grid to de-clutter homepage (#3755) by @heitorlessa
- docs(homepage): discord flat badge style; remove former devax email (#3768) by @hjgraca
- feat(feature_flags): add intersect actions for conditions (#3692) by @gwlester
🐛 Bug and hot fixes
- fix(ci): revert layer version bump write-only back to append (#3818) by @heitorlessa
- fix(ci): create one layer artifact per region & merge (#3808) by @heitorlessa
- fix(event-handler): multi-value query string and validation of scalar parameters (#3795) by @rubenfonseca
- fix(event-handler): swagger schema respects api stage (#3796) by @rubenfonseca
- fix(event-handler): handle aliased parameters e.g., Query(alias="categoryType") (#3766) by @rubenfonseca
🔧 Maintenance
- chore(deps-dev): bump ruff from 0.2.1 to 0.2.2 (#3802) by @dependabot
- chore(deps-dev): bump the boto-typing group with 2 updates (#3810) by @dependabot
- chore(deps-dev): bump coverage from 7.4.1 to 7.4.2 (#3811) by @dependabot
- chore(deps-dev): bump pytest from 8.0.0 to 8.0.1 (#3812) by @dependabot
- chore(deps): bump actions/dependency-review-action from 4.1.2 to 4.1.3 (#3813) by @dependabot
- chore(deps): bump the layer-balancer group in /layer/scripts/layer-balancer with 2 updates (#3814) by @dependabot
- chore(tests): increase idempotency coverage with nested payload tampering tests (#3809) by @heitorlessa
- chore(deps): bump actions/dependency-review-action from 4.1.0 to 4.1.2 (#3800) by @dependabot
- chore(deps-dev): bump types-redis from 4.6.0.20240106 to 4.6.0.20240218 (#3804) by @dependabot
- chore(deps): bump squidfunk/mkdocs-material from
62d3668
to43b898a
in /docs (#3801) by @dependabot - chore(deps-dev): bump mkdocs-material from 9.5.9 to 9.5.10 (#3803) by @dependabot
- chore(deps-dev): bump sentry-sdk from 1.40.4 to 1.40.5 (#3805) by @dependabot
- chore(deps-dev): bump aws-cdk-lib from 2.127.0 to 2.128.0 (#3777) by @dependabot
- chore(deps-dev): bump the boto-typing group with 2 updates (#3797) by @dependabot
- chore(deps-dev): bump aws-cdk from 2.127.0 to 2.128.0 (#3776) by @dependabot
- chore(deps): bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3784) by @dependabot
- chore(deps-dev): bump cfn-lint from 0.85.1 to 0.85.2 (#3786) by @dependabot
- refactor(feature-flags): add intersection tests; structure refinement (#3775) by @heitorlessa
- chore(deps-dev): bump pytest-asyncio from 0.21.1 to 0.23.5 (#3773) by @dependabot
- chore(deps-dev): bump sentry-sdk from 1.40.3 to 1.40.4 (#3765) by @dependabot
- chore(deps): bump squidfunk/mkdocs-material from
6a72238
to62d3668
in /docs (#3756) by @dependabot - chore(deps): bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#3764) by @dependabot
- chore(deps): bump actions/dependency-review-action from 4.0.0 to 4.1.0 (#3771) by @dependabot
- chore(deps-dev): bump the boto-typing group with 1 update (#3757) by @dependabot
- chore(deps-dev): bump aws-cdk-lib from 2.126.0 to 2.127.0 (#3758) by @dependabot
- chore(deps-dev): bump aws-cdk from 2.126.0 to 2.127.0 (#3761) by @dependabot
- chore(deps-dev): bump mkdocs-material from 9.5.8 to 9.5.9 (#3759) by @dependabot
- chore(deps-dev): bump sentry-sdk from 1.40.2 to 1.40.3 (#3750) by @dependabot
- chore(deps-dev): bump cfn-lint from 0.85.0 to 0.85.1 (#3749) by @dependabot
This release was made possible by the following contributors:
@dependabot, @dependabot[bot], @dreamorosi, @ericbn, @github-actions, @github-actions[bot], @gwlester, @heitorlessa, @hjgraca, @ran-isenberg and @rubenfonseca