-
Notifications
You must be signed in to change notification settings - Fork 21
Update dependency @sentry/nextjs to v9.47.1 #1248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/sentry-javascript-monorepo
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+161
−136
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Skipped Deployments
|
f27f52b to
26b2eb3
Compare
26b2eb3 to
a66aea8
Compare
a66aea8 to
21b4441
Compare
21b4441 to
e1da4d5
Compare
e1da4d5 to
4519b77
Compare
4519b77 to
9027af6
Compare
9027af6 to
c6aa02c
Compare
c6aa02c to
45db5d5
Compare
d20938a to
683c130
Compare
683c130 to
22db959
Compare
22db959 to
8e486f7
Compare
8e486f7 to
0c80719
Compare
0c80719 to
ef9dfe5
Compare
ef9dfe5 to
3cf5d2d
Compare
2ba79d5 to
c8f8f57
Compare
c8f8f57 to
b9de826
Compare
b9de826 to
30cb136
Compare
30cb136 to
9925070
Compare
e34b51a to
ee154c3
Compare
f963355 to
6ad3882
Compare
63b71c5 to
4dac751
Compare
4dac751 to
d801753
Compare
ee3ab3d to
1019e3e
Compare
1019e3e to
83081c2
Compare
83081c2 to
4820eea
Compare
4820eea to
ca3a039
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
9.12.0→9.47.1Release Notes
getsentry/sentry-javascript (@sentry/nextjs)
v9.47.1Compare Source
Bundle size 📦
v9.47.0Compare Source
MAX_LOG_BUFFER_SIZEare not swallowed (#18213)Internal Changes
Bundle size 📦
v9.46.0Compare Source
SystemErrorcontext and remove paths from message (#17394)Bundle size 📦
v9.45.0Compare Source
openaito the instrumented fn (#17353)Bundle size 📦
v9.44.2Compare Source
This release is publishing the AWS Lambda Layer under
SentryNodeServerlessSDKv9. The previous release9.44.1accidentally published the layer underSentryNodeServerlessSDKv10.v9.44.1Compare Source
v9.44.0Compare Source
_experiments.autoFlushOnFeedback(#17219)flushIfServerlessfunction (#17239)@sentry-internal/node-native-stacktraceto0.2.2(#17256)createSentryHandleError(#17244)v9.43.0Compare Source
fastifyIntegrationerror handler (#17211)v9.42.1Compare Source
globalThis(#17185)handleErrorWithSentry(#17174)v9.42.0Compare Source
v9.41.0Compare Source
Important Changes
enableLogsandbeforeSendLogoption (#17092)Sentry now has support for structured logging. Previously to enable structured logging, you had to use the
_experiments.enableLogsand_experiments.beforeSendLogoptions. These options have been deprecated in favor of the top-levelenableLogsandbeforeSendLogoptions.Server-side and client-side parameterized routes are now supported in the Astro SDK. No configuration changes are required.
Other Changes
vercelAiIntegrationhave correct trace (#17142)Work in this release was contributed by @richardjelinek-fastest. Thank you for your contribution!
v9.40.0Compare Source
Important Changes
This release adds two Browser SDK APIs to let the main thread know about debugIds of worker files:
webWorkerIntegration({worker})to be used in the main threadregisterWebWorker({self})to be used in the web workerThe internal SDK
loggerexport from@sentry/corehas been deprecated in favor of thedebugexport.debugonly exposeslog,warn, anderrormethods but is otherwise identical tologger. Note that this deprecation does not affect theloggerexport from other packages (like@sentry/browseror@sentry/node) which is used for Sentry Logging.This release adds official support for instrumenting OpenAI SDK calls in with Sentry tracing, following OpenTelemetry semantic conventions for Generative AI. It instruments:
client.chat.completions.create()- For chat-based completionsclient.responses.create()- For the responses APIOther Changes
@opentelemetry/instrumentationrange to cover0.203.0(#17043)Work in this release was contributed by @0xbad0c0d3 and @tommy-gilligan. Thank you for your contributions!
v9.39.0Compare Source
Important Changes
afterStartPageloadSpanhook to improve spanId assignment on web vital spans (#16893)This PR adds a new afterStartPageloadSpan lifecycle hook to more robustly assign the correct pageload span ID to web vital spans, replacing the previous unreliable "wait for a tick" approach with a direct callback that fires when the pageload span becomes available.
This PR implements client-side parameterized routes for Next.js by leveraging an injected manifest within the existing app-router instrumentation to automatically parameterize all client-side transactions (e.g.
users/123andusers/456now become becomeusers/:id).This PR changes the default behavior in the Node SDK to drop HTTP spans with 401-404 and 3xx status codes by default to reduce noise in tracing data.
Other Changes
vercel.ai.X(#16908)disableSentryWebpackConfigflag (#17013)tracing/errors.ts(#16888)beforeSendLoginconsoleSandbox(#16968)source=route(#16984)Work in this release was contributed by @janpapenbrock. Thank you for your contribution!
v9.38.0Compare Source
Important Changes
This release publishes the
@sentry/node-nativeSDK.Other Changes
debugto replacelogger(#16906)nextHopProtocolwhen adding resource spans (#16900)v9.37.0Compare Source
Important Changes
feat(nuxt): Parametrize SSR routes (#16843)
When requesting dynamic or catch-all routes in Nuxt, those will now be shown as parameterized routes in Sentry.
For example,
/users/123will be shown as/users/:userId()in Sentry. This will make it easier to identify patterns and make grouping easier.Other Changes
beforeStartNavigationSpanlifecycle hook (#16863)wrapRequestHandler(#16852)instrumentation-client.ts|js(#16855)redirect()calls as errors in Cloudflare (#16853)deleteSourcemapsAfterUploadjsdoc default value (#16867)Work in this release was contributed by @zachkirsch. Thank you for your contribution!
v9.36.0Compare Source
Important Changes
This release adds a new SDK
@sentry/node-corewhich ships without any OpenTelemetry instrumententation out of the box. All OpenTelemetry dependencies are peer dependencies and OpenTelemetry has to be set up manually.Use
@sentry/node-corewhen:Use
@sentry/nodewhen:The ANR integration has been deprecated and will be removed in future versions. Use
eventLoopBlockIntegrationfrom@sentry/node-nativeinstead._experiments.ignoreMutationsoption (#16816)This replay option allows to configure a selector list of elements to not capture mutations for.
Other changes
@sentry/replay-internal(#16794)diagnoseSdkConnectivityrequest (#16840)Work in this release was contributed by @Spice-King and @stayallive. Thank you for your contributions!
v9.35.0Compare Source
ContextandContextstypes (#16763)eventLoopBlockIntegration(#16709)parentSpanis considered (#16776)requirefor fastify integration (#16789)@sentry/cloudflareas optional peerDependency (#16782)@Crondecorated tasks (#16792)Work in this release was contributed by @0xbad0c0d3 and @alSergey. Thank you for your contributions!
v9.34.0Compare Source
Important Changes
feat(nuxt): Add Cloudflare Nitro plugin (#15597)
A Nitro plugin for
@sentry/nuxtwhich initializes Sentry when deployed to Cloudflare (cloudflare-pagespreset).Remove the previous server config file:
sentry.server.config.tsAdd a plugin in
server/plugins(e.g.server/plugins/sentry-cloudflare-setup.ts)Add this code in your plugin file
or with access to
nitroApp:Other Changes
v9.33.0Compare Source
Important Changes
vercelAiIntegrationto cloudflare & vercel-edge (#16732)The
vercelAiIntegrationis now available as opt-in for the Cloudflare and the Next.js SDK for Vercel Edge.To use it, add the integration in
Sentry.initAnd enable telemetry for Vercel AI calls
The Node.js SDK now includes instrumentation for Postgres.js.
If you're on Fastify v5, you no longer need to call
setupFastifyErrorHandler. It is done automatically by the node SDK. Older versions still rely on callingsetupFastifyErrorHandler.Other Changes
waitUntil(#16681)aifrom default server external packages (#16736)Work in this release was contributed by @0xbad0c0d3. Thank you for your contribution!
v9.32.0Compare Source
Important Changes
Enhances CLS (Cumulative Layout Shift) spans by adding attributes detailing the elements that caused layout shifts.
instrumentWorkflowWithSentryto instrument workflows (#16672)We've added support for Cloudflare Workflows, enabling comprehensive tracing for your workflow runs. This integration uses the workflow's instanceId as the Sentry trace_id and for sampling, linking all steps together. You'll now be able to see full traces, including retries with exponential backoff.
Adds the ability to send logs to Sentry via a pino transport.
Other Changes
errorHandleroption (#16718)CloudEventsContextcompatible withCloudEvent(#16705)false(#16695)@opentelemetry/resources(#16727)Work in this release was contributed by @flaeppe. Thank you for your contribution!
v9.31.0Compare Source
Important Changes
Adds an option to automatically generate a random tunnel route for the Next.js SDK. This helps prevent ad blockers and other tools from blocking Sentry requests by using a randomized path instead of the predictable
/monitoringendpoint.scope&clienttogetTraceData(#16633)Adds the ability to pass custom
scopeandclientparameters to thegetTraceDatafunction, providing more flexibility when generating trace data for distributed tracing.Other Changes
x-forwarded-hostandx-forwarded-protoheaders (#16687)@sentry/opentelemetrydependency (#16677)@sentry/pino-transport(#16652)safeJoinusage in console logging integration (#16658)CloudEventtype compatible (#16661)instrumentation-client.jsfile (#16637)v9.30.0Compare Source
vercelAiIntegrationwhenaimodule is detected (#16565)modulesIntegrationworks in more environments (#16566)sendDefaultPii(#16527)v9.29.0Compare Source
Important Changes
web-vitalsto 5.0.2 (#16492)This release upgrades the
web-vitalslibrary to version 5.0.2. This upgrade could slightly change the collected web vital values and potentially also influence alerts and performance scores in the Sentry UI.Other Changes
onErrorusage (#16547)vercelAiIntegration(#16551)ignoreLayersTypeoption to koa integration (#16553)suppressTracingdoes not leak when async (#16545)v9.28.1Compare Source
Work in this release was contributed by @eltigerchino. Thank you for your contribution!
v9.28.0Compare Source
Important Changes
TracingInterceptor(#16501)With this change we stop creating spans for
TracingInterceptoras this interceptor only serves as an internal helper and adds noise for the user.This feature ships updates to the span names and ops to better match OpenTelemetry. This should make them more easily accessible to the new agents module view we are building.
Other Changes
vercelAIIntegrationfrom@sentry/node(#16496)Work in this release was contributed by @agrattan0820. Thank you for your contribution!
v9.27.0Compare Source
ReactRouterServerintegration (#16470)v9.26.0Compare Source
@sentry/react(#16465)v9.25.1[Compare Source](https://redirect.github.com/getsentry/sentry-javascript/com
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - "after 8pm and before 8am every weekday,every weekend" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.