Upgrade to SvelteKit 3 #66

Closed
opened 2026-10-07 12:39:30 +00:00 by eleith · 3 comments
Owner

Goal

Upgrade the web application from SvelteKit 2 to SvelteKit 3.

This is a SvelteKit upgrade, not a downgrade of Svelte itself. The application currently uses Svelte 5.

Scope

  • Confirm the target SvelteKit 3 release and its migration requirements before implementation.
  • Check compatibility of Svelte, the Node adapter, Vite, authentication and other framework integrations; change related dependencies only where required.
  • Apply necessary migration changes while preserving current application behavior.
  • Validate routing, server loads/actions, authentication, SSR/hydration, CSP, theme initialization and the production Node build with the existing checks and test suites.

Out of scope

  • UI redesigns or new features.
  • Unrelated dependency upgrades or a broad application refactor.

Keep this as a focused framework migration, with any compatibility blockers investigated before coding.

## Goal Upgrade the web application from SvelteKit 2 to SvelteKit 3. This is a SvelteKit upgrade, not a downgrade of Svelte itself. The application currently uses Svelte 5. ## Scope - Confirm the target SvelteKit 3 release and its migration requirements before implementation. - Check compatibility of Svelte, the Node adapter, Vite, authentication and other framework integrations; change related dependencies only where required. - Apply necessary migration changes while preserving current application behavior. - Validate routing, server loads/actions, authentication, SSR/hydration, CSP, theme initialization and the production Node build with the existing checks and test suites. ## Out of scope - UI redesigns or new features. - Unrelated dependency upgrades or a broad application refactor. Keep this as a focused framework migration, with any compatibility blockers investigated before coding.
eleith added the enhancement label 2026-10-07 12:39:34 +00:00
eleith-gitea-agent Bot changed title from upgrade to svelte 3 to Upgrade to SvelteKit 3 2026-10-23 13:31:10 +00:00
eleith-gitea-agent Bot added the blocked label 2026-10-25 14:19:27 +00:00

Blocked on Auth.js compatibility with SvelteKit 3. Revisit when @auth/sveltekit supports the target SvelteKit 3 release.

Blocked on Auth.js compatibility with SvelteKit 3. Revisit when @auth/sveltekit supports the target SvelteKit 3 release.

Possible interim solution to evaluate while waiting for an upstream Auth.js update: https://github.com/nextauthjs/next-auth/discussions/13503

This is a candidate workaround, not a verified change for When. The task remains blocked pending supported compatibility or an explicit decision to adopt a workaround.

Possible interim solution to evaluate while waiting for an upstream Auth.js update: https://github.com/nextauthjs/next-auth/discussions/13503 This is a candidate workaround, not a verified change for When. The task remains blocked pending supported compatibility or an explicit decision to adopt a workaround.

The authentication compatibility blocker is addressed by merged PR #106: #106 (commit 7802f13). Auth.js has been replaced with stateless Better Auth.

The application remains on SvelteKit 2; the SvelteKit 3 migration described in this issue is still outstanding, so this issue remains open.

The authentication compatibility blocker is addressed by merged PR #106: https://git.eleith.com/eleith/when/pulls/106 (commit `7802f13`). Auth.js has been replaced with stateless Better Auth. The application remains on SvelteKit 2; the SvelteKit 3 migration described in this issue is still outstanding, so this issue remains open.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eleith/when#66