File tree Expand file tree Collapse file tree 11 files changed +84
-68
lines changed
.github/actions/install-playwright
dev-packages/e2e-tests/test-applications
sveltekit-cloudflare-pages Expand file tree Collapse file tree 11 files changed +84
-68
lines changed Original file line number Diff line number Diff line change 3434 working-directory : ${{ inputs.cwd }}
3535
3636 - name : Install Playwright system dependencies only (cached)
37- run : npx playwright install-deps ${{ inputs.browsers || 'chromium webkit firefox' }}
37+ env :
38+ PLAYWRIGHT_BROWSERS : ${{ inputs.browsers || 'chromium webkit firefox' }}
39+ run : npx playwright install-deps "$PLAYWRIGHT_BROWSERS"
3840 if : steps.playwright-cache.outputs.cache-hit == 'true'
3941 shell : bash
4042 working-directory : ${{ inputs.cwd }}
Original file line number Diff line number Diff line change 44
55- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
66
7+ ## 9.28.1
8+
9+ - feat(deps): Bump @sentry/cli from 2.45.0 to 2.46.0 ([ #16516 ] ( https://github.com/getsentry/sentry-javascript/pull/16516 ) )
10+ - fix(nextjs): Avoid tracing calls to symbolication server on dev ([ #16533 ] ( https://github.com/getsentry/sentry-javascript/pull/16533 ) )
11+ - fix(sveltekit): Add import attribute for node exports ([ #16528 ] ( https://github.com/getsentry/sentry-javascript/pull/16528 ) )
12+
13+ Work in this release was contributed by @eltigerchino . Thank you for your contribution!
14+
715## 9.28.0
816
917### Important Changes
Original file line number Diff line number Diff line change 2323 "@sentry-internal/test-utils" : " link:../../../test-utils" ,
2424 "@sentry/core" : " latest || *" ,
2525 "@sveltejs/adapter-auto" : " ^3.0.0" ,
26- "@sveltejs/kit" : " 2.21.2 " ,
26+ "@sveltejs/kit" : " ^ 2.21.3 " ,
2727 "@sveltejs/vite-plugin-svelte" : " ^3.0.0" ,
2828 "svelte" : " ^5.0.0-next.115" ,
2929 "svelte-check" : " ^3.6.0" ,
Original file line number Diff line number Diff line change 2323 "@sentry/core" : " latest || *" ,
2424 "@sveltejs/adapter-auto" : " ^3.0.0" ,
2525 "@sveltejs/adapter-node" : " ^2.0.0" ,
26- "@sveltejs/kit" : " 2.21.2 " ,
26+ "@sveltejs/kit" : " ^ 2.21.3 " ,
2727 "@sveltejs/vite-plugin-svelte" : " ^3.0.0" ,
2828 "svelte" : " ^4.2.8" ,
2929 "svelte-check" : " ^3.6.0" ,
Original file line number Diff line number Diff line change 2020 "devDependencies" : {
2121 "@playwright/test" : " ^1.45.3" ,
2222 "@sveltejs/adapter-cloudflare" : " ^5.0.3" ,
23- "@sveltejs/kit" : " 2.21.2 " ,
23+ "@sveltejs/kit" : " ^ 2.21.3 " ,
2424 "@sveltejs/vite-plugin-svelte" : " ^5.0.3" ,
2525 "svelte" : " ^5.20.2" ,
2626 "svelte-check" : " ^4.1.4" ,
Original file line number Diff line number Diff line change @@ -356,7 +356,6 @@ export interface ClientOptions<TO extends BaseTransportOptions = BaseTransportOp
356356
357357 /**
358358 * This function can be defined to modify a child span before it's sent.
359- * Returning `null` will cause this span to be dropped.
360359 *
361360 * Note that this function is only called for child spans and not for the root span (formerly known as transaction).
362361 * If you want to modify or drop the root span, use {@link Options.beforeSendTransaction} instead.
Original file line number Diff line number Diff line change @@ -192,22 +192,24 @@ async function resolveStackFrames(
192192 const controller = new AbortController ( ) ;
193193 const timer = setTimeout ( ( ) => controller . abort ( ) , 3000 ) ;
194194
195- const res = await fetch (
196- `${
197- // eslint-disable-next-line no-restricted-globals
198- typeof window === 'undefined' ? 'http://localhost:3000' : '' // TODO: handle the case where users define a different port
199- } ${ basePath } /__nextjs_original-stack-frames`,
200- {
201- method : 'POST' ,
202- headers : {
203- 'Content-Type' : 'application/json' ,
195+ const res = await suppressTracing ( ( ) =>
196+ fetch (
197+ `${
198+ // eslint-disable-next-line no-restricted-globals
199+ typeof window === 'undefined' ? 'http://localhost:3000' : '' // TODO: handle the case where users define a different port
200+ } ${ basePath } /__nextjs_original-stack-frames`,
201+ {
202+ method : 'POST' ,
203+ headers : {
204+ 'Content-Type' : 'application/json' ,
205+ } ,
206+ signal : controller . signal ,
207+ body : JSON . stringify ( postBody ) ,
204208 } ,
205- signal : controller . signal ,
206- body : JSON . stringify ( postBody ) ,
207- } ,
208- ) . finally ( ( ) => {
209- clearTimeout ( timer ) ;
210- } ) ;
209+ ) . finally ( ( ) => {
210+ clearTimeout ( timer ) ;
211+ } ) ,
212+ ) ;
211213
212214 if ( ! res . ok || res . status === 204 ) {
213215 return null ;
Original file line number Diff line number Diff line change 3939 "@opentelemetry/instrumentation" : " 0.57.2" ,
4040 "@opentelemetry/semantic-conventions" : " ^1.34.0" ,
4141 "@sentry/browser" : " 9.28.0" ,
42- "@sentry/cli" : " ^2.45 .0" ,
42+ "@sentry/cli" : " ^2.46 .0" ,
4343 "@sentry/core" : " 9.28.0" ,
4444 "@sentry/node" : " 9.28.0" ,
4545 "@sentry/react" : " 9.28.0" ,
Original file line number Diff line number Diff line change 6868 "@opentelemetry/instrumentation" : " ^0.57.2" ,
6969 "@opentelemetry/semantic-conventions" : " ^1.34.0" ,
7070 "@remix-run/router" : " 1.x" ,
71- "@sentry/cli" : " ^2.45 .0" ,
71+ "@sentry/cli" : " ^2.46 .0" ,
7272 "@sentry/core" : " 9.28.0" ,
7373 "@sentry/node" : " 9.28.0" ,
7474 "@sentry/opentelemetry" : " 9.28.0" ,
Original file line number Diff line number Diff line change 2828 "import" : " ./build/esm/index.client.js" ,
2929 "require" : " ./build/cjs/index.client.js"
3030 },
31- "node" : " ./build/cjs/index.server.js"
31+ "node" : {
32+ "import" : " ./build/esm/index.server.js" ,
33+ "require" : " ./build/cjs/index.server.js"
34+ }
3235 }
3336 },
3437 "publishConfig" : {
8386 },
8487 "volta" : {
8588 "extends" : " ../../package.json"
86- }
89+ },
90+ "sideEffects" : false
8791}
You can’t perform that action at this time.
0 commit comments