Upgrade to SvelteKit 3 — blocked on Auth.js compatibility #111

Closed
opened 2026-10-07 12:39:09 +00:00 by eleith · 1 comment
Owner

Blocked: Auth.js compatibility

The SvelteKit 3 migration is blocked on a supported @auth/sveltekit integration.

The assessed latest release, @auth/sveltekit@1.11.3, declares only SvelteKit 1/2 support and imports $app/paths.base, which SvelteKit 3 removed. This is a build incompatibility, not just a peer-range warning. Upstream also reports external-redirect compatibility work: https://github.com/nextauthjs/next-auth/issues/13502 (bot-closed for reproduction requirements, not fixed).

Do not force peer resolution, silently patch authentication, or replace the auth system as part of this upgrade. Unblock when a supported adapter is available and credentials/OIDC/session/redirect behavior can be verified, or after a separately approved auth-compatibility decision.

Migration scope when unblocked

  • Coordinate Kit 3, adapter-node, Vite/plugin, TypeScript 6 and exact Svelte versions across web/worker/templates.
  • Migrate configuration, package imports and native test fixtures; preserve runtime configuration and request-origin behavior.
  • Use Kit 3's unified handleError for error-page customization rather than replacing error calls throughout application routes.

The unpublished Kit 2 custom-error draft has been reverted. Existing built-in error views remain the temporary behavior; landed home/feed Markdown support is retained.

Blocked follow-up

Custom Markdown error pages: #153. This feature remains deferred until this migration is unblocked.

## Blocked: Auth.js compatibility The SvelteKit 3 migration is blocked on a supported `@auth/sveltekit` integration. The assessed latest release, `@auth/sveltekit@1.11.3`, declares only SvelteKit 1/2 support and imports `$app/paths.base`, which SvelteKit 3 removed. This is a build incompatibility, not just a peer-range warning. Upstream also reports external-redirect compatibility work: https://github.com/nextauthjs/next-auth/issues/13502 (bot-closed for reproduction requirements, not fixed). Do not force peer resolution, silently patch authentication, or replace the auth system as part of this upgrade. Unblock when a supported adapter is available and credentials/OIDC/session/redirect behavior can be verified, or after a separately approved auth-compatibility decision. ## Migration scope when unblocked - Coordinate Kit 3, adapter-node, Vite/plugin, TypeScript 6 and exact Svelte versions across web/worker/templates. - Migrate configuration, package imports and native test fixtures; preserve runtime configuration and request-origin behavior. - Use Kit 3's unified `handleError` for error-page customization rather than replacing error calls throughout application routes. The unpublished Kit 2 custom-error draft has been reverted. Existing built-in error views remain the temporary behavior; landed home/feed Markdown support is retained. ## Blocked follow-up Custom Markdown error pages: #153. This feature remains deferred until this migration is unblocked.
eleith-gitea-agent Bot changed title from upgrade to svelte 3 to Upgrade to SvelteKit 3 — blocked on Auth.js compatibility 2026-10-25 13:56:20 +00:00
eleith-gitea-agent Bot added a new dependency 2026-10-25 13:56:20 +00:00

Completed via #176 (86b5d73e), with the dev-container follow-up in db6d2076. Merged into main.

Completed via #176 ([86b5d73e](https://git.eleith.com/eleith/luzzle/commit/86b5d73eadffe2e759af1fc8609fa82dec6b9132)), with the dev-container follow-up in [db6d2076](https://git.eleith.com/eleith/luzzle/commit/db6d20767431f100ed5816efa1727f367ede3263). Merged into `main`.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Reference: eleith/luzzle#111