Skip to content

Commit daa5707

Browse files
mydeaLms24
andcommitted
meta(changelog): Update CHANGELOG for 7.51.0
Co-authored-by: Lukas Stracke <[email protected]>
1 parent 9ea2bca commit daa5707

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

CHANGELOG.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,70 @@
44

55
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
66

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+
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!
30+
31+
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.
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+
771
## 7.50.0
872

973
### Important Changes

0 commit comments

Comments
 (0)