|
4 | 4 |
|
5 | 5 | - "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
|
6 | 6 |
|
| 7 | +## 7.94.0 |
| 8 | + |
| 9 | +### Important Changes |
| 10 | + |
| 11 | +#### Deprecations |
| 12 | + |
| 13 | +As we're moving closer to the next major version of the SDK, more public APIs were deprecated. |
| 14 | + |
| 15 | +To get a head start on migrating to the replacement APIs, please take a look at our |
| 16 | +[migration guide](https://github.com/getsentry/sentry-javascript/blob/develop/MIGRATION.md). |
| 17 | + |
| 18 | +- feat: Deprecate user segment field (#10210) |
| 19 | +- feat(core): Deprecate `finish` on `Span` interface in favour of `end` (#10161) |
| 20 | +- feat(core): Deprecate `getCurrentHub()` (#10200) |
| 21 | +- feat(core): Deprecate `hub.bindClient()` & `makeMain()` (#10188) |
| 22 | +- feat(core): Deprecate `Span.instrumenter` (#10139) |
| 23 | +- feat(core): Deprecate `Span.isSuccess()` in favor of reading span status (#10213) |
| 24 | +- feat(core): Deprecate `Span.op` in favor of op attribute (#10189) |
| 25 | +- feat(core): Deprecate `Span.spanRecorder` (#10199) |
| 26 | +- feat(core): Deprecate `Span.status` (#10208) |
| 27 | +- feat(core): Deprecate `Span.transaction` in favor of `getRootSpan` (#10134) |
| 28 | +- feat(core): Deprecate `Transaction.instrumenter` (#10162) |
| 29 | +- feat(core): Deprecate `Transaction.setMeasurement` in favor of `setMeasurement` (#10182) |
| 30 | +- feat(core): Deprecate integration classes & `Integrations.X` (#10198) |
| 31 | +- feat(core): Deprecate methods on `Hub` (#10124) |
| 32 | +- feat(core): Deprecate remaining `setName` declarations on `Transaction` and `Span` (#10164) |
| 33 | +- feat(core): Deprecate span `startTimestamp` & `endTimestamp` (#10192) |
| 34 | +- feat(core): Deprecate `hub.bindClient()` and `makeMain()` (#10118) |
| 35 | +- feat(types): Deprecate `op` on `Span` interface (#10217) |
| 36 | +- feat(integrations): Deprecate `Transaction` integration (#10178) |
| 37 | +- feat(integrations): Deprecate pluggable integration classes (#10211) |
| 38 | + |
| 39 | +#### Replay & Canvas |
| 40 | + |
| 41 | +We have added a new `ReplayCanvas` integration (#10112), which you can add to capture the contents of canvas elements |
| 42 | +with Replay. |
| 43 | + |
| 44 | +Just add it _in addition_ to the regular replay integration: |
| 45 | + |
| 46 | +```js |
| 47 | +Sentry.init({ |
| 48 | + integrations: [new Sentry.Replay(), new Sentry.ReplayCanvas()], |
| 49 | +}); |
| 50 | +``` |
| 51 | + |
| 52 | +### Other Changes |
| 53 | + |
| 54 | +- feat(core): Add `client.getIntegrationByName()` (#10130) |
| 55 | +- feat(core): Add `client.init()` to replace `client.setupIntegrations()` (#10118) |
| 56 | +- feat(core): Add `withActiveSpan` (#10195) |
| 57 | +- feat(core): Add `withIsolationScope` (#10141) |
| 58 | +- feat(core): Streamline integration function results to be compatible (#10135) |
| 59 | +- feat(core): Write data from `setUser`, `setTags`, `setExtras`, `setTag`, `setExtra`, and `setContext` to isolation |
| 60 | + scope (#10163) |
| 61 | +- feat(core): Add domain information to resource span data #10205 |
| 62 | +- feat(feedback): Export sendFeedback from @sentry/browser (#10231) |
| 63 | +- feat(node): Update and vendor https-proxy-agent (#10088) |
| 64 | +- feat(node-experimental): Add `withActiveSpan` (#10194) |
| 65 | +- feat(replays): Add snapshot function to replay canvas integration (#10066) |
| 66 | +- feat(types): Add `SerializedEvent` interface (pre v8) (#10240) |
| 67 | +- feat(types): Add support for new monitor config thresholds (#10225) |
| 68 | +- fix: Ensure all integration classes have correct types (#10183) |
| 69 | +- fix(astro): Fix import path when using external init files with default path (#10214) |
| 70 | +- fix(cdn): Emit console warning instead of error for integration shims (#10193) |
| 71 | +- fix(core): Take user from current scope when starting a session (#10153) |
| 72 | +- fix(node-experimental): Ensure `http.status_code` is always a string (#10177) |
| 73 | +- fix(node): Guard against `process.argv[1]` being undefined (#10155) |
| 74 | +- fix(node): Module name resolution (#10144) |
| 75 | +- fix(node): Remove leading slash in Windows filenames (#10147) |
| 76 | +- fix(remix): Capture thrown fetch responses. (#10166) |
| 77 | +- fix(tracing): Gate mongo operation span data behind sendDefaultPii (#10227) |
| 78 | +- fix(tracing-internal): Delay pageload transaction finish until document is interactive (#10215) |
| 79 | +- fix(tracing-internal): Only collect request/response spans when browser performance timing is available (#10207) |
| 80 | +- fix(tracing-internal): Prefer `fetch` init headers over `fetch` input headers (#10176) |
| 81 | +- fix(utils): Ensure dropUndefinedKeys() does not break class instances (#10245) |
| 82 | + |
7 | 83 | ## 7.93.0
|
8 | 84 |
|
9 | 85 | ### Important Changes
|
|
0 commit comments