Skip to content

Files

Latest commit

 

History

History
4777 lines (2482 loc) · 149 KB

CHANGELOG.md

File metadata and controls

4777 lines (2482 loc) · 149 KB

@sveltejs/kit

1.0.10

Patch Changes

  • Skip inline cache when vary header is present (#8406)

1.0.9

Patch Changes

  • Add assetFileNames to worker rollup options (#8384)

1.0.8

Patch Changes

  • Disable illegal import detection when running unit tests (#8365)

  • only prerender a given dependency once (#8376)

  • Error in dev mode if global fetch is used with relative URL (#8370)

  • updated.check() type changed to Promise (#8400)

  • Don't strip body in no-cors mode on the server (#8412)

  • [fix] quote 'script' in CSP directives (#8372)

  • fix route id comparison for load change detection (#8399)

  • [fix] don't add nonce attribute to <link> elements (#8369)

1.0.7

Patch Changes

  • Ignore *.test.js and *.spec.js files in params directory (#8250)

1.0.6

Patch Changes

  • Guarantee that $page.route has the correct shape (#8359)

1.0.5

Patch Changes

  • Update typings of event.platform to be possibly undefined (#8232)

1.0.4

Patch Changes

  • [fix] don't polyfill undici if using Deno or Bun (#8338)

1.0.3

Patch Changes

  • Include submitter's value when progressively enhancing <form method="get"> (#8273)

1.0.2

Patch Changes

  • Fix filterSerializedResponseHeaders error message (#8348)

  • Fix form action redirect status code (#8210)

1.0.1

Patch Changes

  • Explicitly mark Node 17.x as not supported (#8174)

1.0.0

Major Changes

First major release, see below for the history of changes that lead up to this. Starting from now all releases follow semver and changes will be listed as Major/Minor/Patch

1.0.0-next.589

Patch Changes

  • [breaking] remove warnings/errors about removed/changed APIs (#8019)

1.0.0-next.588

Patch Changes

  • [fix] remove obsolete generated types correctly (#8149)

1.0.0-next.587

Patch Changes

  • [breaking] prerender shells when ssr false and prerender not false (#8131)

1.0.0-next.586

Patch Changes

  • [fix] don't de/encode initial and explicit string headers (#8113)

1.0.0-next.585

Patch Changes

  • [fix] remove unused elements from default error component (#8110)

1.0.0-next.584

Patch Changes

  • [fix] load errorTemplate from correct location (#8096)

  • More robust manifest error recovery (#8095)

1.0.0-next.583

Patch Changes

  • restart vite dev-server on svelte config change (#8087)

  • Set correct $page.status when using enhance and result is of type 'error' (#8073)

  • [fix] ensure export conditions are resolve through Vite (#8092)

  • [fix] don't crash Vite dev server on manifest error (#8093)

1.0.0-next.582

Patch Changes

  • [fix] improve split between Vite plugins (#8055)

  • [fix] set Vite base URL (#8046)

  • add declaration for vitePreprocess reexport (#8053)

1.0.0-next.581

Patch Changes

  • [feat] vitePreprocess (#8036)

1.0.0-next.580

Patch Changes

  • [breaking] throw an error on invalid load response (#8003)

  • [fix] allow SvelteKit to be used without bundling (#7950)

1.0.0-next.579

Patch Changes

  • [breaking] update svelte peerDependency to ^3.54.0 (#7543)

  • update esbuild to ^0.16.3 (#7543)

  • [breaking] upgrade to Vite 4 (#7543)

1.0.0-next.578

Patch Changes

  • [fix] respect fetch cache option (#8024)

  • [breaking] rename invalid() to fail() and ValidationError to ActionFailure (#8012)

  • [breaking] replace automatic fallback generation with builder.generateFallback(fallback) (#8013)

1.0.0-next.577

Patch Changes

  • [breaking] add embedded option, turned off by default (#7969)

1.0.0-next.576

Patch Changes

  • [breaking] make sveltekit() return a promise of array of Vite plugins (#7994)

1.0.0-next.575

Patch Changes

  • [fix] throw error when using enhance on GET forms (#7948)

  • [breaking] strip __data.json from url (#7979)

1.0.0-next.574

Patch Changes

  • [feat] split Vite plugin in two (#7990)

1.0.0-next.573

Patch Changes

  • [fix] adjust ActionData type (#7962)

  • [breaking] disallow unknown exports (except when starting with an underscore) from +(layout|page)(.server)?.js and +server.js files (#7878)

  • [fix] continuous optionals should not throw conflict error (#7939)

  • fix enhance error message when form action doesn't exist or csrf is enabled (#7958)

1.0.0-next.572

Minor Changes

  • Checks that element is not null before reading getAttribute (#7930)

Patch Changes

  • [chore] update magic-string (#7931)

  • add $app and $env to optimizeDeps.exclude so that libraries using these work correctly when prebundled (#7933)

  • reload dev page on change of app.html (#7944)

1.0.0-next.571

Patch Changes

  • [fix] use searchParams for x-sveltekit-invalidated (#7912)

  • [fix] correct Vite config merging with force option (#7911)

  • [fix] rebuild manifest when client hooks or param matcher file is added/removed (#7915)

1.0.0-next.570

Patch Changes

  • Remove prepublishOnly script (#7893)

1.0.0-next.569

Patch Changes

  • Ignore elements that are no longer in the document (#7881)

  • [breaking] Use client-side routing for <form method="GET"> (#7828)

1.0.0-next.568

Patch Changes

  • [fix] add migration hint for renamed methods (#7874)

1.0.0-next.567

Patch Changes

  • Co-locate synthetic types with other Kit types (#7864)

1.0.0-next.566

Patch Changes

  • Add more type documentation (#7003)

  • [breaking] move SubmitFunction into @sveltejs/kit (#7003)

1.0.0-next.565

Patch Changes

  • [breaking] Replace data-sveltekit-prefetch with -preload-code and -preload-data (#7776)

  • [breaking] Rename prefetch to preloadData and prefetchRoutes to preloadCode (#7776)

1.0.0-next.564

Patch Changes

  • [chore] upgrade undici (#7830)

  • Make $page.url resilient against mutations (#7827)

1.0.0-next.563

Patch Changes

  • [feat] allow handleError to return a promise (#7780)

  • [breaking] remove format option from generateManifest(...) (#7820)

1.0.0-next.562

Patch Changes

  • [fix] handle redirects in handle hook while processing data request (#7797)

  • Make touchstart listener passive (#7818)

  • [breaking] remove getStaticDirectory() from builder API (#7809)

  • Make console.warn wrapper named rather than anonymous (#7811)

1.0.0-next.561

Patch Changes

  • Upgrade vite-plugin-svelte to ^1.3.1 (#7760)

1.0.0-next.560

Patch Changes

  • [breaking] Rename prerendering to building, remove config.kit.prerender.enabled (#7762)

1.0.0-next.559

Patch Changes

  • Roll over non-matching optional parameters instead of 404ing (#7753)

  • [fix] enable Vite's modulePreload.polyfill (#7770)

1.0.0-next.558

Patch Changes

  • [breaking] Disallow error status codes outside 400-599 (#7767)

  • [breaking] Make client-side router ignore links outside %sveltekit.body% (#7766)

1.0.0-next.557

Patch Changes

  • external fetch calls: ensure serialized cookie values are url-encoded [#7736] (#7736)

1.0.0-next.556

Patch Changes

  • [fix] preserve Vite CLI opts (#7749)

1.0.0-next.555

Patch Changes

  • Made config.kit.outDir able to be located in node_modules (#7707)

1.0.0-next.554

Patch Changes

  • create stronger types for dynamically generated env modules (#7735)

  • [breaking] Make trailingSlash a page option, rather than configuration (#7719)

  • Handle hash links with non-ASCII characters when prerendering (#7729)

  • Ignore popstate events from outside the router (#7721)

1.0.0-next.553

Patch Changes

  • Prevent Vite from nuking logs on startup (#7724)

1.0.0-next.552

Patch Changes

  • Don't hardcode version in client bundle (#7694)

  • Allow .d.ts files to have a + prefix (#7682)

  • Expose version from $app/environment (#7689)

  • [fix] export HttpError/Redirect interface (#7701)

  • [fix] don't preload fonts by default (#7704)

  • Always set Accept and Accept-Language headers when making a self-request (#7722)

  • [fix] adjust interfaces to fix type errors (#7718)

1.0.0-next.551

Patch Changes

  • Add Access-Control-Allow-Origin: * to static assets in dev (#7688)

  • Ignore presence of keepfocus and noscroll in goto options if correctly-cased options are also present (#7678)

1.0.0-next.550

Patch Changes

  • [feat] preload fonts and add preload customization (#4963)

1.0.0-next.549

Patch Changes

  • Always apply Node polyfills (#7675)

1.0.0-next.548

Patch Changes

  • Only apply polyfills where necessary (#7668)

1.0.0-next.547

Patch Changes

  • [fix] safely join url segments in manifest (#7653)

  • [breaking] use devalue to (de)serialize action data (#7494)

  • Warn if %sveltekit.body% is direct child of <body> (#7652)

1.0.0-next.546

Patch Changes

  • fix outdated config error (#7649)

  • [breaking] use hex/unicode escape sequences for encoding special characters in route directory names (#7644)

  • fix beforeNavigate description — routeId -> route.id (#7643)

1.0.0-next.545

Patch Changes

  • [fix] prerendering path and layout fixes (#7639)

  • [fix] add Promise return type to the enhance action (#7629)

1.0.0-next.544

Patch Changes

  • [breaking] narrow down possible status codes for redirects to 300-308 (#7615)

  • [feat] add fallback component for layouts without one (#7619)

1.0.0-next.543

Patch Changes

  • Don't print search params error when prerendering fallback page (#7598)

  • allow async function for enhance action parameter (#7608)

  • Run service worker during development (#7597)

  • [feat] support throwing redirect in handle (#7612)

  • Workaround for the DOM clobbering for use:enhance (#7599)

  • [fix] don't cache prefetch errors (#7610)

1.0.0-next.542

Patch Changes

  • Add support for linking to tags (#7596)

  • [breaking] don't run beforeNavigate during redirects (#7588)

  • [fix] respect autofocus following navigation or enhanced form submit (#6643)

1.0.0-next.541

Minor Changes

  • [fix] don't clean build and output directories when using --watch (#7516)

Patch Changes

  • [fix] handle expected errors thrown in handle hook correctly (#7566)

1.0.0-next.540

Patch Changes

  • Serve prerendered non-page files when running preview (#7576)

  • [fix] caching takes now into account the body payload (#7546)

  • [fix] handle locked readable stream when reading body (#7565)

  • [fix] prefetch should ignore links ignored by the router (#7580)

  • [fix] migration error when using $page.routeId (#7574)

  • prevent loading of illegal modules in the browser, rather than during SSR (#7507)

  • [fix] prevent double decoding of path segment (#7550)

1.0.0-next.539

Patch Changes

  • Omit prerendered routes from server manifest (#7541)

1.0.0-next.538

Patch Changes

  • [feat] enable caching for __data.json requests (#7532)

  • [fix] prevent double decoding of params (#7521)

  • [fix] take into account Request input when serializing fetch data (#7531)

  • [fix] better cookie warning checks (#7528)

1.0.0-next.537

Patch Changes

  • [feat] better navigation interfaces (#7529)

1.0.0-next.536

Patch Changes

  • custom aliases resolved in service worker builds (#7500)

1.0.0-next.535

Patch Changes

  • [breaking] call beforeNavigate once with type unload on external navigation, rename type 'load' to 'enter' and type 'unload' to 'leave', add 'willUnload' property (#6813)

1.0.0-next.534

Patch Changes

  • [breaking] more consistent casing for goto options (#7502)

  • [breaking] replace routeId with route.id (#7450)

  • Fix nullish data node reference (#7503)

1.0.0-next.533

Patch Changes

  • [fix] bump required Vite version and address warning (#7491)

1.0.0-next.532

Patch Changes

  • Bump devalue version (#7466)

1.0.0-next.531

Patch Changes

  • [breaking] change config.kit.prerender.onError to handleHttpError, and check for invalid fragment links (#7375)

  • fix escaping bug in crawler (#7375)

1.0.0-next.530

Patch Changes

  • [fix] fetch erroring on Cloudflare (#7453)

  • Only simulate CORS errors for shared load functions (#7454)

1.0.0-next.529

Patch Changes

  • [fix] better type generation for load functions with different return values (#7425)

  • [fix] correctly strip data suffix at root page (#7445)

  • update dependencies (#7355)

1.0.0-next.528

Patch Changes

  • Restore req.url to req.originalUrl in dev and preview (#7343)

1.0.0-next.527

Patch Changes

  • [fix] harmonize cookie path and add dev time warnings (#7416)
  • [feat] add invalidateAll option to goto (#7407)

1.0.0-next.526

Patch Changes

  • declare function type with named syntax (#7396)
  • [fix] optional params can be undefined (#7379)
  • [fix] support undici 5.12.0 and pin it (#7412)
  • [chore] upgrade to vite-plugin-svelte 1.1.0 and enable prebundleSvelteLibraries (#7388)
  • Show more descriptive error if data returned from load is a non-POJO (#7386)

1.0.0-next.525

Patch Changes

  • Always avoid caching form submission on enhanced forms (#7350)

1.0.0-next.524

Patch Changes

  • [fix] get type gen working again (#7370)
  • [fix] don't run matchers for empty optional params (#7346)

1.0.0-next.523

Patch Changes

  • [fix] split route ids into correct segments (#7367)

1.0.0-next.522

Patch Changes

  • [docs] rewrite load docs (#7174)
  • [breaking] Prefix all route IDs with / (#7338)

1.0.0-next.521

Patch Changes

  • [feat] add reset option to update method of enhance (#7326)
  • [breaking] remove global fetch override when prerendering (#7318)
  • Improve error message when prefetching fails (#7314)

1.0.0-next.520

Patch Changes

  • [fix] ensure serialized headers check is always applied (#7221)

1.0.0-next.519

Patch Changes

  • [breaking] throw error when routes conflict (#7051)
  • [feat] implement optional route params (#7051)

1.0.0-next.518

Patch Changes

  • Enable removal of non-browser code from client builds (#7296)
  • [feat] more info about prerendering errors, add strict option to adapter-static (#7264)

1.0.0-next.517

Patch Changes

  • [fix] more informative serialization error messages (#7303)
  • [fix] add $types to includes for better DX (#7301)

1.0.0-next.516

Patch Changes

  • [fix] better navigation protocol check (#7067)
  • [fix] forward cookie headers on etag response (#7256)
  • Properly resolve absolute paths to relative on server build (#7252)

1.0.0-next.515

Patch Changes

  • Account for relative path to routes in config.kit.files.routes (#7223)
  • Use config.kit.paths.base prefix for static assets (#4448)

1.0.0-next.514

Patch Changes

  • add helpful error message for throw invalid() in form actions (#7225)

1.0.0-next.513

Patch Changes

  • Transfer server data as devalue-encoded JSON (#7177)
  • [fix] remove groups from segments for adapters (#7222)

1.0.0-next.512

Patch Changes

  • Fix parsing content-type header for actions (#7195)
  • [fix] reset form in use:enhance after successful submit (#7207)
  • [fix] auto-update commented PageError (#7189)

1.0.0-next.511

Patch Changes

  • [perf] render head links before other content (#7160)

1.0.0-next.510

Patch Changes

  • Add fetch to RequestEvent (#7113)

1.0.0-next.509

Patch Changes

  • Apply define config to service worker (#7140)
  • [chore] Skip removing HTTP/2 pseudo-headers, which is no longer necessary with undici (#7142)
  • bump devalue to version 4 (#7147)

1.0.0-next.508

Patch Changes

  • [chore] Upgrade undici so that we can use its multipart form data parsing instead of node-fetch's (#7131)

1.0.0-next.507

Patch Changes

  • Allow TypedArray request bodies in fetch in load (#7065)
  • Use FormData polyfill from undici rather than node-fetch (#7065)

1.0.0-next.506

Patch Changes

  • [docs] explain ramifications of base path (#7095)
  • [fix] decode routeIds in headers for prerendering (#7097)
  • [feat] provide update to use:enhance callback (#7083)

1.0.0-next.505

Patch Changes

  • [fix] handle form action returning nothing; handle page.(server).js without load functions (#7050)
  • [fix] add RequestEvent to $types when +layout.server.js present (#7063)

1.0.0-next.504

Patch Changes

  • Add the submitter value with name to formData for use:enhance (#7012)

1.0.0-next.503

Patch Changes

  • Added form property to $page store (#6986)
  • Throw an error if prerenderable routes are not prerendered (#6974)

1.0.0-next.502

Patch Changes

  • [fix] prevent data types from becoming type never, notice moved/deleted files (#7002)
  • Allow ActionData to be undefined (#6994)
  • Respect config.kit.env.dir when running vite preview (#7001)
  • Only run postinstall script if package.json exists (#6998)
  • Use custom x-sveltekit-action header to route enhanced form submissions to +page.server.js over +server.js (#6997)

1.0.0-next.501

Patch Changes

  • [fix] unwrap promises for load function data on the client (#6972)

1.0.0-next.500

Patch Changes

  • Allow prerendered pages to link to non-prerenderable endpoints (#6977)
  • [fix] handle SPA root data loading error (#6918)

1.0.0-next.499

Patch Changes

  • [breaking] rename App.PageError to App.Error (#6963)

1.0.0-next.498

Patch Changes

  • chdir before attempting postinstall (#6969)

1.0.0-next.497

Patch Changes

  • Add origin header for non-GET and external requests made with server-side fetch (#6901)

1.0.0-next.496

Patch Changes

  • [fix] update page status when applying action (#6942)
  • [fix] apply redirect/error logic for use:enhance (#6828)

1.0.0-next.495

Patch Changes

  • Run svelte-kit sync in all workspace directories during postinstall (#6949)

1.0.0-next.494

Patch Changes

  • Add csp wasm-unsafe-eval keyword (#6958)
  • Register service worker with relative URL (#6954)

1.0.0-next.493

Patch Changes

  • [fix] allow missing routes folder (#6944)
  • Only forward set-cookie headers for internal fetches (#6923)

1.0.0-next.492

Patch Changes

  • [fix] add missing depends function to ServerLoadEvent type (#6935)
  • Redact error message if getRequest fails (#6936)
  • Add cookies.serialize method (#6925)
  • Always apply cookies, not just for matched routes (#6925)
  • [fix] tighten up navigation and invalidation logic (#6924)
  • Respond with 413 if request body is too large (#6936)

1.0.0-next.491

Patch Changes

  • [fix] symlink routes (#6796)

1.0.0-next.490

Patch Changes

  • fix write_types on windows using posixify() (#6913)
  • Prevent caching of __data.js files (#6904)
  • Make url property getters non-enumerable (#6909)

1.0.0-next.489

Patch Changes

  • [fix] tighten up handling and documentation around 404 (#6897)

1.0.0-next.488

Patch Changes

  • Decode HTML entities in href attributes when crawling (#6891)

1.0.0-next.487

Patch Changes

  • [feat] allow +server.js files next to +page files (#6773)

1.0.0-next.486

Patch Changes

  • [fix] handle jsdoc without tags while generating proxy types (#6884)

1.0.0-next.485

Patch Changes

  • fix to ActionData type generation (#6869)
  • The return type of cookies.get is string|undefined #6865 (#6867)

1.0.0-next.484

Patch Changes

  • [fix] forward cookies from fetch on redirect response (#6833)
  • adding missing @types/cookie dependency (#6818)
  • fix write_types on windows (#6843)

1.0.0-next.483

Patch Changes

  • [fix] various cookies fixes and improvements (#6811)

1.0.0-next.482

Patch Changes

  • [fix] ActionData type (#6748)
  • [fix] reuse server data while not reusing client load (#6778)
  • [fix] update current.url on hashchange (#6802)
  • Change illegal import message to reference public-facing code rather than client-side code (#6646)
  • [fix] silence prop warnings (#6798)
  • [chore] Refactor graph analysis for better unit tests (#6727)
  • [fix] error when using paths.base and import assets (#6769)

1.0.0-next.481

Patch Changes

  • [fix] docs links in generated and published types (#6741)

1.0.0-next.480

Patch Changes

  • [breaking] make action passed to enhance function a URL instead of a string (#6678)

1.0.0-next.479

Patch Changes

  • [breaking] request creation cleanup (#6681)
  • [breaking] limit adapter-node request size (#6684)

1.0.0-next.478

Patch Changes

  • [breaking] hooks file renames; error shape defined through handleError (#6675)
  • [breaking] remove element property; enhance can only be used on form elements (#6662)

1.0.0-next.477

Patch Changes

  • [breaking] prevent import of $lib/server modules in client-facing code (#6623)
  • [breaking] change sveltekit.message to sveltekit.error.message (#6659)
  • [breaking] apply 304 logic after handle, so handle receives original response from resolve (#6639)

1.0.0-next.476

Patch Changes

  • [breaking] change use:enhance signature to support <button formaction> (#6633)

1.0.0-next.475

Patch Changes

  • cookies.delete fix #6609 (#6622)
  • [feat] provide SubmitFunction type (#6613)
  • [fix] address Vite warning when using base or asset path (#6621)

1.0.0-next.474

Patch Changes

  • [breaking] disallow default and named actions next to each other (#6615)

1.0.0-next.473

Patch Changes

  • [fix] pass form prop to pages (#6611)

1.0.0-next.472

Patch Changes

  • [breaking] add API for interacting with cookies (#6593)
  • [breaking] Replace POST/PUT/PATCH/DELETE in +page.server.js with export const actions (#6469)

1.0.0-next.471

Patch Changes

  • [breaking] Allow users to designate modules as server-only (#6422)
  • [breaking] exclude headers from serialized responses by default, add filterSerializedResponseHeaders resolve option (#6569)

1.0.0-next.470

Patch Changes

  • Bump vite-plugin-svelte and required vite version (#6583)
  • [feat] Support for $env/dynamic/* in Vite ecosystem tools (#6454)
  • [breaking] Replace externalFetch with handleFetch (#6565)

1.0.0-next.469

Patch Changes

  • disable rollupOptions.output.hoistTransitiveImports by default (#6560)

1.0.0-next.468

Patch Changes

  • [breaking] simulate CORS errors in server-side fetch (#6550)

1.0.0-next.467

Patch Changes

  • [breaking] prevent server-side fetch from reading files with # character in the filename (#6549)

1.0.0-next.466

Patch Changes

  • [breaking] change Navigation type to include from/to.params and from/to.routeId (#6552)
  • Warn about incorrect data-sveltekit-x values (#6546)

1.0.0-next.465

Patch Changes

  • [feat] add type to navigation object (#6537)

1.0.0-next.464

Patch Changes

  • Fix server manifest generation (#6507)
  • Silently skip prefetching of external URLs when using data-sveltekit-prefetch. Warn like before when calling prefetch() for external URLs. (#6518)

1.0.0-next.463

Patch Changes

  • fix peer dependency warning on vite-3.1.0-beta.1 (#6512)
  • [breaking] respect cache-control max-age on the client for initially fetched responses (#6461)

1.0.0-next.462

Patch Changes

  • [breaking] block cross-site form POSTs by default. disable with config.kit.csrf.checkOrigin (#6510)

1.0.0-next.461

Patch Changes

  • [breaking] call invalidate(fn) predicates with a URL instead of a string (#6493)
  • Prefer JSON responses when returning errors if accept header is */* (#6497)
  • [breaking] replace invalidate() with invalidateAll() (#6493)

1.0.0-next.460

Patch Changes

  • [breaking] Remove sveltekit:start event (#6484)

1.0.0-next.459

Patch Changes

  • Prevent validation_errors from being serialized twice (#6468)

1.0.0-next.458

Patch Changes

  • [breaking] catch and render raw response when unexpected error occurs in endpoint (#6434)

1.0.0-next.457

Patch Changes

  • Print error if resolveOpts.ssr is set (#6475)

1.0.0-next.456

Patch Changes

  • Apply data-sveltekit-prefetch/noscroll/reload to all child <a> elements (#6442)
  • [fix] Saving the root route will write types now (#6450)

1.0.0-next.455

Patch Changes

  • bump vite-plugin-svelte to 1.0.3 to fix an issue with svelte-inspector in vite 3.1 (#6443)
  • [chore] bump ts version and ensure it works with latest changes (#6428)
  • [breaking] ssr/hydrate/router/prerender.default are now configurable in +page(.server).js and +layout(.server).js (#6197)
  • [breaking] add error.html page, rename kit.config.files.template to kit.config.files.appTemplate (#6367)
  • [breaking] merge resolve options when using sequence helper (#6401)
  • [breaking] replace router/hydrate page options with csr (#6446)
  • [breaking] add prerender = 'auto' option, and extend prerender option to endpoints (#6392)

1.0.0-next.454

Patch Changes

  • [breaking] Replace sveltekit:* with valid HTML attributes like data-sveltekit-* (#6170)

1.0.0-next.453

Patch Changes

  • Include type descriptions for ambient declarations (#6416)

1.0.0-next.452

Patch Changes

  • [breaking] remove App.PrivateEnv and App.PublicEnv in favour of generated types (#6413)

1.0.0-next.451

Patch Changes

  • Prevent infinite reloads on / when root +layout.server.js exports load (#6405)

1.0.0-next.450

Patch Changes

  • [breaking] require Vite 3.1.0-beta.1 (#6398)

1.0.0-next.449

Patch Changes

  • [fix] silence unused type hints in generated proxy files (#6391)

1.0.0-next.448

Patch Changes

  • prevent test suites from getting published (#6386)
  • [fix] remove unnecessary JSON serialization of server data (#6382)
  • [breaking] require Node 16.14 (#6388)

1.0.0-next.447

Patch Changes

  • Use devalue to serialize server-only load return values (#6318)

1.0.0-next.446

Patch Changes

  • [fix] encode if root layout has server load (#6352)

1.0.0-next.445

Patch Changes

  • [breaking] rename $app/env to $app/environment, to disambiguate with $env/... (#6334)

1.0.0-next.444

Patch Changes

  • set errors on root component (#6330)
  • [fix] do not call server and update $page.data unnecessarily (#6311)

1.0.0-next.443

Patch Changes

  • [fix] prevent unused types warning (#6293)
  • [fix] don't reuse server load data from previous page if current doesn't have a load function (#6309)

1.0.0-next.442

Patch Changes

  • [fix] handle case where parent() refers to missing load function (#6282)

1.0.0-next.441

Patch Changes

  • [fix] Set errors prop on all layout/leaf components, not just page that happens to be deepest (#6279)
  • Fix route sorting with groups (#6288)

1.0.0-next.440

Patch Changes

  • [fix] type tweaks (#6271)
  • Correctly determine whether route uses server data (#6275)

1.0.0-next.439

Patch Changes

  • [feat] add App.PageData type (#6226)

1.0.0-next.438

Patch Changes

  • more granular URL property tracking during load (#6237)
  • [breaking] change event.clientAddress to event.getClientAddress() (#6237)
  • Remove all enumerable getters from RequestEvent and LoadEvent (#6237)

1.0.0-next.437

Patch Changes

  • [fix] only generate blank non-SSR pages when prerendering is enabled (#6251)

1.0.0-next.436

Patch Changes

  • [fix] prerender routes in a (group) (#6232)

1.0.0-next.435

Patch Changes

  • [fix] allow @ route breakouts to layouts in [foo] or (foo) directories (#6224)

1.0.0-next.434

Patch Changes

  • Always create $types for a route with a layout, leaf or endpoint (#6222)

1.0.0-next.433

Patch Changes

  • [feat] Moved hooks.js initialization from Server.respond into Server.init (#6179)

1.0.0-next.432

Patch Changes

  • [breaking] implement new layout system (see the PR for migration instructions) (#6174)

1.0.0-next.431

Patch Changes

  • [feat] Avoid running load on the server unnecessarily (#6056)

1.0.0-next.430

Patch Changes

  • [feat] Added config.kit.env.dir, which allows users to set a directory to search for .env files (#6175)

1.0.0-next.429

Patch Changes

  • [fix] Prevent import of $env/*/private in client (#6018)
  • Fix vite.config.ts "Cannot find module '@sveltejs/kit/vite' or its corresponding type declarations." (#6140)

1.0.0-next.428

Patch Changes

  • Allow $app/stores to be used from anywhere on the browser (#6100)
  • use enumerable: false on "[x] no longer exists" getters so that they are not triggered by spreading (#6105)
  • Fix pattern matching for routes starting with an encoded @ symbol (#6110)
  • Fix typos in generating LayoutServerLoad.{name} type (#6123)
  • Fix sorting of files into +layout, +error, everything else. (#6108)
  • Add test folder to generated tsconfig (#6085)

1.0.0-next.427

Patch Changes

  • Throw error if browser.hydrate is false and browser.router is true (#6086)

1.0.0-next.426

Patch Changes

  • Avoid using [].at(-1) in the client (#6082)

1.0.0-next.425

Patch Changes

  • Silence more unknown prop warnings coming from SvelteKit (#6078)

1.0.0-next.424

Patch Changes

  • prevent duplicate module ids by disabling optimizeDeps for @sveltejs/kit (#6057)
  • Generate types when Svelte file missing, fix layout params (#6066)
  • Silence unknown prop warnings coming from SvelteKit (#6071)

1.0.0-next.423

Patch Changes

  • Accumulate data from parent layouts into export let data (#6050)

1.0.0-next.422

Patch Changes

  • [breaking] remove ability for +page.server.js to respond to GET requests with JSON (#6007)
  • Handle throw error/redirect in +server.js (#6028)
  • handle set-cookie in setHeaders (#6033)
  • Handle windows paths and regexp chars in kit.alias (#6034)
  • Make errors type in Action type less restrictive (#6022)
  • Check that data is serializable (#5987)
  • Fix parent data type for layouts referencing named layouts in the same folder (#6025)

1.0.0-next.421

Patch Changes

  • Respect export const prerender = false in +page.server.js (#6012)

1.0.0-next.420

Patch Changes

  • [fix] support linked @sveltejs/kit project in Vite 3.0.3+ (#5861)

1.0.0-next.419

Patch Changes

  • Return a 303 response when a POST handler provides a location (#5989)
  • Generate __data.json files for server-side redirects when prerendering (#5997)
  • [chore] remove chokidar as dependency of kit (#5996)
  • Use relative asset paths where possible (#4250)

1.0.0-next.418

Patch Changes

  • Prevent double import of env modules (#5955)
  • Tighten up params typings, fix load function typings, add event typings to generated types (#5974)

1.0.0-next.417

Patch Changes

  • Render pages without a .svelte file in their proper layout/error files (#5972)

1.0.0-next.416

Patch Changes

  • [fix] allow additional keys in svelte.config.js (#5961)

1.0.0-next.415

Patch Changes

  • [breaking] Remove session object (#5946)

1.0.0-next.414

Patch Changes

  • Correctly provide server parent data (#5916)

1.0.0-next.413

Patch Changes

  • [feat] $env/static/* are now virtual to prevent writing sensitive values to disk (#5825)

1.0.0-next.412

Patch Changes

  • Lazy load Svelte components to reenable no-ssr use cases (#5930)

1.0.0-next.411

Patch Changes

  • Hydration validation errors (#5918)
  • Handle function without params when writing TS proxy (#5928)
  • [fix] prevent Content-Length header from being incorrectly inherited by requests made from load's fetch during SSR (#5922)
  • Provide helpful error message on invalid named layout reference (#5912)

1.0.0-next.410

Patch Changes

  • Fix generated path extension for AwaitedProperties (#5917)

1.0.0-next.409

Patch Changes

  • make generated type import path ends in .js (#5907)

1.0.0-next.408

Patch Changes

  • Only search for layout name in basename (#5897)

1.0.0-next.407

Patch Changes

  • Allow actions to return undefined (#5892)
  • [fix] avoid manifest collisions (#5874)
  • Make package command remove publishConfig.directory from generated package.json (#5848)

1.0.0-next.406

Patch Changes

1.0.0-next.405

Patch Changes

  • Move compress logic to Builder API (#5822)
  • [feat] implement Link header (#5735)

1.0.0-next.404

Patch Changes

  • Build server without removing sveltekit Vite plugin (#5839)

1.0.0-next.403

Patch Changes

  • [chore] upgrade to Undici 5.8.1 (#5804)

1.0.0-next.402

Patch Changes

  • [fix] Import analysis doesn't get stuck in an infinite loop when encountering cyclical imports (#5794)

1.0.0-next.401

Patch Changes

  • [fix] chdir to user's application directory before running postinstall sync (#5771)

1.0.0-next.400

Patch Changes

  • More robust path aliasing (#5582)

1.0.0-next.399

Patch Changes

  • Use @sveltejs/kit postinstall lifecycle hook to invoke 'svelte-kit sync' instead of prepare in projects created by create-svelte (#5760)

1.0.0-next.398

Patch Changes

  • Check url protocol to avoid mailto links navigated by kit in mobile devices (#5726)
  • [fix] Windows correctly errors on $env/*/private imports (#5739) [fix] Illegal module analysis in dev ignores non-js|ts|svelte files
  • [feat] include reference to @sveltejs/kit types in ambient file (#5745)

1.0.0-next.397

Patch Changes

  • load env before importing hooks during dev (#5728)
  • Add DOM.Iterable to default tsconfig (#5734)

1.0.0-next.396

Patch Changes

  • [fix] Environment variable generated types (#5719)

1.0.0-next.395

Patch Changes

  • Add $env/static/private, $env/static/public, $env/dynamic/private and $env/dynamic/public modules (#5663)

1.0.0-next.394

Patch Changes

  • Set Vite's publicDir and correctly serve public assets earlier in pipeline (#5686)
  • prerender in a subprocess (#5678)

1.0.0-next.393

Patch Changes

  • Prevent needless prop updates causing rerenders (#5671)
  • Support custom Vite config locations (#5705)
  • Prevent rerender when route state did not change (#5654)

1.0.0-next.392

Patch Changes

  • Revert publicDir change from 1.0.0-next.387 (#5683)

1.0.0-next.391

Patch Changes

  • [breaking] replace transformPage with transformPageChunk (#5657)

1.0.0-next.390

Patch Changes

  • [fix] vite dev no longer covers errors (#5563)

1.0.0-next.389

Patch Changes

  • Only normalise internal URLs (#5645)

1.0.0-next.388

Patch Changes

  • Reset stack traces to avoid double-fix (#5644)

1.0.0-next.387

Patch Changes

  • set Vite's publicDir option (#5648)
  • Normalize paths inside prerenderer, so they are correct inside $service-worker (#5641)

1.0.0-next.386

Patch Changes

  • Ensure private cache when something is returned from getSession hook (#5640)
  • [fix] transform link[rel=icon] to be absolute to avoid console error when navigating (#5583)

1.0.0-next.385

Patch Changes

  • Make 404 error more helpful if paths.base is missing (#5622)
  • [fix] decode parameters on client (d02f1f25)
  • Add config.kit.prerender.origin (#5627)

1.0.0-next.384

Patch Changes

  • Respect custom Vite mode in SSR build (#5602)
  • [breaking] remove mode, prod and server from $app/env (#5602)

1.0.0-next.383

Patch Changes

  • Add formData method in superclass rather than monkey-patch (#5629)

1.0.0-next.382

Patch Changes

  • [fix] change Vite's output directory from _app to client (#5620)

1.0.0-next.381

Patch Changes

  • Handle errors in Node streams (#5616)

1.0.0-next.380

Patch Changes

  • Handle circular dependencies in dynamic imports (#5619)
  • [fix] handle binary data when prerendering (#5497)
  • [breaking] remove writeStatic to align with Vite (#5618)
  • Reset navigating store upon return to site with a bfcache hit (#5613)

1.0.0-next.379

Patch Changes

  • Use define instead of import.meta.env.VITE_SVELTEKIT_FOO for internal values (#5594)

1.0.0-next.378

Patch Changes

  • Pause Node streams as necessary when converting to ReadableStream (#5587)
  • improve vite version check to work with custom resolutions, eg. pnpm overrides (#5586)

1.0.0-next.377

Patch Changes

  • [breaking] Endpoint method names uppercased to match HTTP specifications (#5513)

1.0.0-next.376

Patch Changes

  • [fix] ensure completed_build is reset (#5541)

1.0.0-next.375

Patch Changes

  • fix: don't try adapting if build failed (#5536)
  • Render generic error page if __layout returns error while rendering full error page (#4665)

1.0.0-next.374

Patch Changes

  • removed vite key from config definition (#5530)
  • Render page with correct status code when non-get endpoint returns validation error (#4328)

1.0.0-next.373

Patch Changes

  • [breaking] require vite 3 (#5005)

1.0.0-next.372

Patch Changes

  • ignore invalid accept header values instead of throwing an error (#5502)
  • support CSP report-only mode (#5496)

1.0.0-next.371

Patch Changes

  • Pin vite-plugin-svelte to 1.0.0-next.49 (#5498)

1.0.0-next.370

Patch Changes

  • Don't automatically buffer request bodies (#5442)

1.0.0-next.369

Patch Changes

  • skip closeBundle hook during dev to prevent errors on restart (#5466)
  • Normalize paths on prefetch (fixes #5457) (#5458)
  • clearer error on bad matcher names (#5460)

1.0.0-next.368

Patch Changes

  • [fix] adapt in closeBundle (#5439)

1.0.0-next.367

Patch Changes

  • [fix] allow Vite plugins to output mutable assets (#5416)

1.0.0-next.366

Patch Changes

  • reset selection in setTimeout after navigating, to ensure correct behaviour in Firefox (#5058)

1.0.0-next.365

Patch Changes

  • Serve static assets before routes in dev, but only if in an allowed directory (#5070)
  • [breaking] Allow %-encoded filenames (#5056)

1.0.0-next.364

Patch Changes

  • [breaking] Use Vite defaults for port and strictPort (#5392)
  • Use anonymous function in service worker init script to support legacy browsers (#5417)

1.0.0-next.363

Patch Changes

  • [chore] upgrade TypeScript to 4.7.4 (#5414)

1.0.0-next.362

Patch Changes

  • Updated undici to fix #5383 (#5420)

1.0.0-next.361

Patch Changes

  • [breaking] require Node 16.9 (#5395)
  • remove FLoC protection, now that we vanquished Google (#5018)
  • Prevent Connection header from being incorrectly inherited by requests made from load's fetch during SSR (#5393)
  • Returns errors from page endpoints as JSON where appropriate (#5314)
  • Allow body to be a binary ReadableStream (#5407)

1.0.0-next.360

Patch Changes

  • [fix] support conditional Vite configs (#5376)
  • Allow server restart when config changed (#5379)
  • Include dynamically imported styles during SSR (#5138)

1.0.0-next.359

Patch Changes

  • Adjust type imports to satisfy TS NodeNext moduleResolution (#5360)
  • [breaking] require vite.config.js (#5332)
  • [breaking] graduate @sveltejs/kit/vite from experimental (#5332)
  • [breaking] switch to vite CLI for dev, build, and preview commands (#5332)

1.0.0-next.358

Patch Changes

  • Only exit process in closeBundle hook if prerender is enabled (#5356)
  • [fix] don't log warning if root is configured (#5330)

1.0.0-next.357

Patch Changes

  • [breaking] change endpointExtensions to moduleExtensions, and use to filter param matchers (#5085)
  • fix server crash when accessing a malformed URI (#5246)

1.0.0-next.356

Patch Changes

  • Stream request bodies (#5291)
  • Enable multipart formdata parsing with node-fetch (#5292)
  • [fix] allow user to set dev port (#5303)
  • [breaking] use undici instead of node-fetch (#5117)

1.0.0-next.355

Patch Changes

  • [chore] Prerendering URL is now a subclass instead of a proxy (#5278)
  • [fix] support vite.config.js on Windows (#5265)
  • Allow both string and URL as the first argument of $app/navigation#goto (#5282)
  • rename goto(href) to goto(url) (#5286)
  • Add types for @sveltejs/kit/experimental/vite (#5266)
  • fix: port flag doesn't work in preview (#5284)

1.0.0-next.354

Patch Changes

  • Added server and prod env variables (#5251)

1.0.0-next.353

Patch Changes

  • Expose Vite plugin as @sveltejs/kit/experimental/vite (#5094)

1.0.0-next.352

Patch Changes

  • fix manifest not updating when adding routes (#5157)

1.0.0-next.351

Patch Changes

  • [fix] URL instance methods now work in load (#5183)

1.0.0-next.350

Patch Changes

  • [breaking] revert removal of kit.browser.hydrate (#5178)

1.0.0-next.349

Patch Changes

  • [breaking] remove kit.browser.hydrate config in favor of compilerOptions.hydratable (#5155)
  • [chore] upgrade to Vite 2.9.10 (#5170)

1.0.0-next.348

Patch Changes

  • Disallow access to __data.json for standalone endpoints (#5149)
  • [chore] introduce KitConfig type (#5141)
  • Prevent incorrect redirect for __data.json request with trailingSlash: 'always' (#5149)

1.0.0-next.347

Patch Changes

  • Update dependencies (#5121)
  • allow symlinked static assets in dev (#5089)

1.0.0-next.346

Patch Changes

  • [chore] provide Vite config via plugin (#5073)
  • Reload page to recover from HMR errors (#5108)
  • [chore] shared Vite build config (#5105)
  • fix BodyValidator handling for nested object literals (#5118)
  • [fix] don't set credentials to undefined in server-side fetch (#5116)

1.0.0-next.345

Patch Changes

  • Prevent component double mounting caused by HMR invalidation (#4891)
  • Only recreate manifest when files inside config.kit.files.routes are added or deleted (#5076)

1.0.0-next.344

Patch Changes

  • [fix] svelte-kit sync no longer permanently deletes the types directory (#5063)
  • [chore] trigger sync and other setup from plugin (#5067)
  • Update engines to specify that Node 16.7 is required (#5062)
  • only serve _app/immutable with immutable cache header, not _app/version.json (#5051)

1.0.0-next.343

Patch Changes

  • [chore] return config from server start methods (#5043)

1.0.0-next.342

Patch Changes

  • ensure static assets are only served if correct case is used (#5047)
  • [breaking] stop suppressing /favicon.ico requests, handle them as a valid route (#5046)
  • don't warn about window.fetch during hydration (#5041)

1.0.0-next.341

Patch Changes

  • fix: page store correct after navigation when an identical route with a different hash had been prefetched (#5039)
  • [breaking] replace @sveltejs/kit/install-fetch with @sveltejs/kit/node/polyfills (#4934)
  • fix: Prerendered pages fail if they access session. (#4811)

1.0.0-next.340

Patch Changes

  • feat: Pages marked for prerendering fail during ssr at runtime (#4812)
  • Throw load validation errors so that they are caught by handleError (#4953)
  • Allow symlinked directories in the routes folder (#4957)
  • [breaking] Rename LoadInput to LoadEvent (#5015)
  • allow disableScrollHandling to be called in afterNavigate (#4948)
  • Add config.kit.alias (#4964)
  • use namespace import for vite to support upcoming vite 3.0 esm (#5030)

1.0.0-next.339

Patch Changes

  • [breaking] resolve relative urls from the target page when using load's fetch (#5025)
  • [fix] svelte-kit sync gracefully handles a nonexistent routes folder (#5020)
  • [breaking] Replace %svelte.body% with %sveltekit.body%, etc. (#5016)

1.0.0-next.338

Patch Changes

  • [breaking] remove amp config option in favour of amp.transform helper function (#4710)
  • [breaking] accessing url.hash from load now results in a helpful error (#4983)

1.0.0-next.337

Patch Changes

  • [fix] don't watch outDir, except for the generated directory (#4997)
  • Warn if load uses window.fetch (#4958)
  • Only run viteServeStaticMiddleware after server has attempted response (#4974)

1.0.0-next.336

Patch Changes

  • Pass config to vite-plugin-svelte instead of reloading it (#4760)
  • fix FOUC regression during dev (#4990)
  • move RequestEvent and ResolveOptions as public types (#4809)
  • [breaking] write generated types to __types directories (#4705)

1.0.0-next.335

Patch Changes

  • [breaking] change data-hydrate to data-sveltekit-hydrate (#4972)
  • Fix default port override (#4970)

1.0.0-next.334

Patch Changes

  • [fix] deduplicate injected css during dev (#4920)

1.0.0-next.333

Patch Changes

  • [breaking] delay automatic service worker registration until load event (#4950)

1.0.0-next.332

Patch Changes

  • Revert dev command default options (#4949)

1.0.0-next.331

Patch Changes

  • fix BodyValidator for nested interfaces (#4939)
  • [breaking] drop Node 14 support (#4922)
  • only skip files that were already written when prerendering (#4928)
  • Set default options for dev command (#4932)

1.0.0-next.330

Patch Changes

  • Fix Safari scroll bug on ssr:false page reload (#4846)

1.0.0-next.329

Patch Changes

  • [fix] stop flash of unstyled content when using CSS flavours (#4882)
  • delegate RequestHandler generics Body validation (#4897)
  • [feat] more specific types for kit.prerender.entries config (#4880)
  • Prevent unhandled rejections when loading page modules (#4732)

1.0.0-next.328

Patch Changes

  • Print useful 404 response when requesting unprefixed path in preview (#4751)
  • Prevent naive path normalization during prerendering (#4761)

1.0.0-next.327

Patch Changes

  • generate tsconfig when running svelte-kit package (#4824)

1.0.0-next.326

Patch Changes

  • [breaking] add lib, module, and target to generated tsconfig (#4791)

1.0.0-next.325

Patch Changes

  • Display network logs in node 18 (#4778)

1.0.0-next.324

Patch Changes

  • Throw errors on encountering named layout in directory (#4756)

1.0.0-next.323

Patch Changes

  • Default to target: node14.8, so that top-level await is supported in user code (#4742)
  • Only complain about missing $lib paths in tsconfig if src/lib exists (#4735)
  • Include all assets in $service-worker build, not just CSS (#4744)

1.0.0-next.322

Patch Changes

  • Copy dotfiles from .svelte-kit/output (#4725)
  • [breaking] Ignore trailingSlash for endpoint requests, apply trailingSlash to pages consistently (#4699)

1.0.0-next.321

Patch Changes

  • Tweak error message for non-validating base paths (#4713)
  • [breaking] Supplying an empty --host option to preview exposes the server to both ipv4 and ipv6 networks (#4729)
  • throw error on encountering infinite layout loop (#4730)

1.0.0-next.320

Patch Changes

  • [breaking] Replace maxage with cache in LoadOutput (#4690)

1.0.0-next.319

Patch Changes

  • Add --watch flag to svelte-kit package (#4658)

1.0.0-next.318

Patch Changes

  • fix broken AdapterEntry type (#4674)

1.0.0-next.317

Patch Changes

  • Navigation to current URL is no longer a no-op (#4664)
  • builder.createEntries returns a promise that awaits complete() callbacks (#4663)
  • navigation store resets to null after aborted nav (#4664)

1.0.0-next.316

Patch Changes

  • invalidate with predicate function (#4636)

1.0.0-next.315

Patch Changes

  • Apply set-cookie headers from page dependencies (#4588)
  • Include disallowed method name in 405 response, include Allow header (#4614)
  • apply updated props.page when update or goto page (#4392)
  • rename data-svelte attribute to data-sveltekit (#4641)

1.0.0-next.314

Patch Changes

  • Custom load dependencies in LoadOutput (#4536)
  • Made LoadInput and LoadOutput types public, merged ErrorLoad and Load declarations (#4515)

1.0.0-next.313

Patch Changes

  • add platform to requests triggered by fetch in load during SSR (#4599)

1.0.0-next.312

Patch Changes

  • Only render fallback when prerendering is enabled (#4604)

1.0.0-next.311

Patch Changes

  • Skip client-side navigation for links with sveltekit:reload (#4545)
  • [breaking] Skip prerendering for rel="external" links (#4545)

1.0.0-next.310

Patch Changes

  • Remove credentials when creating request object in server-side fetch (#4548)

1.0.0-next.309

Patch Changes

  • Fix session store subscription tracking during SSR (#4550)

1.0.0-next.308

Patch Changes

  • Remove static directory from Vite's control (#4535)

1.0.0-next.307

Patch Changes

  • Allow index files to use named layouts (#4527)
  • Respect ssr option when rendering 404 page (#4513)
  • Remove unimplemented option from CLI (#4507)
  • Move MaybePromise from RequestHandlerOutput to RequestHandler return value (#4519)

1.0.0-next.306

Patch Changes

  • Hint if paths.base is missing in dev (#4510)
  • Respect paths.base when using --open (#4510)
  • [breaking] Add named layouts, remove __layout.reset (#4388)

1.0.0-next.305

Patch Changes

  • Generate correct types for routes with parameter matchers (#4472)

1.0.0-next.304

Patch Changes

  • Upgrade to Vite 2.9 (#4468)
  • allow files and directories named __tests__ and __test__ in the routes directory (#4438)
  • Create fallback page when prerendering is disabled (#4443)

1.0.0-next.303

Patch Changes

  • [fix] don't use client-side navigation when clicking on a link to the same path on a different origin (#4433)

1.0.0-next.302

Patch Changes

  • [fix] don't redirect to external URLs when normalizing paths (#4414)
  • Fix error link for fallthrough replacement (#4408)

1.0.0-next.301

Patch Changes

  • Skip svelte-kit sync if no config file exists yet (#4372)

1.0.0-next.300

Patch Changes

  • [fix] correctly populate event.url.host in dev mode when using --https (#4364)
  • fix rest param type generation (#4361)
  • [breaking] Rename validators to matchers (#4358)

1.0.0-next.299

Patch Changes

  • Populate fallback page when trailingSlash is "always" (#4351)
  • Expose event.routeId and page.routeId (#4345)
  • [breaking] remove fallthrough routes (#4330)
  • Add param validators (#4334)
  • [breaking] disallow $ character in dynamic parameters (#4334)
  • Populate event.params before calling handle (#4344)

1.0.0-next.298

Patch Changes

  • fix: correctly detect removal of route (#4333)

1.0.0-next.297

Patch Changes

  • [breaking] allow InputProps and OutputProps to be typed separately in generated Load (#4305)
  • allow Output to be typed in generated RequestHandler (#4305)
  • [breaking] require adapters to supply a getClientAddress function (#4289)
  • Allow page endpoint without GET handler (#4318)
  • Return 404 when fetching missing data during prerender (#4324)
  • expose client IP address as event.clientAddress (#4289)

1.0.0-next.296

Patch Changes

  • Allow adapter.adapt to be synchronous (#4299)
  • Make manifest.mimeTypes part of the public API (#4302)
  • load hooks after server initialisation, to ensure prerendering is correct (#4322)

1.0.0-next.295

Patch Changes

  • fix error message for invalid request object (#4277)
  • Handle explicit redirects from endpoints (#4260)
  • Allow routes with the same name as fallback components (#4284)

1.0.0-next.294

Patch Changes

  • [breaking] Replace timestamp in $service-worker with version (#4213)
  • Remove declared $lib module (#4227)

1.0.0-next.293

Patch Changes

  • Expose Server and SSRManifest as public types (#4220)
  • fetch version.json relative to paths.assets, if set (#4234)

1.0.0-next.292

Patch Changes

  • Prevent Vite from copying static assets if directory is called "public" (#4214)
  • Add sync CLI command (#4182)
  • [breaking] expose entire config to adapters, rather than just appDir and trailingSlash (#4192)
  • [breaking] replace builder.prerender() with builder.writePrerendered() and builder.prerendered (#4192)
  • [breaking] prerender pages during build, regardless of adapter (#4192)
  • Add config.kit.prerender.default option (#4192)
  • Ensure props are loaded from matching endpoint during client-side navigation (#4203)
  • Use prerendered pages in svelte-kit preview (#4192)
  • Upgrade to TypeScript 4.6 (#4190)
  • Fix svelte-kit preview (#4207)
  • Make prerendered paths available to service workers (#4192)
  • Update history immediately before updating DOM (#4191)
  • Add config.kit.endpointExtensions option (#4197)

1.0.0-next.291

Patch Changes

  • Focus on body instead of html on navigation due to issues on Firefox (#4184)

1.0.0-next.290

Patch Changes

  • Add config.kit.outDir (#4176)
  • [breaking] allow InputProps and OutputProps to be typed separately in Load (#4160)

1.0.0-next.289

Patch Changes

  • Only fall back to full page reload if pathname has changed (#4116)
  • Generate types for each page/endpoint (#4120)
  • Extend user tsconfig from generated .svelte-kit/tsconfig.json (#4118)

1.0.0-next.288

Patch Changes

  • Fix XSS vulnerability on SSR pages with fetched data on load() (#4128)
  • [breaking] tabindex="-1" is no longer added to <body>; <html> only briefly receives it during navigation (#4140)
  • RequestHandlerOutput accepts body when it has or maybe is undefined (#4152)

1.0.0-next.287

Patch Changes

  • [breaking] Rename __fetch_polyfill to installFetch, remove fetch exports (#4111)

1.0.0-next.286

Patch Changes

  • Prevent double-fixing of error stack traces in dev mode (#4041)
  • Expose Navigation type (#4076)
  • add new Page type (#4076)
  • [breaking] separate public from private-but-documented types (#4104)

1.0.0-next.285

Patch Changes

  • [breaking] referer header sent by fetch in load matches page's referer header, not the page itself (#4070)
  • [breaking] remove sveltekit:navigation-{start,end} events (#4070)
  • [breaking] defer pushState until navigation occurs (#4070)

1.0.0-next.284

Patch Changes

  • Disable meta http-equiv tags for static amp configuration (#4073)
  • Ignore click event if url does not have origin (e.g. mailto:, tel:) (#4072)

1.0.0-next.283

Patch Changes

  • create __data.json for pathnames with trailing slashes, including / (#4066)

1.0.0-next.282

Patch Changes

  • [fix] remove private methods to make Safari 14.1 work (#4054)

1.0.0-next.281

Patch Changes

  • Allow the transformPage resolve option to return a promise (#4036)

1.0.0-next.280

Patch Changes

  • [breaking] rename app.render to server.respond (#4034)
  • [breaking] allow providing Params type argument for RequestHandler (#3989)

1.0.0-next.279

Patch Changes

  • Fix escaped html attributes (#4015)

1.0.0-next.278

Patch Changes

  • [breaking] Crawl rel="external" links when prerendering (#3826)

1.0.0-next.277

Patch Changes

  • Fall back to full page reload if link href does not match route manifest (#3969)
  • Update page store without rerunning load when hash changes (#3975)

1.0.0-next.276

Patch Changes

  • Track scroll position without scroll listener, and recover on reload (#3938)

1.0.0-next.275

Patch Changes

  • Invalidate shadow endpoint data when URL changes (#3925)

1.0.0-next.274

Patch Changes

  • Set $page.url to current URL in browser (#3942)

1.0.0-next.273

Patch Changes

  • Correctly identify readable node streams (#3941)
  • remove 'Shadow' from error message (#3943)

1.0.0-next.272

Patch Changes

  • Make shadow endpoint event.url consistent between server and client navigation (#3780)
  • Prevent duplicated history when navigating via hash link (#3931)

1.0.0-next.271

Patch Changes

  • Add transformPage option to resolve (#3914)

1.0.0-next.270

Patch Changes

  • handle HEAD requests in endpoints (#3903)
  • Use shadow endpoint without defining a get endpoint (#3816)

1.0.0-next.269

Patch Changes

  • Ensure handleError hook is called for shadow endpoint errors (#3879)

1.0.0-next.268

Patch Changes

  • refactor: use one escape function for json in html script body instead of two slightly different (#3804)

1.0.0-next.267

Patch Changes

  • Set cookies when redirecting from shadow endpoint (#3874)

1.0.0-next.266

Patch Changes

  • fix casing of .DS_Store in the default config for serviceWorker (#3823)
  • [fix] avoid mutating response Headers (#3829)

1.0.0-next.265

Patch Changes

  • [breaking] remove createIndexFiles option, derive from trailingSlash instead (#3801)
  • Pass trailingSlash config to adapters (#3820)

1.0.0-next.264

Patch Changes

  • fix links pointing to multi-page docs (#3815)
  • upgrade to TypeScript 4.5 (#3809)

1.0.0-next.263

Patch Changes

  • Handle numeric headers (#3716)
  • [fix] replace broken escaping with a working version (#3798)

1.0.0-next.262

Patch Changes

  • update to Vite 2.8 and esbuild 0.14 (#3791)

1.0.0-next.261

Patch Changes

  • Prevent full reload when router navigates and only removes hash (#3757)
  • fixes shadow hydration escaping (#3793)
  • fixes an error with fetching shadow endpoints if they are ending with '/' (#3740)

1.0.0-next.260

Patch Changes

  • Allow Response object to be returned without properties showing up in object constructor (#3697)
  • Implement shadow endpoints (#3679)

1.0.0-next.259

Patch Changes

  • Prevent Host header from being incorrectly inherited by requests made from load's fetch during SSR (#3690)

1.0.0-next.258

Patch Changes

  • Update $app/stores page.stuff to use App.Stuff (#3686)

1.0.0-next.257

Patch Changes

  • Rename JSONString type to JSONValue (#3683)
  • Add App namespace for app-level types (#3670)
  • [breaking] remove target option (#3674)

1.0.0-next.256

Patch Changes

  • fix regression in parsing HTML when crawling for pre-rendering (#3677)

1.0.0-next.255

Patch Changes

  • fix parsing during pre-render crawl when there are HTML attributes without a value (#3668)
  • Correctly populate asset manifest when generating service worker (#3673)

1.0.0-next.254

Patch Changes

  • Add version config and expose updated store (#3412)
  • [fix] update types to match changes to Vite config handling (#3662)

1.0.0-next.253

Patch Changes

  • Allow config.kit.vite to be an async function (#3565)
  • Include page request headers in server-side fetches (#3631)

1.0.0-next.252

Patch Changes

  • remove nonexistent url store from $app/stores ambient types (#3640)

1.0.0-next.251

Patch Changes

  • Handle non-compliant ReadableStream implementations (#3624)

1.0.0-next.250

Patch Changes

  • [breaking] move config.kit.hydrate and config.kit.router to config.kit.browser (#3578)
  • add prerender.createIndexFiles option (#2632)

1.0.0-next.249

Patch Changes

  • Include service worker in manifest (#3570)
  • Add kit.routes config to customise public/private modules (#3576)

1.0.0-next.248

Patch Changes

  • Decode fetched resources before checking against manifest when prerendering (#3571)
  • [breaking] remove -H and (conflicting) -h shortcuts from CLI (#3573)

1.0.0-next.247

Patch Changes

  • fix handling an incoming request from HTTP/2 (#3572)

1.0.0-next.246

Patch Changes

  • svelte-kit package gives clearer error message when svelte2tsx and typescript are not installed (#3562)
  • svelte-kit package errors when lib directory does not exist (#3562)
  • [chore] refactor AMP validation (#3554)

1.0.0-next.245

Patch Changes

  • Allow adapters to pass in platform object (#3429)
  • favicon.ico is now requestable (#3559)

1.0.0-next.244

Patch Changes

  • [fix] reading from same response body twice during prerender (#3473) (#3521)
  • Add CSP support (#3499)
  • [chore] remove InternalHandle (#3541)
  • Force Vite to use HTTP/1 in dev mode, so dev --https works again (#3553)

1.0.0-next.243

Patch Changes

  • [fix] hydrate real HTTP requests (#3547)

1.0.0-next.242

Patch Changes

  • reinstate EndpointOutput generic (#3537)

1.0.0-next.241

Patch Changes

  • svelte-kit package only encodes text files (#3522)

1.0.0-next.240

Patch Changes

  • Error if handle hook returns something other than a Response (#3496)
  • allow setting multiple set-cookie headers (#3502)
  • fixed prerendering with base path configured (#3500)

1.0.0-next.239

Patch Changes

  • Insert cache-control header when prerendering (#3493)

1.0.0-next.238

Patch Changes

  • Escape prerendered redirect locations, instead of encoding them (#3456)

1.0.0-next.237

Patch Changes

  • Type compilerOptions as CompileOptions instead of any (#3486)

1.0.0-next.236

Patch Changes

  • The redirect property returned from a module's load function must now be a properly encoded URI string value. (#3404)

1.0.0-next.235

Patch Changes

  • register service worker regardless of hydrate/router option (#3435)

1.0.0-next.234

Patch Changes

  • [breaking] Expose standard Request object to endpoints and hooks. method, headers, and body now accessed through request field (docs, #3384)
  • [breaking] change app.render signature to (request: Request) => Promise (#3384)
  • [breaking] move protocol/host configuration options from Kit to adapter-node (#3384)

1.0.0-next.233

Patch Changes

  • [fix] refactor navigation singletons to avoid storing undefined reference (#3374)
  • [fix] add media="(max-width: 0)" to prevent stylesheets from downloading (#3396)

1.0.0-next.232

Patch Changes

  • Preserve explicit ETag header (#3348)
  • [fix] ignore hash links during prerendering (again) (#3367)

1.0.0-next.231

Patch Changes

  • Handle requests for /basepath (#3345)
  • Allow __fetch_polyfill() to run several times (#3357)
  • Handle static assets with /basepath in svelte-kit dev (#3346)

1.0.0-next.230

Patch Changes

  • Log errors to stderr rather than stdout (#3328)

1.0.0-next.229

Patch Changes

  • The path to a service worker is now rebased to the app's base path (#3319)

1.0.0-next.228

Patch Changes

  • Throw on accessing url.search/searchParams from page store during prerendering (#3314)
  • Preserve relevant headers when serving 304s (#3313)

1.0.0-next.227

Patch Changes

  • Adds beforeNavigate/afterNavigate lifecycle functions (#3293)

1.0.0-next.226

Patch Changes

  • Fix srcset parsing (#3301)
  • Change ReadOnlyFormData behavior to mimic the spec's FormData interface (#3302)

1.0.0-next.225

Patch Changes

  • add inlineStyleThreshold option, below which stylesheets are inlined into the page (#2620)

1.0.0-next.224

Patch Changes

  • More robust crawling of prerendered pages (#3288)

1.0.0-next.223

Patch Changes

  • Add methodOverride option for submitting PUT/PATCH/DELETE/etc with elements (#2989)

1.0.0-next.222

Patch Changes

  • Remove config.kit.ssr and export const ssr in favour of ssr parameter for resolve function in handle (#2804)

1.0.0-next.221

Patch Changes

  • Add returned stuff from pages into $page store (#3252)
  • Fallthrough is now explicit and layout components now also support fallthrough (#3217)

1.0.0-next.220

Patch Changes

  • url hash is now properly reflected in page store (#3273)
  • Strip hash fragments from URLs during prerendering (#3251)
  • Allow prefixes and suffixes around rest parameters (#3240)

1.0.0-next.219

Patch Changes

  • Render error page if error happens in handle hook (#3239)
  • [chore] update dependency sirv to v2 (#3263)

1.0.0-next.218

Patch Changes

  • Expose appDir to adapters (#3222)
  • Replace %svelte.assets% with relative path (#3234)

1.0.0-next.217

Patch Changes

  • Improve error message when svelte.config.js is not found (#3219)
  • Support more text content types (#2781)

1.0.0-next.216

Patch Changes

  • make html template optional for svelte-kit package (#3161)
  • Allow multiple different headers returned from one endpoint (#3201)

1.0.0-next.215

Patch Changes

  • Fix hash change focus behaviour (#3177)

1.0.0-next.214

Patch Changes

1.0.0-next.213

Patch Changes

  • Don't register service worker if there is none (#3170)
  • Fix url pathname for prerenders (#3178)

1.0.0-next.212

Patch Changes

  • Add status and error to page store (#3096)
  • Fix dev prebundling scanner (#3169)
  • Sort rest endpoints before pages (#3168)

1.0.0-next.211

Patch Changes

  • Use Vite's filewatcher in dev mode instead of creating a new one

1.0.0-next.210

Patch Changes

  • Add path/query error getters in prod mode (#3151)

1.0.0-next.209

Patch Changes

  • Bundle SSR renderer with app (#3144)

1.0.0-next.208

Patch Changes

  • Overhaul adapter API (#2931)
  • Replace config.kit.hostHeader with config.kit.headers.host, add config.kit.headers.protocol (#2931)
  • Replace page.host with page.origin (#2931)
  • [fix] load CSS before JS preloads
  • Error if adapter provides wrong input to app.render (#3133)
  • Replace [request|page].[origin|path|query] with url object (#3133)

1.0.0-next.207

Patch Changes

  • Add serviceWorker.register option (#2988)

1.0.0-next.206

Patch Changes

  • Handle Headers instance in server-side fetch (#3034)

1.0.0-next.205

Patch Changes

  • Add config.kit.prerender.concurrency setting (#3120)

1.0.0-next.204

Patch Changes

  • fix <Route> received an unexpected slot "default" warning (#3115)

1.0.0-next.203

Patch Changes

  • Update vite-plugin-svelte to 1.0.0-next.32 (#3048)
  • fix sveltekit:prefetch mouse detection (#2995)
  • Sort rest routes alphabetically (#3093)
  • Fix invalid amp-install-serviceworker (#3075)

1.0.0-next.202

Patch Changes

  • [fix] upgrade to Vite 2.7 (#3018)
  • Allow absolute file paths given to package.dir (#3012)
  • update to esbuild 0.13.15 and other dependency updates (#2957)

1.0.0-next.201

Patch Changes

  • Ignore mailto: and tel: links (#2915)

1.0.0-next.200

Patch Changes

  • Follow redirects when prerendering (#2832)
  • Fix types reference in exports in package.json (#2896)

1.0.0-next.199

Patch Changes

  • [fix] support etag W/ prefix (#2709)
  • [fix] revert #2819 and add code comment (#2883)
  • Don't create empty dirs when packaging (#2831)
  • [feat] Use event.composedPath to find anchors for prefetching and routing (#2769)

1.0.0-next.198

Patch Changes

  • Register custom service worker for AMP (#2265)

1.0.0-next.197

Patch Changes

  • [fix] prevent text unselection for keepfocus (#2857)
  • [fix] use defaults when no opts passed to router (#2819)

1.0.0-next.196

Patch Changes

  • remove all selection before navigating to the next page (#2755)
  • [fix] properly scroll if body has margin (#2761)

1.0.0-next.195

Patch Changes

  • [fix] increase scroll debounce timeout (#2749)
  • [fix] do not set inlineDynamicImports (#2753)

1.0.0-next.194

Patch Changes

  • [fix] correct message when serving with strict:false (#2726)
  • [fix] reset scroll when navigated from scrolled page (#2735)

1.0.0-next.193

Patch Changes

  • [fix] upgrade minor deps. fetch-blob 3.1.3 needed for Netlify deploys (#2714)
  • [fix] scroll to elements provided via URL hash (#2668)

1.0.0-next.192

Patch Changes

  • [fix] allow overriding inlineDynamicImports (#2702)

1.0.0-next.191

Patch Changes

  • Return the copied files from the adapter's copy_ utils. (#2674)
  • [fix] avoid infinite loop if no routes found (#2614)
  • [security] upgrade to Vite 2.6.12, specify allow list, and print warning (#2691)

1.0.0-next.190

Patch Changes

  • [fix] upgrade to Vite 2.6.11 (#2683)
  • Return an array of written files when prerendering. (#2675)

1.0.0-next.189

Patch Changes

  • [breaking] only route pages on the client-side (#2656)

1.0.0-next.188

Patch Changes

  • [fix] fire navigation-end event only at end of navigation (#2649)
  • [fix] allow passing certificates via config (#2622)

1.0.0-next.187

Patch Changes

  • Fix prerendering when paths.base but not paths.assets is specified (#2643)

1.0.0-next.186

Patch Changes

  • [chore] upgrade to Vite 2.6.10 (#2634)

1.0.0-next.185

Patch Changes

  • Update vite-plugin-svelte to 1.0.0-next.30 (#2626)
  • [fix] allow users to override build target (#2618)

1.0.0-next.184

Patch Changes

  • [breaking] drop Node 12 support (#2604)

1.0.0-next.183

Patch Changes

  • fix XSS vulnerability in page.path and page.params during SSR (#2597)

1.0.0-next.182

Patch Changes

  • [fix] fixes for firing of hashchange event (#2591)

1.0.0-next.181

Patch Changes

  • [fix] improve type of init (#2544)
  • update dependencies (#2574)
  • [fix] implement support for hashchange event (#2590)
  • [chore] upgrade to Vite 2.6.7 (#2586)

1.0.0-next.180

Patch Changes

  • [fix] don't expose prerender options (#2543)
  • [chore] upgrade to Vite 2.6.3" (#2557)
  • upgrade commonjs plugin for better ignoreTryCatch default (#2539)

1.0.0-next.179

Patch Changes

  • Fix escaping of URLs of endpoint responses serialized into SSR response (#2534)

1.0.0-next.178

Patch Changes

  • [fix] restore functioning of --host CLI flag with no arg (#2525)

1.0.0-next.177

Patch Changes

  • update to vite 2.6.0 and esbuild 0.13 (#2522)
  • fix browser-only redirect during load. (#2462)

1.0.0-next.176

Patch Changes

  • [feat] allow using Vite's strict.port: false option (#2507)
  • [fix] allow passing in https certs again' (#2512)

1.0.0-next.175

Patch Changes

  • [chore] upgrade node-fetch to 3.0.0 final (#2422)
  • [fix] don't override application focus and scroll (#2489)

1.0.0-next.174

Patch Changes

  • Fix script and style tags without attributes crashing svelte-kit package (#2492)

1.0.0-next.173

Patch Changes

  • Exports and files property in config.kit.package now accepts a function rather than an object (#2430)
  • Renamed property exclude to files in config.kit.serviceWorker and now accepts a function instead (#2430)
  • Remove lang tag when packaging (#2486)

1.0.0-next.172

Patch Changes

  • [chore] upgrade to Svelte 3.43.0" (#2474)
  • [breaking] rename the context parameter of the load function to stuff (#2439)

1.0.0-next.171

Patch Changes

  • Fix preview when kit.paths.base is set. (#2409)
  • Resolve $lib alias when packaging (#2453)

1.0.0-next.170

Patch Changes

  • Fix prerendering/adapter-static failing when kit.paths.base was set. (#2407)

1.0.0-next.169

Patch Changes

  • Add "svelte" field to package.json when running package command (#2431)
  • [fix] revert #2354 and fix double character decoding a different way (#2435)
  • [feat] use the Vite server options in dev mode (#2232)
  • update dependencies (#2447)

1.0.0-next.168

Patch Changes

  • [fix] encodeURI during prerender (#2427)
  • [chore] add links to repository and homepage to package.json (#2425)

1.0.0-next.167

Patch Changes

  • Update vite-plugin-svelte to 1.0.0-next.24 (#2423)
  • Add a generic argument to allow typing Body from hooks (#2413)

1.0.0-next.166

Patch Changes

  • [chore] upgrade Vite to 2.5.7
  • [fix] deeply-nested error components render with correct layout (#2389)
  • Update vite-plugin-svelte to 1.0.0-next.23 (#2402)
  • [fix] pass along set-cookie headers during SSR (#2362)

1.0.0-next.165

Patch Changes

  • [chore] upgrade Vite
  • [breaking] rename prerender.pages config option to prerender.entries (#2380)
  • [fix] anchor tag inside svg (#2286)

1.0.0-next.164

Patch Changes

  • [fix] error components render with correct layout client-side as well as server-side (#2378)
  • refactor import.meta.env usage in $app/stores.js to use $app/env.js to DRY code and make mocking easier (#2353)
  • Trim .js extensions in package exports field (#2345)

1.0.0-next.163

Patch Changes

  • Update vite-plugin-svelte to 1.0.0-next.22 (#2370)
  • [fix] load function should not leak props to other components (#2356)
  • packaging merge exports field by default (#2327)
  • [fix] don't decode URL when finding matching route (#2354)

1.0.0-next.162

Patch Changes

  • Enable nested dependency optimization by updating to @sveltejs/vite-plugin-svelte@1.0.0-next.21 (#2343)

1.0.0-next.161

Patch Changes

  • Allow service workers to access files using the $lib alias (#2326)
  • [fix] remove Vite workaround now that dev deps can be bundled (#2340)
  • support using arrays for kit.vite.resolve.alias (#2328)

1.0.0-next.160

Patch Changes

  • [fix] upgrade to Vite 2.5.2 to fix URL decoding (#2323)
  • Add @sveltejs/kit to noExternal in dev server as well (#2332)

1.0.0-next.159

Patch Changes

  • Add @sveltejs/kit to noExternal to resolve hooks module in dev server (#2306)
  • [fix] HMR on Windows (#2315)

1.0.0-next.158

Patch Changes

  • avoid setting rawBody/body to an empty Uint8Array when a load's fetch function is called with no body during SSR (#2295)

1.0.0-next.157

Patch Changes

  • [chore] separate RequestHeaders and ResponseHeaders types (#2248)
  • [fix] don't de-indent user-rendered HTML (#2292)

1.0.0-next.156

Patch Changes

  • allow any top-level keys in svelte config (#2267)
  • Exclude emitted declarations on packaging (#2247)

1.0.0-next.155

Patch Changes

  • [chore] export App types (#2259)

1.0.0-next.154

Patch Changes

  • Upgrade to Vite 2.5.0 (#2231)

1.0.0-next.153

Patch Changes

  • rename serverFetch to externalFetch (#2110)

1.0.0-next.152

Patch Changes

  • Check ports usage in a more cross-platform way in dev server error logging (#2209)
  • Ensure the raw body is an Uint8Array before passing it to request handlers (#2215)

1.0.0-next.151

Patch Changes

  • fix new route discovery in dev server (#2198)

1.0.0-next.150

Patch Changes

  • [fix] match route against decoded path on client (#2206)

1.0.0-next.149

Patch Changes

  • export HandleError type (#2200)
  • [fix] match regex against route only once (#2203)

1.0.0-next.148

Patch Changes

  • update svelte peerDependency to 3.39.0 (#2182)
  • Add hook to handle errors (#2193)
  • Use /_svelte_kit_assets when serving apps with specified paths.assets locally (#2189)
  • Serve from basepath in svelte-kit dev/preview (#2189)
  • Disallow non-absolute paths.assets option (#2189)
  • Allow EndpointOutput response body objects to have a toJSON property (#2170)

1.0.0-next.147

Patch Changes

  • [fix] handle paths consistently between dev and various production adapters (#2171)
  • Replace function properties by methods on type declarations (#2158)
  • [fix] fallback should still be generated when prerender is disabled (#2128)
  • update vite-plugin-svelte to 1.0.0-next.16 (#2179)
  • Set optimizeDeps.entries to [] when building service worker (#2180)

1.0.0-next.146

Patch Changes

  • [fix] enable Vite pre-bundling except for Svelte packages (#2137)

1.0.0-next.145

Patch Changes

  • [feat] detect if app tries to access query with prerender enabled (#2104)

1.0.0-next.144

Patch Changes

  • 241dd623: [fix] point at true dev entry point

1.0.0-next.143

Patch Changes

  • 8c0ffb8f: [fix] provide explicit JS entry point for Vite dev mode (#2134)
  • c3c25ee0: [fix] take into account page-level options on error pages (#2117)

1.0.0-next.142

Patch Changes

  • aed1bd07: [fix] fully initialize router before rendering (#2089)
  • 970bb04c: restore reverted config changes (#2093)

1.0.0-next.141

Patch Changes

  • d109a394: [fix] successfully load nested error pages (#2076)
  • fab67c94: [fix] successfully handle client errors (#2077)
  • 943f5288: [fix] solve regression parsing unicode URLs (#2078)
  • 4435a659: [fix] allow endpoint shadowing to work (#2074)
  • ee73a265: [fix] correctly do fallthrough in simple case (#2072)

1.0.0-next.140

Patch Changes

  • e55bc44a: [fix] revert change to rendering options (#2008)
  • d81de603: revert adapters automatically updating .gitignore (#1924)
  • 5911b1c7: [fix] consider protocol-relative URLs as external (#2062)

1.0.0-next.139

Patch Changes

  • 883d4b85: Add public API to let adapters update .gitignore (#1924)
  • 8cbe3b05: Change force to onError in prerender config options (#2030)
  • 1b18a844: Don't check external links on prerender (#1679)
  • 7645399a: [fix] correctly pass Vite options in preview mode (#2036)

1.0.0-next.138

Patch Changes

  • d6563169: [chore] prefer interfaces to types (#2010)
  • b18a45c1: explicitly set compilerOptions.hydratable to config.kit.hydrate (#2024)
  • 538de3eb: [feat] More powerful and configurable rendering options (#2008)
  • 20dad18a: Remove the prerender.force option in favor of prerender.onError (#2007)

1.0.0-next.137

Patch Changes

  • bce1d76a: [chore] improved typing for runtime and tests (#1995)
  • 2a1e9795: [chore] enable TypeScript strict mode (#1998)

1.0.0-next.136

Patch Changes

  • 69b92ec1: [chore] improved typing on core library (#1993)

1.0.0-next.135

Patch Changes

  • 3b293f2a: update svelte to 3.40 and vite-plugin-svelte to 1.0.0-next.14 (#1992)
  • 34b923d1: [chore] stricter TypeScript checking (#1989)

1.0.0-next.134

Patch Changes

  • e1e5920a: [fix] correctly find links during prerendering (#1984)
  • c7db715e: Handle errors with incorrect type (#1983)

1.0.0-next.133

Patch Changes

  • 68190496: chore: Vite to ^2.4.3, vite-plugin-svelte to ^1.0.0-next.13 (#1969)
  • 0cbcd7c3: [fix] correctly detect external fetches (#1980)
  • 51ec789f: Scrolling to an anchor via a hash now supports scroll-* CSS properties (#1972)

1.0.0-next.132

Patch Changes

  • 7b440b2b: Fix URL resolution for server-side fetch (#1953)

1.0.0-next.131

Patch Changes

  • 0bc1b309: Minor optimization in parse_body (#1916)

1.0.0-next.130

Patch Changes

  • 53e9285d: feat(config): Friendlier error messages for common errors (#1910)
  • 41da1ebe: Handle 4xx and 5xx statuses without requiring Error instance (#1811)
  • 073fc3b5: feat(cli): respect NODE_ENV when set by user (#1915)

1.0.0-next.129

Patch Changes

  • e246455: Passthrough server-side fetch cookies for most same-origin scenarios (#1847)

1.0.0-next.128

Patch Changes

  • 27e9067: Better error messages when something goes wrong while emitting types (#1903)
  • 277029d: Change index.js exports to directory exports when packaging (#1905)

1.0.0-next.127

Patch Changes

  • bb3ae21: Fix endpoint validation to allow returning string for all content types (#1900)

1.0.0-next.126

Patch Changes

  • 4720b67: Default body parsing to binary (#1890)
  • 6da07b8: fix returning null from endpoints (#1886)

1.0.0-next.125

Patch Changes

  • 7faf52f: Update and consolidate checks for binary body types (#1687)
  • f854b89: Replace return type of Buffer with Uint8Array (#1876)
  • f854b89: Remove Incoming from public types (#1876)

1.0.0-next.124

Patch Changes

  • 34d2049: handle undefined body on endpoint output (#1808)
  • c826016: add config.kit.package.emitTypes (#1852)
  • 8854e2f: Bump vite-plugin-svelte to 1.0.0-next.12 (#1869)
  • af1aa54: copy essential root files on svelte-kit package (#1747)
  • 872840a: Pass along custom properties added to Error (#1821)
  • 868f97a: Preserve README casing and package.json contents on svelte-kit package (#1735)

1.0.0-next.123

Patch Changes

  • 4b25615: Fix ReadOnlyFormData keys and values method implementation (#1837)
  • 64f749d: ServiceWorker files exclusion support available through svelte.config.js (#1645)
  • 4d2fec5: Enable Vite's server.fs.strict by default (#1842)
  • 1ec368a: Expose Vite.js mode from $app/env (#1789)

1.0.0-next.122

Patch Changes

  • d09a4e1: Surface Svelte compiler errors (#1827)
  • 79b4fe2: Update Vite to ^2.4.1 (#1834)
  • 2ac5781: Use esbuild inject API to insert shims (#1822)

1.0.0-next.121

Patch Changes

  • 939188e: Use UTF-8 encoding for JSON endpoint responses by default (#1669)
  • 5b3e1e6: Add types generation to svelte-kit package command (#1646)
  • 8affef2: Fix type errors inside ReadOnlyFormData that didn't allow it to be used inside for..of loops (#1830)

1.0.0-next.120

Patch Changes

  • 9fbaeda: fix attribute validation in generated script tag (#1768)
  • 9f0c54a: Externalize app initialization to adapters (#1804)
  • 0d69e55: Add generic type for session (#1791)
  • 325c223: Improve RequestHandler and EndpointOutput type declarations. (#1778)
  • 6ef148d: Generate service worker registration code even with router and hydration disabled (#1724)
  • ae3ef19: Fail if config.kit.appDir starts or ends with a slash (#1695)

1.0.0-next.119

Patch Changes

  • 064f848: Implement serverFetch hook
  • 882fb12: Add keepfocus option to goto

1.0.0-next.118

Patch Changes

  • 5418254: Fix regex for getting links to crawl during prerendering (#1743)

1.0.0-next.117

Patch Changes

  • 828732c: Specify actual Svelte version requirement (#1751)

1.0.0-next.116

Patch Changes

  • ea8cd54: chore(kit): correct engines constraint (#1696)
  • aedec24: Ensure router is initialized before parsing location (#1691)
  • c7d5ce4: update vite to 2.3.8 and unpin (#1715)
  • d259bca: Stricter regex for getting element attributes during prerendering (#1700)

1.0.0-next.115

Patch Changes

  • 523c3e2: Allow vite.alias to be an array (#1640)
  • 6fd46d1: * update vite-plugin-svelte to 1.0.0-next.11 and use its named export (#1673)
    • update vite to 2.3.7
  • dc56d3c: Fix navigation when base path is set and validate that option's value (#1666)

1.0.0-next.114

Patch Changes

  • 5aa64ab: fix: SSL for HMR websockets #844 (#1517)
  • fae75f1: add optional state parameter for goto function (#1643)
  • fbd5f8a: package command can now transpile TypeScript files (#1633)

1.0.0-next.113

Patch Changes

  • 045c45c: update vite to 2.3.6 (#1625)

1.0.0-next.112

Patch Changes

  • cbe029e: Allow non-lowercase 'content-type' header in ssr fetch requests (#1463)
  • 1bf1a02: Make it possible to type context, page params and props for LoadInput and LoadOutput (#1447)

1.0.0-next.111

Patch Changes

  • eae1b1d: Rename handle's render parameter to resolve (#1566)

1.0.0-next.110

Patch Changes

  • 6372690: Add svelte-kit package command (#1499)
  • c3d36a3: ensure content-length limit respected; handle getRawBody error(s) (#1528)
  • bf77940: bump polka and sirv dependency versions (#1548)
  • 2172469: Upgrade to Vite 2.3.4 (#1580)
  • 028abd9: Pass validated svelte config to adapter adapt function (#1559)

1.0.0-next.109

Patch Changes

  • 261ee1c: Update compatible Node versions (#1470)
  • ec156c6: let hash only changes be handled by router (#830)
  • 586785d: Allow passing HTTPS key pair in Vite section of config (#1456)

1.0.0-next.108

Patch Changes

  • dad93fc: Fix workspace dependencies (#1434)
  • 37fc04f: Ignore URLs that the app does not own (#1487)

1.0.0-next.107

Patch Changes

  • ad83d40: update vite to ^2.3.1 (#1429)

1.0.0-next.106

Patch Changes

  • fe0531d: temporarily pin vite to version 2.2.4 until issues with 2.3.0 are resolved (#1423)

1.0.0-next.105

Patch Changes

  • f3c50a0: Bump Vite to 2.3.0 (#1413)
  • cfd6c3c: Use rendered CSS for AMP pages (#1408)
  • 9a2cc0a: Add trailingSlash: 'never' | 'always' | 'ignore' option (#1404)

1.0.0-next.104

Patch Changes

  • 9b448a6: Rename @sveltejs/kit/http to @sveltejs/kit/node (#1391)

1.0.0-next.103

Patch Changes

  • 11e7840: Generate ETags for binary response bodies (#1382)
  • 11e7840: Update request/response body types (#1382)
  • 9e20873: Allow ServerResponse to have non-static set of headers (#1375)
  • 2562ca0: Account for POST bodies when serializing fetches (#1385)

1.0.0-next.102

Patch Changes

  • b5ff7f5: Rename $layout to __layout etc (#1370)
  • d871213: Make Vite a prod dep of SvelteKit (#1374)

1.0.0-next.101

Patch Changes

  • f5e626d: Reference Vite/Svelte types inside Kit types (#1319)

1.0.0-next.100

Patch Changes

  • 9890492: Use TypedArray.set to copy from Uint8Array when getting raw body in core/http (#1349)

1.0.0-next.99

Patch Changes

  • 051c026: Remove getContext in favour of request.locals (#1332)

1.0.0-next.98

Patch Changes

  • d279e36: Add invalidate(url) API for re-running load functions (#1303)

1.0.0-next.97

Patch Changes

  • 694f5de: Fixes navigating store type (#1322)
  • 0befffb: Rename .svelte to .svelte-kit (#1321)
  • c6fde99: Switch to ESM in config files (#1323)

1.0.0-next.96

Patch Changes

  • 63eff1a: Add prerendering to $app/env typings (#1316)

1.0.0-next.95

Patch Changes

  • 16cca89: Export AdapterUtils type for use in adapters (#1300)
  • f3ef93d: Not calling JSON.stringify on endpoint's body if it's a string and the content-type header denotes json (#1272)
  • 5023e98: Remove 'Navigated to' text from announcer' (#1305)
  • b4d0d6c: Normalize keys of headers from server side requests
  • 08ebcb5: Add esm config support (#936)
  • 427e8e0: Validate template file on startup (#1304)

1.0.0-next.94

Patch Changes

  • 72c78a4: Handle URLs that need to be decoded (#1273)

1.0.0-next.93

Patch Changes

  • 353afa1: Disable FLoC by default (#1267)

1.0.0-next.92

Patch Changes

  • 354e384: Allow FormData to be passed as RequestHandler type Body argument (#1256)
  • b1bfe83: Show error page on unknown initial path. Fixes #1190.

1.0.0-next.91

Patch Changes

  • 82955ec: fix: adapt to svelte ids without ?import in vite 2.2.3

1.0.0-next.90

Patch Changes

  • ac60208: Exit process after adapting (#1212)

1.0.0-next.89

Patch Changes

  • 927e63c: update the error message of prerender to optionally include the parent variable (#1200)

1.0.0-next.88

Patch Changes

  • 6f2b4a6: Remove references to npm start (#1196)

1.0.0-next.87

Patch Changes

  • 4131467: Prerender fallback page for SPAs (#1181)

1.0.0-next.86

Patch Changes

  • 2130087: Support multiple rel values on anchor tag (#884)
  • ba732ff: Report errors in hooks.js (#1178)
  • a2f3f4b: Rename start to preview in the CLI and package scripts

1.0.0-next.85

Patch Changes

  • 4645ad5: Force Vite to bundle Svelte component libraries in SSR (#1148)
  • abf0248: Fix $service-worker types

1.0.0-next.84

Patch Changes

  • 5c2665f: Prevent ...rest parameters from swallowing earlier characters (#1128)
  • 4e1c4ea: Omit modulepreload links from pages with no JS (#1131)
  • 5d864a6: Fix RequestHandler return type
  • e1313d0: Make response.body optional

1.0.0-next.83

Patch Changes

  • a4a1075: Work around apparent Cloudflare Workers platform bugs (#1123)

1.0.0-next.82

Patch Changes

  • 4af45e1: Remove usage of node built-ins from runtime (#1117)

1.0.0-next.81

Patch Changes

  • 1237eb3: Expose rawBody on request, and expect rawBody from adapters (#1109)
  • 1237eb3: Expose getRawBody from kit/http (#1109)

1.0.0-next.80

Patch Changes

  • 7a4b351: Expose install-fetch subpackage for adapters to use (#1091)

1.0.0-next.79

Patch Changes

  • d3abd97: Fix Windows build output containing backward slashes (#1096)

1.0.0-next.78

Patch Changes

  • 6e27880: Move server-side fetch to adapters instead of build step (#1066)
  • 61d7fa0: Better error logging (#1062)
  • 041b706: Implement layout resets (#1061)
  • 148819a: Use latest vite-plugin-svelte (#1057)
  • 9d54eed: Make sveltekit:prefetch a noop if has no href (#1060)

1.0.0-next.77

Patch Changes

  • fee388a: Include CSS for entry point/generated component (#1053)

1.0.0-next.76

Patch Changes

  • f870909: Pin vite-plugin-svelte version (#1026)
  • de2466f: Fix stale prerendering bug (#1040)

1.0.0-next.75

Patch Changes

  • 0c02dc0: Use global URLSearchParams instead of import from node url (#1020)
  • 8021d6b: Fix default error page (#1021)
  • 11ec751: Fix build warnings about missing exports in hooks file (#1003)

1.0.0-next.74

Patch Changes

  • 4c45784: Add ambient types to published files (#980)

1.0.0-next.73

Patch Changes

  • 1007f67: Allow non-root $error.svelte components (#901)
  • ca108a6: Change handle hook from positional arguments to named arguments (#959)

1.0.0-next.72

Patch Changes

  • 1d5228c: Make --open option work with --https (#921)
  • 39b6967: Add ambient type definitions for $app imports (#917)
  • 1d5228c: Make --open option work on WSL (#921)
  • bb2d97d: Fix argument type for RequestHandler (#914)

1.0.0-next.71

Patch Changes

  • 108c26c: Always return a response from render function in handle (#847)

1.0.0-next.70

Patch Changes

  • 6d9f7b1: Only include CSS on an SSR'd page (#839)
  • 6ecfa2c: Remove duplicate <style> element (#845)

1.0.0-next.69

Patch Changes

  • 4d2cd62: Add prerendering to $app/env (#833)
  • e2eeeea: Call load when path changes if page.path is used (#838)
  • 50b5526: Pass through credentials when fetching in load (#835)
  • 6384af6: Only inline data if hydrate=true (#837)

1.0.0-next.68

Patch Changes

  • 24fab19: Add --https flag to dev and start (#462)
  • ba4f9b7: Check port, only expose to network with --host flag (#819)

1.0.0-next.67

Patch Changes

  • 679e997: Fix client-side redirect loop detection (#811)
  • 8d453c8: Specify minimum Node version number in @sveltejs/kit and add .npmrc to enforce it (#787)
  • 78aec0c: Detect service worker support
  • f33a22c: Make ...rest parameters optional (#768)

1.0.0-next.66

Patch Changes

  • d9ce2a2: Correct response type for fetch (#799)

1.0.0-next.65

Patch Changes

  • c0b9873: Always apply layout props when hydrating (#794)
  • b8a8e53: Add type to config.kit.vite (#786)
  • 9b09bcc: Prevent XSS when serializing fetch results (#769)

1.0.0-next.64

Patch Changes

  • 7f58512: Prevent Vite prebundling from crashing on startup (#759)

1.0.0-next.63

Patch Changes

  • 31f94fe: Add ssr, router and hydrate options

1.0.0-next.62

Patch Changes

  • 864c3d4: Assets imported from css and js/ts files are emitted as files instead of being inlined (#461)

1.0.0-next.61

Patch Changes

  • 4b2c97e: Initialise router with history.state

1.0.0-next.60

Patch Changes

  • 84e9023: Fix host property (#657)
  • 272148b: Rename $service-worker::assets to files, per the docs (#658)
  • d5071c5: Hydrate initial page before starting router (#654)
  • 4a1c04a: More accurate MODULE_NOT_FOUND errors (#665)
  • d881b7e: Replace setup with hooks (#670)

1.0.0-next.59

Patch Changes

  • 826f39e: Make prefetching work (#620)

1.0.0-next.58

Patch Changes

  • 26893b0: Allow first argument to fetch in load to be a request (#619)
  • 924db15: Add copy function to Builder.js (#630)

1.0.0-next.57

Patch Changes

  • 391189f: Check for options.initiator in correct place (#615)

1.0.0-next.56

Patch Changes

  • 82cbe2b: Shrink client manifest (#593)
  • 8024178: remove @sveltejs/app-utils (#600)

1.0.0-next.55

Patch Changes

  • d0a7019: switch to @sveltejs/vite-plugin-svelte (#584)
  • 8a88fad: Replace regex routes with fallthrough routes (#583)

1.0.0-next.54

Patch Changes

  • 3037530: Create history entry for initial route (#582)
  • 04f17f5: Prevent erronous <style>undefined</style> (#578)
  • 8805c6d: Pass adapters directly to svelte.config.cjs (#579)

1.0.0-next.53

Patch Changes

  • 9cf2f21: Only require page components to export prerender (#577)
  • e860de0: Invalidate page when query changes (#575)
  • 7bb1cf0: Disable vite-plugin-svelte transform cache (#576)

1.0.0-next.52

Patch Changes

  • ac3669e: Move Vite config into svelte.config.cjs (#569)

1.0.0-next.51

Patch Changes

  • 34a00f9: Bypass router on hydration (#563)

1.0.0-next.50

Patch Changes

  • 0512fd1: Remove startGlobal option (#559)
  • 9212aa5: Add options to adapter-node, and add adapter types (#531)
  • 0512fd1: Fire custom events for start, and navigation start/end (#559)

1.0.0-next.49

Patch Changes

  • ab28c0a: kit: include missing types.d.ts (#538)
  • c76c9bf: Upgrade Vite (#544)

1.0.0-next.48

Patch Changes

  • e37a302: Make getSession future-proof (#524)

1.0.0-next.47

Patch Changes

  • 5554acc: Add $lib alias (#511)
  • 5cd6f11: bump vite-plugin-svelte to 0.11.0 (#513)

1.0.0-next.46

Patch Changes

  • f35a5cd: Change adapter signature (#505)

1.0.0-next.45

Patch Changes

  • 925638a: Remove endpoints from the files built for the client (#490)
  • c3cf3f3: Bump deps (#492)
  • 625747d: kit: bundle @sveltejs/kit into built application (#486)
  • Updated dependencies [c3cf3f3]
    • @sveltejs/vite-plugin-svelte@1.0.0-next.3

1.0.0-next.44

Patch Changes

  • e6449d2: Fix AMP styles for real (#494)

1.0.0-next.43

Patch Changes

  • 672e9be: Fix AMP styles, again (#491)

1.0.0-next.42

Patch Changes

  • 0f54ebc: Fix AMP styles (#488)

1.0.0-next.41

Patch Changes

  • 4aa5a73: Future-proof prepare argument (#471)
  • 58dc400: Call correct set_paths function (#487)
  • 2322291: Update to node-fetch@3

1.0.0-next.40

Patch Changes

  • 4c5fd3c: Include layout/error styles in SSR (#472)

1.0.0-next.39

Patch Changes

  • b7fdb0d: Skip pre-bundling (#468)

1.0.0-next.38

Patch Changes

  • 15402b1: Add service worker support (#463)
  • 0c630b5: Ignore dynamically imported components when constructing styles in dev mode (#443)
  • ac06af5: Fix svelte-kit adapt for Windows (#435)
  • 061fa46: Implement improved redirect API
  • b800049: Include type declarations (#442)
  • 07c6de4: Use posix paths in manifest even on Windows (#436)
  • 27ba872: Error if preload function exists (#455)
  • 0c630b5: Add default paths in case singletons module is invalidated (#443)
  • 73dd998: Allow custom extensions (#411)

1.0.0-next.37

Patch Changes

  • 230c6d9: Indicate which request failed, if fetch fails inside load function (#427)
  • f1bc218: Run adapt via svelte-kit build (#430)
  • 6850ddc: Fix svelte-kit start for Windows (#425)

1.0.0-next.36

Patch Changes

  • 7b70a33: Force version bump so that Kit uses updated vite-plugin-svelte (#419)

1.0.0-next.35

Patch Changes

  • Use Vite
  • Fix Windows issues
  • Preserve load context during navigation
  • Return error from load

1.0.0-next.34

Patch Changes

  • Fix adapters and convert to ES modules

1.0.0-next.33

Patch Changes

  • 474070e: Better errors when modules cannot be found (#381)

1.0.0-next.32

Patch Changes

  • Convert everything to ESM

1.0.0-next.31

Patch Changes

  • b6c2434: app.js -> app.cjs (#362)

1.0.0-next.30

Patch Changes

  • 00cbaf6: Rename _.config.js to _.config.cjs (#356)

1.0.0-next.29

Patch Changes

  • 4c0edce: Use addEventListener instead of onload (#347)

1.0.0-next.28

Patch Changes

  • 4353025: Prevent infinite loop when fetching bad URLs inside error responses (#340)
  • 2860065: Handle assets path when prerendering (#341)

1.0.0-next.27

Patch Changes

  • Fail build if prerender errors
  • Hide logging behind --verbose option

1.0.0-next.26

Patch Changes

  • Fix svelte-announcer CSS

1.0.0-next.25

Patch Changes

  • Surface stack traces for endpoint/page rendering errors

1.0.0-next.24

Patch Changes

  • 26643df: Account for config.paths when prerendering (#322)

1.0.0-next.23

Patch Changes

  • 9b758aa: Upgrade to Snowpack 3 (#321)

1.0.0-next.22

Patch Changes

  • bb68595: use readFileSync instead of createReadStream (#320)

1.0.0-next.21

Patch Changes

  • 217e4cc: Set paths to empty string before prerender (#317)

1.0.0-next.20

Patch Changes

  • ccf4aa7: Implement prerender config (#315)

1.0.0-next.19

Patch Changes

  • deda984: Make navigating store contain from and to properties (#313)

1.0.0-next.18

Patch Changes

  • c29b61e: Announce page changes (#311)
  • 72da270: Reset focus properly (#309)

1.0.0-next.17

Patch Changes

  • f7dea55: Set process.env.NODE_ENV when invoking via the CLI (#304)

1.0.0-next.16

Patch Changes

  • Remove temporary logging
  • Add sveltekit:prefetch and sveltekit:noscroll

1.0.0-next.15

Patch Changes

  • 6d1bb11: Fix AMP CSS (#286)
  • d8b53af: Ignore $layout and $error files when finding static paths
  • Better scroll tracking

1.0.0-next.14

Patch Changes

  • Fix dev loader

1.0.0-next.13

Patch Changes

  • 1ea4d6b: More robust CSS extraction (#279)

1.0.0-next.12

Patch Changes

  • e7c88dd: Tweak AMP validation screen

1.0.0-next.11

Patch Changes

  • a31f218: Fix SSR loader invalidation (#277)

1.0.0-next.10

Patch Changes

  • 8b14d29: Omit svelte-data scripts from AMP pages (#276)

1.0.0-next.9

Patch Changes

  • f5fa223: AMP support (#274)
  • 47f2ee1: Always remove trailing slashes (#267)
  • 1becb94: Replace preload with load

1.0.0-next.8

Patch Changes

  • 15dd751: Use meta http-equiv=refresh (#256)
  • be7e031: Fix handling of static files (#258)
  • ed6b8fd: Implement $app/env (#251)

1.0.0-next.7

Patch Changes

  • 76705b0: make HMR work outside localhost (#246)

1.0.0-next.6

Patch Changes

  • 0e45255: Move options behind kit namespace, change paths -> kit.files (#236)
  • fa7f2b2: Implement live bindings for SSR code (#245)

1.0.0-next.5

Patch Changes

  • Return dependencies from render

1.0.0-next.4

Patch Changes

  • af01b0d: Move renderer out of app assets folder

1.0.0-next.3

Patch Changes

  • Add paths to manifest, for static prerendering

1.0.0-next.2

Patch Changes

  • Fix typo causing misnamed assets folder

1.0.0-next.1

Patch Changes

  • a4bc090: Transform exported functions correctly (#225)
  • 00bbf98: Fix nested layouts (#227)

0.0.31-next.0

Patch Changes

  • ffd7bba: Fix SSR cache invalidation (#217)

0.0.30

Patch Changes

  • Add back stores(), but with deprecation warning
  • Rename stores.preloading to stores.navigating
  • Rewrite routing logic

0.0.29

Patch Changes

  • 10872cc: Normalize request.query (#196)

0.0.28

Patch Changes

  • Add svelte-kit start command

0.0.27

Patch Changes

  • rename CLI to svelte-kit
  • 0904e22: rename svelte CLI to svelte-kit (#186)
  • Validate route responses
  • Make paths and target configurable

0.0.26

Patch Changes

  • b475ed4: Overhaul adapter API - fixes #166 (#180)
  • Updated dependencies [b475ed4]
    • @sveltejs/app-utils@0.0.18

0.0.25

Patch Changes

  • Updated dependencies [3bdf33b]
    • @sveltejs/app-utils@0.0.17

0.0.24

Patch Changes

  • 67eaeea: Move app-utils stuff into subpackages
  • 7f8df30: Move kit runtime code, expose via $app aliases
  • Updated dependencies [67eaeea]
    • @sveltejs/app-utils@0.0.16

0.0.23

Patch Changes

  • a163000: Parse body on incoming requests
  • a346eab: Copy over latest Sapper router code (#6)
  • Updated dependencies [a163000]
    • @sveltejs/app-utils@0.0.15

0.0.22

Patch Changes

  • Force bump version

0.0.21

Patch Changes

  • Build setup entry point
  • Work around pkg.exports constraint
  • Respond with 500s if render fails
  • Updated dependencies [undefined]
  • Updated dependencies [undefined]
  • Updated dependencies [undefined]
    • @sveltejs/app-utils@0.0.14

0.0.20

Patch Changes

  • Pass setup module to renderer
  • Bump Snowpack version
  • Updated dependencies [undefined]
  • Updated dependencies [96c06d8]
    • @sveltejs/app-utils@0.0.13

0.0.19

Patch Changes

  • fa9d7ce: Handle import.meta in SSR module loader
  • 0320208: Rename 'server route' to 'endpoint'
  • b9444d2: Update to Snowpack 2.15
  • 5ca907c: Use shared mkdirp helper
  • Updated dependencies [0320208]
  • Updated dependencies [5ca907c]
    • @sveltejs/app-utils@0.0.12

0.0.18

Patch Changes

  • Updated dependencies [undefined]
    • @sveltejs/app-utils@0.0.11

0.0.17

Patch Changes

  • 19323e9: Update Snowpack
  • Updated dependencies [19323e9]
    • @sveltejs/app-utils@0.0.10

0.0.16

Patch Changes

  • Updated dependencies [90a98ae]
    • @sveltejs/app-utils@0.0.9

0.0.15

Patch Changes

  • Updated dependencies [undefined]
    • @sveltejs/app-utils@0.0.8

0.0.14

Patch Changes

  • various
  • Updated dependencies [undefined]
    • @sveltejs/app-utils@0.0.7