-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Comparing changes
Open a pull request
base repository: sveltejs/kit
base: @sveltejs/adapter-auto@1.0.0-next.64
head repository: sveltejs/kit
compare: @sveltejs/adapter-auto@1.0.0-next.65
Commits on Jul 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 288709c - Browse repository at this point
Copy the full SHA 288709cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06c9559 - Browse repository at this point
Copy the full SHA 06c9559View commit details -
Version Packages (next) (#5721)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3d801d2 - Browse repository at this point
Copy the full SHA 3d801d2View commit details
Commits on Jul 28, 2022
-
[feat] add DOM.Iterable to tsconfig (#5734)
Available in all recent browsers. Closes #5733
Configuration menu - View commit details
-
Copy full SHA for 1d516a7 - Browse repository at this point
Copy the full SHA 1d516a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44c9722 - Browse repository at this point
Copy the full SHA 44c9722View commit details
Commits on Jul 29, 2022
-
Version Packages (next) (#5744)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for db41520 - Browse repository at this point
Copy the full SHA db41520View commit details -
Configuration menu - View commit details
-
Copy full SHA for e297259 - Browse repository at this point
Copy the full SHA e297259View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 584da9a - Browse repository at this point
Copy the full SHA 584da9aView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 05c6ad8 - Browse repository at this point
Copy the full SHA 05c6ad8View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 4e357dd - Browse repository at this point
Copy the full SHA 4e357ddView commit details -
Version Packages (next) (#5757)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3240252 - Browse repository at this point
Copy the full SHA 3240252View commit details -
Update dependency @types/mime to v3 (#5758)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for fb3b521 - Browse repository at this point
Copy the full SHA fb3b521View commit details -
Update PULL_REQUEST_TEMPLATE.md (#5759)
* Update PULL_REQUEST_TEMPLATE.md * Update PULL_REQUEST_TEMPLATE.md
Configuration menu - View commit details
-
Copy full SHA for 1e0bcef - Browse repository at this point
Copy the full SHA 1e0bcefView commit details
Commits on Jul 31, 2022
-
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d7386d9 - Browse repository at this point
Copy the full SHA d7386d9View commit details -
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for cebad2d - Browse repository at this point
Copy the full SHA cebad2dView commit details -
* 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>
Configuration menu - View commit details
-
Copy full SHA for ef6d42b - Browse repository at this point
Copy the full SHA ef6d42bView commit details -
Version Packages (next) (#5765)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for deeece6 - Browse repository at this point
Copy the full SHA deeece6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff8c6b3 - Browse repository at this point
Copy the full SHA ff8c6b3View commit details -
[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>
Configuration menu - View commit details
-
Copy full SHA for 73fe63b - Browse repository at this point
Copy the full SHA 73fe63bView commit details -
Version Packages (next) (#5770)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for fb9d602 - Browse repository at this point
Copy the full SHA fb9d602View commit details -
[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
Configuration menu - View commit details
-
Copy full SHA for db6befd - Browse repository at this point
Copy the full SHA db6befdView commit details -
Version Packages (next) (#5772)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ca9fbfa - Browse repository at this point
Copy the full SHA ca9fbfaView commit details
Commits on Aug 3, 2022
-
fix: Prevent import cycles from crashing build (#5794)
* fix: Prevent import cycles from crashing build * Changeset
Configuration menu - View commit details
-
Copy full SHA for 3aa466d - Browse repository at this point
Copy the full SHA 3aa466dView commit details -
(docs) Fix env-dynamic-private link (#5795)
* Fix broken link * Add changeset * remove changeset Co-authored-by: Rich Harris <hello@rich-harris.dev>
Configuration menu - View commit details
-
Copy full SHA for 635062a - Browse repository at this point
Copy the full SHA 635062aView commit details -
Version Packages (next) (#5798)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5cdc20e - Browse repository at this point
Copy the full SHA 5cdc20eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23f59b4 - Browse repository at this point
Copy the full SHA 23f59b4View commit details -
Version Packages (next) (#5805)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a575786 - Browse repository at this point
Copy the full SHA a575786View commit details
Commits on Aug 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 69deeb7 - Browse repository at this point
Copy the full SHA 69deeb7View commit details -
* 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>
Configuration menu - View commit details
-
Copy full SHA for 743f1c0 - Browse repository at this point
Copy the full SHA 743f1c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b901efe - Browse repository at this point
Copy the full SHA b901efeView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 5b6a59c - Browse repository at this point
Copy the full SHA 5b6a59cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0357a45 - Browse repository at this point
Copy the full SHA 0357a45View commit details -
Version Packages (next) (#5821)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5cd8385 - Browse repository at this point
Copy the full SHA 5cd8385View commit details
Commits on Aug 5, 2022
-
[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
Configuration menu - View commit details
-
Copy full SHA for 6abbdd7 - Browse repository at this point
Copy the full SHA 6abbdd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37a283b - Browse repository at this point
Copy the full SHA 37a283bView commit details
Commits on Aug 6, 2022
-
[fix] check load function input (#5838)
.. and migrate props to data: props automatically
Configuration menu - View commit details
-
Copy full SHA for 4b75a5a - Browse repository at this point
Copy the full SHA 4b75a5aView commit details -
[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>
Configuration menu - View commit details
-
Copy full SHA for d74ef25 - Browse repository at this point
Copy the full SHA d74ef25View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 9304c9d - Browse repository at this point
Copy the full SHA 9304c9dView commit details -
[feat] implement Link header (#5735)
* [feat] implement Link header * format * encode URIs * fix stylesheet handling Co-authored-by: Rich Harris <hello@rich-harris.dev>
Configuration menu - View commit details
-
Copy full SHA for 6a3ccea - Browse repository at this point
Copy the full SHA 6a3cceaView commit details -
Configuration menu - View commit details
-
Copy full SHA for de2b464 - Browse repository at this point
Copy the full SHA de2b464View commit details -
Version Packages (next) (#5829)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2433a4e - Browse repository at this point
Copy the full SHA 2433a4eView commit details -
[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
Configuration menu - View commit details
-
Copy full SHA for f30e8fd - Browse repository at this point
Copy the full SHA f30e8fdView commit details -
Version Packages (next) (#5841)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 694e7e4 - Browse repository at this point
Copy the full SHA 694e7e4View commit details -
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0801e8e - Browse repository at this point
Copy the full SHA 0801e8eView commit details
Commits on Aug 15, 2022
-
* 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>
Configuration menu - View commit details
-
Copy full SHA for b30d2b6 - Browse repository at this point
Copy the full SHA b30d2b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00a0eef - Browse repository at this point
Copy the full SHA 00a0eefView commit details -
Version Packages (next) (#5891)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d069c85 - Browse repository at this point
Copy the full SHA d069c85View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4e98ad - Browse repository at this point
Copy the full SHA f4e98adView commit details -
[fix] avoid manifest collisions (#5874)
* [fix] avoid manifest collisions * delete manifest at end of build
Configuration menu - View commit details
-
Copy full SHA for c141dce - Browse repository at this point
Copy the full SHA c141dceView commit details -
* fix actions * changeset * what the hell why did it suddenly start complaining about this of all things * what fun
Configuration menu - View commit details
-
Copy full SHA for 9adc18c - Browse repository at this point
Copy the full SHA 9adc18cView commit details
There are no files selected for viewing