chore(deps): update JavaScript SDK to v7.31.1 #2738
Merged
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.
Bumps scripts/update-javascript.sh from 7.29.0 to 7.31.1.
Auto-generated by a dependency updater.
Changelog
7.31.1
7.31.0
The Next.js SDK now supports error and performance monitoring for Next.js middleware and Edge API routes.
To set it up, add a
sentry.edge.config.js
orsentry.edge.config.ts
file to the root of your project and initialize the SDK:The Next.js will automatically instrument Edge API routes and middleware.
If you want to opt out of automatic instrumentation of middleware can use the
autoInstrumentMiddleware
option in thesentry
object of your Next.js configuration:Middleware can be manually instrumented by using the
wrapMiddlewareWithSentry
function.withSentryConfig
as an alternative to thesentry
property (#6721)checkoutEveryNms
(#6722)isBuild()
andIS_BUILD
(#6727)7.30.0
addIntegration
method to client (#6651)replay_event
type for events (#6481)LocalVariables
integration to capture local variables to stack frames (#6478)replayType
from tags and intoreplay_event
(#6658)res.json
andres.send
(#6674)res.end
to fixnext export
(#6682)instrumentSever
(#6592)Work in this release contributed by rjoonas, Naddiseo, and theofidry. Thank you for your contributions!