Summary
This release enhances the Parser experience with new schemas for Amazon Cognito User Pool triggers and Amazon API Gateway WebSocket APIs.
⭐️ Thanks to @VatsalGoel3 for working on all the new schemas added in this release, as well as @elliottohara and @vforgeone for their first contributions!
New Cognito Trigger Schemas
You can now use one of the new built-in schemas from Parser to easily work with events coming from Amazon Cognito to your Lambda function. With Amazon Cognito User Pools, you can configure triggers to invoke AWS Lambda functions, modifying the authentication behavior.
Below is a list of schemas we’ve added:
PreSignupTriggerSchema
PostConfirmationTriggerSchema
PreTokenGenerationTriggerSchema
CustomMessageTriggerSchema
MigrateUserTriggerSchema
CustomSMSTriggerSchema
CustomEmailTriggerSchema
DefineAuthChallengeTriggerSchema
CreateAuthChallengeTriggerSchema
VerifyAuthChallengeResponseTriggerSchema
PreTokenGenerationTriggerSchemaV1
PreTokenGenerationTriggerSchemaV2AndV3
For more information, refer to the Amazon Cognito User Pools documentation.
New API Gateway WebSocket Schema
Use the new APIGatewayProxyWebsocketEventSchema
built-in schema to work with Amazon API Gateway WebSocket APIs events. This is useful when building AWS Lambda functions that act as backend for web socket APIs.
Changes
🌟New features and non-breaking changes
- feat(parser): add schema support for API Gateway WebSocket events (#3807) by @VatsalGoel3
- feat(parser): add Cognito pre-signup trigger schema (#3729) by @VatsalGoel3
- feat: make getKey protected on DynamoDbPersistenceLayer (#3783) by @elliottohara
🌟 Minor Changes
- improv(parser): export all SQS schemas (#3782) by @vforgeone
📜 Documentation updates
- docs(parameters): clarify caching behavior of
getAppConfig
(#3808) by @dreamorosi - feat(parser): add schema support for API Gateway WebSocket events (#3807) by @VatsalGoel3
- chore(deps): bump aws-cdk-lib from 2.187.0 to 2.188.0 in the aws-cdk group across 1 directory (#3805) by @dependabot[bot]
- chore(deps): bump the aws-sdk-v3 group across 1 directory with 9 updates (#3804) by @dependabot[bot]
- chore(deps): bump @types/node from 22.13.17 to 22.14.0 (#3803) by @dependabot[bot]
- chore(deps): bump the aws-cdk group across 1 directory with 2 updates (#3802) by @dependabot[bot]
- chore(deps): bump @types/node from 22.13.16 to 22.13.17 (#3800) by @dependabot[bot]
- feat(parser): add Cognito pre-signup trigger schema (#3729) by @VatsalGoel3
- chore(deps): bump @types/node from 22.13.14 to 22.13.16 (#3798) by @dependabot[bot]
- chore(deps): bump mkdocs-material from 9.6.10 to 9.6.11 in /docs (#3795) by @dependabot[bot]
- chore(deps): bump squidfunk/mkdocs-material from
3555052
to23b6978
in /docs (#3794) by @dependabot[bot] - chore(deps): bump aws-cdk-lib from 2.186.0 to 2.187.0 in the aws-cdk group across 1 directory (#3797) by @dependabot[bot]
- chore(deps): bump esbuild from 0.25.1 to 0.25.2 (#3791) by @dependabot[bot]
- chore(deps): bump mkdocs-material from 9.6.9 to 9.6.10 in /docs (#3792) by @dependabot[bot]
- chore(deps): bump squidfunk/mkdocs-material from
f226a2d
to3555052
in /docs (#3788) by @dependabot[bot] - chore(deps): bump @aws-sdk/lib-dynamodb from 3.777.0 to 3.778.0 in the aws-sdk-v3 group across 1 directory (#3789) by @dependabot[bot]
- chore(deps): bump the aws-sdk-v3 group across 1 directory with 9 updates (#3786) by @dependabot[bot]
- chore(deps): bump aws-cdk-lib from 2.185.0 to 2.186.0 in the aws-cdk group across 1 directory (#3784) by @dependabot[bot]
- chore(deps): bump @types/node from 22.13.13 to 22.13.14 (#3785) by @dependabot[bot]
- chore(deps): bump the aws-cdk group across 1 directory with 2 updates (#3780) by @dependabot[bot]
- chore(deps): bump the aws-sdk-v3 group across 1 directory with 9 updates (#3779) by @dependabot[bot]
- docs: update roadmap end Q1 (#3776) by @dreamorosi
- chore(deps): bump the aws-sdk-v3 group across 1 directory with 9 updates (#3774) by @dependabot[bot]
🔧 Maintenance
- chore(deps): bump vite from 6.2.4 to 6.2.5 (#3806) by @dependabot[bot]
- chore(deps): bump aws-cdk-lib from 2.187.0 to 2.188.0 in the aws-cdk group across 1 directory (#3805) by @dependabot[bot]
- chore(deps): bump the aws-sdk-v3 group across 1 directory with 9 updates (#3804) by @dependabot[bot]
- chore(deps): bump @types/node from 22.13.17 to 22.14.0 (#3803) by @dependabot[bot]
- chore(deps): bump the aws-cdk group across 1 directory with 2 updates (#3802) by @dependabot[bot]
- chore(deps): bump @types/node from 22.13.16 to 22.13.17 (#3800) by @dependabot[bot]
- feat(parser): add Cognito pre-signup trigger schema (#3729) by @VatsalGoel3
- chore(deps): bump @types/node from 22.13.14 to 22.13.16 (#3798) by @dependabot[bot]
- chore(deps): bump mkdocs-material from 9.6.10 to 9.6.11 in /docs (#3795) by @dependabot[bot]
- chore(deps): bump squidfunk/mkdocs-material from
3555052
to23b6978
in /docs (#3794) by @dependabot[bot] - chore(deps): bump aws-cdk-lib from 2.186.0 to 2.187.0 in the aws-cdk group across 1 directory (#3797) by @dependabot[bot]
- chore(deps): bump actions/dependency-review-action from 4.5.0 to 4.6.0 (#3796) by @dependabot[bot]
- chore(deps): bump esbuild from 0.25.1 to 0.25.2 (#3791) by @dependabot[bot]
- chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.22 to 3.0.23 (#3793) by @dependabot[bot]
- chore(deps): bump mkdocs-material from 9.6.9 to 9.6.10 in /docs (#3792) by @dependabot[bot]
- chore(deps): bump squidfunk/mkdocs-material from
f226a2d
to3555052
in /docs (#3788) by @dependabot[bot] - chore(deps): bump @aws-sdk/lib-dynamodb from 3.777.0 to 3.778.0 in the aws-sdk-v3 group across 1 directory (#3789) by @dependabot[bot]
- chore(deps-dev): bump the vitest group across 1 directory with 2 updates (#3790) by @dependabot[bot]
- chore(deps): bump the aws-sdk-v3 group across 1 directory with 9 updates (#3786) by @dependabot[bot]
- chore(deps): bump aws-cdk-lib from 2.185.0 to 2.186.0 in the aws-cdk group across 1 directory (#3784) by @dependabot[bot]
- chore(deps): bump @types/node from 22.13.13 to 22.13.14 (#3785) by @dependabot[bot]
- chore(deps): bump the aws-cdk group across 1 directory with 2 updates (#3780) by @dependabot[bot]
- chore(deps): bump the aws-sdk-v3 group across 1 directory with 9 updates (#3779) by @dependabot[bot]
- chore(deps): bump actions/setup-python from 5.4.0 to 5.5.0 (#3773) by @dependabot[bot]
- chore(deps): bump the aws-sdk-v3 group across 1 directory with 9 updates (#3774) by @dependabot[bot]