Skip to content

Releases: awslabs/aws-lambda-web-adapter

v0.8.4

27 Jul 12:24
9c268fa
Compare
Choose a tag to compare

This is a minor release. The main change is:

  • Added: AWS_LWA_AUTHORIZATION_SOURCE to turn a header into Authorization 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

Full Changelog: v0.8.3...v0.8.4

v0.8.3

21 Apr 02:26
87f8870
Compare
Choose a tag to compare

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

Full Changelog: v0.8.2...v0.8.3

v0.8.2

11 Apr 03:29
51cae52
Compare
Choose a tag to compare

This is a minor release. Here is a quick summary of the changes.

  1. Added support for UTF-8 string in HTTP header values.
  2. Implemented daily security audits and upgraded audit-check action.
  3. 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.
  4. Added an example for FastAPI Background Tasks.
  5. Refactored the FastAPI response streaming example to use Claude v3 model.

What's Changed

New Contributors

Full Changelog: v0.8.1...v0.8.2

v0.8.1

24 Jan 00:32
79ffab9
Compare
Choose a tag to compare

This minor release fixed a bug related to passing through Bedrock Agent events.

What's Changed

Full Changelog: v0.8.0...v0.8.1

v0.8.0

22 Jan 02:20
e24979c
Compare
Choose a tag to compare

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

Full Changelog: v0.7.2...v0.8.0

Release v0.7.2

11 Jan 02:02
8ab63f5
Compare
Choose a tag to compare

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

Full Changelog: v0.7.1...v0.7.2

Release v0.7.1

18 Aug 00:22
1c912f5
Compare
Choose a tag to compare

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

Full Changelog: v0.7.0...v0.7.1

Release v0.7.0

15 Apr 05:54
d54f1ad
Compare
Choose a tag to compare

Major updates

This release adds support for Lambda Response Streaming, name spaces environment variables, tighten readiness check for HTTP.

What's Changed

Full Changelog: v0.6.4...v0.7.0

Release v0.6.4

15 Mar 00:32
952a7d9
Compare
Choose a tag to compare

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

Full Changelog: v0.6.3...v0.6.4

Release v0.6.3

10 Mar 16:00
199dd55
Compare
Choose a tag to compare

Main Updates

  • [Feature]: support web applications over TLS/HTTPS
  • [Bug Fix]: handle URL encoding properly with the URL crate
  • [Example]: add FastAPI HTTPS example
  • [Example]: add Axum HTTPS example
  • [Example]: add Actix Web example
  • [Example]: update Next.js example to enable cache
  • [Doc]: ports should be avoided
  • [Doc]: local debugging with sam local
  • [Chore]: pipeline update

What's Changed

Full Changelog: v0.6.2...v0.6.3