Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# Change Log

## [2.26.0](https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.25.2...v2.26.0) (2025-09-11)

### Improvements

- **logger** update `getCodeLocation` regex to improve performance ([#4389](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4389)) ([801333d](https://github.com/aws-powertools/powertools-lambda-typescript/commit/801333deff04b09d4adb88860c60f497295685d9))
- **batch** simplified the parser integration api with batch processor ([#4465](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4465)) ([96977ff](https://github.com/aws-powertools/powertools-lambda-typescript/commit/96977ff6b1330adcf82d9caa3b30454208d654e8))

### Bug Fixes

- **parser** updated the binaryValue and stringValue in the SqsMsgAttributeSchema to nullable ([#4450](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4450)) ([cefcbdb](https://github.com/aws-powertools/powertools-lambda-typescript/commit/cefcbdbaec087ce1bfcee4294754dc173c0c473b))
- **event-handler** handle nullable fields in APIGatewayProxyEvent ([#4455](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4455)) ([200f47b](https://github.com/aws-powertools/powertools-lambda-typescript/commit/200f47b0c9e3864b2732d93ca50dd65323b109fb))

### Features

- **parser** integrate parser with Batch Processing ([#4408](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4408)) ([0b6bbbb](https://github.com/aws-powertools/powertools-lambda-typescript/commit/0b6bbbb751caaa7a81e1c2aaf823892c54b9e9cb))
- **parser** implemented a helper function `Base64Encoded` to decode base64 encoded payloads ([#4413](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4413)) ([1554360](https://github.com/aws-powertools/powertools-lambda-typescript/commit/15543602ea8182b0a5972fc2acfb364da4ad97f3))
- **parser** add IPv6 support for sourceIp in API Gateway schemas ([#4398](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4398)) ([2a94c37](https://github.com/aws-powertools/powertools-lambda-typescript/commit/2a94c3759a04057423db8f346c921166ada173d0))
- **event-handler** remove undefined from Router's resolve type signature ([#4463](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4463)) ([d36ef55](https://github.com/aws-powertools/powertools-lambda-typescript/commit/d36ef5569de910e467f7c6d6b1d518112a998d40))
- **event-handler** implement mechanism to manipulate response in middleware ([#4439](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4439)) ([35a510d](https://github.com/aws-powertools/powertools-lambda-typescript/commit/35a510d3f3191b479105238f5f956bfeeb519389))
- **event-handler** add route specific middleware registration and execution ([#4437](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4437)) ([e6ea674](https://github.com/aws-powertools/powertools-lambda-typescript/commit/e6ea674b97953d0391573ea6536f9eb5f02f659b))
- **event-handler** add middleware registration and composition to rest handler ([#4428](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4428)) ([fc87eb3](https://github.com/aws-powertools/powertools-lambda-typescript/commit/fc87eb3f5c05a31002becf30e22928c8d7913a3f))
- **event-handler** add support for error handling in AppSync GraphQL ([#4317](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4317)) ([77a992f](https://github.com/aws-powertools/powertools-lambda-typescript/commit/77a992ff39ed41da2c965bc86d65a326f4db21d6))
- **event-handler** add resolution logic to base router ([#4349](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4349)) ([f1ecc6d](https://github.com/aws-powertools/powertools-lambda-typescript/commit/f1ecc6da353ed1d4a1a943a4b75dc3e2b50d8e5e))

### Maintenance

- **event-handler** rename variables to reflect that options object is now a RequestContext ([#4460](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4460)) ([5b4ee1a](https://github.com/aws-powertools/powertools-lambda-typescript/commit/5b4ee1ac77c4ebf0af6181f56a47340173306673))
- **event-handler** expose rest handler functionality ([#4458](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4458)) ([23eddfd](https://github.com/aws-powertools/powertools-lambda-typescript/commit/23eddfdd2f3ec0824dccd080824628c63ed8308c))
- **event-handler** split Router tests into multiple files ([#4449](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4449)) ([91a1ec4](https://github.com/aws-powertools/powertools-lambda-typescript/commit/91a1ec4c4765e814b67f669ed2ff77c674cc3155))
- **event-handler** rename BaseRouter class to Router ([#4448](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4448)) ([b043c28](https://github.com/aws-powertools/powertools-lambda-typescript/commit/b043c28820b18e2d518153992f4f3243d476e208))


## [2.25.2](https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.25.1...v2.25.2) (2025-08-26)

### Maintenance
Expand Down
4 changes: 4 additions & 0 deletions examples/app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [2.26.0](https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.25.2...v2.26.0) (2025-09-11)

**Note:** Version bump only for this package

## [2.25.2](https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.25.1...v2.25.2) (2025-08-26)

**Note:** Version bump only for this package
Expand Down
14 changes: 7 additions & 7 deletions examples/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "powertools-sample-app",
"version": "2.25.2",
"version": "2.26.0",
"author": {
"name": "Amazon Web Services",
"url": "https://aws.amazon.com"
Expand Down Expand Up @@ -38,12 +38,12 @@
"vitest": "^3.0.5"
},
"dependencies": {
"@aws-lambda-powertools/batch": "^2.25.2",
"@aws-lambda-powertools/idempotency": "^2.25.2",
"@aws-lambda-powertools/logger": "^2.25.2",
"@aws-lambda-powertools/metrics": "^2.25.2",
"@aws-lambda-powertools/parameters": "^2.25.2",
"@aws-lambda-powertools/tracer": "^2.25.2",
"@aws-lambda-powertools/batch": "^2.26.0",
"@aws-lambda-powertools/idempotency": "^2.26.0",
"@aws-lambda-powertools/logger": "^2.26.0",
"@aws-lambda-powertools/metrics": "^2.26.0",
"@aws-lambda-powertools/parameters": "^2.26.0",
"@aws-lambda-powertools/tracer": "^2.26.0",
"@aws-sdk/client-ssm": "^3.883.0",
"@aws-sdk/lib-dynamodb": "^3.883.0",
"@middy/core": "^4.7.0",
Expand Down
4 changes: 4 additions & 0 deletions examples/snippets/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [2.26.0](https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.25.2...v2.26.0) (2025-09-11)

**Note:** Version bump only for this package

## [2.25.2](https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.25.1...v2.25.2) (2025-08-26)

**Note:** Version bump only for this package
Expand Down
20 changes: 10 additions & 10 deletions examples/snippets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "code-snippets",
"version": "2.25.2",
"version": "2.26.0",
"description": "A collection code snippets for the Powertools for AWS Lambda (TypeScript) docs",
"author": {
"name": "Amazon Web Services",
Expand All @@ -24,15 +24,15 @@
},
"homepage": "https://github.com/aws-powertools/powertools-lambda-typescript#readme",
"devDependencies": {
"@aws-lambda-powertools/batch": "^2.25.2",
"@aws-lambda-powertools/event-handler": "^2.25.2",
"@aws-lambda-powertools/idempotency": "^2.25.2",
"@aws-lambda-powertools/jmespath": "^2.25.2",
"@aws-lambda-powertools/logger": "^2.25.2",
"@aws-lambda-powertools/metrics": "^2.25.2",
"@aws-lambda-powertools/parameters": "^2.25.2",
"@aws-lambda-powertools/parser": "^2.25.2",
"@aws-lambda-powertools/tracer": "^2.25.2",
"@aws-lambda-powertools/batch": "^2.26.0",
"@aws-lambda-powertools/event-handler": "^2.26.0",
"@aws-lambda-powertools/idempotency": "^2.26.0",
"@aws-lambda-powertools/jmespath": "^2.26.0",
"@aws-lambda-powertools/logger": "^2.26.0",
"@aws-lambda-powertools/metrics": "^2.26.0",
"@aws-lambda-powertools/parameters": "^2.26.0",
"@aws-lambda-powertools/parser": "^2.26.0",
"@aws-lambda-powertools/tracer": "^2.26.0",
"@aws-sdk/client-appconfigdata": "^3.883.0",
"@aws-sdk/client-dynamodb": "^3.883.0",
"@aws-sdk/client-secrets-manager": "^3.883.0",
Expand Down
4 changes: 4 additions & 0 deletions layers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [2.26.0](https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.25.2...v2.26.0) (2025-09-11)

**Note:** Version bump only for this package

## [2.25.2](https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.25.1...v2.25.2) (2025-08-26)

**Note:** Version bump only for this package
Expand Down
2 changes: 1 addition & 1 deletion layers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "layers",
"version": "2.25.2",
"version": "2.26.0",
"bin": {
"layer": "bin/layers.js"
},
Expand Down
30 changes: 15 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions packages/batch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## [2.26.0](https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.25.2...v2.26.0) (2025-09-11)

### Improvements

- simplified the parser integration api with batch processor ([#4465](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4465)) ([96977ff](https://github.com/aws-powertools/powertools-lambda-typescript/commit/96977ff6b1330adcf82d9caa3b30454208d654e8))
## [2.25.2](https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.25.1...v2.25.2) (2025-08-26)

**Note:** Version bump only for this package
Expand Down
4 changes: 2 additions & 2 deletions packages/batch/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-lambda-powertools/batch",
"version": "2.25.2",
"version": "2.26.0",
"description": "The batch processing package for the Powertools for AWS Lambda (TypeScript) library.",
"author": {
"name": "Amazon Web Services",
Expand Down Expand Up @@ -82,6 +82,6 @@
],
"devDependencies": {
"@aws-lambda-powertools/testing-utils": "file:../testing",
"@aws-lambda-powertools/parser": "2.25.2"
"@aws-lambda-powertools/parser": "2.26.0"
}
}
4 changes: 4 additions & 0 deletions packages/commons/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [2.26.0](https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.25.2...v2.26.0) (2025-09-11)

**Note:** Version bump only for this package

## [2.25.2](https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.25.1...v2.25.2) (2025-08-26)

### Maintenance
Expand Down
2 changes: 1 addition & 1 deletion packages/commons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-lambda-powertools/commons",
"version": "2.25.2",
"version": "2.26.0",
"description": "A shared utility package for Powertools for AWS Lambda (TypeScript) libraries",
"author": {
"name": "Amazon Web Services",
Expand Down
2 changes: 1 addition & 1 deletion packages/commons/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// this file is auto generated, do not modify
export const PT_VERSION = '2.25.2';
export const PT_VERSION = '2.26.0';
21 changes: 21 additions & 0 deletions packages/event-handler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Change Log

## [2.26.0](https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.25.2...v2.26.0) (2025-09-11)

### Features

- remove undefined from Router's resolve type signature ([#4463](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4463)) ([d36ef55](https://github.com/aws-powertools/powertools-lambda-typescript/commit/d36ef5569de910e467f7c6d6b1d518112a998d40))
- implement mechanism to manipulate response in middleware ([#4439](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4439)) ([35a510d](https://github.com/aws-powertools/powertools-lambda-typescript/commit/35a510d3f3191b479105238f5f956bfeeb519389))
- add route specific middleware registration and execution ([#4437](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4437)) ([e6ea674](https://github.com/aws-powertools/powertools-lambda-typescript/commit/e6ea674b97953d0391573ea6536f9eb5f02f659b))
- add middleware registration and composition to rest handler ([#4428](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4428)) ([fc87eb3](https://github.com/aws-powertools/powertools-lambda-typescript/commit/fc87eb3f5c05a31002becf30e22928c8d7913a3f))
- add support for error handling in AppSync GraphQL ([#4317](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4317)) ([77a992f](https://github.com/aws-powertools/powertools-lambda-typescript/commit/77a992ff39ed41da2c965bc86d65a326f4db21d6))
- add resolution logic to base router ([#4349](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4349)) ([f1ecc6d](https://github.com/aws-powertools/powertools-lambda-typescript/commit/f1ecc6da353ed1d4a1a943a4b75dc3e2b50d8e5e))

### Maintenance

- rename variables to reflect that options object is now a RequestContext ([#4460](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4460)) ([5b4ee1a](https://github.com/aws-powertools/powertools-lambda-typescript/commit/5b4ee1ac77c4ebf0af6181f56a47340173306673))
- expose rest handler functionality ([#4458](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4458)) ([23eddfd](https://github.com/aws-powertools/powertools-lambda-typescript/commit/23eddfdd2f3ec0824dccd080824628c63ed8308c))
- split Router tests into multiple files ([#4449](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4449)) ([91a1ec4](https://github.com/aws-powertools/powertools-lambda-typescript/commit/91a1ec4c4765e814b67f669ed2ff77c674cc3155))
- rename BaseRouter class to Router ([#4448](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4448)) ([b043c28](https://github.com/aws-powertools/powertools-lambda-typescript/commit/b043c28820b18e2d518153992f4f3243d476e208))

### Bug Fixes

- handle nullable fields in APIGatewayProxyEvent ([#4455](https://github.com/aws-powertools/powertools-lambda-typescript/issues/4455)) ([200f47b](https://github.com/aws-powertools/powertools-lambda-typescript/commit/200f47b0c9e3864b2732d93ca50dd65323b109fb))
## [2.25.2](https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.25.1...v2.25.2) (2025-08-26)

### Features
Expand Down
4 changes: 2 additions & 2 deletions packages/event-handler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-lambda-powertools/event-handler",
"version": "2.25.2",
"version": "2.26.0",
"description": "Lightweight routing to reduce boilerplate for API Gateway REST/HTTP API, ALB, Lambda Function URLs, and AppSync.",
"author": {
"name": "Amazon Web Services",
Expand Down Expand Up @@ -114,7 +114,7 @@
"url": "https://github.com/aws-powertools/powertools-lambda-typescript/issues"
},
"dependencies": {
"@aws-lambda-powertools/commons": "2.25.2"
"@aws-lambda-powertools/commons": "2.26.0"
},
"keywords": [
"aws",
Expand Down
4 changes: 4 additions & 0 deletions packages/idempotency/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [2.26.0](https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.25.2...v2.26.0) (2025-09-11)

**Note:** Version bump only for this package

## [2.25.2](https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.25.1...v2.25.2) (2025-08-26)

**Note:** Version bump only for this package
Expand Down
6 changes: 3 additions & 3 deletions packages/idempotency/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-lambda-powertools/idempotency",
"version": "2.25.2",
"version": "2.26.0",
"description": "The idempotency package for the Powertools for AWS Lambda (TypeScript) library. It provides options to make your Lambda functions idempotent and safe to retry.",
"author": {
"name": "Amazon Web Services",
Expand Down Expand Up @@ -113,8 +113,8 @@
"url": "https://github.com/aws-powertools/powertools-lambda-typescript/issues"
},
"dependencies": {
"@aws-lambda-powertools/commons": "2.25.2",
"@aws-lambda-powertools/jmespath": "2.25.2"
"@aws-lambda-powertools/commons": "2.26.0",
"@aws-lambda-powertools/jmespath": "2.26.0"
},
"peerDependencies": {
"@aws-sdk/client-dynamodb": ">=3.x",
Expand Down
Loading