Skip to content

Commit 740b49f

Browse files
committed
meta(changelog): Update changelog for 9.34.0
1 parent bc6725c commit 740b49f

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

CHANGELOG.md

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

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

7+
## 9.34.0
8+
9+
### Important Changes
10+
11+
- **feat(nuxt): Add Cloudflare Nitro plugin ([#15597](https://github.com/getsentry/sentry-javascript/pull/15597))**
12+
13+
A Nitro plugin for `@sentry/nuxt` which initializes Sentry when deployed to Cloudflare (`cloudflare-pages` preset).
14+
15+
1. Remove the previous server config file: `sentry.server.config.ts`
16+
2. Add a plugin in `server/plugins` (e.g. `server/plugins/sentry-cloudflare-setup.ts`)
17+
3. Add this code in your plugin file
18+
19+
```javascript
20+
// server/plugins/sentry-cloudflare-setup.ts (filename does not matter)
21+
import { sentryCloudflareNitroPlugin } from '@sentry/nuxt/module/plugins';
22+
23+
export default defineNitroPlugin(
24+
sentryCloudflareNitroPlugin({
25+
dsn: 'https://dsn',
26+
tracesSampleRate: 1.0,
27+
}),
28+
);
29+
```
30+
31+
or with access to `nitroApp`:
32+
33+
```javascript
34+
// server/plugins/sentry-cloudflare-setup.ts (filename does not matter)
35+
import { sentryCloudflareNitroPlugin } from '@sentry/nuxt/module/plugins';
36+
37+
export default defineNitroPlugin(sentryCloudflareNitroPlugin((nitroApp: NitroApp) => {
38+
// You can access nitroApp here if needed
39+
return ({
40+
dsn: 'https://dsn',
41+
tracesSampleRate: 1.0,
42+
})
43+
}))
44+
```
45+
46+
### Other Changes
47+
48+
- feat(browser): Record standalone LCP spans ([#16591](https://github.com/getsentry/sentry-javascript/pull/16591))
49+
- fix(nuxt): Only add OTel alias in dev mode ([#16756](https://github.com/getsentry/sentry-javascript/pull/16756))
50+
751
## 9.33.0
852

953
### Important Changes

0 commit comments

Comments
 (0)