-
Notifications
You must be signed in to change notification settings - Fork 0
fix(deps): update sentry-javascript monorepo to v9 (major) #172
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
saga
Choose a base branch
from
renovate/major-sentry-javascript-monorepo
base: saga
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.
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
fa524ad
to
7573344
Compare
7573344
to
37345f9
Compare
37345f9
to
63a9ca8
Compare
63a9ca8
to
b211bd5
Compare
b211bd5
to
5863b04
Compare
5863b04
to
419c238
Compare
419c238
to
d7dbc2f
Compare
d7dbc2f
to
60e3235
Compare
60e3235
to
ddf0ab1
Compare
ddf0ab1
to
4eba19f
Compare
4eba19f
to
1c20bfb
Compare
1c20bfb
to
8856d85
Compare
8856d85
to
d4e141b
Compare
d4e141b
to
fb1b77c
Compare
8dd491e
to
710ac4a
Compare
710ac4a
to
59c244e
Compare
59c244e
to
f4223d8
Compare
f4223d8
to
2a08312
Compare
2a08312
to
5a542f0
Compare
5a542f0
to
06f93b7
Compare
06f93b7
to
e69127a
Compare
e69127a
to
5659a82
Compare
5659a82
to
9032863
Compare
9032863
to
f6beba2
Compare
f6beba2
to
636ff88
Compare
636ff88
to
748f6fa
Compare
748f6fa
to
3bcc32e
Compare
3bcc32e
to
4d41ea8
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:
7.120.3
->9.19.0
7.120.3
->9.19.0
Release Notes
getsentry/sentry-javascript (@sentry/browser)
v9.19.0
Compare Source
opentelemetry-instrumentation-remix
(#16145)cancelled
reason (#16277)@fastify/otel
fork to direct url to allow installing without git (#16287)Work in this release was contributed by @sidx1024. Thank you for your contribution!
Bundle size 📦
v9.18.0
Compare Source
Important changes
We now also publish profiling binaries for Node 24.
Other changes
import-in-the-middle
to1.13.1
(#16260)consoleLoggingIntegration
from vercel edge sdk (#16228)@fastify/otel
dependency with pinned Otel v1 deps (#16256)Bundle size 📦
v9.17.0
Compare Source
@fastify/otel
(#15542)Bundle size 📦
v9.16.1
Compare Source
v9.16.0
Compare Source
Important changes
Add a new plugin
makeConfigInjectorPlugin
within our existing vite plugin that updates the global vite config with sentry optionsThis PR implements consistent sampling across traces as outlined in (#15754)
This PR introduces a new
instrumentDurableObjectWithSentry
method to the SDK, which instruments durable objects. We capture both traces and errors automatically.Prisma integration is enabled by default, it should work for both ESM and CJS.
Adds client-side instrumentation for react router's
HydratedRouter
. To enable it, simply replacebrowserTracingIntegration()
withreactRouterTracingIntegration()
in your client-side init call.When running your application in ESM mode, there have been scenarios that resulted in the
http
/https
emitting duplicate spans for incoming requests. This was apparently caused by us double-wrapping the modules for incoming request isolation.In order to solve this problem, the modules are no longer monkey patched by us for request isolation. Instead, we register diagnosticschannel hooks to handle request isolation now.
While this is generally not expected to break anything, there is one tiny change that _may affect you if you have been relying on very specific functionality:
The
ignoreOutgoingRequests
option ofhttpIntegration
receives theRequestOptions
as second argument. This type is not changed, however due to how the wrapping now works, we no longer pass through the full RequestOptions, but re-construct this partially based on the generated request. For the vast majority of cases, this should be fine, but for the sake of completeness, these are the only fields that may be available there going forward - other fields that may have existed before may no longer be set:Other changes
SENTRY_RELEASE
fromenv
(#16201)http.server
spans with 404 status by default (#16205)removeFromDom()
from throwing (#16030)Bundle size 📦
v9.15.0
Compare Source
Important Changes
wrapMcpServerWithSentry
from server packages (#16127)Exports the wrapMcpServerWithSentry which is our MCP server instrumentation from all the server packages.
Adds a best effort mechanism to associate handler spans for
resource
,tool
andprompt
with the incoming message requests instead of the outgoing SSE response.Other Changes
ai
ESM patching (#16152)module.register
(#16125)unstable_sentryVitePluginOptions
correctly (#16156)Work in this release was contributed by @AntoineDuComptoirDesPharmacies. Thank you for your contribution!
Bundle size 📦
v9.14.0
Compare Source
Important Changes
This PR adds Supabase integration to
@sentry/core
, allowing automatic instrumentation of Supabase client operations (database queries and authentication) for performance monitoring and error tracking.SentryGlobalFilter
(#16066)This PR adds better RPC exception handling to
@sentry/nestjs
, preventing application crashes while still capturing errors and warning users when a dedicated filter is needed. The implementation gracefully handles the 'rpc' context type inSentryGlobalFilter
to improve reliability in hybrid applications.This PR adds trace propagation to
@sentry/react-router
by providing utilities to inject trace meta tags into HTML headers and offering a pre-built Sentry-instrumented request handler, improving distributed tracing capabilities across page loads.Other Changes
Bundle size 📦
v9.13.0
Compare Source
Important Changes
feat(node): Add support for winston logger (#15983)
Sentry is adding support for structured logging. In this release we've added support for sending logs to Sentry via the winston logger to the Sentry Node SDK (and SDKs that use the Node SDK under the hood like
@sentry/nestjs
). The Logging APIs in the Sentry SDK are still experimental and subject to change.feat(core): Add
wrapMcpServerWithSentry
to instrument MCP servers from@modelcontextprotocol/sdk
(#16032)The Sentry SDK now supports instrumenting MCP servers from the
@modelcontextprotocol/sdk
package. Compatible with versions^1.9.0
of the@modelcontextprotocol/sdk
package.feat(core): Move console integration into core and add to cloudflare/vercel-edge (#16024)
Console instrumentation has been added to
@sentry/cloudflare
and@sentry/nextjs
Edge Runtime and is enabled by default. Now calls to the console object will be captured as breadcrumbs for those SDKs.feat(bun): Support new
Bun.serve
APIs (#16035)Bun
1.2.6
and above have a newBun.serve
API, which the Bun SDK now supports. The SDK instruments the new routes object that can be used to define routes for the server.Thanks to @Jarred-Sumner for helping us get this supported!
Other Changes
browserTracingIntegration
(#16042)beforeSendLog
after we process log (#16019)unstable_sentryVitePluginOptions
to cli instance (#16033)v9.12.0
Compare Source
v9.11.0
Compare Source
http.redirect_count
attribute tobrowser.redirect
span (#15943)consoleLoggingIntegration
for logs (#15955)turbopack
as tag (#15928)sentryHandleRequest
(#15787)module
instead ofrequire
for CJS check (#15927)ErrorBoundary
wrapper (#15930)sentry.previous_trace
span attribute (#15957)Bundle size 📦
v9.10.1
Compare Source
3.2.4
(#15909)v9.10.0
Compare Source
Important Changes
feat: Add support for logs
beforeSendLog
(#15814)All JavaScript SDKs other than
@sentry/cloudflare
and@sentry/deno
now support sending logs via dedicated methods as part of Sentry's upcoming logging product.Logging is gated by an experimental option,
_experiments.enableLogs
.With server-side SDKs like
@sentry/node
,@sentry/bun
or server-side of@sentry/nextjs
or@sentry/sveltekit
, you can do structured logging without needing thefmt
helper function.To filter logs, or update them before they are sent to Sentry, you can use the
_experiments.beforeSendLog
option.feat(browser): Add
diagnoseSdkConnectivity()
function to programmatically detect possible connectivity issues (#15821)The
diagnoseSdkConnectivity()
function can be used to programmatically detect possible connectivity issues with the Sentry SDK.The result will be an object with the following properties:
"no-client-active"
: There was no active client when the function was called. This possibly means that the SDK was not initialized yet."sentry-unreachable"
: The Sentry SaaS servers were not reachable. This likely means that there is an ad blocker active on the page or that there are other connection issues.undefined
: The SDK is working as expected.SDK Tracing Performance Improvements for Node SDKs
dropUndefinedKeys
(#15796)dropUndefinedKeys
forspanToJSON
calls (#15792)SentryError
for PromiseBuffer control flow (#15822)dropUndefinedKeys
in SpanExporter (#15794)SentryError
for event processing control flow (#15823)dropUndefinedKeys
in Node SDK init (#15797)We've been hard at work making performance improvements to the Sentry Node SDKs (
@sentry/node
,@sentry/aws-serverless
,@sentry/nestjs
, etc.). We've seen that upgrading from9.7.0
to9.10.0
leads to 30-40% improvement in request latency for HTTP web-server applications that use tracing with high sample rates. Non web-server applications and non-tracing applications will see smaller improvements.Other Changes
rrweb
to2.35.0
(#15825)3.2.3
(#15829)v9.9.0
Compare Source
Important Changes
feat(nextjs): Support
instrumentation-client.ts
(#15705)Next.js recently added a feature to support client-side (browser) instrumentation via a
instrumentation-client.ts
file.To be forwards compatible, the Sentry Next.js SDK will now pick up
instrumentation-client.ts
files even on older Next.js versions and add them to your client bundles.It is suggested that you either rename your
sentry.client.config.ts
file toinstrumentation-client.ts
, or if you already happen to have ainstrumentation-client.ts
file move the contents ofsentry.client.config.ts
toinstrumentation-client.ts
.feat(browser): Add
previous_trace
span links (#15569)The
@sentry/browser
SDK and SDKs based on@sentry/browser
now emits a link from the first root span of a newly started trace to the root span of a previously started trace. You can control this feature via an option inbrowserTracingIntegration()
:feat(browser): Add
logger.X
methods to browser SDK (#15763)For Sentry's upcoming logging product, the SDK now supports sending logs via dedicated methods.
Please note that the logs product is still in early access. See the link above for more information.
Other Changes
parseStringToURL
method (#15768)dropUndefinedKeys
(#15760)shouldHandleError
(#15771)addNonEnumerableProperty
(#15766)dropUndefinedKeys()
(#15757)dropUndefinedKeys()
(#15781)v9.8.0
Compare Source
res.end
before passing to Proxy (#15776)eventFilters
integration (#15752)v9.7.0
Compare Source
captureLog
method (#15717)sentryHandleError
(#15726)fatal
level for unhandled rejections instrict
mode (#15720)v9.6.1
Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.