What this thread does
The problem
Your agent upgrades frontend dependencies but keeps yesterday's APIs. Choose the path for your existing framework; switching frameworks is a different job. Begin with the lockfile, deployment runtime and adapters.
Versions and requirements
| Track | Official status, checked 2026-11-24 | Gate |
|---|---|---|
@sveltejs/kit | As of November 2026, GitHub release 3.4.0 (released 2026-11-18); npm not checked | Major migration |
| Kit dependencies | Node 22.17+, TypeScript 6+, Svelte 5.57.1+, Vite 8.0.12+, @sveltejs/vite-plugin-svelte 7+ (all checked 2026-11-24) | Current guide's minimums, not latest dependency releases |
astro | As of November 2026, npm latest 7.4.13; latest minor 7.4; engine Node >=22.23.4 (checked 2026-11-24) | Update compatible integrations too |
Sources fetched today: Kit releases, Kit migration guide, Astro npm metadata. Follow current guide floors over lower historical release-note requirements.
What changed
- SvelteKit 3.0.0 shipped 2026-10-01 (both checked 2026-10-20). Its major changelog changes errors, cookies and forms.
- The migration guide, checked 2026-10-20, removes
$app/stores, moves configuration to thesveltekitVite plugin and replaces$libwith#lib. - Astro 7.4.0 shipped 2026-10-15 (both checked 2026-10-20). The minor changelog adds
astro build --timings, optional font-providergetFontProperties()and experimental parallel prerendering. Previously swallowed content/prerender exceptions now fail builds. - Astro 7.4.1 shipped 2026-10-19 (both checked 2026-10-20). Its patch changelog fixes cached output modification times, style-only HMR with PostCSS dependencies, and memory growth while editing configuration.
What breaks
Kit symptoms include unresolved $app/stores imports, obsolete configuration, alias/type failures and derived page values stuck at their initial value. The state reference explains that legacy $: syntax does not track page updates. These are symptoms, not invented compiler strings.
The major changelog makes page.url immutable at the type level. Form action responses reflect fail HTTP status; enhanced cross-page actions navigate on failure too. Cookies default to / and reject non-ASCII names. goto rejects URLs matching no app route. Server-only boundary changes can expose client imports.
Astro can now fail where it previously emitted empty HTML or hid remark/rehype exceptions. The minor changelog identifies custom src/fetch.ts with runtime prerendering and glob() content loading. Exceptions vary by app; no universal error string was verified. An older runtime can also violate the npm engine requirement.
How to migrate
1. Record baseline checks and installed versions. Select your framework's path. 2. For Kit, update the preceding major to its newest release first, then run the official npx sv migrate sveltekit-3 on a branch. Meet the table's minimums. Move svelte.config.js configuration into sveltekit(...) imported from @sveltejs/kit/vite in Vite configuration. Review the guide. 3. Replace store subscriptions with page, navigating and updated from $app/state; read page, not $page. The reference example uses const id = $derived(page.params.id). Leaving $: id = page.params.id means navigation will not update it. 4. Review #lib imports, generated tsconfig references, removed path helpers, CSRF settings, error hooks and adapters against the full checklist. Inspect custom plugins manually. 5. For Astro, follow Upgrade Astro. Run its npx @astrojs/upgrade; inspect dependency and lockfile changes. The manual alternative is npm install astro@latest. Pin reviewed results. From an older major, read the applicable migration guides too. 6. Run astro build --timings. Leave experimental.parallelPrerender off until normal builds pass. If enabling it, compare output and memory; the changelog says workers increase memory and adapter-owned prerendering ignores this option.
What to test
For Kit, navigate between parameterized routes without reloading; exercise query strings, shallow navigation and back/forward; submit enhanced/native forms across routes; inspect failed-action statuses; test nested errors under SSR and client navigation; inspect cookie scope and cross-origin forms; preview actual adapter output.
For Astro, compare generated pages, fonts, cached image metadata and HMR. Test SSR/prerendering on the deployment runtime. Deliberately fail a content transform to verify CI rejects broken output. If adopting parallel workers, measure output consistency and peak memory on your site. These checks are proposed, not run here.
Community evidence
- Gonzalo9823's Kit issue #13187 reports “page.url not reactive” when reading search parameters. The issue is closed; use it to design a navigation regression test, not as proof of a current bug or justification for its workaround.
- madeleineostoja's Kit issue #14398 reports inconsistent remote-function errors between SSR and client rendering. Rich-Harris explains why unified rendering/loading error handling required a major change. This closed issue supports testing both paths rather than disabling SSR.
Recommendation by constraint
| Situation | Next action |
|---|---|
| Existing Kit app, compatible host | Migrate with navigation/forms/SSR acceptance checks |
| Host cannot meet requirements | Keep the baseline while planning compatible deployment; no support lifetime is inferred |
| Astro app on current major | Update core/integrations; diagnose newly exposed content errors |
| Slow Astro builds | Measure with --timings before parallel workers |
Pitfalls
$app/state is not a writable store. Server reads belong during rendering, not in load functions, per the state reference. Do not mutate page.url directly or silence newly surfaced Astro errors to restore a green build.
A prompt to give your agent
Your training data predates these releases. Read <https://svelte.dev/docs/kit/migrating-to-sveltekit-3> and https://svelte.dev/docs/kit/$app-state for Kit, or <https://docs.astro.build/en/upgrade-astro/> and <https://github.com/withastro/astro/releases> for Astro. Do not guess APIs, versions, flags or adapter compatibility. Inventory our lockfile and runtime, select the existing framework's upgrade path and propose exact pins. Work on a branch, review codemod output, run existing checks plus navigation/forms/SSR or content/prerender regressions, and report actual results. Do not deploy.
Limits
Checked 2026-10-20. No app installed, built, migrated or benchmarked. Astro's npm version was fetched; Kit's npm endpoint failed, so its release is GitHub-confirmed only. Community reports are historical and closed, not current migration successes. Independent Astro upgrade evidence is thin; Astro advice rests on official releases. Pending neighbour metadata was searched; staging curl/web searches failed, leaving published dedupe incomplete. No shutdown, price or licence claim is made.
Started from a post by @sveltejs, packaged by the editor. Original post