-
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.
+168
−645
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
4a455c0
to
56dfaba
Compare
56dfaba
to
38a74bb
Compare
38a74bb
to
a26da40
Compare
a26da40
to
49dec92
Compare
49dec92
to
7755b29
Compare
7755b29
to
8b5d4f8
Compare
8b5d4f8
to
db33a96
Compare
db33a96
to
0218760
Compare
0218760
to
f95a3e4
Compare
f95a3e4
to
9856433
Compare
9856433
to
b7590ca
Compare
b7590ca
to
5a9b152
Compare
5a9b152
to
61a4edf
Compare
61a4edf
to
47b2b3c
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.42.1
7.120.3
->9.42.1
Release Notes
getsentry/sentry-javascript (@sentry/browser)
v9.42.1
Compare Source
globalThis
(#17185)handleErrorWithSentry
(#17174)Bundle size 📦
v9.42.0
Compare Source
Bundle size 📦
v9.41.0
Compare Source
v9.40.0
Compare 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
logger
export from@sentry/core
has been deprecated in favor of thedebug
export.debug
only exposeslog
,warn
, anderror
methods but is otherwise identical tologger
. Note that this deprecation does not affect thelogger
export from other packages (like@sentry/browser
or@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/instrumentation
range to cover0.203.0
(#17043)Work in this release was contributed by @0xbad0c0d3 and @tommy-gilligan. Thank you for your contributions!
Bundle size 📦
v9.39.0
Compare Source
Important Changes
afterStartPageloadSpan
hook 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/123
andusers/456
now 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)disableSentryWebpackConfig
flag (#17013)tracing/errors.ts
(#16888)beforeSendLog
inconsoleSandbox
(#16968)source=route
(#16984)Work in this release was contributed by @janpapenbrock. Thank you for your contribution!
Bundle size 📦
v9.38.0
Compare Source
Important Changes
This release publishes the
@sentry/node-native
SDK.Other Changes
debug
to replacelogger
(#16906)nextHopProtocol
when adding resource spans (#16900)Bundle size 📦
v9.37.0
Compare 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/123
will be shown as/users/:userId()
in Sentry. This will make it easier to identify patterns and make grouping easier.Other Changes
beforeStartNavigationSpan
lifecycle hook (#16863)wrapRequestHandler
(#16852)instrumentation-client.ts|js
(#16855)redirect()
calls as errors in Cloudflare (#16853)deleteSourcemapsAfterUpload
jsdoc default value (#16867)Work in this release was contributed by @zachkirsch. Thank you for your contribution!
Bundle size 📦
v9.36.0
Compare Source
Important Changes
This release adds a new SDK
@sentry/node-core
which 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-core
when:Use
@sentry/node
when:The ANR integration has been deprecated and will be removed in future versions. Use
eventLoopBlockIntegration
from@sentry/node-native
instead._experiments.ignoreMutations
option (#16816)This replay option allows to configure a selector list of elements to not capture mutations for.
Other changes
@sentry/replay-internal
(#16794)diagnoseSdkConnectivity
request (#16840)Work in this release was contributed by @Spice-King and @stayallive. Thank you for your contributions!
Bundle size 📦
v9.35.0
Compare Source
Context
andContexts
types (#16763)eventLoopBlockIntegration
(#16709)parentSpan
is considered (#16776)require
for fastify integration (#16789)@sentry/cloudflare
as optional peerDependency (#16782)@Cron
decorated tasks (#16792)Work in this release was contributed by @0xbad0c0d3 and @alSergey. Thank you for your contributions!
v9.34.0
Compare Source
Important Changes
feat(nuxt): Add Cloudflare Nitro plugin (#15597)
A Nitro plugin for
@sentry/nuxt
which initializes Sentry when deployed to Cloudflare (cloudflare-pages
preset).Remove the previous server config file:
sentry.server.config.ts
Add 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
Bundle size 📦
v9.33.0
Compare Source
Important Changes
vercelAiIntegration
to cloudflare & vercel-edge (#16732)The
vercelAiIntegration
is now available as opt-in for the Cloudflare and the Next.js SDK for Vercel Edge.To use it, add the integration in
Sentry.init
And 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)ai
from default server external packages (#16736)Work in this release was contributed by @0xbad0c0d3. Thank you for your contribution!
v9.32.0
Compare Source
Important Changes
Enhances CLS (Cumulative Layout Shift) spans by adding attributes detailing the elements that caused layout shifts.
instrumentWorkflowWithSentry
to 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
errorHandler
option (#16718)CloudEventsContext
compatible withCloudEvent
(#16705)false
(#16695)@opentelemetry/resources
(#16727)Work in this release was contributed by @flaeppe. Thank you for your contribution!
Bundle size 📦
v9.31.0
Compare 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
/monitoring
endpoint.scope
&client
togetTraceData
(#16633)Adds the ability to pass custom
scope
andclient
parameters to thegetTraceData
function, providing more flexibility when generating trace data for distributed tracing.Other Changes
x-forwarded-host
andx-forwarded-proto
headers (#16687)@sentry/opentelemetry
dependency (#16677)@sentry/pino-transport
(#16652)safeJoin
usage in console logging integration (#16658)CloudEvent
type compatible (#16661)instrumentation-client.js
file (#16637)Bundle size 📦
| Path | Size |
| ----------------------------------
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.