Skip to content

Commit 3fc665d

Browse files
authored
revert: back out v1.1.0 release (#793)
* Revert "chore: release v1.1.0 (#792)" This reverts commit 87f0c87. * Revert "feat: add Lambda SnapStart support (#790)" This reverts commit 48caa3d.
1 parent 87f0c87 commit 3fc665d

26 files changed

Lines changed: 92 additions & 1799 deletions

File tree

CHANGELOG.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
## v1.1.0 - 2026-07-09
2-
3-
### Features
4-
5-
- Add SnapStart support. The adapter notifies your web application at the SnapStart
6-
boundary via two opt-in HTTP hooks — `AWS_LWA_SNAPSTART_BEFORE_CHECKPOINT_PATH`
7-
(before checkpoint) and `AWS_LWA_SNAPSTART_AFTER_RESTORE_PATH` (after restore) —
8-
so it can drain and re-establish connections. Each hook call is bounded by a
9-
60-second timeout. After restore the adapter refreshes its own HTTP client and
10-
re-runs the readiness check (bounded by 10 seconds) before admitting traffic, and
11-
it rejects external traffic to the hook paths with 403.
12-
13-
---
14-
151
## v1.0.1 - 2026-05-28
162

173
### Bug Fixes

Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lambda_web_adapter"
3-
version = "1.1.0"
3+
version = "1.0.1"
44
authors = [
55
"Harold Sun <sunhua@amazon.com>",
66
"David Calavera <dcalaver@amazon.com>",
@@ -23,7 +23,7 @@ http-body = "1.0.1"
2323
http-body-util = "0.1.0"
2424
hyper = { version = "1.5.2", features = ["client"] }
2525
hyper-util = "0.1.10"
26-
lambda_http = { version = "1.3.0", default-features = false, features = [
26+
lambda_http = { version = "1.1.1", default-features = false, features = [
2727
"apigw_http",
2828
"apigw_rest",
2929
"alb",

README.md

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ The same docker image can run on AWS Lambda, Amazon EC2, AWS Fargate, and local
1515
- Supports Amazon API Gateway Rest API and Http API endpoints, Lambda Function URLs, and Application Load Balancer
1616
- Supports Lambda managed runtimes, custom runtimes and docker OCI images
1717
- Supports Lambda Managed Instances for multi-concurrent request handling
18-
- Supports Lambda SnapStart with before-checkpoint and after-restore hooks
1918
- Supports any web frameworks and languages, no new code dependency to include
2019
- Automatic encode binary response
2120
- Enables graceful shutdown
@@ -67,8 +66,6 @@ The readiness check port/path and traffic port can be configured using environme
6766
| AWS_LWA_AUTHORIZATION_SOURCE | a header name to be replaced to `Authorization` | None |
6867
| AWS_LWA_ERROR_STATUS_CODES | HTTP status codes that will cause Lambda invocations to fail (e.g. "500,502-504") | None |
6968
| AWS_LWA_LAMBDA_RUNTIME_API_PROXY | overwrites `AWS_LAMBDA_RUNTIME_API` to allow proxying request | None |
70-
| AWS_LWA_SNAPSTART_BEFORE_CHECKPOINT_PATH | inner-app path the adapter POSTs to before a SnapStart snapshot (drain resources) | None |
71-
| AWS_LWA_SNAPSTART_AFTER_RESTORE_PATH | inner-app path the adapter POSTs to after a SnapStart restore (reconnect/reseed) | None |
7269

7370
> **Deprecation Notice:** The following non-namespaced environment variables are deprecated and will be removed in version 2.0:
7471
> `HOST`, `READINESS_CHECK_PORT`, `READINESS_CHECK_PATH`, `READINESS_CHECK_PROTOCOL`, `REMOVE_BASE_PATH`, `ASYNC_INIT`.
@@ -78,36 +75,6 @@ The readiness check port/path and traffic port can be configured using environme
7875
7976
👉 [Detailed configuration docs](https://aws.github.io/aws-lambda-web-adapter/configuration/environment-variables.html)
8077

81-
### SnapStart support
82-
83-
When your function uses [Lambda SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html),
84-
the adapter can notify your web application at the snapshot boundary so it can
85-
drain and re-establish state (database connections, cached DNS, PRNG seeds,
86-
unique identifiers). Both hooks are opt-in and independent.
87-
88-
| Variable | When the adapter calls it | Use it to |
89-
|---|---|---|
90-
| `AWS_LWA_SNAPSTART_BEFORE_CHECKPOINT_PATH` | Before the snapshot is taken | Drain/close resources that won't survive the snapshot |
91-
| `AWS_LWA_SNAPSTART_AFTER_RESTORE_PATH` | After restore, before serving traffic | Reconnect, refresh credentials, reseed randomness, regenerate unique IDs |
92-
93-
Each hook is an empty `POST`; your application must respond with a `2xx` status.
94-
A non-`2xx` response, a connection failure, or taking longer than 60 seconds to
95-
respond fails the SnapStart phase (initialization for the before-checkpoint hook,
96-
restore for the after-restore hook) instead of serving traffic against an
97-
improperly prepared application.
98-
99-
After restore, the adapter also automatically refreshes its own HTTP connection
100-
to your application, so it never reuses a connection captured in the snapshot, and
101-
then re-runs the readiness check before admitting traffic. If the application does
102-
not report ready within 10 seconds of restore, the restore fails.
103-
104-
> These hook paths are control-plane operations. External requests (via API
105-
> Gateway or ALB) that target a configured hook path receive `403 Forbidden` and
106-
> are never forwarded to your application, so choose paths your normal traffic
107-
> does not use.
108-
109-
See the [FastAPI with SnapStart example](examples/fastapi-snapstart-zip) for a complete, deployable application.
110-
11178
## Examples
11279

11380
- [FastAPI](examples/fastapi)
@@ -117,8 +84,6 @@ See the [FastAPI with SnapStart example](examples/fastapi-snapstart-zip) for a c
11784
- [FastAPI with Response Streaming in Zip](examples/fastapi-response-streaming-zip)
11885
- [FastAPI with Response Streaming on Lambda Managed Instances](examples/fastapi-response-streaming-lmi)
11986
- [FastAPI Response Streaming Backend with IAM Auth](examples/fastapi-backend-only-response-streaming/)
120-
- [FastAPI with SnapStart](examples/fastapi-snapstart)
121-
- [FastAPI with SnapStart in Zip](examples/fastapi-snapstart-zip)
12287
- [Flask](examples/flask)
12388
- [Flask in Zip](examples/flask-zip)
12489
- [Serverless Django](https://github.com/aws-hebrew-book/serverless-django) by [@efi-mk](https://github.com/efi-mk)

docs/guide/src/SUMMARY.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
- [Non-HTTP Event Triggers](./features/non-http-events.md)
2424
- [Multi-Tenancy](./features/multi-tenancy.md)
2525
- [Lambda Managed Instances](./features/managed-instances.md)
26-
- [SnapStart](./features/snapstart.md)
2726
- [Graceful Shutdown](./features/graceful-shutdown.md)
2827
- [Base Path Removal](./features/base-path-removal.md)
2928
- [Authorization Header](./features/authorization-header.md)

docs/guide/src/configuration/environment-variables.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ All configuration is done through environment variables, set either in your Dock
1919
| `AWS_LWA_AUTHORIZATION_SOURCE` | Header name to replace with `Authorization` | None |
2020
| `AWS_LWA_ERROR_STATUS_CODES` | HTTP status codes that cause Lambda invocation failure (e.g. `500,502-504`) | None |
2121
| `AWS_LWA_LAMBDA_RUNTIME_API_PROXY` | Proxy URL for Lambda Runtime API requests | None |
22-
| `AWS_LWA_SNAPSTART_BEFORE_CHECKPOINT_PATH` | Inner-app path the adapter POSTs to before a SnapStart snapshot | None |
23-
| `AWS_LWA_SNAPSTART_AFTER_RESTORE_PATH` | Inner-app path the adapter POSTs to after a SnapStart restore | None |
2422

2523
## Deprecated Variables
2624

docs/guide/src/examples/overview.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ The repository includes working examples for many popular web frameworks, packag
88
|---------|-----------|-----------|
99
| [FastAPI](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fastapi) | Docker | No |
1010
| [FastAPI in Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fastapi-zip) | Zip | No |
11-
| [FastAPI SnapStart](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fastapi-snapstart) | Docker | No |
12-
| [FastAPI SnapStart Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fastapi-snapstart-zip) | Zip | No |
1311
| [FastAPI Background Tasks](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fastapi-background-tasks) | Docker | No |
1412
| [FastAPI Response Streaming](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fastapi-response-streaming) | Docker | Yes |
1513
| [FastAPI Response Streaming Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fastapi-response-streaming-zip) | Zip | Yes |

docs/guide/src/features/snapstart.md

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)