- Windows: v2.37.0 source code.zip
- macOS: v2.37.0 source code.tar.gz
- Linux: v2.37.0 source code.tar.gz
| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-11-22 | 18.4 kB | |
| v2.37.0 source code.tar.gz | 2026-11-22 | 3.0 MB | |
| v2.37.0 source code.zip | 2026-11-22 | 3.9 MB | |
| Totals: 3 Items | 6.9 MB | 0 | |
Summary
This release introduces Feature Flags, a new utility for rolling out features to specific customers without redeploying your Lambda function. You can evaluate rules in your function or let the AWS AppConfig Agent choose a variant based on the context you provide.
We’ve also added support for Node.js 26 in the Lambda layer and isolated Logger, Metrics, and Batch state across concurrent requests on Lambda Web Functions. Signer now supports SigV4a, and Kafka can decode Avro messages that still carry a Confluent wire-format header.
This release also fixes several Idempotency issues affecting concurrent requests and durable executions. If you use Data Masking with an encryption context, make sure you pass the same context when decrypting that you used when encrypting. Partial matches are no longer accepted.
⭐ Congratulations to @anishmehta24, @arnavsx3, @hidingmyname, @LuisFigueroaG, @Manishram-ai, @shishir2305, @thebadalov, @turmspringer, and @unknownhackerworld for their first PRs merged in the project! Thanks to @Manishram-ai for improvements across Parser and Kafka, and to @thebadalov for several fixes in Parameters. 🎉
Feature Flags
The new Feature Flags utility lets you control which features are enabled in your Lambda function. Start with a local flag, then add rules for specific customers or schedules as needed.
Install it with npm install @aws-lambda-powertools/feature-flags.
:::typescript
import {
FeatureFlags,
ruleEngineStore,
} from '@aws-lambda-powertools/feature-flags';
const flags = new FeatureFlags({
store: ruleEngineStore({
source: async () => ({
checkout_v2: { default: true, rules: {} },
}),
}),
});
export const handler = async () =>
flags.evaluate({ name: 'checkout_v2', default: false });
When you’re ready to manage flags outside your function, you can load the same rules from AWS AppConfig or let the AppConfig Agent choose a variant.
Lambda Web Functions and Node.js 26
On Lambda Web Functions, Logger, Metrics, and Batch now keep their state separate for each HTTP request. Concurrent requests no longer share buffered logs, metrics, or batch processing state. No application code changes are needed.
The Lambda layer now supports Node.js 26 alongside Node.js 22 and 24.
Signing requests across AWS Regions
You can now use SigV4aSigner to sign requests for services such as Amazon S3 Multi-Region Access Points. It works with createSignedFetcher or signs a standard Request you can send with your own HTTP client.
Avro messages in Confluent wire format
If your Kafka producer uses Confluent Schema Registry and Lambda delivers a key or value with the wire-format header still attached, set wireFormat: WireFormat.CONFLUENT on that field. Powertools strips the header before decoding the Avro payload.
Changes
- chore: migrate development and CI to Node.js 26 (#6012) by @svozza
- test(logger): make sample-rate assertions independent of log order (#6014) by @svozza
- fix(parser): accept non-string DynamoDB tumbling window state (#6001) by @Manishram-ai
- docs(feature-flags): add the Feature Flags documentation page (#5962) by @dreamorosi
- ci(layers): pin layer dependencies to the repository lockfile (#5997) by @dreamorosi
- fix(idempotency): keep each request's result in its own record (#5994) by @dreamorosi
- fix(jmespath): return null for ordering non-numbers and reject mixed types (#5967) by @dreamorosi
- fix(event-handler): keep validation details scalar and repeated query values intact (#5993) by @dreamorosi
- fix(data-masking): reject non-string values on decrypt (#5992) by @dreamorosi
- fix(jmespath): throw when a function fails at runtime (#5988) by @dreamorosi
- fix(validation): stop at the first error with the default Ajv instance (#5979) by @dreamorosi
- fix(parser): limit the size of decompressed gzip data (#5986) by @dreamorosi
- fix(kafka): keep record payloads out of diagnostics (#5980) by @dreamorosi
- fix(data-masking): prevent erase from returning unmasked values (#5975) by @dreamorosi
- fix(data-masking): enforce full encryption context match on decrypt (#5974) by @dreamorosi
- test(feature-flags): add e2e tests against AppConfig and the Agent extension (#5964) by @dreamorosi
- fix(idempotency): handle proto and case-variant keys in deepSort (#5971) by @dreamorosi
- chore: set issue type and labels when creating issues via CLI (#5969) by @dreamorosi
- fix(kafka): read Confluent Protobuf message indexes as zigzag varints (#5960) by @Manishram-ai
- fix(metrics): skip non-finite metric values with a warning (#5963) by @anishmehta24
- docs: codify types placement and snippet JSDoc conventions (#5956) by @dreamorosi
- feat(feature-flags): add AppConfig Variant store and typed evaluation (#5954) by @dreamorosi
- feat(parameters): support flags and context in AppConfig Agent requests (#5951) by @dreamorosi
- feat(feature-flags): support schedule and modulo range actions (#5945) by @dreamorosi
- feat(feature-flags): cache validated rule engine snapshots (#5944) by @dreamorosi
- feat(feature-flags): add AppConfig freeform stores (#5942) by @dreamorosi
- feat(feature-flags): validate results with Standard Schema (#5943) by @dreamorosi
- feat(parser): add schema for ECS Task State Change events (#5946) by @svozza
- feat(signer): add SigV4a signing (#5941) by @svozza
- feat(feature-flags): add Python-format rule engine store (#5920) by @dreamorosi
- fix(signer): apply S3 canonical URI rules (#5940) by @svozza
- fix(signer): preserve request options when signing (#5936) by @svozza
- feat(parameters): expose HTTP status on AppConfig Agent errors (#5922) by @dreamorosi
- fix(parser): keep S3 tiering, lifecycle and replication event data (#5924) by @Manishram-ai
- feat(feature-flags): add batch evaluation and enabled flag lookup (#5919) by @dreamorosi
- feat(feature-flags): add FeatureFlags.evaluate (#5912) by @dreamorosi
- fix(parser): accept IPv6 source addresses in S3 event schemas (#5918) by @Manishram-ai
- docs: exclude tooling files from the published docs site (#5916) by @dreamorosi
- feat(feature-flags): scaffold new package (#5911) by @dreamorosi
- fix(idempotency): update durable records in a durable step (#5898) by @dreamorosi
- docs: fix broken links in the docs, metrics README and JSDoc (#5896) by @Manishram-ai
- fix(event-handler): set Vary: Accept-Encoding in compress middleware (#5888) by @dreamorosi
- docs(idempotency): fix option names and local cache default (#5889) by @dreamorosi
- fix(jmespath): make avg, contains and to_number follow the spec (#5890) by @dreamorosi
- fix(idempotency): expire cache in-progress records at their deadline (#5863) by @svozza
- fix(jmespath): handle strings by Unicode code point (#5884) by @arnavsx3
- fix(event-handler): keep Expires cookies and ALB headers intact (#5875) by @dreamorosi
- feat(commons): scope invocation state per request on Lambda Web Functions (#5877) by @dreamorosi
- fix(idempotency): avoid running durable executions twice (#5873) by @vishwakt
- test(idempotency): use consistent timestamp units in unit test fixtures (#5883) by @dreamorosi
- fix(parser): accept Transfer Family events without password and with IPv6 source IP (#5880) by @hidingmyname
- fix(parser): preserve Kafka key and value schema metadata (#5879) by @hidingmyname
- fix(idempotency): compare in-progress expiry against current time in milliseconds (#5881) by @shishir2305
- fix(signer): sign every value of repeated query parameters (#5878) by @turmspringer
- fix(parameters): stop getParametersByName mutating caller options (#5862) by @thebadalov
- fix(event-handler): preserve response and streaming cookies (#5845) by @dreamorosi
- fix(parameters): merge DynamoDB getMultiple expression attribute maps (#5857) by @thebadalov
- fix(jmespath): avoid mutating arrays in sort and reverse (#5843) by @dreamorosi
- fix(parser): use AWS casing for VPC Lattice v2 identity fields (#5847) by @LuisFigueroaG
- fix(parser): let SnsSqsEnvelope safeParse propagate schema errors (#5846) by @vishwakt
- fix(parameters): cache and transform mixed-batch decrypted parameters (#5841) by @thebadalov
- fix(parser): decode signed Kafka header bytes as UTF-8 (#5839) by @vishwakt
- docs(parser): document reporting errors from schema transforms (#5838) by @svozza
- feat(kafka): add opt-in Confluent wire format support for Avro (#5825) by @Zelys-DFKH
- fix(jmespath): keep falsy results in map() and not_null() (#5821) by @unknownhackerworld
- feat(commons): allow opting out of the AWS SDK app ID marker (#5816) by @dreamorosi
- fix(parser): wrap envelope parse failures in ParseError (#5758) by @Provokke
- fix(ci): make npm propagation verification independently retryable (#5793) by @svozza
- fix(ci): allow npm security updates without changing AWS schedules (#5795) by @svozza
🔧 Maintenance
- chore(deps): bump actions/setup-go from 7.0.0 to 7.1.0 (#6016) by @dependabot[bot]
- chore(deps): bump the aws-sdk-v3 group across 1 directory with 52 updates (#6005) by @dependabot[bot]
- chore(deps-dev): bump lint-staged from 17.6.0 to 17.6.1 (#6010) by @dependabot[bot]
- chore(deps-dev): bump @biomejs/biome from 2.6.7 to 2.6.8 (#6009) by @dependabot[bot]
- chore(deps): bump release-drafter/release-drafter from 7.10.0 to 7.11.0 (#6004) by @dependabot[bot]
- chore(deps): bump python from
a18b20ato5862d97in /docs (#5982) by @dependabot[bot] - chore(deps-dev): bump markdownlint-cli2 from 0.24.0 to 0.24.1 (#5985) by @dependabot[bot]
- chore(deps-dev): bump @biomejs/biome from 2.6.6 to 2.6.7 (#5983) by @dependabot[bot]
- chore(deps): bump soupsieve from 2.9 to 4.0 in /docs (#5965) by @dependabot[bot]
- chore(deps): bump the aws-sdk-v3 group across 1 directory with 49 updates (#5957) by @dependabot[bot]
- chore(deps): bump the aws-cdk group across 1 directory with 2 updates (#5958) by @dependabot[bot]
- chore(deps): bump click from 8.5.0 to 8.5.1 in /docs (#5934) by @dependabot[bot]
- chore(deps): bump mkdocs-material from 9.8.0 to 9.8.1 in /docs (#5932) by @dependabot[bot]
- chore(deps): bump python from
eb2c626toa18b20ain /docs (#5928) by @dependabot[bot] - chore(deps-dev): bump undici-types from 8.12.3 to 8.12.4 (#5931) by @dependabot[bot]
- chore(deps-dev): bump @biomejs/biome from 2.6.4 to 2.6.6 (#5933) by @dependabot[bot]
- chore(deps): bump the codeql-action group across 1 directory with 3 updates (#5929) by @dependabot[bot]
- chore(deps-dev): bump the vitest group across 1 directory with 2 updates (#5926) by @dependabot[bot]
- chore(deps): bump the codeql-action group across 1 directory with 3 updates (#5925) by @dependabot[bot]
- chore(deps): bump the aws-sdk-v3 group across 1 directory with 52 updates (#5913) by @dependabot[bot]
- chore(deps): bump the aws-cdk group across 1 directory with 3 updates (#5914) by @dependabot[bot]
- chore(deps): bump python from
601e99etoeb2c626in /docs (#5891) by @dependabot[bot] - chore(deps-dev): bump @biomejs/biome from 2.6.3 to 2.6.4 (#5894) by @dependabot[bot]
- chore(deps-dev): bump @redis/client from 6.3.0 to 6.3.1 (#5892) by @dependabot[bot]
- chore(deps-dev): bump @types/node from 26.6.5 to 26.6.6 (#5893) by @dependabot[bot]
- chore(deps): bump glob and @aws-cdk/cdk-assets-lib (#5885) by @dependabot[bot]
- chore(deps): bump the aws-sdk-v3 group across 1 directory with 51 updates (#5858) by @dependabot[bot]
- chore(deps): bump the aws-cdk group across 1 directory with 3 updates (#5859) by @dependabot[bot]
- chore(deps-dev): bump @biomejs/biome from 2.5.15 to 2.6.3 (#5850) by @dependabot[bot]
- chore(deps): bump mkdocs-material from 9.7.7 to 9.8.0 in /docs (#5855) by @dependabot[bot]
- chore(deps): bump arktype from 2.2.8 to 2.2.9 (#5852) by @dependabot[bot]
- chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 5.0.10 to 5.0.11 (#5856) by @dependabot[bot]
- chore(deps): bump the codeql-action group across 1 directory with 3 updates (#5853) by @dependabot[bot]
- chore(deps): bump actions/setup-python from 7.0.0 to 7.1.0 (#5854) by @dependabot[bot]
- chore(deps): bump python from
f6a589dto601e99ein /docs (#5849) by @dependabot[bot] - chore(deps-dev): bump markdownlint-cli2 from 0.23.3 to 0.24.0 (#5851) by @dependabot[bot]
- chore(deps): bump fast-uri from 3.1.8 to 3.1.9 (#5840) by @dependabot[bot]
- chore(deps): bump the aws-sdk-v3 group across 1 directory with 48 updates (#5835) by @dependabot[bot]
- chore(deps-dev): bump markdown-it from 14.3.2 to 14.3.3 (#5827) by @dependabot[bot]
- chore(deps): bump certifi from 2024.8.30 to 2026.10.19 in /docs (#5836) by @dependabot[bot]
- chore(deps): bump gitpython from 3.1.62 to 3.2.1 in /docs (#5837) by @dependabot[bot]
- chore(deps-dev): bump @aws/durable-execution-sdk-js from 2.7.0 to 2.7.1 (#5833) by @dependabot[bot]
- chore(deps-dev): bump undici-types from 8.12.2 to 8.12.3 (#5834) by @dependabot[bot]
- chore(deps-dev): bump @aws/durable-execution-sdk-js from 2.6.0 to 2.7.0 (#5824) by @dependabot[bot]
- chore(deps-dev): bump protobufjs from 8.8.0 to 8.8.1 (#5812) by @dependabot[bot]
- chore(deps): bump the codeql-action group across 1 directory with 3 updates (#5819) by @dependabot[bot]
- chore(deps-dev): bump undici-types from 8.11.2 to 8.12.2 (#5818) by @dependabot[bot]
- chore(deps-dev): bump the vitest group across 1 directory with 2 updates (#5817) by @dependabot[bot]
- chore(deps): bump arktype from 2.2.7 to 2.2.8 (#5804) by @dependabot[bot]
- chore(deps): bump the aws-cdk group across 1 directory with 3 updates (#5813) by @dependabot[bot]
- chore(deps-dev): bump zod from 4.6.5 to 4.6.7 (#5810) by @dependabot[bot]
- chore(deps): bump the aws-sdk-v3 group across 1 directory with 49 updates (#5814) by @dependabot[bot]
- chore(deps): bump release-drafter/release-drafter from 7.9.0 to 7.10.0 (#5808) by @dependabot[bot]
- chore(deps): bump actions/upload-artifact from 7.0.1 to 7.0.2 (#5809) by @dependabot[bot]
- chore(deps): bump actions/setup-node from 7.0.0 to 7.1.0 (#5807) by @dependabot[bot]
- chore(deps): bump actions/download-artifact from 8.0.1 to 8.0.2 (#5806) by @dependabot[bot]
- chore(deps): bump ossf/scorecard-action from 2.4.4 to 2.5.0 (#5811) by @dependabot[bot]
- chore(deps-dev): bump @types/node from 26.6.4 to 26.6.5 (#5803) by @dependabot[bot]
- chore(deps): bump mkdocs-llmstxt from 0.5.0 to 0.5.1 in /docs (#5802) by @dependabot[bot]
- chore(deps): bump python from
9e9fde4tof6a589din /docs (#5800) by @dependabot[bot] - chore(deps): bump the aws-cdk group across 1 directory with 3 updates (#5799) by @dependabot[bot]
- chore(deps): bump the aws-sdk-v3 group across 1 directory with 30 updates (#5798) by @dependabot[bot]
- chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 5.0.9 to 5.0.10 (#5787) by @dependabot[bot]
This release was made possible by the following contributors:
@anishmehta24, @arnavsx3, @dreamorosi, @hidingmyname, @LuisFigueroaG, @Manishram-ai, @Provokke, @shishir2305, @svozza, @thebadalov, @turmspringer, @unknownhackerworld, @vishwakt, @Zelys-DFKH, @dependabot[bot], Stefan Corban and @tharaka-enlear