getsentry/sentry-javascript
### [`v6.2.5`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#625)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.2.4...6.2.5)
- [utils] fix: Avoid performance.timeOrigin if too skewed ([#3356](https://togithub.com/getsentry/sentry-javascript/issues/3356))
### [`v6.2.4`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#624)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.2.3...6.2.4)
- [browser] fix: Add `SentryRequestType` to `RateLimitingCategory` mapping ([#3328](https://togithub.com/getsentry/sentry-javascript/issues/3328))
- [browser] ref: Add fast-path to `fetchImpl` and cleanup redundant iframe ([#3341](https://togithub.com/getsentry/sentry-javascript/issues/3341))
- [node] fix: Fallback to empty string if `req.baseUrl` is empty ([#3329](https://togithub.com/getsentry/sentry-javascript/issues/3329))
- [node] ref: Remove circular dependency in `@sentry/node` ([#3335](https://togithub.com/getsentry/sentry-javascript/issues/3335))
- [tracing] fix: Attach mysql tracing to `Connection.createQuery` instead of `Connection.prototype.query` ([#3353](https://togithub.com/getsentry/sentry-javascript/issues/3353))
- [tracing] ref: Clarify naming in `BrowserTracing` integration ([#3338](https://togithub.com/getsentry/sentry-javascript/issues/3338))
- [ember] ref: Fix tests to be forward compatible with component changes ([#3347](https://togithub.com/getsentry/sentry-javascript/issues/3347))
- [ember] ref: Silence deprecation warnings in beta ([#3346](https://togithub.com/getsentry/sentry-javascript/issues/3346))
### [`v6.2.3`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#623)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.2.2...6.2.3)
- [gatsby] fix: Update Vercel environment variables to match their current system variables ([#3337](https://togithub.com/getsentry/sentry-javascript/issues/3337))
### [`v6.2.2`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#622)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.2.1...6.2.2)
- [hub] fix: Only create sessions if the correct methods are defined ([#3281](https://togithub.com/getsentry/sentry-javascript/issues/3281))
- [core] fix: Don't override SDK metadata ([#3304](https://togithub.com/getsentry/sentry-javascript/issues/3304))
- [browser] fix: Prevent fetch errors loops with invalid fetch implementations ([#3318](https://togithub.com/getsentry/sentry-javascript/issues/3318))
- [serverless] ref: Add compatible runtime nodejs14.x to building awslambda layer ([#3303](https://togithub.com/getsentry/sentry-javascript/issues/3303))
- [ember] fix: Keep route hook context when performance-wrapping ([#3274](https://togithub.com/getsentry/sentry-javascript/issues/3274))
- [integrations] fix: Normalized Event before caching. ([#3305](https://togithub.com/getsentry/sentry-javascript/issues/3305))
### [`v6.2.1`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#621)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.2.0...6.2.1)
- [core] fix: Moves SDK metadata-setting into the `NodeClient/BrowserClient` to protect it from being overwritten by other classes extending `BaseClient` like [@sentry/serverless](https://togithub.com/sentry/serverless) ([#3279](https://togithub.com/getsentry/sentry-javascript/issues/3279))
### [`v6.2.0`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#620)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.1.0...6.2.0)
- [tracing] feat: Mongoose tracing support added to MongoDB ([#3252](https://togithub.com/getsentry/sentry-javascript/issues/3252))
- [tracing] fix: Add missing `find` method from mongo tracing list ([#3253](https://togithub.com/getsentry/sentry-javascript/issues/3253))
- [tracing] fix: Create `spanRecorder` whenever transactions are sampled ([#3255](https://togithub.com/getsentry/sentry-javascript/issues/3255))
- [node] fix: Parse ESM based frames with `file://` protocol ([#3264](https://togithub.com/getsentry/sentry-javascript/issues/3264))
- [react] fix: Remove react-dom peer dependency for RN ([#3250](https://togithub.com/getsentry/sentry-javascript/issues/3250))
- [ember] fix: Fixing fetching config during build step ([#3246](https://togithub.com/getsentry/sentry-javascript/issues/3246))
- [serverless]: fix: Handle incoming `sentry-trace` header ([#3261](https://togithub.com/getsentry/sentry-javascript/issues/3261))
### [`v6.1.0`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#610)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.0.4...6.1.0)
We updated the way how we calculate errored and crashed sessions with this update. Please be aware that some numbers might change for you and they now should reflect the actual reality. Visit [our docs](https://docs.sentry.io/platforms/javascript/configuration/releases/#release-health) for more information.
- [browser] feat: Rework how we track sessions ([#3224](https://togithub.com/getsentry/sentry-javascript/issues/3224))
- [hub] ref: Simplify getting hub from active domain ([#3227](https://togithub.com/getsentry/sentry-javascript/issues/3227))
- [core] ref: Rename `user` to `publicKey` in `Dsn` type and class ([#3225](https://togithub.com/getsentry/sentry-javascript/issues/3225))
- [ember] fix: Fix backwards compatibility with Embroider changes ([#3230](https://togithub.com/getsentry/sentry-javascript/issues/3230))
### [`v6.0.4`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#604)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.0.3...6.0.4)
- [browser] fix: Don't break when function call context is undefined ([#3222](https://togithub.com/getsentry/sentry-javascript/issues/3222))
- [tracing] fix: Set default sampling context data where `startTransaction` is called ([#3210](https://togithub.com/getsentry/sentry-javascript/issues/3210))
- [tracing] fix: Remove stray sampling data tags ([#3197](https://togithub.com/getsentry/sentry-javascript/issues/3197))
- [tracing] fix: Clear activeTransaction from the scope and always start idle timers ([#3215](https://togithub.com/getsentry/sentry-javascript/issues/3215))
- [angular] ref: Add Angular 11 to possible peerDependencies list ([#3201](https://togithub.com/getsentry/sentry-javascript/issues/3201))
- [vue] ref: Add `vue-router` to peerDependencies list ([#3214](https://togithub.com/getsentry/sentry-javascript/issues/3214))
### [`v6.0.3`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#603)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.0.2...6.0.3)
- [tracing] ref: feat(tracing): Add context update methods to Span and Transaction ([#3192](https://togithub.com/getsentry/sentry-javascript/issues/3192))
- [node] ref: Make ExpressRequest not extend http.IncomingMessage anymore ([#3211](https://togithub.com/getsentry/sentry-javascript/issues/3211))
- [browser] deps: Allow for LocalForage >=1.8.1 ([#3205](https://togithub.com/getsentry/sentry-javascript/issues/3205))
- [ember] fix(ember): Fix location url for 'hash' location type ([#3195](https://togithub.com/getsentry/sentry-javascript/issues/3195))
- [ember] fix(ember): Fix Ember to work with Embroider and Fastboot ([#3181](https://togithub.com/getsentry/sentry-javascript/issues/3181))
### [`v6.0.2`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#602)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.0.1...6.0.2)
- [browser] fix: Disable session tracking in non-browser environments ([#3194](https://togithub.com/getsentry/sentry-javascript/issues/3194))
### [`v6.0.1`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#601)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.0.0...6.0.1)
- [vue] fix: Make sure that error is present before logging it in Vue ([#3183](https://togithub.com/getsentry/sentry-javascript/issues/3183))
- [serverless] fix: Fix issue when `/dist` didn't exist before building ([#3190](https://togithub.com/getsentry/sentry-javascript/issues/3190))
### [`v6.0.0`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#600)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/5.30.0...6.0.0)
_This major version release doesn't contain any breaking API/code changes._ Starting from the version `6.0.0`, all SDKs
that support sending sessions data will do so by default. See our
[Release Health](https://docs.sentry.io/product/releases/health/) docs to learn more. As of this version, it applies to
all Browser SDKs (Browser, React, Angular, Vue, Gatsby etc.). Node.js and other related Server SDKs will follow soon
after, in the minor `6.x` release. You can opt-out of this behavior by setting `autoSessionTracking: false` option
during SDK initialization.
* * *
- [wasm] feat: Introduce a `@sentry/wasm` package ([#3080](https://togithub.com/getsentry/sentry-javascript/issues/3080))
- [tracing] feat: Turn Sessions Tracking on by default ([#3099](https://togithub.com/getsentry/sentry-javascript/issues/3099))
- [tracing] feat: Create session on history change ([#3179](https://togithub.com/getsentry/sentry-javascript/issues/3179))
- [core] feat: Attach SDK metadata to options and pass it to the API and transports ([#3177](https://togithub.com/getsentry/sentry-javascript/issues/3177))
- [build] feat: AWS Lambda layer target config for Craft ([#3175](https://togithub.com/getsentry/sentry-javascript/issues/3175))
- [tracing] fix: Make sure that mongo method is thenable before calling it ([#3173](https://togithub.com/getsentry/sentry-javascript/issues/3173))
Configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box.
This PR contains the following updates:
5.30.0
->6.2.5
Release Notes
getsentry/sentry-javascript
### [`v6.2.5`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#625) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.2.4...6.2.5) - [utils] fix: Avoid performance.timeOrigin if too skewed ([#3356](https://togithub.com/getsentry/sentry-javascript/issues/3356)) ### [`v6.2.4`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#624) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.2.3...6.2.4) - [browser] fix: Add `SentryRequestType` to `RateLimitingCategory` mapping ([#3328](https://togithub.com/getsentry/sentry-javascript/issues/3328)) - [browser] ref: Add fast-path to `fetchImpl` and cleanup redundant iframe ([#3341](https://togithub.com/getsentry/sentry-javascript/issues/3341)) - [node] fix: Fallback to empty string if `req.baseUrl` is empty ([#3329](https://togithub.com/getsentry/sentry-javascript/issues/3329)) - [node] ref: Remove circular dependency in `@sentry/node` ([#3335](https://togithub.com/getsentry/sentry-javascript/issues/3335)) - [tracing] fix: Attach mysql tracing to `Connection.createQuery` instead of `Connection.prototype.query` ([#3353](https://togithub.com/getsentry/sentry-javascript/issues/3353)) - [tracing] ref: Clarify naming in `BrowserTracing` integration ([#3338](https://togithub.com/getsentry/sentry-javascript/issues/3338)) - [ember] ref: Fix tests to be forward compatible with component changes ([#3347](https://togithub.com/getsentry/sentry-javascript/issues/3347)) - [ember] ref: Silence deprecation warnings in beta ([#3346](https://togithub.com/getsentry/sentry-javascript/issues/3346)) ### [`v6.2.3`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#623) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.2.2...6.2.3) - [gatsby] fix: Update Vercel environment variables to match their current system variables ([#3337](https://togithub.com/getsentry/sentry-javascript/issues/3337)) ### [`v6.2.2`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#622) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.2.1...6.2.2) - [hub] fix: Only create sessions if the correct methods are defined ([#3281](https://togithub.com/getsentry/sentry-javascript/issues/3281)) - [core] fix: Don't override SDK metadata ([#3304](https://togithub.com/getsentry/sentry-javascript/issues/3304)) - [browser] fix: Prevent fetch errors loops with invalid fetch implementations ([#3318](https://togithub.com/getsentry/sentry-javascript/issues/3318)) - [serverless] ref: Add compatible runtime nodejs14.x to building awslambda layer ([#3303](https://togithub.com/getsentry/sentry-javascript/issues/3303)) - [ember] fix: Keep route hook context when performance-wrapping ([#3274](https://togithub.com/getsentry/sentry-javascript/issues/3274)) - [integrations] fix: Normalized Event before caching. ([#3305](https://togithub.com/getsentry/sentry-javascript/issues/3305)) ### [`v6.2.1`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#621) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.2.0...6.2.1) - [core] fix: Moves SDK metadata-setting into the `NodeClient/BrowserClient` to protect it from being overwritten by other classes extending `BaseClient` like [@sentry/serverless](https://togithub.com/sentry/serverless) ([#3279](https://togithub.com/getsentry/sentry-javascript/issues/3279)) ### [`v6.2.0`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#620) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.1.0...6.2.0) - [tracing] feat: Mongoose tracing support added to MongoDB ([#3252](https://togithub.com/getsentry/sentry-javascript/issues/3252)) - [tracing] fix: Add missing `find` method from mongo tracing list ([#3253](https://togithub.com/getsentry/sentry-javascript/issues/3253)) - [tracing] fix: Create `spanRecorder` whenever transactions are sampled ([#3255](https://togithub.com/getsentry/sentry-javascript/issues/3255)) - [node] fix: Parse ESM based frames with `file://` protocol ([#3264](https://togithub.com/getsentry/sentry-javascript/issues/3264)) - [react] fix: Remove react-dom peer dependency for RN ([#3250](https://togithub.com/getsentry/sentry-javascript/issues/3250)) - [ember] fix: Fixing fetching config during build step ([#3246](https://togithub.com/getsentry/sentry-javascript/issues/3246)) - [serverless]: fix: Handle incoming `sentry-trace` header ([#3261](https://togithub.com/getsentry/sentry-javascript/issues/3261)) ### [`v6.1.0`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#610) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.0.4...6.1.0) We updated the way how we calculate errored and crashed sessions with this update. Please be aware that some numbers might change for you and they now should reflect the actual reality. Visit [our docs](https://docs.sentry.io/platforms/javascript/configuration/releases/#release-health) for more information. - [browser] feat: Rework how we track sessions ([#3224](https://togithub.com/getsentry/sentry-javascript/issues/3224)) - [hub] ref: Simplify getting hub from active domain ([#3227](https://togithub.com/getsentry/sentry-javascript/issues/3227)) - [core] ref: Rename `user` to `publicKey` in `Dsn` type and class ([#3225](https://togithub.com/getsentry/sentry-javascript/issues/3225)) - [ember] fix: Fix backwards compatibility with Embroider changes ([#3230](https://togithub.com/getsentry/sentry-javascript/issues/3230)) ### [`v6.0.4`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#604) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.0.3...6.0.4) - [browser] fix: Don't break when function call context is undefined ([#3222](https://togithub.com/getsentry/sentry-javascript/issues/3222)) - [tracing] fix: Set default sampling context data where `startTransaction` is called ([#3210](https://togithub.com/getsentry/sentry-javascript/issues/3210)) - [tracing] fix: Remove stray sampling data tags ([#3197](https://togithub.com/getsentry/sentry-javascript/issues/3197)) - [tracing] fix: Clear activeTransaction from the scope and always start idle timers ([#3215](https://togithub.com/getsentry/sentry-javascript/issues/3215)) - [angular] ref: Add Angular 11 to possible peerDependencies list ([#3201](https://togithub.com/getsentry/sentry-javascript/issues/3201)) - [vue] ref: Add `vue-router` to peerDependencies list ([#3214](https://togithub.com/getsentry/sentry-javascript/issues/3214)) ### [`v6.0.3`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#603) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.0.2...6.0.3) - [tracing] ref: feat(tracing): Add context update methods to Span and Transaction ([#3192](https://togithub.com/getsentry/sentry-javascript/issues/3192)) - [node] ref: Make ExpressRequest not extend http.IncomingMessage anymore ([#3211](https://togithub.com/getsentry/sentry-javascript/issues/3211)) - [browser] deps: Allow for LocalForage >=1.8.1 ([#3205](https://togithub.com/getsentry/sentry-javascript/issues/3205)) - [ember] fix(ember): Fix location url for 'hash' location type ([#3195](https://togithub.com/getsentry/sentry-javascript/issues/3195)) - [ember] fix(ember): Fix Ember to work with Embroider and Fastboot ([#3181](https://togithub.com/getsentry/sentry-javascript/issues/3181)) ### [`v6.0.2`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#602) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.0.1...6.0.2) - [browser] fix: Disable session tracking in non-browser environments ([#3194](https://togithub.com/getsentry/sentry-javascript/issues/3194)) ### [`v6.0.1`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#601) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/6.0.0...6.0.1) - [vue] fix: Make sure that error is present before logging it in Vue ([#3183](https://togithub.com/getsentry/sentry-javascript/issues/3183)) - [serverless] fix: Fix issue when `/dist` didn't exist before building ([#3190](https://togithub.com/getsentry/sentry-javascript/issues/3190)) ### [`v6.0.0`](https://togithub.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#600) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/5.30.0...6.0.0) _This major version release doesn't contain any breaking API/code changes._ Starting from the version `6.0.0`, all SDKs that support sending sessions data will do so by default. See our [Release Health](https://docs.sentry.io/product/releases/health/) docs to learn more. As of this version, it applies to all Browser SDKs (Browser, React, Angular, Vue, Gatsby etc.). Node.js and other related Server SDKs will follow soon after, in the minor `6.x` release. You can opt-out of this behavior by setting `autoSessionTracking: false` option during SDK initialization. * * * - [wasm] feat: Introduce a `@sentry/wasm` package ([#3080](https://togithub.com/getsentry/sentry-javascript/issues/3080)) - [tracing] feat: Turn Sessions Tracking on by default ([#3099](https://togithub.com/getsentry/sentry-javascript/issues/3099)) - [tracing] feat: Create session on history change ([#3179](https://togithub.com/getsentry/sentry-javascript/issues/3179)) - [core] feat: Attach SDK metadata to options and pass it to the API and transports ([#3177](https://togithub.com/getsentry/sentry-javascript/issues/3177)) - [build] feat: AWS Lambda layer target config for Craft ([#3175](https://togithub.com/getsentry/sentry-javascript/issues/3175)) - [tracing] fix: Make sure that mongo method is thenable before calling it ([#3173](https://togithub.com/getsentry/sentry-javascript/issues/3173))Configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.