Summary
This release addresses CORS Pre-flight issue when using Event Handler with ALB. Prior to this release, ALB would return HTTP 502 if Lambda would return a null
body for a Pre-flight (HTTP OPTIONS) request. This release sets body
to an empty string for compliance, and it doesn't affect API Gateway/AppSync features.
Shoutout to @francispeabody for spotting this behaviour, as CORS Specification doesn't dictate whether there should be a response or not leaving to each service to make their own judgement.
Changes
🐛 Bug and hot fixes
- fix(event-handler): body to empty string in CORS preflight (ALB non-compliant) (#1249) by @heitorlessa
🔧 Maintenance
- chore(deps): bump actions/setup-python from 3 to 4 (#1244) by @dependabot
- chore(deps-dev): bump mypy-boto3-appconfig from 1.23.0.post1 to 1.24.0 (#1233) by @dependabot
- chore(deps-dev): bump mypy-boto3-dynamodb from 1.23.0.post1 to 1.24.0 (#1234) by @dependabot
- chore(deps-dev): bump mypy-boto3-secretsmanager from 1.23.8 to 1.24.0 (#1232) by @dependabot
- chore(deps-dev): bump mypy-boto3-ssm from 1.23.0.post1 to 1.24.0 (#1231) by @dependabot
- chore(deps-dev): bump mypy from 0.960 to 0.961 (#1241) by @dependabot
- chore(metrics): revert dimensions test and split (#1243) by @heitorlessa
This release was made possible by the following contributors:
@am29d, @dependabot, @dependabot[bot] and @heitorlessa