|
4 | 4 |
|
5 | 5 | - "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
|
6 | 6 |
|
| 7 | +## 7.51.0 |
| 8 | + |
| 9 | +### Important Changes |
| 10 | + |
| 11 | +- **feat(sveltekit): Auto-wrap `load` functions with proxy module (#7994)** |
| 12 | + |
| 13 | +`@sentry/sveltekit` now auto-wraps `load` functions in |
| 14 | + |
| 15 | +* `+(page|layout).(ts|js)` files (universal loads) |
| 16 | +* `+(page|layout).server.(ts|js)` files (server-only loads) |
| 17 | + |
| 18 | +This means that you don't have to manually add the `wrapLoadWithSentry` and `wrapServerLoadWithSentry` functions around your load functions. The SDK will not interfere with already wrapped `load` functions. |
| 19 | + |
| 20 | +For more details, take a look at the [Readme](https://github.com/getsentry/sentry-javascript/blob/develop/packages/sveltekit/README.md#configure-auto-instrumentation) |
| 21 | + |
| 22 | +- **chore(angular): Upgrade `peerDependencies` to Angular 16 (#8035)** |
| 23 | + |
| 24 | +We now officially support Angular 16 in `@sentry/angular-ivy`. |
| 25 | +Note that `@sentry/angular` _does not_ support Angular 16. |
| 26 | + |
| 27 | +- **feat(node): Add ability to send cron monitor check ins (#8039)** |
| 28 | + |
| 29 | +This release adds [Sentry cron monitoring](https://docs.sentry.io/product/crons/) support to the Node SDK. |
| 30 | + |
| 31 | +To monitor your cron jobs, send check-ins everytime you execute your cron jobs to Sentry. You can do this with the `captureCheckIn` method exported from the SDK. First you must send an `in_progress`, checkin, then you can send one with status `ok` or `error` based on what happened with your cron job. |
| 32 | + |
| 33 | +```ts |
| 34 | +const Sentry = require('@sentry/node'); |
| 35 | + |
| 36 | +// ... |
| 37 | + |
| 38 | +Sentry.captureCheckIn({ |
| 39 | + // make sure this is the same slug as what you set up your |
| 40 | + // Sentry cron monitor with. |
| 41 | + monitorSlug: 'dailyEmail', |
| 42 | + status: 'in_progress', |
| 43 | +}); |
| 44 | + |
| 45 | +const startTime = timeInSeconds(); |
| 46 | + |
| 47 | +runTask(); |
| 48 | + |
| 49 | +Sentry.captureCheckIn({ |
| 50 | + monitorSlug: 'dailyEmail', |
| 51 | + status: 'ok', |
| 52 | + duration: timeInSeconds() - startTime, |
| 53 | +}); |
| 54 | +``` |
| 55 | + |
| 56 | +### Additional Features and Fixes |
| 57 | + |
| 58 | +- feat(browser): Export makeMultiplexedTransport from browser SDK (#8012) |
| 59 | +- feat(node): Add `http.method` to node http spans (#7991) |
| 60 | +- feat(tracing): add body size for fetch requests (#7935) |
| 61 | +- feat(tracing): Use http.method for span data (#7990) |
| 62 | +- fix(integrations): Handle windows paths with no prefix or backslash prefix in `RewriteFrames` (#7995) |
| 63 | +- fix(node): Mark stack frames with url protocol as in-app frames (#8008) |
| 64 | +- fix(remix): Export `Integration` type declaration as union type (#8016) |
| 65 | +- fix(replay): Do not add replay_id to DSC while buffering (#8020) |
| 66 | +- fix(tracing): Don't set method multiple times (#8014) |
| 67 | +- fix(utils): Normalize `undefined` to `undefined` instead of `"[undefined]"` (#8017) |
| 68 | + |
| 69 | +Work in this release contributed by @srubin and @arjenbrandenburgh. Thank you for your contributions! |
| 70 | + |
7 | 71 | ## 7.50.0
|
8 | 72 |
|
9 | 73 | ### Important Changes
|
|
0 commit comments