Announcing Backpack 0.3
For full details, please refer to our changelog.
New in Backpack: error handling
Backpack now includes some best practices regarding error handling. There are also some nice utilities included in the new @backpack/error-handling
package.
Go check it out, and please share your feedback!
Migrate your AWS Lambda functions to Node v22
We upgraded the recommended runtime for your AWS Lambda functions from Node v20 to Node v22.
- Make sure to upgrade
aws-cdk-lib
tov2.168.0
or higher first. - In your CDK code, change the
runtime
of your lambda toNODEJS_22_X
.
Changed entry points of @backpack/aws-lambda
All REST-related utilities in @backpack/aws-lambda
have been moved to @backpack/aws-lambda/rest
. This means you have to update all your existing imports.
Updated peer dependencies
TypeScript 5.7
TypeScript 5.7 includes some minor improvements. Check out all of them here.
Express 5 and Vite 6
If you are using @backpack/vite-plugin-lambda
, make sure to upgrade Express to 5.0.0
and Vite to 6.0.0
.