Skip to content

docs: update tutorial for SvelteKit 3 - #2232

Merged
teemingc merged 2 commits into
nextfrom
kit-3-tutorial-next
Sep 23, 2026
Merged

teemingc merged 2 commits into
nextfrom
kit-3-tutorial-next

Conversation

@dummdidumm

Copy link
Copy Markdown
Member
  • $lib -> #lib
  • cookies now / by default
  • handleError now accepting all kinds of errors
  • version polling different behavior now
  • invalidateAll -> refreshAll
  • $env/... -> $app/env/...
  • some redirects

- `$lib` -> `#lib`
- cookies now `/` by default
- `handleError` now accepting all kinds of errors
- version polling different behavior now
- `invalidateAll` -> `refreshAll`
- `$env/...` -> `$app/env/...`
- some redirects
@vercel

vercel Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
next-svelte-dev Ready Ready Preview Sep 23, 2026 3:10pm UTC
svelte-dev Ready Ready Preview Sep 23, 2026 3:10pm UTC

@teemingc

Copy link
Copy Markdown
Member

The “reading and writing cookies” page might need to revise one sentence:

the options passed to cookies.get and cookies.set correspond to the parse and serialize options from the cookie documentation.

this is no longer true. We’ve stuck to their old function signatures while they have completely changed them and the function names in newer majors

@teemingc teemingc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM except the one comment above

@teemingc
teemingc merged commit b003333 into next Sep 23, 2026
4 checks passed
@teemingc
teemingc deleted the kit-3-tutorial-next branch September 23, 2026 15:33
@Rich-Harris

Copy link
Copy Markdown
Member

uhhhhh why hasn't next.svelte.dev updated? 🤔

@Rich-Harris

Copy link
Copy Markdown
Member

oh right because next has merge conflicts with main. fixing

elliott-with-the-longest-name-on-github pushed a commit that referenced this pull request Oct 1, 2026
* update kit docs

* bump kit

* fix link

* merge main

* Sync `kit` next docs (#2137)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com>

* chore: update soon-to-be-broken AMP link (#2141)

* Sync `kit` next docs (#2140)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* add adapter-auto for the sake of types in the docs

* Sync `kit` next docs (#2142)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* bump kit

* always fence example snippets

* chore: bump kit (#2150)

* Sync `kit` next docs (#2147)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* fix: 404 on bad docs link (#2151)

* Sync `kit` next docs (#2152)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* Sync `kit` next docs (#2153)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* fix links

* Sync `kit` next docs (#2155)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com>

* Sync `kit` next docs (#2159)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com>

* remove config module (#2169)

* add adapter-auto

* fix

* fix links

* kill me now

* fix

* fix

* ffs vs code the dollar sign is not a delimiter! do not add a second one if i type a first! you absolute muppet

* Sync `kit` next docs (#2166)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com>

* allow type blocks to specify a depth, so that Private Types dont take up so much room

* update some links

* Sync `kit` next docs (#2170)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com>

* Sync `kit` next docs (#2175)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* Sync `kit` next docs (#2176)

* sync Kit next docs

* fix link

---------

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com>

* Sync `kit` next docs (#2177)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* Sync `kit` next docs (#2180)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* Sync `kit` next docs (#2181)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* Sync `kit` next docs (#2182)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* Sync `kit` next docs (#2184)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* chore: install adapter-bun (#2186)

Co-authored-by: ComputerGuy <63362464+Ocean-OS@users.noreply.github.com>

* bump kit and dedupe types

* Update pnpm-lock.yaml

* restore sv

* Sync `kit` next docs (#2188)

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* Sync `kit` next docs (#2219)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* Sync `kit` next docs (#2221)

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* Sync `kit` next docs (#2224)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* Sync `kit` next docs (#2230)

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* docs: update tutorial for SvelteKit 3 (#2232)

* Sync `kit` next docs (#2233)

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* Sync `kit` next docs (#2234)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* Sync `kit` next docs (#2235)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* bump

* tutorial: minor tweaks (#2238)

* Sync `kit` next docs (#2236)

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* Trigger Build

* try to fix deployments

* docs: remove `path: '/'` from cookie examples (#2242)

* Sync `kit` next docs (#2244)

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
Co-authored-by: Tee Ming <chewteeming01@gmail.com>

* fix: add vercel automation bypass (#2247)

* .

* ??

* .

* huh

* handleFetch

* try this

* remove logging

* apparently this is necessary?

* docs: use "app" and "unknown" terminology (#2243)

adjust wording

* lockfile

* chore: noindex (#2254)

* fix: render Kit adapter heading in expanded type docs (#2258)

fix: render expanded type headings after comments

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Sync `kit` next docs (#2262)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

* tutorial: more fixes (#2256)

* tutorial: more fixes

* Update apps/svelte.dev/content/tutorial/04-advanced-sveltekit/05-advanced-loading/01-universal-load-functions/index.md

Co-authored-by: Tee Ming <chewteeming01@gmail.com>

---------

Co-authored-by: Tee Ming <chewteeming01@gmail.com>

* fix docs

* explain how to specify branch when syncing docs

* update type deps

* Sync `kit` next docs (#2274)

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
Co-authored-by: Tee Ming Chew <chewteeming01@gmail.com>

* feat: individual pages for Kit errors (#2275)

Co-authored-by: Tee Ming Chew <chewteeming01@gmail.com>

* Sync `kit` next docs (#2278)

sync Kit next docs

Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
Co-authored-by: ComputerGuy <63362464+Ocean-OS@users.noreply.github.com>
Co-authored-by: Tee Ming Chew <chewteeming01@gmail.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

This branch was successfully deployed

2 active deployments
Preview – next-svelte-dev — 46fafd9e Deployed Sep 23, 2026 by vercel[bot]
Preview – svelte-dev — 46fafd9e Deployed Sep 23, 2026 by vercel[bot]
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.

3 participants