Skip to content

docs: add migration guide#16505

Draft
dummdidumm wants to merge 3 commits into
version-3from
kit-3-migration-guide
Draft

docs: add migration guide#16505
dummdidumm wants to merge 3 commits into
version-3from
kit-3-migration-guide

Conversation

@dummdidumm

@dummdidumm dummdidumm commented Jul 24, 2026

Copy link
Copy Markdown
Member

WIP, a few breaking changes are likely not included yet, and some wording / code snippets need a few tweaks likely

closes #16173

@pkg-svelte-dev

pkg-svelte-dev Bot commented Jul 24, 2026

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from b7d67c8:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/b7d67c870ca676b0a67030f12948360e3e26cf64

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/kit/pr/16505

@changeset-bot

changeset-bot Bot commented Jul 24, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: b7d67c8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@svelte-docs-bot

Copy link
Copy Markdown

Comment thread documentation/docs/60-appendix/35-migrating-to-sveltekit-3.md Outdated
Comment thread documentation/docs/60-appendix/35-migrating-to-sveltekit-3.md Outdated
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
@teemingc
teemingc marked this pull request as draft July 24, 2026 22:25
Comment on lines +155 to +156
---throw redirect(307, 'https://example.com');---
+++throw redirect(307, 'https://example.com', { external: true });+++

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

redirect(...) calls are thrown by SvelteKit

Suggested change
---throw redirect(307, 'https://example.com');---
+++throw redirect(307, 'https://example.com', { external: true });+++
---redirect(307, 'https://example.com');---
+++redirect(307, 'https://example.com', { external: true });+++

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.

Add SvelteKit 3 migration docs

2 participants