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
1 change: 0 additions & 1 deletion .craft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ targets:
compatibleRuntimes:
- name: node
versions:
- nodejs18.x
- nodejs20.x
- nodejs22.x
- nodejs24.x
Expand Down
2 changes: 2 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ The SDK and bundler plugins now use Sentry CLI v3. This is an internal change fo
A new AWS Lambda Layer for version 11 will be published as `SentryNodeServerlessSDKv11`.
The ARN will be published in the [Sentry docs](https://docs.sentry.io/platforms/javascript/guides/aws-lambda/install/cjs-layer/) once available.

The layer is compatible with the `nodejs20.x`, `nodejs22.x` and `nodejs24.x` runtimes. Functions still on `nodejs18.x` need to move to a newer runtime before upgrading.

Updates and fixes for version 10 will be published as `SentryNodeServerlessSDKv10`.

## 2. Behaviour Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class LocalLambdaStack extends Stack {
type: 'AWS::Serverless::LayerVersion',
properties: {
ContentUri: path.join(LAYER_DIR, layerZipFile),
CompatibleRuntimes: ['nodejs18.x', 'nodejs20.x', 'nodejs22.x'],
CompatibleRuntimes: ['nodejs20.x', 'nodejs22.x', 'nodejs24.x'],
CompatibleArchitectures: [samLambdaArchitecture()],
},
});
Expand Down
2 changes: 1 addition & 1 deletion scripts/aws-deploy-local-layer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ aws lambda publish-layer-version \
--region "eu-central-1" \
--zip-file "fileb://build/aws/dist-serverless/$ZIP" \
--description "Local test build of SentryNodeServerlessSDK (can be deleted)" \
--compatible-runtimes nodejs10.x nodejs12.x nodejs14.x nodejs16.x nodejs18.x
--compatible-runtimes nodejs20.x nodejs22.x nodejs24.x

echo "Done deploying zipped Lambda layer to AWS as 'SentryNodeServerlessSDK-local-dev'."

Expand Down
Loading