|
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 | +- **chore(angular): Upgrade `peerDependencies` to Angular 16 (#8035)** |
| 19 | + |
| 20 | +We now officially support Angular 16 in `@sentry/angular-ivy`. |
| 21 | +Note that `@sentry/angular` _does not_ support Angular 16. |
| 22 | + |
| 23 | +- **feat(node): Add ability to send cron monitor check ins (#8039)** |
| 24 | + |
| 25 | +Sentry has a [cron monitoring product](https://docs.sentry.io/product/crons/)! This PR adds cron monitoring support to the Node SDK, so you can use the SDK to easily monitor your cron jobs! |
| 26 | + |
| 27 | +To send a check in to Sentry, simply use 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. |
| 28 | + |
| 29 | +```ts |
| 30 | +const Sentry = require('@sentry/node'); |
| 31 | + |
| 32 | +// ... |
| 33 | + |
| 34 | +Sentry.captureCheckIn({ |
| 35 | + // make sure this is the same slug as what you set up your |
| 36 | + // Sentry cron monitor with. |
| 37 | + monitorSlug: 'dailyEmail', |
| 38 | + status: 'in_progress', |
| 39 | +}); |
| 40 | + |
| 41 | +const startTime = timeInSeconds(); |
| 42 | + |
| 43 | +runTask(); |
| 44 | + |
| 45 | +Sentry.captureCheckIn({ |
| 46 | + monitorSlug: 'dailyEmail', |
| 47 | + status: 'ok', |
| 48 | + duration: timeInSeconds() - startTime, |
| 49 | +}); |
| 50 | +``` |
| 51 | + |
| 52 | +### Additional Features and Fixes |
| 53 | + |
| 54 | +- feat(browser): Export makeMultiplexedTransport from browser SDK (#8012) |
| 55 | +- feat(node): Add `http.method` to node http spans (#7991) |
| 56 | +- feat(tracing): add body size for fetch requests (#7935) |
| 57 | +- feat(tracing): Use http.method for span data (#7990) |
| 58 | +- fix(integrations): Handle windows paths with no prefix or backslash prefix in `RewriteFrames` (#7995) |
| 59 | +- fix(node): Mark stack frames with url protocol as in-app frames (#8008) |
| 60 | +- fix(remix): Export `Integration` type declaration as union type (#8016) |
| 61 | +- fix(replay): Do not add replay_id to DSC while buffering (#8020) |
| 62 | +- fix(tracing): Don't set method multiple times (#8014) |
| 63 | +- fix(utils): Normalize `undefined` to `undefined` instead of `"[undefined]"` (#8017) |
| 64 | + |
7 | 65 | ## 7.50.0
|
8 | 66 |
|
9 | 67 | ### Important Changes
|
|
0 commit comments