Closed renovate[bot] closed 1 year ago
Path | Size |
---|---|
fixture: base | 367.08 KB (+0.28% 🔺) |
fixture: lazy | 371.51 KB (+0.27% 🔺) |
fixture: tracing | 385.08 KB (+0.59% 🔺) |
fixture: lazy+tracing | 389.48 KB (+0.58% 🔺) |
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.
This PR contains the following updates:
^7.52.1
->^7.57.0
^7.52.1
->^7.57.0
^7.52.1
->^7.57.0
^7.52.1
->^7.57.0
^7.52.1
->^7.57.0
Release Notes
getsentry/sentry-javascript (@sentry/core)
### [`v7.57.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7570) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.56.0...7.57.0) ##### Important Changes - **build: Update typescript from 3.8.3 to 4.9.5 ([#8255](https://togithub.com/getsentry/sentry-javascript/issues/8255))** This release version [bumps the internally used typescript version from 3.8.x to 4.9.x](https://togithub.com/getsentry/sentry-javascript/pull/8255). We use ds-downlevel to generate two versions of our types, one for >=3.8, one for >=4.9. This means that this change should be fully backwards compatible and not have any noticable user impact, but if you still encounter issues please let us know. - **feat(types): Add tracePropagationTargets to top level options ([#8395](https://togithub.com/getsentry/sentry-javascript/issues/8395))** Instead of passing `tracePropagationTargets` to the `BrowserTracing` integration, you can now define them on the top level: ```js Sentry.init({ tracePropagationTargets: ['api.site.com'], }); ``` - **fix(angular): Filter out `TryCatch` integration by default ([#8367](https://togithub.com/getsentry/sentry-javascript/issues/8367))** The Angular and Angular-ivy SDKs will not install the TryCatch integration anymore by default. This integration conflicted with the `SentryErrorHander`, sometimes leading to duplicated errors and/or missing data on events. - **feat(browser): Better event name handling for non-Error objects ([#8374](https://togithub.com/getsentry/sentry-javascript/issues/8374))** When capturing non-errors via `Sentry.captureException()`, e.g. `Sentry.captureException({ prop: "custom object" })`, we now generate a more helpful value for the synthetic exception. Instead of e.g. `Non-Error exception captured with keys: currentTarget, isTrusted, target, type`, you'll now get messages like: Object captured as exception with keys: prop1, prop2 Event `MouseEvent` (type=click) captured as exception Event `ErrorEvent` captured as exception with message `Script error.` ##### Other Changes - feat(browser): Send profiles in same envelope as transactions ([#8375](https://togithub.com/getsentry/sentry-javascript/issues/8375)) - feat(profiling): Collect timings on profiler stop calls ([#8409](https://togithub.com/getsentry/sentry-javascript/issues/8409)) - feat(replay): Do not capture replays < 5 seconds (GA) ([#8277](https://togithub.com/getsentry/sentry-javascript/issues/8277)) - feat(tracing): Add experiment to capture http timings ([#8371](https://togithub.com/getsentry/sentry-javascript/issues/8371)) - feat(tracing): Add `http.response.status_code` to `span.data` ([#8366](https://togithub.com/getsentry/sentry-javascript/issues/8366)) - fix(angular): Stop routing spans on navigation cancel and error events ([#8369](https://togithub.com/getsentry/sentry-javascript/issues/8369)) - fix(core): Only start spans in `trace` if tracing is enabled ([#8357](https://togithub.com/getsentry/sentry-javascript/issues/8357)) - fix(nextjs): Inject init calls via loader instead of via entrypoints ([#8368](https://togithub.com/getsentry/sentry-javascript/issues/8368)) - fix(replay): Mark ui.slowClickDetected `clickCount` as optional ([#8376](https://togithub.com/getsentry/sentry-javascript/issues/8376)) - fix(serverless): Export `autoDiscoverNodePerformanceMonitoringIntegrations` from SDK ([#8382](https://togithub.com/getsentry/sentry-javascript/issues/8382)) - fix(sveltekit): Check for cached requests in client-side fetch instrumentation ([#8391](https://togithub.com/getsentry/sentry-javascript/issues/8391)) - fix(sveltekit): Only instrument SvelteKit `fetch` if the SDK client is valid ([#8381](https://togithub.com/getsentry/sentry-javascript/issues/8381)) - fix(tracing): Instrument Prisma client in constructor of integration ([#8383](https://togithub.com/getsentry/sentry-javascript/issues/8383)) - ref(replay): More graceful `sessionStorage` check ([#8394](https://togithub.com/getsentry/sentry-javascript/issues/8394)) - ref(replay): Remove circular dep in replay eventBuffer ([#8389](https://togithub.com/getsentry/sentry-javascript/issues/8389)) ### [`v7.56.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7560) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.55.2...7.56.0) - feat(replay): Rework slow click & multi click detection ([#8322](https://togithub.com/getsentry/sentry-javascript/issues/8322)) - feat(replay): Stop replay when event buffer exceeds max. size ([#8315](https://togithub.com/getsentry/sentry-javascript/issues/8315)) - feat(replay): Consider `window.open` for slow clicks ([#8308](https://togithub.com/getsentry/sentry-javascript/issues/8308)) - fix(core): Temporarily store debug IDs in stack frame and only put them into `debug_meta` before sending ([#8347](https://togithub.com/getsentry/sentry-javascript/issues/8347)) - fix(remix): Extract deferred responses correctly in root loaders. ([#8305](https://togithub.com/getsentry/sentry-javascript/issues/8305)) - fix(vue): Don't call `next` in Vue router 4 instrumentation ([#8351](https://togithub.com/getsentry/sentry-javascript/issues/8351)) ### [`v7.55.2`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7552) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.55.1...7.55.2) - fix(replay): Stop exporting `EventType` from `@sentry-internal/rrweb` ([#8334](https://togithub.com/getsentry/sentry-javascript/issues/8334)) - fix(serverless): Export captureCheckIn ([#8333](https://togithub.com/getsentry/sentry-javascript/issues/8333)) ### [`v7.55.1`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7551) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.55.0...7.55.1) - fix(replay): Do not export types from `@sentry-internal/rrweb` ([#8329](https://togithub.com/getsentry/sentry-javascript/issues/8329)) ### [`v7.55.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7550) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.54.0...7.55.0) - feat(replay): Capture slow clicks (GA) ([#8298](https://togithub.com/getsentry/sentry-javascript/issues/8298)) - feat(replay): Improve types for replay recording events ([#8224](https://togithub.com/getsentry/sentry-javascript/issues/8224)) - fix(nextjs): Strip query params from transaction names of navigations to unknown routes ([#8278](https://togithub.com/getsentry/sentry-javascript/issues/8278)) - fix(replay): Ignore max session life for buffered sessions ([#8258](https://togithub.com/getsentry/sentry-javascript/issues/8258)) - fix(sveltekit): Export captureCheckIn ([#8313](https://togithub.com/getsentry/sentry-javascript/issues/8313)) - ref(svelte): Add Svelte 4 as a peer dependency ([#8280](https://togithub.com/getsentry/sentry-javascript/issues/8280)) ### [`v7.54.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7540) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.53.1...7.54.0) ##### Important Changes - **feat(core): Add default entries to `ignoreTransactions` for Healthchecks [#8191](https://togithub.com/getsentry/sentry-javascript/issues/8191)** All SDKs now filter out health check transactions by default. These are transactions where the transaction name matches typical API health check calls, such as `/^.*healthy.*$/` or `/^. *heartbeat.*$/`. Take a look at [this list](https://togithub.com/getsentry/sentry-javascript/blob/8c6ad156829f7c4eec34e4a67e6dd866ba482d5d/packages/core/src/integrations/inboundfilters.ts#L8C2-L16) to learn which regexes we currently use to match transaction names. We believe that these transactions do not provide value in most cases and we want to save you some of your quota by filtering them out by default. These filters are implemented as default values for the top level `ignoreTransactions` option. You can disable this filtering by manually specifiying the `InboundFilters` integration and setting the `disableTransactionDefaults` option: ```js Sentry.init({ //... integrations: [new InboundFilters({ disableTransactionDefaults: true })], }) ``` - **feat(replay): Add `mutationBreadcrumbLimit` and `mutationLimit` to Replay Options ([#8228](https://togithub.com/getsentry/sentry-javascript/issues/8228))** The previously experimental options `mutationBreadcumbLimit` and `mutationLimit` have been promoted to regular Replay integration options. A high number of DOM mutations (in a single event loop) can cause performance regressions in end-users' browsers. Use `mutationBreadcrumbLimit` to send a breadcrumb along with your recording if the mutation limit was reached. Use `mutationLimit` to stop recording if the mutation limit was reached. - **feat(sveltekit): Add source maps support for Vercel (lambda) ([#8256](https://togithub.com/getsentry/sentry-javascript/issues/8256))** - feat(sveltekit): Auto-detect SvelteKit adapters ([#8193](https://togithub.com/getsentry/sentry-javascript/issues/8193)) The SvelteKit SDK can now be used if you deploy your SvelteKit app to Vercel. By default, the SDK's Vite plugin will detect the used adapter and adjust the source map uploading config as necessary. If you want to override the default adapter detection, you can specify the `adapter` option in the `sentrySvelteKit` options: ```js // vite.config.js export default defineConfig({ plugins: [ sentrySvelteKit({ adapter: 'vercel', }), sveltekit(), ], }); ``` Currently, the Vite plugin will configure itself correctly for `@sveltejs/adapter-auto`, `@sveltejs/adapter-vercel` and `@sveltejs/adapter-node`. **Important:** The SvelteKit SDK is not yet compatible with Vercel's edge runtime. It will only work for lambda functions. ##### Other Changes - feat(replay): Throttle breadcrumbs to max 300/5s ([#8086](https://togithub.com/getsentry/sentry-javascript/issues/8086)) - feat(sveltekit): Add option to control handling of unknown server routes ([#8201](https://togithub.com/getsentry/sentry-javascript/issues/8201)) - fix(node): Strip query and fragment from request URLs without route parameters ([#8213](https://togithub.com/getsentry/sentry-javascript/issues/8213)) - fix(remix): Don't log missing parameters warning on server-side. ([#8269](https://togithub.com/getsentry/sentry-javascript/issues/8269)) - fix(remix): Pass `loadContext` through wrapped document request function ([#8268](https://togithub.com/getsentry/sentry-javascript/issues/8268)) - fix(replay): Guard against missing key ([#8246](https://togithub.com/getsentry/sentry-javascript/issues/8246)) - fix(sveltekit): Avoid capturing redirects and 4xx Http errors in request Handlers ([#8215](https://togithub.com/getsentry/sentry-javascript/issues/8215)) - fix(sveltekit): Bump `magicast` to support `satisfied` keyword ([#8254](https://togithub.com/getsentry/sentry-javascript/issues/8254)) - fix(wasm): Avoid throwing an error when WASM modules are loaded from blobs ([#8263](https://togithub.com/getsentry/sentry-javascript/issues/8263)) ### [`v7.53.1`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7531) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.53.0...7.53.1) - chore(deps): bump socket.io-parser from 4.2.1 to 4.2.3 ([#8196](https://togithub.com/getsentry/sentry-javascript/issues/8196)) - chore(svelte): Bump magic-string to 0.30.0 ([#8197](https://togithub.com/getsentry/sentry-javascript/issues/8197)) - fix(core): Fix racecondition that modifies in-flight sessions ([#8203](https://togithub.com/getsentry/sentry-javascript/issues/8203)) - fix(node): Catch `os.uptime()` throwing because of EPERM ([#8206](https://togithub.com/getsentry/sentry-javascript/issues/8206)) - fix(replay): Fix buffered replays creating replay w/o error occuring ([#8168](https://togithub.com/getsentry/sentry-javascript/issues/8168)) ### [`v7.53.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7530) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.52.1...7.53.0) - feat(replay): Add `beforeAddRecordingEvent` Replay option ([#8124](https://togithub.com/getsentry/sentry-javascript/issues/8124)) - feat(replay): Do not capture replays < 5 seconds ([#7949](https://togithub.com/getsentry/sentry-javascript/issues/7949)) - fix(nextjs): Guard for non-absolute paths when injecting sentry config ([#8151](https://togithub.com/getsentry/sentry-javascript/issues/8151)) - fix(nextjs): Import path issue on Windows ([#8142](https://togithub.com/getsentry/sentry-javascript/issues/8142)) - fix(nextjs): Make `withSentryConfig` isomorphic ([#8166](https://togithub.com/getsentry/sentry-javascript/issues/8166)) - fix(node): Add debug logging for node checkin ([#8131](https://togithub.com/getsentry/sentry-javascript/issues/8131)) - fix(node): Add LRU map for tracePropagationTargets calculation ([#8130](https://togithub.com/getsentry/sentry-javascript/issues/8130)) - fix(node): Remove new URL usage in Undici integration ([#8147](https://togithub.com/getsentry/sentry-javascript/issues/8147)) - fix(replay): Show the correct Replay config option name `maskFn` - fix(sveltekit): Avoid double-wrapping load functions ([#8094](https://togithub.com/getsentry/sentry-javascript/issues/8094)) - fix(tracing): Change where content-length gets added ([#8139](https://togithub.com/getsentry/sentry-javascript/issues/8139)) - fix(tracing): Use integer for content length ([#8152](https://togithub.com/getsentry/sentry-javascript/issues/8152)) - fix(utils): Fail silently if the provided Dsn is invalid ([#8121](https://togithub.com/getsentry/sentry-javascript/issues/8121)) - ref(node): Cache undici trace propagation decisions ([#8136](https://togithub.com/getsentry/sentry-javascript/issues/8136)) - ref(serverless): Remove relay extension from AWS Layer ([#8080](https://togithub.com/getsentry/sentry-javascript/issues/8080))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 has been generated by Mend Renovate. View repository job log here.