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: 1 addition & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ Sentry.init({
- The `generateInstrumentOnce` export was removed (from `@sentry/node` and the framework SDKs that re-exported it). It wrapped OpenTelemetry's `registerInstrumentations` and is no longer needed now that instrumentation is channel-based.
- The `@sentry/node/loader` entry point was removed. Use `node --import @sentry/node/import` instead.
- (Astro) The `@sentry/astro/loader` entry point was removed. Use `node --import @sentry/astro/import` instead.
- (AWS Lambda) The `@sentry/aws-serverless/loader` entry point was removed. Use `node --import @sentry/aws-serverless/import` instead.
- (Fastify) The deprecated `setShouldHandleError` method was removed.
- (AWS Lambda) The deprecated `disableAwsContextPropagation` option was removed. It no longer had any effect.
- (AWS Lambda) The deprecated `startTrace` option was removed. It no longer had any effect; to disable tracing, set `tracesSampleRate` to `0`.
Expand Down
6 changes: 0 additions & 6 deletions packages/aws-serverless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"files": [
"/build/npm",
"/build/import-hook.mjs",
"/build/loader-hook.mjs",
"/build/lambda-extension"
],
"main": "build/npm/cjs/index.js",
Expand All @@ -35,11 +34,6 @@
"default": "./build/import-hook.mjs"
}
},
"./loader": {
"import": {
"default": "./build/loader-hook.mjs"
}
},
"./awslambda-auto": {
"require": {
"default": "./build/npm/cjs/awslambda-auto.js"
Expand Down
4 changes: 2 additions & 2 deletions packages/aws-serverless/rollup.npm.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { makeBaseNPMConfig, makeNPMConfigVariants, makeOtelLoaders } from '@sentry-internal/rollup-utils';
import { makeBaseNPMConfig, makeNPMConfigVariants, makeOrchestrionLoader } from '@sentry-internal/rollup-utils';

// The handler shim (loaded by the AWS Lambda runtime via the redirected `_HANDLER`) is
// built as a standalone, ESM-only bundle: it uses top-level await to load the user's
Expand Down Expand Up @@ -41,5 +41,5 @@ export default [
},
}),
),
...makeOtelLoaders('./build', 'sentry-node'),
...makeOrchestrionLoader('./build'),
];
Loading