Closed
Description
Important
Svelte 5 is not yet stable. We can't bump peer dependencies before it goes stable because we can't guarantee support yet. This issue serves as a collection of things we need to do for Svelte 5 support at this time. We can do some preparations beforehand but we won't guarantee support.
Problem Statement
Our @sentry/svelte
SDK is not fully compatible with Svelte 5. This has two reasons
- Svelte 5 requires
type: "module"
andexports
inpackage.json
- Svelte 5 no longer exports the
current_component
internal API (this was risky to use in the first place but yeah here we are...)
Solution Brainstorm
Tried a quick update today but the blocker here is that we also need to upgrade Jest or switch to vitest.
- [ ] #10311
- [ ] #10312
- [ ] https://github.com/getsentry/sentry-javascript/pull/10350
- [ ] https://github.com/getsentry/sentry-javascript/pull/11807
Metadata
Metadata
Assignees
Type
Projects
Status
No status