Summary
We are thrilled to announce that Powertools for AWS Lambda (Python) now offers AWS Lambda layers in the AWS GovCloud (US) regions.
π β Thanks to @SimonBFrank's amazing work, our Logger utility is now thread-safe when handling extra keys.
New AWS GovCloud (US) Lambda Layer ARNs
You can now use Powertools for AWS Lambda (Python) Lambda layers in the AWS GovCloud (US) regions, enhancing customer experience by making our pre-packaged Lambda layers available in this AWS partition.
To take advantage of the new layers, you need to update your functions or deployment setup to include one of the new Lambda layer ARN from the table below:
AWS GovCloud (us-gov-east-1)
Architecture | Layer ARN |
---|---|
x86_64 | arn:aws-us-gov:lambda:us-gov-east-1:165087284144:layer:AWSLambdaPowertoolsPythonV3-{python_version}-x86_64:{version} |
ARM | arn:aws-us-gov:lambda:us-gov-east-1:165087284144:layer:AWSLambdaPowertoolsPythonV3-{python_version}-arm64:{version} |
AWS GovCloud (us-gov-west-1)
Architecture | Layer ARN |
---|---|
x86_64 | arn:aws-us-gov:lambda:us-gov-west-1:165093116878:layer:AWSLambdaPowertoolsPythonV3-{python_version}-x86_64:{version} |
ARM | arn:aws-us-gov:lambda:us-gov-west-1:165093116878:layer:AWSLambdaPowertoolsPythonV3-{python_version}-arm64:{version} |
New thread-safe methods when working with extra keys in the Logger utility
Before this release, customers might have encountered issues when using append_keys
between thread executions.
You can now use new thread-safe methods for managing extra keys in the Logger utility, ensuring safe and efficient logging in concurrent environments.
Acknowledgements
Last but not least, we are thrilled to see our customers adopting v3, as it indicates we are moving in the right direction.
Changes
πNew features and non-breaking changes
- feat(logger): add thread safe logging keys (#5141) by @SimonBFrank
- feat(ci): GovCloud Layer Workflow (#5261) by @sthulb
π Documentation updates
- docs(layer): update layer version number - v3.2.0 (#5426) by @leandrodamascena
- docs: Add GovCloud layer info (#5414) by @sthulb
- docs(examples): temporarily fix SAR version to v2.x (#5360) by @dreamorosi
- docs(event_handler): add Terraform payload info for API Gateway HTTP API (#5351) by @leandrodamascena
- docs(upgrade_guide): update Lambda layer name (#5347) by @leandrodamascena
- docs(layer): update layer version number (#5344) by @leandrodamascena
π Bug and hot fixes
- fix(ci): Tables are nicer (#5416) by @sthulb
- fix(ci): GovCloud layer verification (#5382) by @sthulb
- fix: test command in verify step (#5381) by @sthulb
- fix(ci): Update partition name (#5380) by @sthulb
- fix(layer): update partition name in the GovCloud workflow (#5379) by @sthulb
π§ Maintenance
- chore(deps-dev): bump cfn-lint from 1.17.2 to 1.18.1 (#5423) by @dependabot
- chore(deps-dev): bump boto3-stubs from 1.35.44 to 1.35.45 (#5421) by @dependabot
- chore(deps-dev): bump mkdocs-material from 9.5.41 to 9.5.42 (#5420) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.275 to 0.1.277 (#5419) by @dependabot
- chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.14 to 3.0.15 (#5418) by @dependabot
- chore(deps): bump squidfunk/mkdocs-material from
0d4e687
to31eb7f7
in /docs (#5417) by @dependabot - chore(ci): Add dump of govcloud layer info in verify step (#5415) by @sthulb
- chore(deps-dev): bump cfn-lint from 1.17.1 to 1.17.2 (#5408) by @dependabot
- chore(deps-dev): bump boto3-stubs from 1.35.43 to 1.35.44 (#5407) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.274 to 0.1.275 (#5406) by @dependabot
- chore(deps-dev): bump cfn-lint from 1.16.1 to 1.17.1 (#5404) by @dependabot
- chore(deps-dev): bump sentry-sdk from 2.16.0 to 2.17.0 (#5400) by @dependabot
- chore(deps-dev): bump boto3-stubs from 1.35.42 to 1.35.43 (#5402) by @dependabot
- chore(deps-dev): bump ruff from 0.6.9 to 0.7.0 (#5403) by @dependabot
- chore(deps-dev): bump mkdocs-material from 9.5.40 to 9.5.41 (#5393) by @dependabot
- chore(deps-dev): bump boto3-stubs from 1.35.41 to 1.35.42 (#5397) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.273 to 0.1.274 (#5394) by @dependabot
- chore(deps-dev): bump boto3-stubs from 1.35.39 to 1.35.41 (#5392) by @dependabot
- chore(deps): bump squidfunk/mkdocs-material from
f9cb76d
to0d4e687
in /docs (#5395) by @dependabot - chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.161.1a0 to 2.162.1a0 (#5386) by @dependabot
- chore(docs): remove layer callout from data masking docs (#5377) by @dreamorosi
- chore(deps-dev): bump aws-cdk-lib from 2.161.1 to 2.162.1 (#5371) by @dependabot
- chore(deps): bump actions/upload-artifact from 4.4.0 to 4.4.3 (#5373) by @dependabot
- chore(deps-dev): bump aws-cdk from 2.161.1 to 2.162.1 (#5372) by @dependabot
- chore(deps-dev): bump boto3-stubs from 1.35.38 to 1.35.39 (#5370) by @dependabot
- chore(deps): bump jsonpath-ng from 1.6.1 to 1.7.0 (#5369) by @dependabot
- chore(deps-dev): bump cfn-lint from 1.16.0 to 1.16.1 (#5363) by @dependabot
- chore(deps-dev): bump boto3-stubs from 1.35.37 to 1.35.38 (#5364) by @dependabot
- chore(deps-dev): bump mkdocs-material from 9.5.39 to 9.5.40 (#5365) by @dependabot
- chore(deps): bump squidfunk/mkdocs-material from
8e8b333
tof9cb76d
in /docs (#5366) by @dependabot - chore(deps): bump actions/upload-artifact from 4.4.1 to 4.4.3 (#5357) by @dependabot
- chore(deps-dev): bump boto3-stubs from 1.35.36 to 1.35.37 (#5356) by @dependabot
- chore(deps-dev): bump nox from 2024.4.15 to 2024.10.9 (#5355) by @dependabot
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.161.0a0 to 2.161.1a0 (#5349) by @dependabot
- chore(deps-dev): bump boto3-stubs from 1.35.35 to 1.35.36 (#5350) by @dependabot
- chore(deps-dev): bump sentry-sdk from 2.15.0 to 2.16.0 (#5348) by @dependabot
This release was made possible by the following contributors:
@SimonBFrank, @dependabot, @dependabot[bot], @dreamorosi, @github-actions, @github-actions[bot], @leandrodamascena and @sthulb