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:
1.157.0
->1.159.0
7.68.0
->7.80.0
7.68.0
->7.80.0
3.2.4
->3.2.5
5.8.1
->5.9.1
Release Notes
fdebijl/clog (@fdebijl/clog)
v1.159.0
Compare Source
v1.158.0
Compare Source
getsentry/sentry-javascript (@sentry/integrations)
v7.80.0
Compare Source
<meta>
tags (#9483)MetaFunction
parameters (#9493)Bundle size 📦
v7.79.0
Compare Source
origin
to trace context (#9472)v7.78.0
Compare Source
Important Changes
We've dramatically decreased the bundle size of our Replay package, reducing the minified & gzipped bundle size by ~20 KB!
This was possible by extensive use of tree shaking and a host of small changes to reduce our footprint:
By using tree shaking it is possible to shave up to 10 additional KB off the bundle.
Other Changes
openDialog
andcloseDialog
onto integration interface (#9464)beforeErrorSampling
(#9470)Bundle size 📦
v7.77.0
Compare Source
v7.76.0
Compare Source
Important Changes
This release adds
Sentry.withMonitor()
, a wrapping function that wraps a callback with a cron monitor that will automatically report completions and failures:Other Changes
jsx
andtsx
file extensions (#9362)replay_id
is not added to DSC if session expired (#9359)Work in this release contributed by @LubomirIgonda1. Thank you for your contribution!
v7.75.1
Compare Source
v7.75.0
Compare Source
Important Changes
@sentry/opentelemetry
package (#9238)This release publishes a new package,
@sentry/opentelemetry
. This is a runtime agnostic replacement for@sentry/opentelemetry-node
and exports a couple of useful utilities which can be used to use Sentry together with OpenTelemetry.You can read more about @sentry/opentelemetry in the Readme.
Starting with this release, you can configure the following build-time flags in order to reduce the SDK bundle size:
__RRWEB_EXCLUDE_CANVAS__
__RRWEB_EXCLUDE_IFRAME__
__RRWEB_EXCLUDE_SHADOW_DOM__
You can read more about tree shaking in our docs.
Other Changes
lru_map
dependency (#9300)cookie
module (#9308)Replay
andBrowserTracing
integrations tree-shakeable (#9287)autoInstrumentMiddleware
functionality (#9323)getInitialProps
may return undefined (#9342)Bundle size 📦
v7.74.1
Compare Source
astro-integration
keyword (#9265)fetch
(#9275)defer
injection logic. (#9242)Work in this release contributed by @LubomirIgonda1. Thank you for your contribution!
v7.74.0
Compare Source
Important Changes
sentryAstro
integration (#9218)This Release introduces the first alpha version of our new SDK for Astro.
At this time, the SDK is considered experimental and things might break and change in future versions.
The core of the SDK is an Astro integration which you easily add to your Astro config:
Check out the README for usage instructions and what to expect from this alpha release.
Other Changes
addIntegration
utility (#9186)continueTrace
method (#9164)VueIntegration
to initialize vue app later (#9180)referrerPolicy
on serverside fetch transports (#9200)init
(#9162)inspector
when needed (#9149)debug
option and instead add logger.isEnabled() (#9230).mjs
and.cjs
extensions from module name (#9231)processEvent
integration hook (#9151)processEvent
(#9021)rethrowAfterCapture
option (#9159)walk
method (#9157)Work in this release contributed by @aldenquimby. Thank you for your contributions!
Bundle size 📦
v7.73.0
Compare Source
Important Changes
This is fully backwards compatible with prior versions of the Replay SDK. The only breaking change that we will making is to not be masking
aria-label
by default. The reason for this change is to align with our core SDK which also does not maskaria-label
. This change also enables better support of searching by clicks.Another change that needs to be highlighted is the 13% bundle size increase. This bundle size increase is necessary to bring improved recording performance and improved replay fidelity, especially in regards to web components and iframes. We will be investigating the reduction of the bundle size in this PR.
Here are benchmarks comparing the version 1 of rrweb to version 2
Other Changes
captureAllExceptions
by default (#9102)tunnel
is considered forisSentryUrl
checks (#9130)RequestAsyncStorage
fallback path (#9126)load
functions (#9071)InboundFilters
integration to useprocessEvent
(#9020)processEvent
(#9019)Work in this release contributed by @vlad-zhukov. Thank you for your contribution!
Bundle size 📦
v7.72.0
Compare Source
Important Changes
This release introduces support for Application Not Responding (ANR) errors for Node.js applications.
These errors are triggered when the Node.js main thread event loop of an application is blocked for more than five seconds.
The Node SDK reports ANR errors as Sentry events and can optionally attach a stacktrace of the blocking code to the ANR event.
To enable ANR detection, import and use the
enableANRDetection
function from the@sentry/node
package before you run the rest of your application code.Any event loop blocking before calling
enableANRDetection
will not be detected by the SDK.Example (ESM):
Example (CJS):
Other Changes
RequestAsyncStorage
locations by locations that webpack will resolve (#9114)replay_id
is not captured when session is expired (#9109)v7.71.0
Compare Source
basename
-prefixed route. (#9076)processEvent
(#9022)Work in this release contributed by @jorrit. Thank you for your contribution!
v7.70.0
Compare Source
Important Changes
This release contains the beta version of
@sentry/bun
, our SDK for the Bun JavaScript runtime! For details on how to use it, please see the README. Any feedback/bug reports are greatly appreciated, please reach out on GitHub.Note that as of now the Bun runtime does not support global error handlers. This is being actively worked on, see the tracking issue in Bun's GitHub repo.
The Sentry Remix SDK now officially supports Remix v2! See our Remix docs for more details.
Other Changes
processEvent
hook onIntegration
(#9017)React.ComponentType
instead ofReact.FC
aswithSentry
's generic type. (#9043)preprocessEvent
hook (#9034)handleErrorWithSentry
type (#9054)Work in this release contributed by @Dima-Dim, @krist7599555 and @lifeiscontent. Thank you for your contributions!
Special thanks for @isaacharrisholt for helping us implement a Vercel Edge Runtime SDK which we use under the hood for our Next.js SDK.
Bundle size 📦
v7.69.0
Compare Source
Important Changes
This release introduces a new set of top level APIs for the Performance Monitoring SDKs. These aim to simplify creating spans and reduce the boilerplate needed for performance instrumentation. The three new methods introduced are
Sentry.startSpan
,Sentry.startInactiveSpan
, andSentry.startSpanManual
. These methods are available in the browser and node SDKs.Sentry.startSpan
wraps a callback in a span. The span is automatically finished when the callback returns. This is the recommended way to create spans.If you don't want the span to finish when the callback returns, use
Sentry.startSpanManual
to control when the span is finished. This is useful for event emitters or similar.Sentry.startSpan
andSentry.startSpanManual
create a span and make it active for the duration of the callback. Any spans created while this active span is running will be added as a child span to it. If you want to create a span without making it active, useSentry.startInactiveSpan
. This is useful for creating parallel spans that are not related to each other.Other Changes
BeforeFinishCallback
type (#8999)LinkedErrors
integration runs before all event processors (#8956)org
,project
andurl
as args to upload script (#8985)ignoreErrors
(#8986)pg
spans (#8993)useRoutes
(#8998)glob
to Remix SDK dependencies. (#8963)handleRecordingEmit
aborts when event is not added (#8938)Work in this release contributed by @Duncanxyz and @malay44. Thank you for your contributions!
caolan/async (async)
v3.2.5
Compare Source
Error
objects such asAggregateError
are propagated without modification (#1920)mongodb/node-mongodb-native (mongodb)
v5.9.1
Compare Source
The MongoDB Node.js team is pleased to announce version 5.9.1 of the
mongodb
package!Release Notes
insertedIds
in bulk write now contain only successful insertionsPrior to this fix, the bulk write error's
result.insertedIds
property contained the_id
of each attempted insert in a bulk operation.Now, when a
bulkwrite()
or aninsertMany()
operation rejects one or more inserts, throwing an error, the error'sresult.insertedIds
property will only contain the_id
fields of successfully inserted documents.Fixed edge case leak in
findOne()
When running a
findOne
against a time series collection, the driver left the implicit session for the cursor un-ended due to the way the server returns the resulting cursor information. Now the cursor will always be cleaned up regardless of the outcome of the find operation.Bug Fixes
Documentation
We invite you to try the
mongodb
library immediately, and report any issues to the NODE project.v5.9.0
Compare Source
The MongoDB Node.js team is pleased to announce version 5.9.0 of the
mongodb
package!Release Notes
Bumped
bson
version to make use of newDecimal128
behaviourIn this release, we have adopted the changes made to
Decimal128
in bson version 5.5. TheDecimal128
constructor andfromString()
methods now throw when detecting a loss of precision (more than 34 significant digits). We also expose a newfromStringWithRounding()
method which restores the previous rounding behaviour.See the bson v5.5.0 release notes for more information.
Use region settings for STS AWS credentials request
When using IAM AssumeRoleWithWebIdentity AWS authentication the driver uses the @aws-sdk/credential-providers package to contact the Security Token Service API for temporary credentials. AWS recommends using Regional AWS STS endpoints instead of the global endpoint to reduce latency, build-in redundancy, and increase session token validity. Unfortunately, environment variables
AWS_STS_REGIONAL_ENDPOINTS
andAWS_REGION
do not directly control the region the SDK's STS client contacts for credentials.The driver now has added support for detecting these variables and setting the appropriate options when calling the SDK's API: fromNodeProviderChain().
Fix memory leak with ChangeStreams
In a previous release, 5.7.0, we refactored cursor internals from callbacks to async/await. In particular, the
next
function that powers cursors was written with callbacks and would recursively call itself depending on the cursor type. ForChangeStreams
, this function would call itself if there were no new changes to return to the user. After converting that code to async/await each recursive call created a new promise that saved the current async context. This would slowly build up memory usage if no new changes came in to unwind the recursive calls.The function is now implemented as a loop, memory leak be gone!
Features
Bug Fixes
Documentation
We invite you to try the
mongodb
library immediately, and report any issues to the NODE project.Configuration
📅 Schedule: Branch creation - "after 8am and before 5pm on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.