Skip to content

Commit b7aa759

Browse files
author
Luca Forstner
committed
Merge remote-tracking branch 'origin/develop' into lforst-edge-otel
2 parents 31bae24 + 5822d12 commit b7aa759

File tree

94 files changed

+2442
-1419
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+2442
-1419
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ jobs:
437437
with:
438438
node-version-file: 'package.json'
439439
- name: Set up Deno
440-
uses: denoland/setup-deno@v1.4.1
440+
uses: denoland/setup-deno@v1.5.1
441441
with:
442442
deno-version: v1.38.5
443443
- name: Restore caches
@@ -931,6 +931,7 @@ jobs:
931931
'node-koa',
932932
'node-connect',
933933
'nuxt-3',
934+
'nuxt-4',
934935
'vue-3',
935936
'webpack-4',
936937
'webpack-5'

CHANGELOG.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,54 @@
1010

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

13+
## 8.33.1
14+
15+
- fix(core): Update trpc middleware types ([#13859](https://github.com/getsentry/sentry-javascript/pull/13859))
16+
- fix(fetch): Fix memory leak when handling endless streaming
17+
([#13809](https://github.com/getsentry/sentry-javascript/pull/13809))
18+
19+
Work in this release was contributed by @soapproject. Thank you for your contribution!
20+
21+
## 8.33.0
22+
23+
### Important Changes
24+
25+
- **feat(nextjs): Support new async APIs (`headers()`, `params`, `searchParams`)
26+
([#13828](https://github.com/getsentry/sentry-javascript/pull/13828))**
27+
28+
Adds support for [new dynamic Next.js APIs](https://github.com/vercel/next.js/pull/68812).
29+
30+
- **feat(node): Add `lru-memoizer` instrumentation
31+
([#13796](https://github.com/getsentry/sentry-javascript/pull/13796))**
32+
33+
Adds integration for lru-memoizer using @opentelemetry/instrumentation-lru-memoizer.
34+
35+
- **feat(nuxt): Add `unstable_sentryBundlerPluginOptions` to module options
36+
([#13811](https://github.com/getsentry/sentry-javascript/pull/13811))**
37+
38+
Allows passing other options from the bundler plugins (vite and rollup) to Nuxt module options.
39+
40+
### Other Changes
41+
42+
- fix(browser): Ensure `wrap()` only returns functions
43+
([#13838](https://github.com/getsentry/sentry-javascript/pull/13838))
44+
- fix(core): Adapt trpc middleware input attachment
45+
([#13831](https://github.com/getsentry/sentry-javascript/pull/13831))
46+
- fix(core): Don't return trace data in `getTraceData` and `getTraceMetaTags` if SDK is disabled
47+
([#13760](https://github.com/getsentry/sentry-javascript/pull/13760))
48+
- fix(nuxt): Don't restrict source map assets upload
49+
([#13800](https://github.com/getsentry/sentry-javascript/pull/13800))
50+
- fix(nuxt): Use absolute path for client config ([#13798](https://github.com/getsentry/sentry-javascript/pull/13798))
51+
- fix(replay): Stop global event handling for paused replays
52+
([#13815](https://github.com/getsentry/sentry-javascript/pull/13815))
53+
- fix(sveltekit): add url param to source map upload options
54+
([#13812](https://github.com/getsentry/sentry-javascript/pull/13812))
55+
- fix(types): Add jsdocs to cron types ([#13776](https://github.com/getsentry/sentry-javascript/pull/13776))
56+
- fix(nextjs): Loosen @sentry/nextjs webpack peer dependency
57+
([#13826](https://github.com/getsentry/sentry-javascript/pull/13826))
58+
59+
Work in this release was contributed by @joshuajaco. Thank you for your contribution!
60+
1361
## 8.32.0
1462

1563
### Important Changes

dev-packages/browser-integration-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/browser-integration-tests",
3-
"version": "8.32.0",
3+
"version": "8.33.1",
44
"main": "index.js",
55
"license": "MIT",
66
"engines": {
@@ -43,7 +43,7 @@
4343
"@babel/preset-typescript": "^7.16.7",
4444
"@playwright/test": "^1.44.1",
4545
"@sentry-internal/rrweb": "2.11.0",
46-
"@sentry/browser": "8.32.0",
46+
"@sentry/browser": "8.33.1",
4747
"axios": "1.6.7",
4848
"babel-loader": "^8.2.2",
4949
"html-webpack-plugin": "^5.5.0",

dev-packages/bundle-analyzer-scenarios/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/bundle-analyzer-scenarios",
3-
"version": "8.32.0",
3+
"version": "8.33.1",
44
"description": "Scenarios to test bundle analysis with",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/dev-packages/bundle-analyzer-scenarios",

dev-packages/clear-cache-gh-action/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@sentry-internal/clear-cache-gh-action",
33
"description": "An internal Github Action to clear GitHub caches.",
4-
"version": "8.32.0",
4+
"version": "8.33.1",
55
"license": "MIT",
66
"engines": {
77
"node": ">=18"

dev-packages/e2e-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/e2e-tests",
3-
"version": "8.32.0",
3+
"version": "8.33.1",
44
"license": "MIT",
55
"private": true,
66
"scripts": {

dev-packages/e2e-tests/test-applications/nextjs-t3/src/server/api/trpc.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ export const createCallerFactory = t.createCallerFactory;
7070
*/
7171
export const createTRPCRouter = t.router;
7272

73-
const sentryMiddleware = Sentry.trpcMiddleware({
74-
attachRpcInput: true,
75-
});
76-
77-
export const publicProcedure = t.procedure.use(async opts => sentryMiddleware(opts));
73+
export const publicProcedure = t.procedure.use(
74+
Sentry.trpcMiddleware({
75+
attachRpcInput: true,
76+
}),
77+
);

dev-packages/e2e-tests/test-applications/node-express/src/app.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,7 @@ Sentry.addEventProcessor(event => {
105105

106106
export const t = initTRPC.context<Context>().create();
107107

108-
const sentryMiddleware = Sentry.trpcMiddleware({ attachRpcInput: true });
109-
110-
const procedure = t.procedure.use(async opts => sentryMiddleware(opts));
108+
const procedure = t.procedure.use(Sentry.trpcMiddleware({ attachRpcInput: true }));
111109

112110
export const appRouter = t.router({
113111
getSomething: procedure.input(z.string()).query(opts => {
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Nuxt dev/build outputs
2+
.output
3+
.data
4+
.nuxt
5+
.nitro
6+
.cache
7+
dist
8+
9+
# Node dependencies
10+
node_modules
11+
12+
# Logs
13+
logs
14+
*.log
15+
16+
# Misc
17+
.DS_Store
18+
.fleet
19+
.idea
20+
21+
# Local env files
22+
.env
23+
.env.*
24+
!.env.example
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@sentry:registry=http://127.0.0.1:4873
2+
@sentry-internal:registry=http://127.0.0.1:4873

0 commit comments

Comments
 (0)