Skip to content

chore(deps-dev): upgrade to SvelteKit 3 - #21

Merged
NotAFlightRisk merged 1 commit into
mainfrom
chore/sveltekit-3
Oct 8, 2026
Merged

NotAFlightRisk merged 1 commit into
mainfrom
chore/sveltekit-3

Conversation

@NotAFlightRisk

Copy link
Copy Markdown
Owner

Category

Dependencies (plus one small fix kit 3 forced on me)

Overview

Kit 3 and adapter-node 6 each need the other, so Dependabot's two PRs could never install on their own. This moves both over in one go, with what the migrator does (#lib imports, tsconfig extending $app/tsconfig, goto with shallow in place of replaceState), and the cookie override's gone too since it was holding kit 3 back on cookie 0.7.

One thing the migrator doesn't catch: kit 3 now checks the origin on a POST with no content type, and adapter-node assumes its own origin is https. So on plain http (npx, Docker, 127.0.0.1) the rescan button got a 403. Both POSTs from the page now go out as JSON like the settings one already did, which kit leaves to the browser's CORS rules.

Issue Number

Replaces #19 and #20

Additional Info

Clicked through builds of this and main in Chromium over http. Changing the range updates the URL without a reload on both, settings save fine, and rescan is a 200 here (and a 403 if I put the old fetch back).

Some AI was use when making this

@NotAFlightRisk
NotAFlightRisk merged commit a2252c5 into main Oct 8, 2026
7 checks passed
@NotAFlightRisk
NotAFlightRisk deleted the chore/sveltekit-3 branch October 8, 2026 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant