Release date:
September 2, 2026
Previous version:
v5.0.0
(released July 15, 2026)
Contributors:
5 total committers
1 Features Released with v5.1.0
Browse Other Releases
Latest Pending
Unreleased π
v5.1.0
Released September 2, 2026
6 Ξ
v5.0.0
Released July 15, 2026
198 Ξ
v4.7.3
Released May 27, 2026
244 Ξ
v4.7.2
Released April 30, 2026
196 Ξ
v4.7.1
Released April 22, 2026
0 Ξ
v3.3.0
Released July 6, 2018
0 Ξ
v3.2.0
Released May 23, 2018
0 Ξ
v3.1.0
Released April 9, 2018
0 Ξ
v3.0.3
Released January 3, 2018
0 Ξ
v1.0.2
Released August 3, 2016
0 Ξ
Top Contributors in v5.1.0
Release Notes Published
Minor Changes
- 6cf7b0c: Enforce a configurable request body size limit in
HTTPReceiver and ExpressReceiver to prevent unauthenticated large-body denial-of-service attempts. Both receivers previously buffered the entire request body into memory before signature verification, so a flood of large invalid requests could exhaust memory and crash a publicly exposed app.
Both receivers now reject request bodies larger than a new bodyLimit option with an HTTP 413 response before the whole body is buffered. The limit is enforced on the bytes actually received (not the Content-Length header, which a client controls) and applies even when signatureVerification is false. It defaults to 4194304 (4 MB); pass a different number of bytes, a bytes-style string like '4mb', or Infinity to disable it (not recommended in production).
This is a security fix with a minor behavioral change: requests with bodies larger than 4 MB are now rejected with 413 by default (previously unbounded). Apps that legitimately receive larger payloads can raise bodyLimit on the receiver.
Patch Changes
- b9acd4f: Fix
AwsEventV1.multiValueQueryStringParameters to allow null, matching the actual AWS API Gateway payload and the @types/aws-lambda APIGatewayProxyEvent type. This resolves the type error when passing an APIGatewayProxyEvent directly to the handler returned by AwsLambdaReceiver.