[Snyk] Upgrade @sentry/nextjs from 10.5.0 to 10.30.0 - #190
Open
angeloreale wants to merge 1 commit into
Open
Conversation
Snyk has created this PR to upgrade @sentry/nextjs from 10.5.0 to 10.30.0. See this package in npm: @sentry/nextjs See this project in Snyk: https://app.snyk.io/org/angeloreale/project/7c2db482-67fd-466e-a64b-82dcb911980e?utm_source=github&utm_medium=referral&page=upgrade-pr
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
angeloreale
force-pushed
the
dev
branch
3 times, most recently
from
August 13, 2026 17:03
348817e to
e3ea02a
Compare
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
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.
Snyk has created this PR to upgrade @sentry/nextjs from 10.5.0 to 10.30.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 28 versions ahead of your current version.
The recommended version was released 24 days ago.
Release notes
Package name: @sentry/nextjs
Internal Changes
@ sentry/types(#18429)Bundle size 📦
Important Changes
We expanded the supported version range for
@ solidjs/routerto include0.14.xand0.15.xversions.Other Changes
msgin pino integration (#18389)Internal Changes
Bundle size 📦
Important Changes
matcherparameter optional inmakeMultiplexedTransport(#10798)The
matcherparameter inmakeMultiplexedTransportis now optional with a sensible default. This makes it much easier to use the multiplexed transport for sending events to multiple DSNs based on runtime configuration.Before:
const EXTRA_KEY = 'ROUTE_TO';
const transport = makeMultiplexedTransport(makeFetchTransport, args => {
const event = args.getEvent();
if (event?.extra?.[EXTRA_KEY] && Array.isArray(event.extra[EXTRA_KEY])) {
return event.extra[EXTRA_KEY];
}
return [];
});
Sentry.init({
transport,
// ... other options
});
// Capture events with routing info
Sentry.captureException(error, {
extra: {
[EXTRA_KEY]: [
{ dsn: 'https://key1@ sentry.io/project1', release: 'v1.0.0' },
{ dsn: 'https://key2@ sentry.io/project2' },
],
},
});
After:
// Just pass the transport generator - the default matcher handles the rest!
Sentry.init({
transport: makeMultiplexedTransport(makeFetchTransport),
// ... other options
});
// Capture events with routing info using the exported constant
Sentry.captureException(error, {
extra: {
[MULTIPLEXED_TRANSPORT_EXTRA_KEY]: [
{ dsn: 'https://key1@ sentry.io/project1', release: 'v1.0.0' },
{ dsn: 'https://key2@ sentry.io/project2' },
],
},
});
The default matcher looks for routing information in
event.extra[MULTIPLEXED_TRANSPORT_EXTRA_KEY]. You can still provide a custom matcher function for advanced use cases.This release adds support for
cacheComponentson turbopack builds. We are working on adding support for this feature in webpack builds as well.Other Changes
isolateTraceoption toSentry.withMonitor()(#18079)waitUntildetection (#18336)continueTracedoesn't propagate given trace ID if active span exists (#18328)Internal Changes
BUGBOT.mdrules to flag invalid op and origin values during review (#18352)Bundle size 📦
This release is a preview release for sending spans in browser via spanV2 instead of transaction event envelopes. All of this is experimental and subject to change. Use at your own risk. More Details.
Changes from 10.24-alpha.1:
sentry.segment.idcommon span attributeuser.usernametouser.nameis_remote, addis_segmentspan attributesspan.kindfieldBundle size 📦
Important Changes
feat(deps): Bump OpenTelemetry (#18239)
feat(browserprofiling): Add
manualmode and deprecate old profiling (#18189)Adds the
manuallifecycle mode for UI profiling (the default mode), allowing profiles to be captured manually withSentry.uiProfiler.startProfiler()andSentry.uiProfiler.stopProfiler().The previous transaction-based profiling is with
profilesSampleRateis now deprecated in favor of the new UI Profiling withprofileSessionSampleRate.Other Changes
gibibyteandpebibytetoInformationUnittype (#18241)_experiments.enableLogsoption (#18299)maxValueLengthon error messages (#18301)sendDefaultPii(#18311)beforeSendMetric(#18261)Internal Changes
- build(deps): bump hono from 4.9.7 to 4.10.3 in /dev-packages/e2e-tests/test-applications/cloudflare-hono ([#18038](https://redirect.github.com//pull/18038)) - chore: Add `bump_otel_instrumentations` cursor command ([#18253](https://redirect.github.com//pull/18253)) - chore: Add external contributor to CHANGELOG.md ([#18297](https://redirect.github.com//pull/18297)) - chore: Add external contributor to CHANGELOG.md ([#18300](https://redirect.github.com//pull/18300)) - chore: Do not update opentelemetry ([#18254](https://redirect.github.com//pull/18254)) - chore(angular): Add Angular 21 Support ([#18274](https://redirect.github.com//pull/18274)) - chore(deps): bump astro from 4.16.18 to 5.15.9 in /dev-packages/e2e-tests/test-applications/cloudflare-astro ([#18259](https://redirect.github.com//pull/18259)) - chore(dev-deps): Update some dev dependencies ([#17816](https://redirect.github.com//pull/17816)) - ci(deps): Bump actions/create-github-app-token from 2.1.1 to 2.1.4 ([#17825](https://redirect.github.com//pull/17825)) - ci(deps): bump actions/setup-node from 4 to 6 ([#18077](https://redirect.github.com//pull/18077)) - ci(deps): bump actions/upload-artifact from 4 to 5 ([#18075](https://redirect.github.com//pull/18075)) - ci(deps): bump github/codeql-action from 3 to 4 ([#18076](https://redirect.github.com//pull/18076)) - doc(sveltekit): Update documentation link for SvelteKit guide ([#18298](https://redirect.github.com//pull/18298)) - test(e2e): Fix astro config in test app ([#18282](https://redirect.github.com//pull/18282)) - test(nextjs): Remove debug logs from e2e test ([#18250](https://redirect.github.com//pull/18250))Work in this release was contributed by @ bignoncedric and @ adam-kov. Thank you for your contributions!
Bundle size 📦
Important Changes
Adds support for instrumenting LangGraph StateGraph operations in Node. The LangGraph integration can be configured as follows:
Instrumentation for LangGraph in Cloudflare Workers and Vercel Edge environments is supported by manually calling
instrumentLangGraph:import { StateGraph, START, END, MessagesAnnotation } from '@ langchain/langgraph';
// Create and instrument the graph
const graph = new StateGraph(MessagesAnnotation)
.addNode('agent', agentFn)
.addEdge(START, 'agent')
.addEdge('agent', END);
Sentry.instrumentLangGraph(graph, {
recordInputs: true,
recordOutputs: true,
});
const compiled = graph.compile({ name: 'weather_assistant' });
await compiled.invoke({
messages: [{ role: 'user', content: 'What is the weather in SF?' }],
});
Other Changes
server.addressattribute on server runtimes (#18242)