Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/sveltekit
SDK Version
@sentry/sveltekit 10.65.0
Framework Version
^@sveltejs/kit@next.7
Link to Sentry event
No response
Reproduction Example/SDK Setup
Sentry.init({
dsn: PUBLIC_SENTRY_DSN,
tracesSampleRate: 1.0,
environment: PUBLIC_APP_ENV,
release: PUBLIC_RELEASE_VERSION ?? "undefined",
dist: "server",
});
Steps to Reproduce
- Upgrade to SvelteKit 3 prerelease 7 or newer (https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%403.0.0-next.7)
- launch build with sentry init
- build succeeds, but crashes client-side in browser:
Uncaught (in promise) Error: $app/storeshas been removed in favour of$app/state. See https://svelte.dev/docs/kit/migrating-to-sveltekit-2#SvelteKit-2.12:-$app-stores-deprecated
Expected Result
Migration to $app/state and deprecate Svelte 4 support.
Actual Result
Uncaught (in promise) Error: $app/storeshas been removed in favour of$app/state. See https://svelte.dev/docs/kit/migrating-to-sveltekit-2#SvelteKit-2.12:-$app-stores-deprecated
Additional Context
sveltejs/kit#15499
sveltejs/kit#15406
Priority
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/sveltekit
SDK Version
@sentry/sveltekit 10.65.0
Framework Version
^@sveltejs/kit@next.7
Link to Sentry event
No response
Reproduction Example/SDK Setup
Sentry.init({
dsn: PUBLIC_SENTRY_DSN,
tracesSampleRate: 1.0,
environment: PUBLIC_APP_ENV,
release: PUBLIC_RELEASE_VERSION ?? "undefined",
dist: "server",
});
Steps to Reproduce
Uncaught (in promise) Error:$app/storeshas been removed in favour of$app/state. See https://svelte.dev/docs/kit/migrating-to-sveltekit-2#SvelteKit-2.12:-$app-stores-deprecatedExpected Result
Migration to $app/state and deprecate Svelte 4 support.
Actual Result
Uncaught (in promise) Error:$app/storeshas been removed in favour of$app/state. See https://svelte.dev/docs/kit/migrating-to-sveltekit-2#SvelteKit-2.12:-$app-stores-deprecatedAdditional Context
sveltejs/kit#15499
sveltejs/kit#15406
Priority
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding
+1orme too, to help us triage it.