Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SvelteKit 2.0 #11161

Merged
merged 81 commits into from
Dec 14, 2023
Merged

SvelteKit 2.0 #11161

merged 81 commits into from
Dec 14, 2023

Commits on Dec 1, 2023

  1. Configuration menu
    Copy the full SHA
    10d5f96 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    43a745a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    16b764c View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2023

  1. Configuration menu
    Copy the full SHA
    2379569 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2023

  1. fix: finish getting Vite 5 working (#11167)

    Co-authored-by: Tee Ming <chewteeming01@gmail.com>
    benmccann and eltigerchino authored Dec 3, 2023
    Configuration menu
    Copy the full SHA
    1e1263b View commit details
    Browse the repository at this point in the history
  2. merge master

    benmccann committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    0f169d9 View commit details
    Browse the repository at this point in the history
  3. chore: upgrade dts-buddy

    benmccann committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    5be405b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    095a966 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. breaking: use TypeScript's verbatimModuleSyntax in place of importsNo…

    …tUsedAsValues and preserveValueImports
    benmccann committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    e3d6b99 View commit details
    Browse the repository at this point in the history
  2. chore: fix lint

    benmccann committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    8637744 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d7d0b02 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8c3a992 View commit details
    Browse the repository at this point in the history
  5. breaking: @sveltejs/vite-plugin-svelte is now a peer dependency (#11184)

    ... and will need to be installed in each project using SvelteKit
    
    Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
    benmccann and dummdidumm authored Dec 4, 2023
    Configuration menu
    Copy the full SHA
    499ef6a View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. breaking: require Node 18.13 or newer (#11172)

    - breaking: require Node 18.13 or newer
    - remove polyfill option and should_polyfill
    benmccann authored Dec 5, 2023
    Configuration menu
    Copy the full SHA
    ad2db74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e0f97c8 View commit details
    Browse the repository at this point in the history
  3. chore: upgrade dependencies (#11189)

    * chore: upgrade dependencies
    
    * bump polka too
    
    * can remove ts-ignore now
    
    * bump vite-imagetools
    benmccann authored Dec 5, 2023
    Configuration menu
    Copy the full SHA
    19be5e5 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. breaking: stricter type for depends (#11201)

    require a `:` when passing a string now
    closes #9763
    dummdidumm authored Dec 7, 2023
    Configuration menu
    Copy the full SHA
    184331a View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2023

  1. Configuration menu
    Copy the full SHA
    79a08d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a07deb8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8e7cfef View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2023

  1. breaking: disallow external navigation using goto (#11207)

    * breaking: disallow external navigation using `goto` by default
    
    closes #8775
    
    * do it here instead
    
    * adjust test
    
    * remove option, TODO tests
    
    * tweak message
    
    * Update .changeset/silent-games-taste.md
    
    * add a test, remove an obsolete test
    
    * fix test
    
    * prettier
    
    * fix
    
    * Update packages/kit/src/exports/public.d.ts
    
    Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
    
    * Update packages/kit/src/runtime/client/client.js
    
    Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
    
    * fix test
    
    * DRY out
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
    4 people authored Dec 9, 2023
    Configuration menu
    Copy the full SHA
    dab9817 View commit details
    Browse the repository at this point in the history
  2. feat: allow SvelteKit 2 as peer dependency (#11233)

    * feat: allow SvelteKit 2 as peer dependency
    
    * fix
    
    * update lockfile
    benmccann authored Dec 9, 2023
    Configuration menu
    Copy the full SHA
    64cb7fa View commit details
    Browse the repository at this point in the history
  3. merge master

    Rich-Harris committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    752ce0b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ccf49f3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e2fdf7c View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2023

  1. Configuration menu
    Copy the full SHA
    9d6de50 View commit details
    Browse the repository at this point in the history
  2. breaking: Remove dangerZone.trackServerFetches (#11235)

    * breaking: Remove  and related code
    
    * changeset
    
    * remove dangerZone per discussion
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Configuration menu
    Copy the full SHA
    ffca61d View commit details
    Browse the repository at this point in the history
  3. breaking: undefined is no longer a valid value for paths.relative (#1…

    …1185)
    
    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    3 people authored Dec 10, 2023
    Configuration menu
    Copy the full SHA
    61626de View commit details
    Browse the repository at this point in the history
  4. breaking: require path when setting/deleting/serializing cookies (#…

    …11240)
    
    * resolve empty string correctly
    
    * require path when setting/deleting/serializing cookies
    
    * update types and tests
    
    * test for ""
    
    * changeset
    
    * fix
    
    * fix
    
    * lint
    
    * fix
    
    * fix
    
    * fix
    
    * update docs
    
    * only resolve same-domain paths
    
    * this is out of date
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Rich-Harris and Rich-Harris authored Dec 10, 2023
    Configuration menu
    Copy the full SHA
    c4efc26 View commit details
    Browse the repository at this point in the history
  5. chore: remove top level promise await behavior (#11176)

    * chore: deprecate top level promise await behaviour
    
    * breaking: remove top level promises await behavior
    
    * types.... err... some of it
    
    * format
    
    * fix changeset
    
    * add back reduced version of the utility type
    
    * fix test
    
    * fix test
    
    * update
    
    * changeset
    
    ---------
    
    Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
    Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    4 people authored Dec 10, 2023
    Configuration menu
    Copy the full SHA
    6ca2fdc View commit details
    Browse the repository at this point in the history
  6. merge master

    Rich-Harris committed Dec 10, 2023
    Configuration menu
    Copy the full SHA
    4e5a1f9 View commit details
    Browse the repository at this point in the history
  7. fix bad merge

    Rich-Harris committed Dec 10, 2023
    Configuration menu
    Copy the full SHA
    95aa01a View commit details
    Browse the repository at this point in the history
  8. bump dts-buddy (#11257)

    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Rich-Harris and Rich-Harris authored Dec 10, 2023
    Configuration menu
    Copy the full SHA
    4894569 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. error on uncommitted type changes (#11243)

    * error on uncommitted type changes
    
    * update types
    
    * blurgh. try this
    
    * try something
    
    * ok i think it worked
    
    * these should not be here
    
    * fix
    
    * regenerate
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Rich-Harris and Rich-Harris authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    d18f11e View commit details
    Browse the repository at this point in the history
  2. breaking: turn redirect and error into commands. Export helpers f…

    …or identifying them when caught (#11165)
    
    * feat: Do the things
    
    * changeset
    
    * better
    
    * fix: types
    
    * feat: Replace `throw redirect` with `redirect`
    
    * feat: Replace `throw error` with `error`
    
    * fix: Revert changes to migrations
    
    * fix: Internals
    
    * Update .changeset/clean-cars-kiss.md
    
    Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
    
    * fix: lint
    
    * fix jsdoc overload function description
    
    * oops accidentally overwrote these while experimenting
    
    * feat: Do the things
    
    * changeset
    
    * better
    
    * fix: types
    
    * feat: Replace `throw redirect` with `redirect`
    
    * feat: Replace `throw error` with `error`
    
    * fix: Revert changes to migrations
    
    * fix: Internals
    
    * fix: lint
    
    * Update .changeset/clean-cars-kiss.md
    
    Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
    
    * feat: Document errors thrown by error and redirect, add fancy numeric constraints
    
    * fix: meh
    
    * fix: type
    
    * fix overloaded error method jsdocs
    
    * tweak docs
    
    * tweak implementation
    
    * update types
    
    ---------
    
    Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
    Co-authored-by: Tee Ming <chewteeming01@gmail.com>
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    4 people authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    85793ab View commit details
    Browse the repository at this point in the history
  3. merge

    Rich-Harris committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    2b717e3 View commit details
    Browse the repository at this point in the history
  4. the hell

    Rich-Harris committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    02f31e3 View commit details
    Browse the repository at this point in the history
  5. feat: fine grained search param invalidation (#11258)

    * feat: allow for fine grained invalidation of search params
    
    * add other instances of search params functions and fix bindings
    
    * fix tests for make_trackable
    
    * old and new url could be null or undefined
    
    * update test
    
    * try with logs to debug tests
    
    * remove only
    
    * more logs
    
    * access searchParams before adding the getter and remove logs
    
    * add e2e tests for fine grained invalidation
    
    * fix linting
    
    * Add docs
    
    * update docs
    
    * add feature flag to avoid breaking change
    
    * Create strange-eyes-sort.md
    
    * fix config tests and typescript
    
    * Update packages/kit/src/exports/public.d.ts
    
    Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
    
    * Update packages/kit/src/utils/url.spec.js
    
    Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
    
    * Update packages/kit/src/runtime/server/respond.js
    
    Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
    
    * Update documentation/docs/20-core-concepts/20-load.md
    
    Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
    
    * Update documentation/docs/20-core-concepts/20-load.md
    
    Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
    
    * remove todos and function check
    
    * update check_search_params_changed logic to handle multiple search params
    
    * specify where to set fineGrainedSearchParamsInvalidation
    
    * use vite define to access fine grained config
    
    * remove config since will be on the 2.0 milestone
    
    * more conservative warning
    
    * shrink code slightly
    
    * only create tracked searchParams once
    
    * this feels more readable
    
    * simplify
    
    * simplify
    
    * fewer tests
    
    * ugh prettier
    
    * tweak docs
    
    * tweak
    
    * tweak
    
    * oops, backwards
    
    ---------
    
    Co-authored-by: paoloricciuti <ricciutipaolo@gmail.com>
    Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    4 people authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    6421015 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    608e3ef View commit details
    Browse the repository at this point in the history
  7. fix: Adjust fail method and ActionFailure type (#11260)

    * fix: Adjust fail method and ActionFailure type
    
    - add ActionFailure interface and use that publicly instead of the class. Prevents the false impression that you could do "instanceof" on the return type, fixes #10361
    - add uniqueSymbol to ActionFailure instance so we can distinguish it from a regular return with the same shape
    - fix setup to actually run test/types
    
    * test
    
    * regenerate types
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    dummdidumm and Rich-Harris authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    c59375c View commit details
    Browse the repository at this point in the history
  8. breaking: stricter route validation, more correct config resolution (#…

    …11256)
    
    * fix get_config
    
    * oops
    
    * fix, changeset
    
    * always validate server exports
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Rich-Harris and Rich-Harris authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    aedb572 View commit details
    Browse the repository at this point in the history
  9. feat: provide SvelteKit html typings (#11222)

    This makes it possible to delete these from svelte/elements in Svelte 5 and have them controled in SvelteKit, decoupling the two
    closes #10534
    dummdidumm authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    a93a39f View commit details
    Browse the repository at this point in the history
  10. feat: v2 migration helpers (#11199)

    * move reusable stuff into utils
    
    * start of kit v2 migration - remove throw from redirect/error
    
    * docs (WIP)
    
    * migrate tsconfig
    
    * Update documentation/docs/60-appendix/11-v2-migration-guide.md
    
    * add goto to migration guide
    
    * prettier
    
    * mentiond `dangerZone.trackServerFetches`
    
    * update migration docs
    
    * shuffle files around
    
    * oops
    
    * tweak docs
    
    * tweak some wording
    
    * fix semver comparison
    
    * more docs
    
    * tsconfig and package.json changes
    
    * add migration note on cookies
    
    * svelte config migration
    
    * failed attempt to inject cookie comment
    
    * cookie note
    
    * adjust note
    
    * lint
    dummdidumm authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    8a80190 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ac6c3cb View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Configuration menu
    Copy the full SHA
    e9b968a View commit details
    Browse the repository at this point in the history
  2. chore: fix cookie migration hints (#11262)

    also migrate test suite towards more readable .md format
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
    3 people authored Dec 12, 2023
    Configuration menu
    Copy the full SHA
    4aad0b9 View commit details
    Browse the repository at this point in the history
  3. docs: fix typo

    dummdidumm committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    bc88038 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    63ad25a View commit details
    Browse the repository at this point in the history
  5. breaking: remove resolvePath (#11265)

    closes #10282
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
    3 people authored Dec 12, 2023
    Configuration menu
    Copy the full SHA
    6f6fa38 View commit details
    Browse the repository at this point in the history
  6. breaking: require paths pass to preloadCode to be prefixed with bas…

    …epath (#11259)
    
    Additionally, `preloadCode` now takes a single argument rather than _n_ arguments.
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
    3 people authored Dec 12, 2023
    Configuration menu
    Copy the full SHA
    408f6c2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9c42232 View commit details
    Browse the repository at this point in the history
  8. generate __data.json files as siblings of .html files (#11269)

    * generate __data.json files as siblings of .html files
    
    * duplicate cookies in .html case
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Rich-Harris and Rich-Harris authored Dec 12, 2023
    Configuration menu
    Copy the full SHA
    a2fe7ab View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a7ed70c View commit details
    Browse the repository at this point in the history
  10. feat: enable vercel image optimization (#8667)

    Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
    lettucebowler and benmccann authored Dec 12, 2023
    Configuration menu
    Copy the full SHA
    85e32d9 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. chore: bump deps (#11279)

    * bump deps
    
    * show changes
    
    * format
    
    * regenerate types
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Rich-Harris and Rich-Harris authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    20c7f32 View commit details
    Browse the repository at this point in the history
  2. merge master

    Rich-Harris committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    2543938 View commit details
    Browse the repository at this point in the history
  3. format

    Rich-Harris committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    3529e4c View commit details
    Browse the repository at this point in the history
  4. chore: remove obsolete test (#11285)

    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Rich-Harris and Rich-Harris authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    697aa0b View commit details
    Browse the repository at this point in the history
  5. chore: fix paths.relative type (#11284)

    * chore: fix paths.relative type
    
    * regenerate types
    
    * format
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Rich-Harris and Rich-Harris authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    8f26d9c View commit details
    Browse the repository at this point in the history
  6. merge master

    Rich-Harris committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    e0b7373 View commit details
    Browse the repository at this point in the history
  7. fix

    Rich-Harris committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    122c94e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    76006b6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4dc6aec View commit details
    Browse the repository at this point in the history
  10. breaking: serve public env dynamically, prevent use of dynamic env va…

    …rs during prerendering (#11277)
    
    * create _env.js dynamic module
    
    * tidy up
    
    * tidy up
    
    * allow %sveltekit.env.PUBLIC_FOO% to bypass proxy
    
    * add config option
    
    * update test
    
    * docs
    
    * apply same restriction to dynamic/private
    
    * separate comments
    
    * drive-by: partially fix message
    
    * tweak
    
    * update test
    
    * add test
    
    * migration notes
    
    * preload _env.js when appropriate
    
    * fix adapter-static tests
    
    * expose generateEnvModule method for adapter-static
    
    * check
    
    * windows
    
    * wow i really hate windows
    
    * bump adapter-static peer dependency
    
    * remove obsolete comment
    
    * changeset
    
    * doh
    
    * bump adapter-static as part of migration
    
    * update migration docs
    
    * reuse appDir instead of polluting everything
    
    * regenerate types
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Rich-Harris and Rich-Harris authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    9439190 View commit details
    Browse the repository at this point in the history
  11. breaking: fix path resolution (#11276)

    * breaking: fix path resolution
    
    * use prettier they said, it will make development faster they said
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Rich-Harris and Rich-Harris authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    04fecb7 View commit details
    Browse the repository at this point in the history
  12. feat: redact internal stack trace when reporting config errors (#11292)

    * feat: redact internal stack trace when reporting config errors
    
    * lint
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Rich-Harris and Rich-Harris authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    c17b4c9 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    0336881 View commit details
    Browse the repository at this point in the history
  14. breaking: remove baseUrl fallback from generated tsconfig (#11294)

    - don't generate baseUrl anymore and don't adjust paths anymore depending on whether or not the user has paths in their tsconfig.json
    - more strict validation: warn on baseUrl/paths and suggest kit.alias instead
    
    closes #11286
    dummdidumm authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    0aee881 View commit details
    Browse the repository at this point in the history
  15. lint

    Rich-Harris committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    4f71ea1 View commit details
    Browse the repository at this point in the history
  16. breaking: stop re-exporting vitePreprocess (#11297)

    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
    3 people authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    4542e68 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    57be35a View commit details
    Browse the repository at this point in the history
  18. breaking: tighten up error handling (#11289)

    * breaking: tighten up error handling
    
    Introduces a NonFatalError object that is used internally and that is user-detectable in handleError
    
    * how did this happen
    
    * fix tests
    
    * lint
    
    * types
    
    * adjust wording (is this even a breaking change now?)
    
    * adjust
    
    * pass status and message to handleError
    
    * Apply suggestions from code review
    
    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    
    * lint
    
    * Update documentation/docs/30-advanced/20-hooks.md
    
    Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
    
    * lint
    
    * simplify example
    
    * tweak docs
    
    * Update documentation/docs/30-advanced/20-hooks.md
    
    * various tweaks. we can be less duplicative i think
    
    * tweak
    
    * tweak
    
    * handle too large body after streaming has started
    
    * cancel stream from the inside if content-length exceeds limit
    
    * remove unnecessary try-catch, bump adapter-node/adapter-vercel majors
    
    * migration docs
    
    * tweak/fix tests
    
    * fix more
    
    * more
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
    4 people authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    7718d0f View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. docs: fix wording, note SvelteKit 1.x behavior (#11301)

    * docs: fix wording, note SvelteKit 1.x behavior
    
    * oops
    
    * tweaks
    
    * tweak
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    dummdidumm and Rich-Harris authored Dec 14, 2023
    Configuration menu
    Copy the full SHA
    150c49c View commit details
    Browse the repository at this point in the history
  2. merge master

    Rich-Harris committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    9482505 View commit details
    Browse the repository at this point in the history
  3. gah

    Rich-Harris committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    574e33f View commit details
    Browse the repository at this point in the history
  4. add failing cross-platform server test (#11303)

    * add failing cross-platform server test
    
    * this seems to fix it
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Rich-Harris and Rich-Harris authored Dec 14, 2023
    Configuration menu
    Copy the full SHA
    91fd465 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fedb08e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a00183a View commit details
    Browse the repository at this point in the history
  7. Shallow routing (#11307)

    * shallow routing
    
    * add types
    
    * drive-by fix - bad merge
    
    * warn on use of history.pushState and history.replaceState
    
    * regenerate types
    
    * make url the first argument, even though it's optional — this is more future-proof, as we may add options in future
    
    * tests
    
    * remove state from goto
    
    * tidy up
    
    * tidy up internal navigate API a bit
    
    * more
    
    * use current.url for invalidation, not location.href
    
    * add docs
    
    * copy-paste fail
    
    * on second thoughts
    
    * links
    
    * link
    
    * regenerate types
    
    * update preloadData docs
    
    * fix preloadData docs
    
    * drive-by fix
    
    * Apply suggestions from code review
    
    Co-authored-by: Ignatius Bagus <ignatius.mbs@gmail.com>
    
    * tweaks
    
    * changeset, breaking change docs
    
    * code-golf
    
    * this seems unnecessary
    
    * mention preloadData
    
    * use original replace state
    
    * oops
    
    * handle SPA case
    
    * more involved example - show importing a +page.svelte and correctly handling a click event, and avoid
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
    Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
    Co-authored-by: Ignatius Bagus <ignatius.mbs@gmail.com>
    Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
    6 people authored Dec 14, 2023
    Configuration menu
    Copy the full SHA
    052adf9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5c89490 View commit details
    Browse the repository at this point in the history
  9. chore: check range is valid (#11312)

    * chore: check range is valid
    
    * level 0
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
    3 people authored Dec 14, 2023
    Configuration menu
    Copy the full SHA
    234eab6 View commit details
    Browse the repository at this point in the history