getsentry/sentry-javascript (@sentry/core)
### [`v7.60.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7600)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.59.3...7.60.0)
##### Important Changes
- **feat(replay): Ensure min/max duration when flushing ([#8596](https://togithub.com/getsentry/sentry-javascript/issues/8596))**
We will not send replays that are <5s long anymore. Additionally, we also added further safeguards to avoid overly long (>1h) replays.
You can optionally configure the min. replay duration (defaults to 5s):
```js
new Replay({
minReplayDuration: 10000 // in ms - note that this is capped at 15s max!
})
```
##### Other Changes
- fix(profiling): Align to SDK selected time origin ([#8599](https://togithub.com/getsentry/sentry-javascript/issues/8599))
- fix(replay): Ensure multi click has correct timestamps ([#8591](https://togithub.com/getsentry/sentry-javascript/issues/8591))
- fix(utils): Truncate aggregate exception values (LinkedErrors) ([#8593](https://togithub.com/getsentry/sentry-javascript/issues/8593))
### [`v7.59.3`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7593)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.59.2...7.59.3)
- fix(browser): 0 is a valid index ([#8581](https://togithub.com/getsentry/sentry-javascript/issues/8581))
- fix(nextjs): Ensure Webpack plugin is available after dynamic require ([#8584](https://togithub.com/getsentry/sentry-javascript/issues/8584))
- types(browser): Add browser profiling client options ([#8565](https://togithub.com/getsentry/sentry-javascript/issues/8565))
### [`v7.59.2`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7592)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.59.1...7.59.2)
No changes. This release was published to fix publishing issues with 7.59.0 and 7.59.1.
Please see [7.59.0](#7590) for the changes in that release.
### [`v7.59.1`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7591)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.58.1...7.59.1)
No changes. This release was published to fix a publishing issue with 7.59.0.
Please see [7.59.0](#7590) for the changes in that release.
### [`v7.58.1`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7581)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.58.0...7.58.1)
- fix(node): Set propagation context even when tracingOptions are not defined ([#8517](https://togithub.com/getsentry/sentry-javascript/issues/8517))
### [`v7.58.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7580)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.57.0...7.58.0)
##### Important Changes
- **Performance Monitoring not required for Distributed Tracing**
This release adds support for [distributed tracing](https://docs.sentry.io/platforms/javascript/usage/distributed-tracing/) without requiring performance monitoring to be active on the JavaScript SDKs (browser and node). This means even if there is no sampled transaction/span, the SDK will still propagate traces to downstream services. Distributed Tracing can be configured with the `tracePropagationTargets` option, which controls what requests to attach the `sentry-trace` and `baggage` HTTP headers to (which is what propagates tracing information).
```js
Sentry.init({
tracePropagationTargets: ["third-party-site.com", /^https:\/\/yourserver\.io\/api/],
});
```
- feat(tracing): Add tracing without performance to browser and client Sveltekit ([#8458](https://togithub.com/getsentry/sentry-javascript/issues/8458))
- feat(node): Add tracing without performance to Node http integration ([#8450](https://togithub.com/getsentry/sentry-javascript/issues/8450))
- feat(node): Add tracing without performance to Node Undici ([#8449](https://togithub.com/getsentry/sentry-javascript/issues/8449))
- feat(node): Populate propagation context using env variables ([#8422](https://togithub.com/getsentry/sentry-javascript/issues/8422))
- **feat(core): Support `AggregateErrors` in `LinkedErrors` integration ([#8463](https://togithub.com/getsentry/sentry-javascript/issues/8463))**
This release adds support for [`AggregateErrors`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError). AggregateErrors are considered as Exception Groups by Sentry, and will be visualized and grouped differently. See the [Exception Groups Changelog Post](https://changelog.getsentry.com/announcements/exception-groups-now-supported-for-python-and-net) for more details.
Exception Group support requires Self-Hosted Sentry [version 23.5.1](https://togithub.com/getsentry/self-hosted/releases/tag/23.5.1) or newer.
- **feat(replay): Add a new option `networkDetailDenyUrls` ([#8439](https://togithub.com/getsentry/sentry-javascript/issues/8439))**
This release adds a new option `networkDetailDenyUrls` to the `Replay` integration. This option allows you to specify a list of URLs that should not be captured by the `Replay` integration, which can be used alongside the existing `networkDetailAllowUrls` for finely grained control of which URLs should have network details captured.
```js
Sentry.init({
integrations: [
new Sentry.Integrations.Replay({
networkDetailDenyUrls: [/^http:\/\/example.com\/test$/],
}),
],
});
```
##### Other Changes
- feat(core): Add helpers to get module metadata from injected code ([#8438](https://togithub.com/getsentry/sentry-javascript/issues/8438))
- feat(core): Add sampling decision to trace envelope header ([#8483](https://togithub.com/getsentry/sentry-javascript/issues/8483))
- feat(node): Add trace context to checkin ([#8503](https://togithub.com/getsentry/sentry-javascript/issues/8503))
- feat(node): Export `getModule` for Electron SDK ([#8488](https://togithub.com/getsentry/sentry-javascript/issues/8488))
- feat(types): Allow `user.id` to be a number ([#8330](https://togithub.com/getsentry/sentry-javascript/issues/8330))
- fix(browser): Set anonymous `crossorigin` attribute on report dialog ([#8424](https://togithub.com/getsentry/sentry-javascript/issues/8424))
- fix(nextjs): Ignore `tunnelRoute` when doing static exports ([#8471](https://togithub.com/getsentry/sentry-javascript/issues/8471))
- fix(nextjs): Use `basePath` option for `tunnelRoute` ([#8454](https://togithub.com/getsentry/sentry-javascript/issues/8454))
- fix(node): Apply source context to linked errors even when it is uncached ([#8453](https://togithub.com/getsentry/sentry-javascript/issues/8453))
- fix(node): report errorMiddleware errors as unhandled ([#8048](https://togithub.com/getsentry/sentry-javascript/issues/8048))
- fix(react): Add support for `basename` option of `createBrowserRouter` ([#8457](https://togithub.com/getsentry/sentry-javascript/issues/8457))
- fix(remix): Add explicit `@sentry/node` exports. ([#8509](https://togithub.com/getsentry/sentry-javascript/issues/8509))
- fix(remix): Don't inject trace/baggage to `redirect` and `catch` responses ([#8467](https://togithub.com/getsentry/sentry-javascript/issues/8467))
- fix(replay): Adjust slow/multi click handling ([#8380](https://togithub.com/getsentry/sentry-javascript/issues/8380))
Work in this release contributed by [@mrdulin](https://togithub.com/mrdulin), [@donaldxdonald](https://togithub.com/donaldxdonald) & [@ziyad-elabid-nw](https://togithub.com/ziyad-elabid-nw). Thank you for your contributions!
getsentry/profiling-node (@sentry/profiling-node)
### [`v1.1.2`](https://togithub.com/getsentry/profiling-node/blob/HEAD/CHANGES#112)
[Compare Source](https://togithub.com/getsentry/profiling-node/compare/v1.1.1...v1.1.2)
##### Various fixes & improvements
- fix: revert output of types to single file ([#182](https://togithub.com/getsentry/profiling-node/issues/182)) by [@JonasBa](https://togithub.com/JonasBa)
### [`v1.1.1`](https://togithub.com/getsentry/profiling-node/blob/HEAD/CHANGES#111)
[Compare Source](https://togithub.com/getsentry/profiling-node/compare/v1.1.0...v1.1.1)
##### Various fixes & improvements
- fix: setup musl ([`34874a6`](https://togithub.com/getsentry/profiling-node/commit/34874a63)) by [@JonasBa](https://togithub.com/JonasBa)
- fix: attempt to recompile on all errors ([#180](https://togithub.com/getsentry/profiling-node/issues/180)) by [@JonasBa](https://togithub.com/JonasBa)
- fix:rebuild binary on any error ([#179](https://togithub.com/getsentry/profiling-node/issues/179)) by [@JonasBa](https://togithub.com/JonasBa)
### [`v1.1.0`](https://togithub.com/getsentry/profiling-node/blob/HEAD/CHANGES#110)
[Compare Source](https://togithub.com/getsentry/profiling-node/compare/v1.0.9...v1.1.0)
##### Various fixes & improvements
- bindings: prebuild more binaries for node 20 ([#177](https://togithub.com/getsentry/profiling-node/issues/177)) by [@JonasBa](https://togithub.com/JonasBa)
- build(deps): bump semver from 6.3.0 to 6.3.1 ([#175](https://togithub.com/getsentry/profiling-node/issues/175)) by [@dependabot](https://togithub.com/dependabot)
- ref(profiling): change import so contextReplacementPlugin can ignore warning and attempt to provide darwin binaries ([#176](https://togithub.com/getsentry/profiling-node/issues/176)) by [@JonasBa](https://togithub.com/JonasBa)
### [`v1.0.9`](https://togithub.com/getsentry/profiling-node/blob/HEAD/CHANGES#109)
[Compare Source](https://togithub.com/getsentry/profiling-node/compare/v1.0.8...v1.0.9)
##### Various fixes & improvements
- fix(require): require is no longer async ([#174](https://togithub.com/getsentry/profiling-node/issues/174)) by [@JonasBa](https://togithub.com/JonasBa)
### [`v1.0.8`](https://togithub.com/getsentry/profiling-node/blob/HEAD/CHANGES#108)
[Compare Source](https://togithub.com/getsentry/profiling-node/compare/v1.0.7...v1.0.8)
##### Various fixes & improvements
- fix: use gnu aarch compiler for arm64 binary ([#172](https://togithub.com/getsentry/profiling-node/issues/172)) by [@bohdanw2](https://togithub.com/bohdanw2)
- fix: Issue fixed for building binary with recompileFromSource ([#173](https://togithub.com/getsentry/profiling-node/issues/173)) by [@whaagmans](https://togithub.com/whaagmans)
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.
š» Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^7.57.0
->^7.60.0
^7.57.0
->^7.60.0
^7.57.0
->^7.60.0
^1.0.7
->^1.1.2
^7.57.0
->^7.60.0
^7.57.0
->^7.60.0
Release Notes
getsentry/sentry-javascript (@sentry/core)
### [`v7.60.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7600) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.59.3...7.60.0) ##### Important Changes - **feat(replay): Ensure min/max duration when flushing ([#8596](https://togithub.com/getsentry/sentry-javascript/issues/8596))** We will not send replays that are <5s long anymore. Additionally, we also added further safeguards to avoid overly long (>1h) replays. You can optionally configure the min. replay duration (defaults to 5s): ```js new Replay({ minReplayDuration: 10000 // in ms - note that this is capped at 15s max! }) ``` ##### Other Changes - fix(profiling): Align to SDK selected time origin ([#8599](https://togithub.com/getsentry/sentry-javascript/issues/8599)) - fix(replay): Ensure multi click has correct timestamps ([#8591](https://togithub.com/getsentry/sentry-javascript/issues/8591)) - fix(utils): Truncate aggregate exception values (LinkedErrors) ([#8593](https://togithub.com/getsentry/sentry-javascript/issues/8593)) ### [`v7.59.3`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7593) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.59.2...7.59.3) - fix(browser): 0 is a valid index ([#8581](https://togithub.com/getsentry/sentry-javascript/issues/8581)) - fix(nextjs): Ensure Webpack plugin is available after dynamic require ([#8584](https://togithub.com/getsentry/sentry-javascript/issues/8584)) - types(browser): Add browser profiling client options ([#8565](https://togithub.com/getsentry/sentry-javascript/issues/8565)) ### [`v7.59.2`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7592) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.59.1...7.59.2) No changes. This release was published to fix publishing issues with 7.59.0 and 7.59.1. Please see [7.59.0](#7590) for the changes in that release. ### [`v7.59.1`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7591) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.58.1...7.59.1) No changes. This release was published to fix a publishing issue with 7.59.0. Please see [7.59.0](#7590) for the changes in that release. ### [`v7.58.1`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7581) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.58.0...7.58.1) - fix(node): Set propagation context even when tracingOptions are not defined ([#8517](https://togithub.com/getsentry/sentry-javascript/issues/8517)) ### [`v7.58.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7580) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.57.0...7.58.0) ##### Important Changes - **Performance Monitoring not required for Distributed Tracing** This release adds support for [distributed tracing](https://docs.sentry.io/platforms/javascript/usage/distributed-tracing/) without requiring performance monitoring to be active on the JavaScript SDKs (browser and node). This means even if there is no sampled transaction/span, the SDK will still propagate traces to downstream services. Distributed Tracing can be configured with the `tracePropagationTargets` option, which controls what requests to attach the `sentry-trace` and `baggage` HTTP headers to (which is what propagates tracing information). ```js Sentry.init({ tracePropagationTargets: ["third-party-site.com", /^https:\/\/yourserver\.io\/api/], }); ``` - feat(tracing): Add tracing without performance to browser and client Sveltekit ([#8458](https://togithub.com/getsentry/sentry-javascript/issues/8458)) - feat(node): Add tracing without performance to Node http integration ([#8450](https://togithub.com/getsentry/sentry-javascript/issues/8450)) - feat(node): Add tracing without performance to Node Undici ([#8449](https://togithub.com/getsentry/sentry-javascript/issues/8449)) - feat(node): Populate propagation context using env variables ([#8422](https://togithub.com/getsentry/sentry-javascript/issues/8422)) - **feat(core): Support `AggregateErrors` in `LinkedErrors` integration ([#8463](https://togithub.com/getsentry/sentry-javascript/issues/8463))** This release adds support for [`AggregateErrors`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError). AggregateErrors are considered as Exception Groups by Sentry, and will be visualized and grouped differently. See the [Exception Groups Changelog Post](https://changelog.getsentry.com/announcements/exception-groups-now-supported-for-python-and-net) for more details. Exception Group support requires Self-Hosted Sentry [version 23.5.1](https://togithub.com/getsentry/self-hosted/releases/tag/23.5.1) or newer. - **feat(replay): Add a new option `networkDetailDenyUrls` ([#8439](https://togithub.com/getsentry/sentry-javascript/issues/8439))** This release adds a new option `networkDetailDenyUrls` to the `Replay` integration. This option allows you to specify a list of URLs that should not be captured by the `Replay` integration, which can be used alongside the existing `networkDetailAllowUrls` for finely grained control of which URLs should have network details captured. ```js Sentry.init({ integrations: [ new Sentry.Integrations.Replay({ networkDetailDenyUrls: [/^http:\/\/example.com\/test$/], }), ], }); ``` ##### Other Changes - feat(core): Add helpers to get module metadata from injected code ([#8438](https://togithub.com/getsentry/sentry-javascript/issues/8438)) - feat(core): Add sampling decision to trace envelope header ([#8483](https://togithub.com/getsentry/sentry-javascript/issues/8483)) - feat(node): Add trace context to checkin ([#8503](https://togithub.com/getsentry/sentry-javascript/issues/8503)) - feat(node): Export `getModule` for Electron SDK ([#8488](https://togithub.com/getsentry/sentry-javascript/issues/8488)) - feat(types): Allow `user.id` to be a number ([#8330](https://togithub.com/getsentry/sentry-javascript/issues/8330)) - fix(browser): Set anonymous `crossorigin` attribute on report dialog ([#8424](https://togithub.com/getsentry/sentry-javascript/issues/8424)) - fix(nextjs): Ignore `tunnelRoute` when doing static exports ([#8471](https://togithub.com/getsentry/sentry-javascript/issues/8471)) - fix(nextjs): Use `basePath` option for `tunnelRoute` ([#8454](https://togithub.com/getsentry/sentry-javascript/issues/8454)) - fix(node): Apply source context to linked errors even when it is uncached ([#8453](https://togithub.com/getsentry/sentry-javascript/issues/8453)) - fix(node): report errorMiddleware errors as unhandled ([#8048](https://togithub.com/getsentry/sentry-javascript/issues/8048)) - fix(react): Add support for `basename` option of `createBrowserRouter` ([#8457](https://togithub.com/getsentry/sentry-javascript/issues/8457)) - fix(remix): Add explicit `@sentry/node` exports. ([#8509](https://togithub.com/getsentry/sentry-javascript/issues/8509)) - fix(remix): Don't inject trace/baggage to `redirect` and `catch` responses ([#8467](https://togithub.com/getsentry/sentry-javascript/issues/8467)) - fix(replay): Adjust slow/multi click handling ([#8380](https://togithub.com/getsentry/sentry-javascript/issues/8380)) Work in this release contributed by [@mrdulin](https://togithub.com/mrdulin), [@donaldxdonald](https://togithub.com/donaldxdonald) & [@ziyad-elabid-nw](https://togithub.com/ziyad-elabid-nw). Thank you for your contributions!getsentry/profiling-node (@sentry/profiling-node)
### [`v1.1.2`](https://togithub.com/getsentry/profiling-node/blob/HEAD/CHANGES#112) [Compare Source](https://togithub.com/getsentry/profiling-node/compare/v1.1.1...v1.1.2) ##### Various fixes & improvements - fix: revert output of types to single file ([#182](https://togithub.com/getsentry/profiling-node/issues/182)) by [@JonasBa](https://togithub.com/JonasBa) ### [`v1.1.1`](https://togithub.com/getsentry/profiling-node/blob/HEAD/CHANGES#111) [Compare Source](https://togithub.com/getsentry/profiling-node/compare/v1.1.0...v1.1.1) ##### Various fixes & improvements - fix: setup musl ([`34874a6`](https://togithub.com/getsentry/profiling-node/commit/34874a63)) by [@JonasBa](https://togithub.com/JonasBa) - fix: attempt to recompile on all errors ([#180](https://togithub.com/getsentry/profiling-node/issues/180)) by [@JonasBa](https://togithub.com/JonasBa) - fix:rebuild binary on any error ([#179](https://togithub.com/getsentry/profiling-node/issues/179)) by [@JonasBa](https://togithub.com/JonasBa) ### [`v1.1.0`](https://togithub.com/getsentry/profiling-node/blob/HEAD/CHANGES#110) [Compare Source](https://togithub.com/getsentry/profiling-node/compare/v1.0.9...v1.1.0) ##### Various fixes & improvements - bindings: prebuild more binaries for node 20 ([#177](https://togithub.com/getsentry/profiling-node/issues/177)) by [@JonasBa](https://togithub.com/JonasBa) - build(deps): bump semver from 6.3.0 to 6.3.1 ([#175](https://togithub.com/getsentry/profiling-node/issues/175)) by [@dependabot](https://togithub.com/dependabot) - ref(profiling): change import so contextReplacementPlugin can ignore warning and attempt to provide darwin binaries ([#176](https://togithub.com/getsentry/profiling-node/issues/176)) by [@JonasBa](https://togithub.com/JonasBa) ### [`v1.0.9`](https://togithub.com/getsentry/profiling-node/blob/HEAD/CHANGES#109) [Compare Source](https://togithub.com/getsentry/profiling-node/compare/v1.0.8...v1.0.9) ##### Various fixes & improvements - fix(require): require is no longer async ([#174](https://togithub.com/getsentry/profiling-node/issues/174)) by [@JonasBa](https://togithub.com/JonasBa) ### [`v1.0.8`](https://togithub.com/getsentry/profiling-node/blob/HEAD/CHANGES#108) [Compare Source](https://togithub.com/getsentry/profiling-node/compare/v1.0.7...v1.0.8) ##### Various fixes & improvements - fix: use gnu aarch compiler for arm64 binary ([#172](https://togithub.com/getsentry/profiling-node/issues/172)) by [@bohdanw2](https://togithub.com/bohdanw2) - fix: Issue fixed for building binary with recompileFromSource ([#173](https://togithub.com/getsentry/profiling-node/issues/173)) by [@whaagmans](https://togithub.com/whaagmans)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.
š» 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.