Releases: awslabs/aws-lambda-web-adapter
v0.9.0
This release adds two new improvements and several examples.
- Force Lambda failure based on specific http response codes (see
AWS_LWA_ERROR_STATUS_CODES
in the project README) - Log warning messages if the web application is not ready after 2 seconds
What's Changed
- docs: bump the version to v0.8.4 by @Marukome0743 in #488
- example: FastHTML examples by @stephenhibbert in #496
- chore: Update GitHub Actions by @bnusunny in #498
- fix: Fix beta stack e2e tests by @bnusunny in #508
- chore: Update GitHub actions by @bnusunny in #509
- chore: Read aws region from env var by @bnusunny in #518
- docs: Add Web to tool name in docs by @valerena in #521
- example: Add Remix examples by @bnusunny in #524
- example: add lambda web adapter streaming api backend only example by @jlonge4 in #543
- feature: Force Lambda failure by @bnusunny in #558
- feature: simplify debug logging for app readiness checks by @DiscreteTom in #520
- example: SvelteKit SSR zip example by @mxfactorial in #561
- chore: Update dependencies to latest versions by @bnusunny in #565
- Bump version to v0.9.0 by @bnusunny in #566
New Contributors
- @Marukome0743 made their first contribution in #488
- @stephenhibbert made their first contribution in #496
- @valerena made their first contribution in #521
- @jlonge4 made their first contribution in #543
- @DiscreteTom made their first contribution in #520
Full Changelog: v0.8.4...v0.9.0
v0.8.4
This is a minor release. The main change is:
- Added:
AWS_LWA_AUTHORIZATION_SOURCE
to turn a header intoAuthorization
header. This is useful when you use Lambda function URL with IAM auth type, which reserves Authorization header for IAM authentication, but you want to still use Authorization header for your backend apps.
What's Changed
- Update doc and examples to 0.8.3 by @bnusunny in #448
- [#453] Update the Fast API run script examples to include LAMBDA_RUNTIME_DIR in search path. by @renjiexu-amzn in #454
- Bump jinja2 from 3.1.3 to 3.1.4 in /examples/flask/app by @dependabot in #459
- Bump jinja2 from 3.1.3 to 3.1.4 in /examples/flask-zip/app by @dependabot in #458
- Bump werkzeug from 3.0.1 to 3.0.3 in /examples/flask/app by @dependabot in #457
- Bump werkzeug from 3.0.1 to 3.0.3 in /examples/flask-zip/app by @dependabot in #456
- Bump next from 14.0.0 to 14.1.1 in /examples/nextjs-zip/app by @dependabot in #461
- Bump next from 14.0.0 to 14.1.1 in /examples/nextjs/app by @dependabot in #460
- Bump requests from 2.31.0 to 2.32.0 in /examples/fastapi-background-tasks/app by @dependabot in #463
- add authorization_source feature by @tmokmss in #478
- warn when configured header not found by @mxfactorial in #479
- Bump zipp from 3.15.0 to 3.19.1 in /examples/flask-zip/app by @dependabot in #475
- Bump zipp from 3.15.0 to 3.19.1 in /examples/flask/app by @dependabot in #480
- Bump certifi from 2024.2.2 to 2024.7.4 in /examples/fastapi-background-tasks/app by @dependabot in #472
- Bump ws from 7.5.9 to 7.5.10 in /examples/sls/nestjs by @dependabot in #470
- Bump braces from 3.0.2 to 3.0.3 in /examples/nextjs/app by @dependabot in #468
- Bump urllib3 from 2.0.7 to 2.2.2 in /examples/bedrock-agent-fastapi/app by @dependabot in #467
- Bump braces from 3.0.2 to 3.0.3 in /examples/sls/nestjs by @dependabot in #481
- Bump braces from 3.0.2 to 3.0.3 in /examples/nextjs-zip/app by @dependabot in #483
- Bump urllib3 from 2.2.1 to 2.2.2 in /examples/fastapi-background-tasks/app by @dependabot in #482
- Bump braces from 3.0.2 to 3.0.3 in /examples/nextjs-response-streaming by @dependabot in #484
- Bump urllib3 from 1.26.18 to 1.26.19 in /examples/fastapi-response-streaming/app by @dependabot in #485
- Bump the version to v0.8.4 by @bnusunny in #486
- Update pipeline by @bnusunny in #487
New Contributors
- @renjiexu-amzn made their first contribution in #454
- @tmokmss made their first contribution in #478
Full Changelog: v0.8.3...v0.8.4
v0.8.3
This is a minor release. Quick summary of changes.
- Remove "transfer-encoding" header from responses to support 'sam local start-api'
- Update deploy process Bedrock Agent (zip and container) using CloudFormation
- Javalin 6 example using Arm64 image
- Example Fix: python dependencies from layers
What's Changed
- Update README for 0.8.2 by @bnusunny in #428
- Bump tar from 6.2.0 to 6.2.1 in /examples/sls/nestjs by @dependabot in #427
- Bump h2 from 0.3.24 to 0.3.26 in /examples/rust-actix-web-zip/rust_app by @dependabot in #423
- Bump google.golang.org/protobuf from 1.30.0 to 1.33.0 in /examples/gin-zip/app by @dependabot in #414
- Bump express from 4.18.2 to 4.19.2 in /examples/sqs-expressjs/app/src by @dependabot in #419
- Bump google.golang.org/protobuf from 1.30.0 to 1.33.0 in /examples/gin/app by @dependabot in #413
- Bump express from 4.18.2 to 4.19.2 in /examples/expressjs/app/src by @dependabot in #418
- Bump idna from 3.4 to 3.7 in /examples/fastapi-response-streaming/app by @dependabot in #430
- Bump idna from 3.6 to 3.7 in /examples/bedrock-agent-fastapi-zip/app by @dependabot in #431
- Bump idna from 3.6 to 3.7 in /examples/bedrock-agent-fastapi/app by @dependabot in #432
- Bump idna from 3.6 to 3.7 in /examples/fastapi/app by @dependabot in #433
- Bump idna from 3.6 to 3.7 in /examples/fastapi-response-streaming-zip/app by @dependabot in #434
- Bump idna from 3.6 to 3.7 in /examples/fastapi-zip/app by @dependabot in #435
- Bump idna from 3.6 to 3.7 in /examples/fastapi-background-tasks/app by @dependabot in #436
- Update deploy process Bedrock Agent (zip and container) using CloudFormation by @moritalous in #437
- Javalin 6 example using Arm64 image by @jschwartz73 in #425
- Bump gunicorn from 20.1.0 to 22.0.0 in /examples/flask-zip/app by @dependabot in #440
- Bump gunicorn from 20.1.0 to 22.0.0 in /examples/flask/app by @dependabot in #439
- Remove "transfer-encoding" header from responses by @bnusunny in #442
- Bump rustls from 0.22.2 to 0.22.4 by @dependabot in #445
- Bump golang.org/x/net from 0.17.0 to 0.23.0 in /examples/gin/app by @dependabot in #443
- Bump golang.org/x/net from 0.17.0 to 0.23.0 in /examples/gin-zip/app by @dependabot in #444
- Example Fix: python dependencies from layers by @sansmoraxz in #447
- Bump version to 0.8.3 by @bnusunny in #446
New Contributors
- @jschwartz73 made their first contribution in #425
- @sansmoraxz made their first contribution in #447
Full Changelog: v0.8.2...v0.8.3
v0.8.2
This is a minor release. Here is a quick summary of the changes.
- Added support for UTF-8 string in HTTP header values.
- Implemented daily security audits and upgraded audit-check action.
- Added examples for using the AWS Lambda Web Adapter with different frameworks and programming languages, including Bedrock Agent (FastAPI), Sinatra (Ruby), Go HTTP, and NestJS.
- Added an example for FastAPI Background Tasks.
- Refactored the FastAPI response streaming example to use Claude v3 model.
What's Changed
- Add Bedrock Agent example by @moritalous in #357
- Update README to mention Bedrock Agent FastAPI Example by @bnusunny in #359
- Update readme and requirements for Bedrock Agent Example by @bnusunny in #360
- Use
lwa_fastapi_middleware_bedrock_agent
package inbedrock-agent-fastapi
example by @bnusunny in #361 - Add Bedrock Agent FastAPI zip example by @bnusunny in #362
- Update examples to v0.8.1 by @bnusunny in #363
- Add Sinatra examples by @ma2shita in #365
- added go-http example by @micahwalter in #383
- Add output to template.yml by @bnusunny in #385
- Update BuildMethod in gin-zip example by @bnusunny in #386
- Updated FastAPI and Python Runtime by @bnusunny in #388
- Upgrade FastAPI to 0.109.2 in examples by @bnusunny in #389
- Create .gitattributes by @jtuliani in #369
- Support UTF-8 String in HTTP Header Values by @bnusunny in #390
- Add daily security audit by @bnusunny in #391
- Upgrade audit-check action by @bnusunny in #392
- http1 support in e2e test request signing by @mxfactorial in #393
- Bump rack from 3.0.8 to 3.0.9.1 in /examples/sinatra/app/src by @dependabot in #396
- Bump mio from 0.8.4 to 0.8.11 in /examples/rust-axum-zip/rust_app by @dependabot in #405
- Bump mio from 0.8.6 to 0.8.11 in /examples/rust-actix-web-zip/rust_app by @dependabot in #402
- Add FastAPI Background Tasks example by @bnusunny in #408
- Return 201 status code correctly by @bnusunny in #410
- doc base image build option by @mxfactorial in #407
- refactor: refactor the FastAPI response streaming with Claude3 by @hustshawn in #416
- feat(serverless-nestjs): added example implementation of nestjs with … by @qutek in #394
- Bump es5-ext from 0.10.62 to 0.10.64 in /examples/sls/nestjs by @dependabot in #422
- Bump follow-redirects from 1.15.5 to 1.15.6 in /examples/sls/nestjs by @dependabot in #421
- bump version to 0.8.2 by @bnusunny in #426
New Contributors
- @moritalous made their first contribution in #357
- @ma2shita made their first contribution in #365
- @micahwalter made their first contribution in #383
- @jtuliani made their first contribution in #369
- @hustshawn made their first contribution in #416
- @qutek made their first contribution in #394
Full Changelog: v0.8.1...v0.8.2
v0.8.1
This minor release fixed a bug related to passing through Bedrock Agent events.
What's Changed
- Update GitHub Actions Pipeline by @bnusunny in #352
- Update examples to v0.8.0 by @bnusunny in #353
- Update lambda-http to v0.9.2 by @bnusunny in #355
- Release v0.8.1 by @bnusunny in #356
Full Changelog: v0.8.0...v0.8.1
v0.8.0
Major Updates
New Features
- Support all non-HTTP event triggers, such as SQS, SNS, S3, DynamoDB, Kinesis, Kafka, EventBridge, and Bedrock Agents.
- New Layer Notification via SNS Topic.
New Example
Chore
- Improve GitHub Actions Workflow
What's Changed
- Update README and examples to v0.7.2 by @bnusunny in #331
- Bump jinja2 from 3.1.2 to 3.1.3 in /examples/flask-zip/app by @dependabot in #332
- Bump jinja2 from 3.1.2 to 3.1.3 in /examples/flask/app by @dependabot in #333
- Optimize GitHub Actions workflow by @bnusunny in #335
- Improve GitHub Actions Workflow by @bnusunny in #336
- Adopt
cargo-lambda
by @bnusunny in #337 - Optimize GitHub actions by @bnusunny in #338
- Optimize GitHub actions by @bnusunny in #339
- Optimize GitHub actions by @bnusunny in #340
- Bump h2 from 0.3.17 to 0.3.24 in /examples/rust-actix-web-zip/rust_app by @dependabot in #341
- Pass through events by @bnusunny in #342
- Update e2e test template and README by @bnusunny in #343
- Optimize e2e test job in the pipeline by @bnusunny in #344
- Update project README by @bnusunny in #345
- Update project README to describe the response payload for non-http events by @bnusunny in #346
- Add SQS-Expressjs example by @bnusunny in #347
- Sqs expressjs example by @bnusunny in #348
- Fix nextjs examples by @bnusunny in #350
- Bump version to 0.8.0 by @bnusunny in #349
- Add info about new layer notifications by @bnusunny in #351
Full Changelog: v0.7.2...v0.8.0
Release v0.7.2
What's Changed
- fix: run load-china-prod-matrix2 only when release event is triggered by @mbfreder in #273
- Bump rustls-webpki from 0.100.1 to 0.100.2 by @dependabot in #275
- Update Readme with latest layerVersions following 0.7.1 release by @mbfreder in #276
- Bump word-wrap from 1.2.3 to 1.2.4 in /examples/nextjs/app by @dependabot in #258
- Bump word-wrap from 1.2.3 to 1.2.4 in /examples/nextjs-zip/app by @dependabot in #259
- Bump word-wrap from 1.2.3 to 1.2.4 in /examples/nextjs-response-streaming by @dependabot in #260
- Update README and example to v0.7.1 by @bnusunny in #279
- Bump crate version to 0.7.1 by @bnusunny in #280
- Update express-zip example to show Lambda Context usage by @mbfreder in #281
- Add ASP.NET examples by @jeastham1993 in #284
- fix: override user-set
x-amzn-{lambda,request}-context
headers by @fluxth in #286 - Bump webpki from 0.22.0 to 0.22.2 in /examples/rust-axum-https-zip/rust_app by @dependabot in #287
- Remove https support by @bnusunny in #288
- Bump postcss and next in /examples/nextjs-zip/app by @dependabot in #291
- Remove https related e2e tests by @bnusunny in #292
- Bump postcss and next in /examples/nextjs/app by @dependabot in #290
- Bump postcss from 8.4.20 to 8.4.31 in /examples/nextjs-response-streaming by @dependabot in #289
- Add docker version of fastapi-response-streaming example by @bnusunny in #293
- Update Next.js examples to Next.js v14.0.0 by @bnusunny in #304
- Upgraded lambda-http crate to v0.8.3 to fix Content-Type processing issue by @bnusunny in #307
- Bump werkzeug from 2.3.3 to 3.0.1 in /examples/flask-zip/app by @dependabot in #303
- Bump werkzeug from 2.3.3 to 3.0.1 in /examples/flask/app by @dependabot in #302
- Bump urllib3 from 1.26.17 to 1.26.18 in /examples/fastapi-response-streaming/app by @dependabot in #298
- Bump golang.org/x/net from 0.10.0 to 0.17.0 in /examples/gin-zip/app by @dependabot in #297
- Bump golang.org/x/net from 0.10.0 to 0.17.0 in /examples/gin/app by @dependabot in #296
- Add CHANGELOG.md by @bnusunny in #308
- Bump sharp from 0.32.0 to 0.32.6 in /examples/nextjs-response-streaming by @dependabot in #310
- Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /examples/gin/app by @dependabot in #321
- Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /examples/gin-zip/app by @dependabot in #320
- add provided.al2023 to CompatibleRuntimes by @mxfactorial in #323
- Remove 'CompatibleRuntimes' property on the Layers by @bnusunny in #326
- set AdapterOptions with env values in Default impl by @mxfactorial in #324
- switch builder dockerfile to 2023 base image by @mxfactorial in #325
- Specify correct platform when building docker images by @bnusunny in #330
- bump version to v0.7.2 by @bnusunny in #329
New Contributors
- @jeastham1993 made their first contribution in #284
- @fluxth made their first contribution in #286
- @mxfactorial made their first contribution in #323
Full Changelog: v0.7.1...v0.7.2
Release v0.7.1
Major Updates
This minior release add Lambda Context support, expend to new regions, additional examples and bug fixes.
What's Changed
- Update examples and doc with v0.7.0 by @bnusunny in #215
- Handle readiness check by @bnusunny in #217
- Fix FastAPI description in the sam template. by @joe-king-sh in #219
- nextjs example for lambda streaming response by @xjiaqing in #218
- Update Nextjs Response Streaming Example by @bnusunny in #220
- fix nextjs-response-streaming example title typo by @xjiaqing in #221
- Bump yaml from 2.2.1 to 2.2.2 in /examples/nextjs-response-streaming by @dependabot in #222
- Upgrade Flask to 2.3.2 by @bnusunny in #225
- Update nextjs response streaming example readme by @xjiaqing in #227
- Laravel link by @elonniu in #229
- Nextjs streaming response by @xjiaqing in #230
- Upgrade FastAPI in examples by @bnusunny in #235
- delete public in nextjs response streaming example by @xjiaqing in #238
- SpringBoot Response Streaming using function url by @soyer-dev in #237
- Bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 in /examples/gin/app by @dependabot in #240
- Bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 in /examples/gin-zip/app by @dependabot in #241
- Fix: nextjs-response-streaming build docker image fail by @xjiaqing in #243
- Add AWS_LWA_PORT as a fallback for readiness_check_port. by @sprvgt in #246
- Pass Lambda Context to web app in a new header by @mbfreder in #248
- Add option to override unhealthy status so 4xx can be unhealthy by @jeffmercerVG in #252
- Bump semver from 6.3.0 to 6.3.1 in /examples/nextjs-response-streaming by @dependabot in #256
- Bump semver from 6.3.0 to 6.3.1 in /examples/nextjs-zip/app by @dependabot in #255
- Bump semver from 6.3.0 to 6.3.1 in /examples/nextjs/app by @dependabot in #254
- Update github actions to publish lambda web adapter in all new regions by @mbfreder in #264
- fix: set arm64_supported to false on eu-central-2 by @mbfreder in #269
- Update github actions to deploy LWA layer in china regions by @mbfreder in #266
- fix: update pipeline file to run package-china-gamma before load-china-gamma-matrix2 by @mbfreder in #270
- Updated Readme with new layer ARNs for China regions by @mbfreder in #271
- fix: deploy to china gamma accounts when PR is merged to main branch by @mbfreder in #272
New Contributors
- @joe-king-sh made their first contribution in #219
- @xjiaqing made their first contribution in #218
- @soyer-dev made their first contribution in #237
- @sprvgt made their first contribution in #246
- @mbfreder made their first contribution in #248
- @jeffmercerVG made their first contribution in #252
Full Changelog: v0.7.0...v0.7.1
Release v0.7.0
Major updates
This release adds support for Lambda Response Streaming, name spaces environment variables, tighten readiness check for HTTP.
What's Changed
- Update examples to v0.6.4 by @bnusunny in #198
- Improved PHP example by @elonniu in #195
- Supported PHP ZIP Example by @elonniu in #165
- Added bootstrap script by @elonniu in #200
- Added bootstrap script by @elonniu in #201
- Add streaming response support by @bnusunny in #204
- Use Ubuntu 20.04 for builds by @bnusunny in #205
- Tighten HTTP readiness check by @bnusunny in #206
- Name spaced all environment variables by @bnusunny in #207
- Bump h2 from 0.3.15 to 0.3.17 in /examples/rust-actix-web-zip/rust_app by @dependabot in #208
- Bump h2 from 0.3.16 to 0.3.17 in /examples/rust-axum-https-zip/rust_app by @dependabot in #209
- Update pipeline to remove foresight integration by @bnusunny in #212
- Add FastAPI response streaming example by @bnusunny in #211
- Remove remaining Foresight integration steps by @bnusunny in #213
- Update project README by @bnusunny in #210
- Bump version to v0.7.0 by @bnusunny in #214
Full Changelog: v0.6.4...v0.7.0
Release v0.6.4
Main Updates
This is a minor bug fix release.
- [Bug Fix] Fix 'ca certs not found' issue when TLS is not enabled
- [Example] New Nginx Zip example
- [Example] New PHP Zip example
What's Changed
- Update examples to v0.6.3 by @bnusunny in #191
- Improved Nginx Example by @elonniu in #192
- Added Nginx ZIP Example by @elonniu in #171
- Improved PHP example by @elonniu in #164
- Separate HTTPS and HTTP adapters by @bnusunny in #196
- Prepare to release v0.6.4 by @bnusunny in #197
Full Changelog: v0.6.3...v0.6.4