Skip to content

Commit a3c8b9e

Browse files
committed
meta(changelog): Update changelog for 7.46.0
1 parent 9ecd152 commit a3c8b9e

File tree

1 file changed

+75
-0
lines changed

1 file changed

+75
-0
lines changed

CHANGELOG.md

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

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

7+
## 7.46.0
8+
9+
### Important Changes
10+
11+
- **feat(sveltekit)**: Add Performance Monitoring for SvelteKit
12+
- feat(sveltekit): Add meta tag for backend -> frontend (#7574)
13+
- fix(sveltekit): Explicitly export Node SDK exports (#7644)
14+
- fix(sveltekit): Handle nested server calls in `sentryHandle` (#7598)
15+
- ref(sveltekit): Split up universal and server load wrappers (#7652)
16+
17+
This release adds support for Performance Monitoring in our SvelteKit SDK for the client/server. We've also changed how you should initialize your SDK. Please read our updated [SvelteKit README instructions](./packages/sveltekit/README.md) for more details.
18+
19+
- **feat(core)**: Add `ignoreTransactions` option (#7594)
20+
21+
You can now easily filter out certain transactions from being sent to Sentry based on their name.
22+
23+
```ts
24+
Sentry.init({
25+
ignoreTransactions: ['/api/healthcheck', '/ping'],
26+
})
27+
```
28+
29+
- **feat(node)**: Undici integration (#7582)
30+
- feat(nextjs): Add Undici integration automatically (#7648)
31+
- feat(sveltekit): Add Undici integration by default (#7650)
32+
33+
We've added an integration that automatically instruments [Undici](https://github.com/nodejs/undici) and Node server side fetch. This supports Undici `v4.7.0` or higher and requires Node `v16.7.0` or higher. After adding the integration outgoing requests made by Undici will have associated spans and breadcrumbs in Sentry.
34+
35+
```ts
36+
Sentry.init({
37+
integrations: [new Sentry.Integrations.Undici()],
38+
})
39+
```
40+
41+
In our Next.js and SvelteKit SDKs, this integration is automatically added.
42+
43+
- **feat(node)**: Add Sentry tRPC middleware (#7511)
44+
45+
We've added a new middleware for [trpc](https://trpc.io/) that automatically adds TRPC information to Sentry transactions. This middleware is meant to be used in combination with a Sentry server integration (Next.js, Express, etc).
46+
47+
```ts
48+
import { initTRPC } from '@trpc/server';
49+
import * as Sentry from '@sentry/node';
50+
51+
const t = initTRPC.context().create();
52+
const sentryMiddleware = t.middleware(
53+
Sentry.Handlers.trpcMiddleware({
54+
attachRpcInput: true,
55+
}),
56+
);
57+
58+
const sentrifiedProcedure = t.procedure.use(sentryMiddleware);
59+
```
60+
61+
- **fix(node)**: Convert debugging code to callbacks to fix memory leak in `LocalVariables` integration (#7637)
62+
63+
This fixes a memory leak in the opt-in [`LocalVariables` integration](https://blog.sentry.io/2023/02/01/local-variables-for-nodejs-in-sentry/), which adds local variables to the stacktraces sent to Sentry. The minimum recommended version to use the `LocalVariables` is now `7.46.0`.
64+
65+
### Additional Features and Fixes
66+
67+
- feat(node): Auto discovery only returns integrations where dependency loads (#7603)
68+
- feat(node): Sanitize URLs in Span descriptions and breadcrumbs (PII) (#7667)
69+
- feat(replay): Add `responseStatus`, `decodedBodySize` to perf entries (#7613)
70+
- feat(replay): Add experiment to capture request/response bodies (#7589)
71+
- feat(replay): Capture replay mutation breadcrumbs & add experiment (#7568)
72+
- feat(tracing): Ensure `pageload` transaction starts at timeOrigin (#7632)
73+
- fix(core): Remove `abs_path` from stack trace (reverting #7167) (#7623)
74+
- fix(nextjs): Add loading component type to server component wrapping (#7639)
75+
- fix(nextjs): Don't report `NEXT_NOT_FOUND` and `NEXT_REDIRECT` errors (#7642)
76+
- fix(nextjs): Rewrite `abs_path` frames (#7619)
77+
- fix(nextjs): Show errors and warnings only once during build (#7651)
78+
- fix(nextjs): Use Next.js internal AsyncStorage (#7630)
79+
80+
Work in this release contributed by @aldenquimby. Thank you for your contribution!
81+
782
## 7.45.0
883

984
- build(cdn): Ensure ES5 bundles do not use non-ES5 code (#7550)

0 commit comments

Comments
 (0)