v2.38.0
Summary
This release introduces a handy new decorator for HTTP HEAD verb in Event Handler, improving the developer experience. Additionally, it offers a straightforward way to persist authorization sessions in OpenAPI, enhancing convenience. 🚀🚀 As always, we've fixed some bugs and refined our documentation. 🎉
🌟 ⭐ Huge thanks to our new contributors: @raymondbutcher, @nlykkei, and @keithrozario!
Using the new decorator for HTTP HEAD verb in Event Handler
We've introduced a new @app.head
decorator to the Event Handler, as it's the recommended approach when you only need to return headers in the response content.
Persisting authorization sessions in OpenAPI
We've added support to persist authorization data, such as OAuth 2.0 access tokens, even when the browser is closed or refreshed. This ensures that the user's authorization information is securely retained in the browser's local storage, providing a seamless experience and avoiding the need to re-authenticate.
Changes
- refactor(data-masking): remove Non-GA comments (#4334) by @leandrodamascena
- refactor(parser): only infer type hints when necessary (#4183) by @raymondbutcher
🌟New features and non-breaking changes
- feat(logger-utils): preserve log level for discovered third-party top-level loggers (#4299) by @heitorlessa
- feat(event_handler): add support for persisting authorization session in OpenAPI (#4312) by @nlykkei
- feat(event_handler): add decorator for HTTP HEAD verb (#4275) by @nlykkei
📜 Documentation updates
- docs(homepage): Change installation to CDK v2 (#4351) by @keithrozario
- docs(homepage): add link to new and official workshop (#4292) by @dreamorosi
- docs(general): update documentation to add info about v3 (#4234) by @leandrodamascena
- docs(roadmap): april updates (#4181) by @heitorlessa
- docs(idempotency): fix highlight and import path (#4154) by @rubenfonseca
🐛 Bug and hot fixes
- fix(logger): correctly pick powertools or custom handler in custom environments (#4295) by @heitorlessa
- fix(event-sources): sane defaults for authorizer v1 and v2 (#4298) by @heitorlessa
- fix(parser): make etag optional field on S3 notification events (#4173) by @benjamingorman
- fix(typing): resolved_headers_field is not Optional (#4148) by @Wurstnase
- fix(ci): apply lessons learned to monthly roadmap reminder cross-repo (#4078) by @heitorlessa
🔧 Maintenance
- chore(deps): bump typing-extensions from 4.11.0 to 4.12.0 (#4404) by @dependabot
- chore(deps-dev): bump aws-cdk-lib from 2.142.1 to 2.143.0 (#4403) by @dependabot
- chore(deps-dev): bump aws-cdk from 2.142.1 to 2.143.0 (#4402) by @dependabot
- chore(deps-dev): bump ruff from 0.4.4 to 0.4.5 (#4399) by @dependabot
- chore(deps-dev): bump sentry-sdk from 2.2.1 to 2.3.1 (#4398) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.157 to 0.1.158 (#4397) by @dependabot
- chore(deps): bump the layer-balancer group in /layer/scripts/layer-balancer with 2 updates (#4396) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.155 to 0.1.157 (#4394) by @dependabot
- chore(deps): bump aws-encryption-sdk from 3.2.0 to 3.3.0 (#4393) by @dependabot
- chore(deps-dev): bump mypy-boto3-cloudformation from 1.34.84 to 1.34.111 in the boto-typing group (#4392) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.154 to 0.1.155 (#4386) by @dependabot
- chore(deps-dev): bump pytest-asyncio from 0.23.6 to 0.23.7 (#4387) by @dependabot
- chore(deps-dev): bump sentry-sdk from 2.2.0 to 2.2.1 (#4388) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.152 to 0.1.154 (#4382) by @dependabot
- chore(deps): bump codecov/codecov-action from 4.4.0 to 4.4.1 (#4376) by @dependabot
- chore(deps-dev): bump mypy-boto3-secretsmanager from 1.34.107 to 1.34.109 in the boto-typing group (#4378) by @dependabot
- chore(deps): bump aws-xray-sdk from 2.13.0 to 2.13.1 (#4379) by @dependabot
- chore(deps): bump requests from 2.31.0 to 2.32.0 (#4383) by @dependabot
- chore(deps-dev): bump mkdocs-material from 9.5.23 to 9.5.24 (#4380) by @dependabot
- chore(deps-dev): bump pytest from 8.2.0 to 8.2.1 (#4381) by @dependabot
- chore(deps): bump squidfunk/mkdocs-material from
48d1914
to5358893
in /docs (#4377) by @dependabot - chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.141.0a0 to 2.142.1a0 (#4367) by @dependabot
- chore(deps-dev): bump aws-cdk from 2.142.0 to 2.142.1 (#4366) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.150 to 0.1.152 (#4368) by @dependabot
- chore(deps): bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#4369) by @dependabot
- chore(deps-dev): bump cfn-lint from 0.87.2 to 0.87.3 (#4370) by @dependabot
- chore(ci): bump download artifact action to v4 (#4358) by @leandrodamascena
- chore(ci): bump upload artifact action to v4 (#4355) by @leandrodamascena
- chore(deps-dev): bump aws-cdk-lib from 2.141.0 to 2.142.1 (#4352) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.146 to 0.1.150 (#4346) by @dependabot
- chore(deps-dev): bump sentry-sdk from 2.1.1 to 2.2.0 (#4348) by @dependabot
- chore(deps-dev): bump mypy-boto3-secretsmanager from 1.34.72 to 1.34.107 in the boto-typing group (#4345) by @dependabot
- chore(deps): bump actions/checkout from 4.1.5 to 4.1.6 (#4344) by @dependabot
- chore(deps-dev): bump aws-cdk from 2.141.0 to 2.142.0 (#4343) by @dependabot
- chore(deps-dev): bump mkdocs-material from 9.5.22 to 9.5.23 (#4338) by @dependabot
- chore(deps): bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#4337) by @dependabot
- chore(deps): bump squidfunk/mkdocs-material from
8ef47d7
to48d1914
in /docs (#4336) by @dependabot - chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.145 to 0.1.146 (#4330) by @dependabot
- chore(deps): bump codecov/codecov-action from 4.3.1 to 4.4.0 (#4328) by @dependabot
- chore(deps-dev): bump mypy-boto3-s3 from 1.34.91 to 1.34.105 in the boto-typing group (#4329) by @dependabot
- chore(deps-dev): bump mkdocs-material from 9.5.21 to 9.5.22 (#4324) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.144 to 0.1.145 (#4325) by @dependabot
- chore(deps): bump squidfunk/mkdocs-material from
11d7ec0
to8ef47d7
in /docs (#4323) by @dependabot - chore(deps-dev): bump cfn-lint from 0.87.1 to 0.87.2 (#4317) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.142 to 0.1.144 (#4316) by @dependabot
- chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.27.12 to 1.27.13 in /layer/scripts/layer-balancer in the layer-balancer group (#4319) by @dependabot
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.140.0a0 to 2.141.0a0 (#4318) by @dependabot
- chore(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3 (#4315) by @dependabot
- chore(deps-dev): bump ruff from 0.4.3 to 0.4.4 (#4309) by @dependabot
- chore(deps-dev): bump aws-cdk-lib from 2.140.0 to 2.141.0 (#4308) by @dependabot
- chore(deps-dev): bump aws-cdk from 2.140.0 to 2.141.0 (#4306) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.140 to 0.1.142 (#4307) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.139 to 0.1.140 (#4301) by @dependabot
- chore(deps): bump the layer-balancer group in /layer/scripts/layer-balancer with 2 updates (#4302) by @dependabot
- chore(governance): add FastAPI third party license attribution (#4297) by @leandrodamascena
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.136 to 0.1.139 (#4293) by @dependabot
- fix(typing): resolved_headers_field is not Optional (#4148) by @Wurstnase
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.135 to 0.1.136 (#4285) by @dependabot
- chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.4 to 3.0.5 (#4281) by @dependabot
- chore(deps): bump actions/checkout from 4.1.4 to 4.1.5 (#4282) by @dependabot
- chore(deps): bump jinja2 from 3.1.3 to 3.1.4 in /docs (#4284) by @dependabot
- chore(deps-dev): bump jinja2 from 3.1.3 to 3.1.4 (#4283) by @dependabot
- chore(deps-dev): bump ruff from 0.4.2 to 0.4.3 (#4286) by @dependabot
- chore(deps-dev): bump sentry-sdk from 2.0.1 to 2.1.1 (#4287) by @dependabot
- chore(deps-dev): bump coverage from 7.5.0 to 7.5.1 (#4288) by @dependabot
- chore(deps): bump squidfunk/mkdocs-material from
98c9809
to11d7ec0
in /docs (#4269) by @dependabot - chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.134 to 0.1.135 (#4273) by @dependabot
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.139.1a0 to 2.140.0a0 (#4270) by @dependabot
- chore(deps-dev): bump cfn-lint from 0.87.0 to 0.87.1 (#4272) by @dependabot
- chore(deps-dev): bump mkdocs-material from 9.5.20 to 9.5.21 (#4271) by @dependabot
- chore(deps-dev): bump mike from 2.1.0 to 2.1.1 (#4268) by @dependabot
- chore(deps-dev): bump mike from 1.1.2 to 2.1.0 (#4258) by @dependabot
- chore(deps-dev): bump aws-cdk-lib from 2.139.1 to 2.140.0 (#4259) by @dependabot
- chore(deps): bump slsa-framework/slsa-github-generator from 1.10.0 to 2.0.0 (#4179) by @dependabot
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.139.0a0 to 2.139.1a0 (#4261) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.133 to 0.1.134 (#4260) by @dependabot
- chore(deps-dev): bump aws-cdk from 2.139.1 to 2.140.0 (#4256) by @dependabot
- chore(deps-dev): bump mypy-boto3-dynamodb from 1.34.91 to 1.34.97 in the boto-typing group (#4257) by @dependabot
- chore(deps-dev): bump aws-cdk-lib from 2.139.0 to 2.139.1 (#4248) by @dependabot
- chore(deps-dev): bump cfn-lint from 0.86.4 to 0.87.0 (#4249) by @dependabot
- chore(deps-dev): bump pytest-xdist from 3.5.0 to 3.6.1 (#4247) by @dependabot
- chore(deps): bump datadog-lambda from 5.93.0 to 5.94.0 (#4253) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.132 to 0.1.133 (#4246) by @dependabot
- chore(deps): bump codecov/codecov-action from 4.3.0 to 4.3.1 (#4252) by @dependabot
- chore(deps-dev): bump aws-cdk from 2.139.0 to 2.139.1 (#4245) by @dependabot
- chore(deps): bump actions/dependency-review-action from 4.3.1 to 4.3.2 (#4244) by @dependabot
- chore(deps-dev): bump filelock from 3.13.4 to 3.14.0 (#4241) by @dependabot
- chore(deps-dev): bump hvac from 2.1.0 to 2.2.0 (#4238) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.131 to 0.1.132 (#4239) by @dependabot
- chore(deps-dev): bump mkdocs-material from 9.5.19 to 9.5.20 (#4242) by @dependabot
- chore(deps): bump actions/dependency-review-action from 4.2.5 to 4.3.1 (#4240) by @dependabot
- chore(deps-dev): bump pytest from 8.1.1 to 8.2.0 (#4237) by @dependabot
- chore(deps): bump squidfunk/mkdocs-material from
e309089
to98c9809
in /docs (#4236) by @dependabot - chore(ci): add branch v3 to quality check and e2e actions (#4232) by @leandrodamascena
- chore(deps-dev): bump sentry-sdk from 1.45.0 to 2.0.1 (#4223) by @dependabot
- chore(deps-dev): bump mkdocs-material from 9.5.18 to 9.5.19 (#4224) by @dependabot
- chore(deps-dev): bump black from 24.4.1 to 24.4.2 (#4222) by @dependabot
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.138.0a0 to 2.139.0a0 (#4225) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.130 to 0.1.131 (#4221) by @dependabot
- chore(deps): bump datadog-lambda from 5.92.0 to 5.93.0 (#4211) by @dependabot
- chore(deps-dev): bump ruff from 0.4.1 to 0.4.2 (#4212) by @dependabot
- chore(deps-dev): bump aws-cdk-lib from 2.138.0 to 2.139.0 (#4213) by @dependabot
- chore(deps-dev): bump aws-cdk from 2.138.0 to 2.139.0 (#4215) by @dependabot
- chore(deps-dev): bump types-redis from 4.6.0.20240423 to 4.6.0.20240425 (#4214) by @dependabot
- chore(deps): bump squidfunk/mkdocs-material from
521644b
toe309089
in /docs (#4216) by @dependabot - chore(deps-dev): bump the boto-typing group with 2 updates (#4210) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.126 to 0.1.130 (#4209) by @dependabot
- chore(deps): bump actions/checkout from 4.1.3 to 4.1.4 (#4206) by @dependabot
- chore(deps): bump actions/download-artifact from 4.1.6 to 4.1.7 (#4205) by @dependabot
- chore(deps-dev): bump black from 24.4.0 to 24.4.1 (#4203) by @dependabot
- chore(deps-dev): bump mypy from 1.9.0 to 1.10.0 (#4202) by @dependabot
- chore(deps-dev): bump mypy-boto3-ssm from 1.34.61 to 1.34.91 in the boto-typing group (#4201) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.123 to 0.1.126 (#4188) by @dependabot
- chore(deps-dev): bump coverage from 7.4.4 to 7.5.0 (#4186) by @dependabot
- chore(deps): bump redis from 5.0.3 to 5.0.4 (#4187) by @dependabot
- chore(deps-dev): bump types-redis from 4.6.0.20240417 to 4.6.0.20240423 (#4185) by @dependabot
- chore(deps): bump actions/download-artifact from 4.1.5 to 4.1.6 (#4178) by @dependabot
- chore(deps): bump actions/upload-artifact from 4.3.2 to 4.3.3 (#4177) by @dependabot
- chore(deps-dev): bump cfn-lint from 0.86.3 to 0.86.4 (#4180) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.121 to 0.1.123 (#4176) by @dependabot
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.137.0a0 to 2.138.0a0 (#4169) by @dependabot
- chore(deps): bump actions/checkout from 4.1.2 to 4.1.3 (#4168) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.119 to 0.1.121 (#4167) by @dependabot
- chore(deps-dev): bump ruff from 0.3.7 to 0.4.1 (#4166) by @dependabot
- chore(deps-dev): bump aws-cdk from 2.137.0 to 2.138.0 (#4157) by @dependabot
- chore(deps-dev): bump aws-cdk-lib from 2.137.0 to 2.138.0 (#4160) by @dependabot
- chore(deps): bump actions/download-artifact from 4.1.4 to 4.1.5 (#4161) by @dependabot
- chore(deps): bump actions/upload-artifact from 4.3.1 to 4.3.2 (#4162) by @dependabot
This release was made possible by the following contributors:
@Wurstnase, @benjamingorman, @dependabot, @dependabot[bot], @dreamorosi, @github-actions, @github-actions[bot], @heitorlessa, @keithrozario, @leandrodamascena, @nlykkei, @phipag, @raymondbutcher and @rubenfonseca