|
4 | 4 |
|
5 | 5 | - "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
|
6 | 6 |
|
| 7 | +## 7.89.0 |
| 8 | + |
| 9 | +### Important Changes |
| 10 | + |
| 11 | +#### Deprecations |
| 12 | + |
| 13 | +- **feat(core): Deprecate `configureScope` (#9887)** |
| 14 | +- **feat(core): Deprecate `pushScope` & `popScope` (#9890)** |
| 15 | + |
| 16 | +This release deprecates `configureScope`, `pushScope`, and `popScope`, which will be removed in the upcoming v8 major release. |
| 17 | + |
| 18 | +#### Hapi Integration |
| 19 | + |
| 20 | +- **feat(node): Add Hapi Integration (#9539)** |
| 21 | + |
| 22 | +This release adds an integration for Hapi. It can be used as follows: |
| 23 | + |
| 24 | +```ts |
| 25 | +const Sentry = require('@sentry/node'); |
| 26 | +const Hapi = require('@hapi/hapi'); |
| 27 | + |
| 28 | +const init = async () => { |
| 29 | + const server = Hapi.server({ |
| 30 | + // your server configuration ... |
| 31 | + }); |
| 32 | + |
| 33 | + Sentry.init({ |
| 34 | + dsn: '__DSN__', |
| 35 | + tracesSampleRate: 1.0, |
| 36 | + integrations: [ |
| 37 | + new Sentry.Integrations.Hapi({ server }), |
| 38 | + ], |
| 39 | + }); |
| 40 | + |
| 41 | + server.route({ |
| 42 | + // your route configuration ... |
| 43 | + }); |
| 44 | + |
| 45 | + await server.start(); |
| 46 | +}; |
| 47 | +``` |
| 48 | + |
| 49 | +#### SvelteKit 2.0 |
| 50 | + |
| 51 | +- **chore(sveltekit): Add SvelteKit 2.0 to peer dependencies (#9861)** |
| 52 | + |
| 53 | +This release adds support for SvelteKit 2.0 in the `@sentry/sveltekit` package. If you're upgrading from SvelteKit 1.x to 2.x and already use the Sentry SvelteKit SDK, no changes apart from upgrading to this (or a newer) version are necessary. |
| 54 | + |
| 55 | +### Other Changes |
| 56 | + |
| 57 | +- feat(core): Add type & utility for function-based integrations (#9818) |
| 58 | +- feat(core): Update `withScope` to return callback return value (#9866) |
| 59 | +- feat(deno): Support `Deno.CronSchedule` for cron jobs (#9880) |
| 60 | +- feat(nextjs): Auto instrument generation functions (#9781) |
| 61 | +- feat(nextjs): Connect server component transactions if there is no incoming trace (#9845) |
| 62 | +- feat(node-experimental): Update to new Scope APIs (#9799) |
| 63 | +- feat(replay): Add `canvas.type` setting (#9877) |
| 64 | +- fix(nextjs): Export `createReduxEnhancer` (#9854) |
| 65 | +- fix(remix): Do not capture thrown redirect responses. (#9909) |
| 66 | +- fix(sveltekit): Add conditional exports (#9872) |
| 67 | +- fix(sveltekit): Avoid capturing 404 errors on client side (#9902) |
| 68 | +- fix(utils): Do not use `Event` type in worldwide (#9864) |
| 69 | +- fix(utils): Support crypto.getRandomValues in old Chromium versions (#9251) |
| 70 | +- fix(utils): Update `eventFromUnknownInput` to avoid scope pollution & `getCurrentHub` (#9868) |
| 71 | +- ref: Use `addBreadcrumb` directly & allow to pass hint (#9867) |
| 72 | + |
| 73 | +Work in this release contributed by @adam187, and @jghinestrosa. Thank you for your contributions! |
| 74 | + |
7 | 75 | ## 7.88.0
|
8 | 76 |
|
9 | 77 | ### Important Changes
|
|
0 commit comments