|
4 | 4 |
|
5 | 5 | - "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
|
6 | 6 |
|
| 7 | +## 7.57.0 |
| 8 | + |
| 9 | +### Important Changes |
| 10 | + |
| 11 | +- **build: Update typescript from 3.8.3 to 4.9.5 (#8255)** |
| 12 | + |
| 13 | +This release version [bumps the internally used typescript version from 3.8.x to 4.9.x](https://github.com/getsentry/sentry-javascript/pull/8255). |
| 14 | +We use ds-downlevel to generate two versions of our types, one for >=3.8, one for >=4.9. |
| 15 | +This means that this change should be fully backwards compatible and not have any noticable user impact, |
| 16 | +but if you still encounter issues please let us know. |
| 17 | + |
| 18 | +- **feat(types): Add tracePropagationTargets to top level options (#8395)** |
| 19 | + |
| 20 | +Instead of passing `tracePropagationTargets` to the `BrowserTracing` integration, you can now define them on the top level: |
| 21 | + |
| 22 | +```js |
| 23 | +Sentry.init({ |
| 24 | + tracePropagationTargets: ['api.site.com'], |
| 25 | +}); |
| 26 | +``` |
| 27 | + |
| 28 | +- **fix(angular): Filter out `TryCatch` integration by default (#8367)** |
| 29 | + |
| 30 | +The Angular and Angular-ivy SDKs will not install the TryCatch integration anymore by default. |
| 31 | +This integration conflicted with the `SentryErrorHander`, sometimes leading to duplicated errors and/or missing data on events. |
| 32 | + |
| 33 | +- **feat(browser): Better event name handling for non-Error objects (#8374)** |
| 34 | + |
| 35 | +When capturing non-errors via `Sentry.captureException()`, e.g. `Sentry.captureException({ prop: "custom object" })`, |
| 36 | +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: |
| 37 | + |
| 38 | +``` |
| 39 | +Object captured as exception with keys: prop1, prop2 |
| 40 | +Event `MouseEvent` (type=click) captured as exception |
| 41 | +Event `ErrorEvent` captured as exception with message `Script error.` |
| 42 | +``` |
| 43 | + |
| 44 | +### Other Changes |
| 45 | + |
| 46 | +- feat(browser): Send profiles in same envelope as transactions (#8375) |
| 47 | +- feat(profiling): Collect timings on profiler stop calls (#8409) |
| 48 | +- feat(replay): Do not capture replays < 5 seconds (GA) (#8277) |
| 49 | +- feat(tracing): Add experiment to capture http timings (#8371) |
| 50 | +- feat(tracing): Add `http.response.status_code` to `span.data` (#8366) |
| 51 | +- fix(angular): Stop routing spans on navigation cancel and error events (#8369) |
| 52 | +- fix(core): Only start spans in `trace` if tracing is enabled (#8357) |
| 53 | +- fix(nextjs): Inject init calls via loader instead of via entrypoints (#8368) |
| 54 | +- fix(replay): Mark ui.slowClickDetected `clickCount` as optional (#8376) |
| 55 | +- fix(serverless): Export `autoDiscoverNodePerformanceMonitoringIntegrations` from SDK (#8382) |
| 56 | +- fix(sveltekit): Check for cached requests in client-side fetch instrumentation (#8391) |
| 57 | +- fix(sveltekit): Only instrument SvelteKit `fetch` if the SDK client is valid (#8381) |
| 58 | +- fix(tracing): Instrument Prisma client in constructor of integration (#8383) |
| 59 | +- ref(replay): More graceful `sessionStorage` check (#8394) |
| 60 | +- ref(replay): Remove circular dep in replay eventBuffer (#8389) |
| 61 | + |
7 | 62 | ## 7.56.0
|
8 | 63 |
|
9 | 64 | - feat(replay): Rework slow click & multi click detection (#8322)
|
|
0 commit comments