Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sveltejs/kit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @sveltejs/adapter-auto@1.0.0-next.64
Choose a base ref
...
head repository: sveltejs/kit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: @sveltejs/adapter-auto@1.0.0-next.65
Choose a head ref

Commits on Jul 26, 2022

  1. Copy the full SHA
    288709c View commit details
  2. Copy the full SHA
    06c9559 View commit details
  3. Version Packages (next) (#5721)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Jul 26, 2022
    Copy the full SHA
    3d801d2 View commit details

Commits on Jul 28, 2022

  1. [feat] add DOM.Iterable to tsconfig (#5734)

    Available in all recent browsers. Closes #5733
    mrkldshv authored Jul 28, 2022
    Copy the full SHA
    1d516a7 View commit details
  2. Copy the full SHA
    44c9722 View commit details

Commits on Jul 29, 2022

  1. Version Packages (next) (#5744)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Jul 29, 2022
    Copy the full SHA
    db41520 View commit details
  2. Copy the full SHA
    e297259 View commit details
  3. feat: reference kit types in ambient file (#5745)

    * feat: reference kit types in ambient file
    
    * chore: rename module and functions to write_ambient
    
    * Update .changeset/tricky-moose-sip.md
    
    Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
    mrkldshv and dummdidumm authored Jul 29, 2022
    Copy the full SHA
    584da9a View commit details
  4. fix: $env/*/private throws for client-side imports on Windows and T…

    …ailwind doesn't freak out (#5739)
    
    * fix: Normalize paths so things work on Windows
    
    * fix: utils tests
    
    * feat: Changeset
    
    * fix: Use Vite's normalizePath
    
    * fix: Ignore non-js|ts|svelte file extensions in dev module analysis
    
    * feat: Update changeset
    
    * chore: Better file extension list
    
    * fix: no camelcase :(
    
    * fix: Consider config module extensions
    Copy the full SHA
    05c6ad8 View commit details
  5. fix: check url protocol instead of origin (#5726)

    * fix: check url protocol instead of origin
    
    * chore: add changeset
    
    * Update packages/kit/src/runtime/client/client.js
    
    Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
    wabilin and benmccann authored Jul 29, 2022
    Copy the full SHA
    4e357dd View commit details
  6. Version Packages (next) (#5757)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Jul 29, 2022
    Copy the full SHA
    3240252 View commit details
  7. Update dependency @types/mime to v3 (#5758)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 29, 2022
    Copy the full SHA
    fb3b521 View commit details
  8. Update PULL_REQUEST_TEMPLATE.md (#5759)

    * Update PULL_REQUEST_TEMPLATE.md
    
    * Update PULL_REQUEST_TEMPLATE.md
    Rich-Harris authored Jul 29, 2022
    Copy the full SHA
    1e0bcef View commit details

Commits on Jul 31, 2022

  1. Update pnpm to v7.7.1 (#5753)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 31, 2022
    Copy the full SHA
    d7386d9 View commit details
  2. Update pnpm to v7.8.0 (#5764)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 31, 2022
    Copy the full SHA
    cebad2d View commit details
  3. Postinstall sync (#5760)

    * fix: use postinstall hook to run sync instead of prepare
    
    * chore: fix format
    
    * fix: add detection to workspace'd kit - in a very ugly way
    
    * update check scripts to compensate for lack of postinstall
    
    * see if this works
    
    * add --ignore-scripts
    
    * here too
    
    * try this
    
    * add check for prepare script
    
    * make it possible to use src cli to test sync changes
    
    * update wording of prepare script message
    
    Co-authored-by: dominikg <dominik.goepel@gmx.de>
    Rich-Harris and dominikg authored Jul 31, 2022
    Copy the full SHA
    ef6d42b View commit details
  4. Version Packages (next) (#5765)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Jul 31, 2022
    Copy the full SHA
    deeece6 View commit details
  5. fix sync scripts (#5768)

    Rich-Harris authored Jul 31, 2022
    Copy the full SHA
    ff8c6b3 View commit details
  6. [fix] more robust aliasing (#5582)

    * change alias semantics
    
    * adjust tsconfig, add TODO for missing implementation
    
    * tidy up tsconfig path aliases + test
    
    * implement kit.alias -> vite.resolve.alias transformation
    
    * changeset
    
    * Update packages/kit/src/core/sync/write_tsconfig.js
    
    Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
    
    * readability
    
    * add $env aliases
    
    * update docs
    
    * adjust docs
    
    Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
    Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
    Co-authored-by: Rich Harris <hello@rich-harris.dev>
    4 people authored Jul 31, 2022
    Copy the full SHA
    73fe63b View commit details
  7. Version Packages (next) (#5770)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Jul 31, 2022
    Copy the full SHA
    fb9d602 View commit details
  8. [fix] update CWD before running postinstall sync (#5771)

    * update CWD before running postinstall sync
    
    * add changeset
    
    * add back display of full path of missing config file
    Conduitry authored Jul 31, 2022
    Copy the full SHA
    db6befd View commit details
  9. Version Packages (next) (#5772)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Jul 31, 2022
    Copy the full SHA
    ca9fbfa View commit details

Commits on Aug 3, 2022

  1. fix: Prevent import cycles from crashing build (#5794)

    * fix: Prevent import cycles from crashing build
    
    * Changeset
    Copy the full SHA
    3aa466d View commit details
  2. (docs) Fix env-dynamic-private link (#5795)

    * Fix broken link
    
    * Add changeset
    
    * remove changeset
    
    Co-authored-by: Rich Harris <hello@rich-harris.dev>
    richarddavenport and Rich-Harris authored Aug 3, 2022
    Copy the full SHA
    635062a View commit details
  3. Version Packages (next) (#5798)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Aug 3, 2022
    Copy the full SHA
    5cdc20e View commit details
  4. Copy the full SHA
    23f59b4 View commit details
  5. Version Packages (next) (#5805)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Aug 3, 2022
    Copy the full SHA
    a575786 View commit details

Commits on Aug 4, 2022

  1. Copy the full SHA
    69deeb7 View commit details
  2. Migration script (#5773)

    * skeleton
    
    * add moved info to files to be able to rewrite imports later
    
    * add magic-string, start load extraction and manipulation logic
    
    * move migration logic into new svelte-migrate package
    
    * remove commented code
    
    * lockfile
    
    * move components, extract load
    
    * +page.server.js and +server.js
    
    * remove unused code
    
    * uncomment prompt
    
    * add some errors
    
    * fix detection
    
    * consistent casing
    
    * not sure if typescript will ever fail to parse, but in any case its handled now
    
    * handle error with module context
    
    * add some comments
    
    * fix dynamic import on windows, fix js/ts file ending, handle index.json.js endpoint case
    
    * extract imports into Svelte migration task for QOL, don't adjust imports in standalone index edge case
    
    * show message either way, could be other things gone wrong
    
    * windooows
    
    * more sophisticated auto migrations
    - unpack props/body
    - redirect/error in load
    - standalone endpoint
    
    * fix regex, dont show props message on error page, more sophisticated error/redirect checks, set-cookie suggestion
    
    * pretend to make this more readable
    
    * adjust import location for error and redirect
    
    * only show short automigration message on success, only migrate where we are confident it works, annotate non-migrated return statements, handle export { X } case
    
    * shorten redirect/error if no second argument given
    
    * use git mv if available
    
    * remove unused dep
    
    * determine whether or not to use git upfront
    
    * add recommended next steps
    
    * tweak
    
    * i think we can omit the comment for successful automigrations
    
    * move code into separate modules, to make stuff easier to test
    
    * add the beginnings of a test suite
    
    * fix read_samples
    
    * only add page level migration task if something went wrong
    
    * tweak migrate_page function, add some tests
    
    * ugh
    
    * only inject error when necessary
    
    * add migrate_page_server test file
    
    * preserve semicolons
    
    * refactor a bit, allow +page.server.js to get away without any migration task errors if all goes well
    
    * oops
    
    * handle arrow functions
    
    * add test file for +server.js, only print file-level warning if we give up
    
    * remove some no-longer-used code
    
    * DRY out
    
    * small cosmetic tweak
    
    * simplify
    
    * make check case-insensitive
    
    * more tests
    
    * fix test
    
    * refactor slightly
    
    * handle some more cases
    
    * handle case where status: 200 is returned from GET
    
    * move error where it belongs
    
    * all tests passing
    
    * reuse keys
    
    * fix
    
    * fix 400 error status bug, support throw statement on arrow function, support server arrow function migration, extract migration into own file and add tests
    
    * add is_new helper, handle more cases
    
    * leave new Response alone
    
    * handle some more Response cases
    
    * fix commenting logic, handle multiline headers
    
    * oops
    
    * move some logic
    
    * remove module context altogether if safe, leave error if not
    
    * remove some no-longer-used code
    
    * oops
    
    Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
    Rich-Harris and dummdidumm authored Aug 4, 2022
    Copy the full SHA
    743f1c0 View commit details
  3. Copy the full SHA
    b901efe View commit details
  4. Version Packages (next) (#5818)

    * Version Packages (next)
    
    * Update CHANGELOG.md
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    3 people authored Aug 4, 2022
    Copy the full SHA
    5b6a59c View commit details
  5. Copy the full SHA
    0357a45 View commit details
  6. Version Packages (next) (#5821)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Aug 4, 2022
    Copy the full SHA
    5cd8385 View commit details

Commits on Aug 5, 2022

  1. [fix] harden migration around imports (#5828)

    * harden declared logic around imports: remove type only load imports, handle imports with same name as load exports, bail on export *, handle undefined declared map.
    
    * changeset
    dummdidumm authored Aug 5, 2022
    Copy the full SHA
    6abbdd7 View commit details
  2. Copy the full SHA
    37a283b View commit details

Commits on Aug 6, 2022

  1. [fix] check load function input (#5838)

    .. and migrate props to data: props automatically
    dummdidumm authored Aug 6, 2022
    Copy the full SHA
    4b75a5a View commit details
  2. [chore] get rid of remove_svelte_kit (#5839)

    * [chore] get rid of remove_svelte_kit
    
    * format
    
    * Create dull-pants-return.md
    
    Co-authored-by: Rich Harris <hello@rich-harris.dev>
    benmccann and Rich-Harris authored Aug 6, 2022
    Copy the full SHA
    d74ef25 View commit details
  3. Move compress inside kit (#5822)

    * move tiny-glob dependency
    
    * add compress to builder
    
    * replace compress with builder.compress
    
    * add changeset
    
    * Clarify directory type description.
    
    Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
    
    * Update .changeset/cyan-radios-attend.md
    
    Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
    Co-authored-by: Rich Harris <hello@rich-harris.dev>
    3 people authored Aug 6, 2022
    Copy the full SHA
    9304c9d View commit details
  4. [feat] implement Link header (#5735)

    * [feat] implement Link header
    
    * format
    
    * encode URIs
    
    * fix stylesheet handling
    
    Co-authored-by: Rich Harris <hello@rich-harris.dev>
    benmccann and Rich-Harris authored Aug 6, 2022
    Copy the full SHA
    6a3ccea View commit details
  5. Copy the full SHA
    de2b464 View commit details
  6. Version Packages (next) (#5829)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Aug 6, 2022
    Copy the full SHA
    2433a4e View commit details
  7. [fix] handle lone returns in migration tool, turn on strict mode (#5831)

    * [fix handle lone returns, turn on strict mode
    
    * this changeset name lol
    
    * skip lone returns
    
    * simplify, now that expr is always defined
    dummdidumm authored Aug 6, 2022
    Copy the full SHA
    f30e8fd View commit details
  8. Version Packages (next) (#5841)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Aug 6, 2022
    Copy the full SHA
    694e7e4 View commit details
  9. Update pnpm to v7.9.0 (#5844)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 6, 2022
    Copy the full SHA
    0801e8e View commit details

Commits on Aug 15, 2022

  1. Implement #5748 (#5778)

    * skeleton
    
    * add moved info to files to be able to rewrite imports later
    
    * add magic-string, start load extraction and manipulation logic
    
    * move migration logic into new svelte-migrate package
    
    * remove commented code
    
    * lockfile
    
    * move components, extract load
    
    * +page.server.js and +server.js
    
    * remove unused code
    
    * uncomment prompt
    
    * add some errors
    
    * fix detection
    
    * consistent casing
    
    * not sure if typescript will ever fail to parse, but in any case its handled now
    
    * handle error with module context
    
    * add some comments
    
    * update demo app
    
    * update skeleton app
    
    * migrate kit.svelte.dev
    
    * fix dynamic import on windows, fix js/ts file ending, handle index.json.js endpoint case
    
    * extract imports into Svelte migration task for QOL, don't adjust imports in standalone index edge case
    
    * migrate amp app
    
    * show message either way, could be other things gone wrong
    
    * windooows
    
    * more sophisticated auto migrations
    - unpack props/body
    - redirect/error in load
    - standalone endpoint
    
    * migrate test/apps/basics
    
    * fix regex, dont show props message on error page, more sophisticated error/redirect checks, set-cookie suggestion
    
    * pretend to make this more readable
    
    * adjust import location for error and redirect
    
    * update tests
    
    * only show short automigration message on success, only migrate where we are confident it works, annotate non-migrated return statements, handle export { X } case
    
    * shorten redirect/error if no second argument given
    
    * use git mv if available
    
    * update options tests
    
    * update options-2 tests
    
    * update writes tests
    
    * migrate (most) prerendering/basics tests
    
    * migrate more tests
    
    * update adapter-static tests
    
    * it begins (#5782)
    
    * it begins
    
    * update some more test fixtures
    
    * update more tests
    
    * more
    
    * more
    
    * more
    
    * more
    
    * last one
    
    * need to add dot: true to catch routes inside .well-known
    
    * fixes, update tests
    
    * fix more tests
    
    * fix various things
    
    * all create_manifest_data unit tests passing
    
    * update write_manifest
    
    * fix
    
    * remove config.kit.routes
    
    * update RequestHandler type
    
    * simplify endpoint code
    
    * simplify some more stuff
    
    * move respond code into render_page, where it belongs
    
    * purge all references to stuff
    
    * simplify
    
    * vite build completes, albeit with a broken build
    
    * vite dev now starts
    
    * now rendering a blank page
    
    * rendering an error page
    
    * it renders html!
    
    * tidy up
    
    * get error page rendering correctly
    
    * add placeholder setHeaders function
    
    * replace CSRComponent with CSRPageNode
    
    * fix build
    
    * amp tests passing! now for the client
    
    * fix create_manifest_data unit tests
    
    * add error/redirect helpers
    
    * rename @sveltejs/kit/data -> @sveltejs/kit
    
    * add error/redirect to @sveltejs/kit types
    
    * fixes
    
    * fix a slew of typescript errors
    
    * data loading belongs in load_node
    
    * holy shit the tests are starting to pass
    
    * update some tests
    
    * start working on write_types
    
    * science experiment
    
    * typo
    
    * i think it basically works
    
    * expose ServerData as Data when no load is specified
    
    * replace magic number
    
    * handle missing GET separately from failure
    
    * oops i think i did a bad git
    
    * remove typings tests, these are no longer useful
    
    * tidy
    
    * use server data if no load is provided
    
    * temporarily disable non-SSR tests
    
    * apply headers
    
    * update test
    
    * allow load to return void
    
    * remove some tests that no longer make sense
    
    * remove some more unused tests
    
    * this is fun. delete delete delete
    
    * fix test
    
    * handle accept:json requests
    
    * fix test
    
    * small tidy up
    
    * tidy
    
    * simplify
    
    * simplify, improve efficiency
    
    * simplify
    
    * rename to disambiguate with client
    
    * tweaks
    
    * tidy up
    
    * load data in parallel
    
    * throw error pointing to migration if router folder exists but no routes are found
    
    * load nodes on client in parallel
    
    * handle redirect
    
    * fix parent usage bug, avoid waterfall when awaiting parents, remove try-catch which would make subsequent catch never getting called
    
    * error handling
    
    * construct redirect URL properly
    
    * fix redirects
    
    * handle POST requests etc
    
    * oof this took an embarrassingly long time to find
    
    * add types
    
    * update/remove some tests as appropriate
    
    * implement $page.data on the server
    
    * fix test
    
    * handle invalid redirect statuses
    
    * update test, fix off-by-one error
    
    * fix a bunch more tests
    
    * tweak tests
    
    * include dynamically imported styles from +page.js in dev
    
    * same but for build
    
    * track cookies
    
    * apply tracked cookies
    
    * down to three failing SSR tests
    
    * render errors
    
    * all SSR tests in test/apps/basics passing
    
    * fix write tests
    
    * all SSR tests passing
    
    * remove a couple of unused deps
    
    * tidy up
    
    * dont use instanceof checks
    
    * fix off-by-one error in client
    
    * client-side fetching, start of redirect/error handling
    
    * re-add missing dist file
    
    * for now, duplicate route.path logic where needed. in future, rethink manifest for this purpose
    
    * fix parent data retrieval, add $page.data to client
    
    * fix most prerendering tests
    
    * add cache http-equiv
    
    * test
    
    * get prerender tests passing
    
    Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
    
    * Docs for the new API (#5810)
    
    * Update routing
    - add overview of special files at the beginning (TODO: make this its own page?)
    - update special file names
    - shuffle endpoints and standalone endpoints to make it more clear what separates them (TODO: move each into its own page?)
    
    * update layouts/error
    
    * remove obsolete option
    
    * updates to file names in various places
    
    * update loading docs
    
    * update sapper migration
    
    * missed some
    
    * clarify depends API
    
    * Update documentation/docs/03-routing.md
    
    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    
    * enable all tests
    
    * Unbundling (#5853)
    
    * tweak bundling strategy
    
    * unbundle
    
    * remove some unused deps
    
    * simplify
    
    * simplify further
    
    * fix export map
    
    * fix adapter-static tests
    
    * format
    
    * replace some TODOs
    
    * only add param tag if param exists
    
    * fix some type stuff
    
    * fix some type stuff
    
    * more type fixes
    
    * reuse load_data
    
    * fix imports. damn you vscode, you dont have to be like this
    
    * fix some stuff
    
    * remove unused import
    
    * fix prefetchRoutes
    
    * fix a handful more tests
    
    * comment out likely obsolete setHeaders in test
    
    * fix write_client_manifest
    
    * fix off-by-one error for client error page rendering
    
    * update page store when only data changed
    
    * handle page endpoint without get
    
    * reenable tests
    
    * fix windows/vite path issue
    
    * pass serialized server data to client
    
    * fix uses tracking for page endpoints in client
    
    * unfix the buggy drive letter fix
    
    * set headers/etag for page endpoints
    
    * add HttpError identifier to serialized version and make connection visible through types
    
    * call handle_error in json request
    
    * fix test
    
    * omit json-data when ssr but no hydration
    
    * remove obsolete caching logic from client, adjust test
    
    * add migration link
    
    * make typescript non-required again by lazy-loading it, fix package.files
    
    * only create proxy if something was modified
    
    * update pnpm lock
    
    * always bundle @sveltejs/kit
    
    * fix some write_types stuff
    
    * this took waaaay too long to figure out
    
    * prettier
    
    * fix a bunch of typescript stuff
    
    * shrug
    
    * probably no point generating types if no ts?
    
    * refactor write_types to support addition of layout types
    
    * rename Data to PageData and LayoutData
    
    * fix manifest generation with named layouts
    
    * update tests
    
    * generate LayoutLoad and LayoutData types
    
    * windows fix, deduplicate, use AwaitedProperties
    
    * write Errors type
    
    * fix AwaitedProperties type, add AwaitedErrors type
    
    * fix test
    
    * fix test
    
    * trying an env fix, not sure if that works on linux
    
    * mhm
    
    * temporary run only env test on CI
    
    * fix type reference in create-svelte
    
    * getting desperate
    
    * even more scoped test execution
    
    * check why posixify doesnt work
    
    * Data -> PageData
    
    * wtf, does this work now or not?
    
    * remove unnecessary  migration warnings, add error for props -> data
    
    * omg works, reenable all tests
    
    * some docs progress
    
    * fix file ending issue in write_types
    
    * fix path resolution in write_types
    
    * fix type error in generated d.ts file
    
    * updates
    
    * ooh it works
    
    * sprinkle some types
    
    * add checkJs
    
    * get some pages building
    
    * .ts -> .js
    
    * simplify write_types
    
    * more docs types stuff
    
    * rename node.module to node.shared, which is more descriptive
    
    * rename route.page to route.leaf
    
    * return all route data with __data.json, not just the leaf
    
    * load all server data in one go on the client. this should probably have a bunch of tests
    
    * update types on file edit
    
    * only write types that have changed
    
    * debounce updates to manifest
    
    * add parent data type inference. introduce a breaking change to the Load typing (another generic which is placed before an existing one)
    
    * rename/tidy up some stuff
    
    * fix
    
    * fix some stuff
    
    * set cookies on __data.json requests
    
    * fix some stuff
    
    * only load data from server if we have some
    
    * remove obsolete todo
    
    * update test
    
    * lint
    
    * fix prerendered __data.json
    
    * add json helper
    
    * use json helper in migration
    
    * fixes
    
    * center routing documentation on + files
    
    * get docs building again
    
    * update example
    
    * tidy up
    
    * update load docs
    
    * document promise unwrapping
    
    * typo
    
    * remove obsolete logic which is now handled elsewhere
    
    * implement invalidate()
    
    * invalidate() should also loads without dependencies
    
    * Update documentation/docs/05-load.md
    
    Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
    
    * Update documentation/docs/03-routing.md
    
    * inject $types.d.ts files into code snippets where possible
    
    * add a note about shared state. not 100% sure this is the best place for it but will do for now
    
    * Update documentation/docs/05-load.md
    
    * document set-cookie exception
    
    * tweaks
    
    * tweaks
    
    * more tweaks
    
    * cheat
    
    * GET->load
    
    * more tweaks
    
    * fix create-svelte
    
    * more tweaks
    
    * Update documentation/docs/05-load.md
    
    Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
    
    * fixes
    
    * remove outdated Get reference
    
    * actions
    
    * rewrite type names
    
    * rename Load to PageLoad or LayoutLoad etc
    
    * include filename in migration scripts
    
    * updates
    
    * fix search
    
    * mention export let errors
    
    * changesets
    
    * fix types in create-svelte template
    
    Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
    Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
    3 people authored Aug 15, 2022
    Copy the full SHA
    b30d2b6 View commit details
  2. Copy the full SHA
    00a0eef View commit details
  3. Version Packages (next) (#5891)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Aug 15, 2022
    Copy the full SHA
    d069c85 View commit details
  4. Copy the full SHA
    f4e98ad View commit details
  5. [fix] avoid manifest collisions (#5874)

    * [fix] avoid manifest collisions
    
    * delete manifest at end of build
    benmccann authored Aug 15, 2022
    Copy the full SHA
    c141dce View commit details
  6. fix actions (#5892)

    * fix actions
    
    * changeset
    
    * what the hell why did it suddenly start complaining about this of all things
    
    * what fun
    Rich-Harris authored Aug 15, 2022
    Copy the full SHA
    9adc18c View commit details
Showing 1,319 changed files with 12,612 additions and 8,653 deletions.
5 changes: 5 additions & 0 deletions .changeset/angry-peaches-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Hydration validation errors
5 changes: 5 additions & 0 deletions .changeset/big-coins-suffer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Check url protocol to avoid mailto links navigated by kit in mobile devices
5 changes: 5 additions & 0 deletions .changeset/blue-jobs-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-svelte': patch
---

remove session remnants
5 changes: 5 additions & 0 deletions .changeset/brave-apricots-approve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Handle function without params when writing TS proxy
5 changes: 5 additions & 0 deletions .changeset/breezy-cooks-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

load env before importing hooks during dev
5 changes: 5 additions & 0 deletions .changeset/brown-pens-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

[breaking] Overhaul filesystem-based router (https://github.com/sveltejs/kit/discussions/5774)
5 changes: 5 additions & 0 deletions .changeset/chilled-years-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-svelte": patch
---

make variable names more descriptive
5 changes: 5 additions & 0 deletions .changeset/cool-birds-attack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Correctly provide server parent data
5 changes: 5 additions & 0 deletions .changeset/cuddly-ads-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte-migrate': patch
---

handle more import cases
7 changes: 7 additions & 0 deletions .changeset/cyan-radios-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@sveltejs/adapter-node': patch
'@sveltejs/adapter-static': patch
'@sveltejs/kit': patch
---

Move `compress` logic to `Builder` API
5 changes: 5 additions & 0 deletions .changeset/dull-pants-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@sveltejs/kit": patch
---

Build server without removing `sveltekit` Vite plugin
5 changes: 5 additions & 0 deletions .changeset/famous-birds-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte-migrate': patch
---

Correctly rename files with spaces when migrating
5 changes: 5 additions & 0 deletions .changeset/famous-boxes-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

prevent duplicate module ids by disabling optimizeDeps for @sveltejs/kit
5 changes: 5 additions & 0 deletions .changeset/few-hornets-joke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Respect `export const prerender = false` in `+page.server.js`
5 changes: 5 additions & 0 deletions .changeset/flat-pears-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Silence more unknown prop warnings coming from SvelteKit
5 changes: 5 additions & 0 deletions .changeset/fluffy-crews-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte-migrate': patch
---

Migrate type comments on arrow functions
5 changes: 5 additions & 0 deletions .changeset/fresh-pigs-tease.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

[breaking] remove ability for `+page.server.js` to respond to `GET` requests with JSON
5 changes: 5 additions & 0 deletions .changeset/gentle-news-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Return a 303 response when a `POST` handler provides a `location`
5 changes: 5 additions & 0 deletions .changeset/gentle-years-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Allow `$app/stores` to be used from anywhere on the browser
5 changes: 5 additions & 0 deletions .changeset/gold-rocks-hang.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-svelte': patch
---

update `app.d.ts` for library skeleton template
6 changes: 6 additions & 0 deletions .changeset/gold-spies-fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@sveltejs/kit': patch
---

[fix] Windows correctly errors on `$env/*/private` imports
[fix] Illegal module analysis in dev ignores non-js|ts|svelte files
5 changes: 5 additions & 0 deletions .changeset/good-mails-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Fix generated path extension for `AwaitedProperties`
5 changes: 5 additions & 0 deletions .changeset/gorgeous-snakes-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Generate `__data.json` files for server-side redirects when prerendering
5 changes: 5 additions & 0 deletions .changeset/happy-clouds-beam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

[breaking] Remove session object
5 changes: 5 additions & 0 deletions .changeset/happy-peaches-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Render pages without a .svelte file in their proper layout/error files
5 changes: 5 additions & 0 deletions .changeset/heavy-phones-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Accumulate data from parent layouts into `export let data`
5 changes: 5 additions & 0 deletions .changeset/honest-pandas-joke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-svelte': patch
---

Update templates
5 changes: 5 additions & 0 deletions .changeset/honest-parrots-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Handle `throw error/redirect` in `+server.js`
5 changes: 5 additions & 0 deletions .changeset/hot-beds-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

[fix] Import analysis doesn't get stuck in an infinite loop when encountering cyclical imports
5 changes: 5 additions & 0 deletions .changeset/hot-lions-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-svelte': patch
---

Add notes about includes/excludes and path aliases
5 changes: 5 additions & 0 deletions .changeset/itchy-donuts-unite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Only search for layout name in basename
5 changes: 5 additions & 0 deletions .changeset/kind-tools-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-svelte': patch
---

setup prettier plugin-search-dirs to enable use with pnpm
5 changes: 5 additions & 0 deletions .changeset/lazy-ants-watch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Avoid using [].at(-1) in the client
5 changes: 5 additions & 0 deletions .changeset/lazy-owls-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

[fix] prevent `Content-Length` header from being incorrectly inherited by requests made from `load`'s `fetch` during SSR
5 changes: 5 additions & 0 deletions .changeset/lemon-kids-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

handle `set-cookie` in `setHeaders`
5 changes: 5 additions & 0 deletions .changeset/loud-moose-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

[fix] allow additional keys in svelte.config.js
5 changes: 5 additions & 0 deletions .changeset/loud-parrots-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte-migrate': patch
---

Add a README'
5 changes: 5 additions & 0 deletions .changeset/lovely-boxes-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

[feat] `$env/static/*` are now virtual to prevent writing sensitive values to disk
5 changes: 5 additions & 0 deletions .changeset/mighty-students-develop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Handle windows paths and regexp chars in kit.alias
5 changes: 5 additions & 0 deletions .changeset/nasty-shoes-mate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Prevent double import of env modules
5 changes: 5 additions & 0 deletions .changeset/nine-bees-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

[fix] chdir to user's application directory before running postinstall sync
5 changes: 5 additions & 0 deletions .changeset/ninety-fans-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Make errors type in Action type less restrictive
5 changes: 5 additions & 0 deletions .changeset/ninety-snakes-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte-migrate': patch
---

Suggest props destructuring if possible
5 changes: 5 additions & 0 deletions .changeset/ninety-vans-talk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Generate types when Svelte file missing, fix layout params
5 changes: 5 additions & 0 deletions .changeset/ninety-walls-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

use `enumerable: false` on "[x] no longer exists" getters so that they are not triggered by spreading
5 changes: 5 additions & 0 deletions .changeset/odd-ducks-perform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

[feat] implement Link header
5 changes: 5 additions & 0 deletions .changeset/odd-trees-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Allow actions to return undefined
5 changes: 5 additions & 0 deletions .changeset/old-berries-develop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte-migrate': patch
---

Fix typo in migration task
5 changes: 5 additions & 0 deletions .changeset/olive-ducks-talk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte-migrate': patch
---

Handle Error without message, handle status 200, handle missing body
5 changes: 5 additions & 0 deletions .changeset/orange-ties-tell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte-migrate': patch
---

Rewrite type names
5 changes: 5 additions & 0 deletions .changeset/pink-gorillas-watch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

[fix] support linked `@sveltejs/kit` project in Vite 3.0.3+
5 changes: 5 additions & 0 deletions .changeset/polite-dolphins-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Add DOM.Iterable to default tsconfig
Loading