- Set cookies when redirecting from shadow endpoint (#3874)
- fix casing of
.DS_Store
in the default config forserviceWorker
(#3823)
- [fix] avoid mutating response
Headers
(#3829)
- [breaking] remove
createIndexFiles
option, derive fromtrailingSlash
instead (#3801)
- Pass trailingSlash config to adapters (#3820)
- fix links pointing to multi-page docs (#3815)
- upgrade to TypeScript 4.5 (#3809)
- Handle numeric headers (#3716)
- [fix] replace broken escaping with a working version (#3798)
- update to Vite 2.8 and esbuild 0.14 (#3791)
- 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)
- Allow Response object to be returned without properties showing up in object constructor (#3697)
- Implement shadow endpoints (#3679)
- Prevent
Host
header from being incorrectly inherited by requests made fromload
'sfetch
during SSR (#3690)
- Update $app/stores page.stuff to use App.Stuff (#3686)
- Rename JSONString type to JSONValue (#3683)
- Add App namespace for app-level types (#3670)
- [breaking] remove target option (#3674)
- fix regression in parsing HTML when crawling for pre-rendering (#3677)
- fix parsing during pre-render crawl when there are HTML attributes without a value (#3668)
- Correctly populate asset manifest when generating service worker (#3673)
- Add version config and expose updated store (#3412)
- [fix] update types to match changes to Vite config handling (#3662)
- Allow config.kit.vite to be an async function (#3565)
- Include page request headers in server-side fetches (#3631)
- remove nonexistent
url
store from$app/stores
ambient types (#3640)
- Handle non-compliant ReadableStream implementations (#3624)
- [breaking] move
config.kit.hydrate
andconfig.kit.router
toconfig.kit.browser
(#3578)
- add
prerender.createIndexFiles
option (#2632)
- Include service worker in manifest (#3570)
- Add kit.routes config to customise public/private modules (#3576)
- Decode fetched resources before checking against manifest when prerendering (#3571)
- [breaking] remove -H and (conflicting) -h shortcuts from CLI (#3573)
- fix handling an incoming request from HTTP/2 (#3572)
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)
- Allow adapters to pass in
platform
object (#3429)
- favicon.ico is now requestable (#3559)
- [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)
- [fix] hydrate real HTTP requests (#3547)
- reinstate
EndpointOutput
generic (#3537)
svelte-kit package
only encodes text files (#3522)
- 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)
- Insert cache-control header when prerendering (#3493)
- Escape prerendered redirect locations, instead of encoding them (#3456)
- Type compilerOptions as CompileOptions instead of any (#3486)
- The redirect property returned from a module's load function must now be a properly encoded URI string value. (#3404)
- register service worker regardless of hydrate/router option (#3435)
- [breaking] Expose standard Request object to endpoints and hooks.
method
,headers
, andbody
now accessed throughrequest
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)
- [fix] refactor navigation singletons to avoid storing undefined reference (#3374)
- [fix] add media="(max-width: 0)" to prevent stylesheets from downloading (#3396)
- Preserve explicit ETag header (#3348)
- [fix] ignore hash links during prerendering (again) (#3367)
- Handle requests for /basepath (#3345)
- Allow __fetch_polyfill() to run several times (#3357)
- Handle static assets with /basepath in svelte-kit dev (#3346)
- Log errors to stderr rather than stdout (#3328)
- The path to a service worker is now rebased to the app's base path (#3319)
- Throw on accessing url.search/searchParams from page store during prerendering (#3314)
- Preserve relevant headers when serving 304s (#3313)
- Adds beforeNavigate/afterNavigate lifecycle functions (#3293)
- Fix srcset parsing (#3301)
- Change ReadOnlyFormData behavior to mimic the spec's FormData interface (#3302)
- add inlineStyleThreshold option, below which stylesheets are inlined into the page (#2620)
- More robust crawling of prerendered pages (#3288)
- Add methodOverride option for submitting PUT/PATCH/DELETE/etc with elements (#2989)
- Remove
config.kit.ssr
andexport const ssr
in favour ofssr
parameter forresolve
function inhandle
(#2804)
- Add returned stuff from pages into $page store (#3252)
- Fallthrough is now explicit and layout components now also support fallthrough (#3217)
- 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)
- Render error page if error happens in handle hook (#3239)
- [chore] update dependency sirv to v2 (#3263)
- Expose appDir to adapters (#3222)
- Replace %svelte.assets% with relative path (#3234)
- Improve error message when svelte.config.js is not found (#3219)
- Support more text content types (#2781)
- make html template optional for
svelte-kit package
(#3161)
- Allow multiple different headers returned from one endpoint (#3201)
- Fix hash change focus behaviour (#3177)
- [breaking] Add
disableScrollHandling
function (see https://kit.svelte.dev/docs/modules#$app-navigation) (#3182)
- Don't register service worker if there is none (#3170)
- Fix url pathname for prerenders (#3178)
- Add status and error to page store (#3096)
- Fix dev prebundling scanner (#3169)
- Sort rest endpoints before pages (#3168)
- Use Vite's filewatcher in dev mode instead of creating a new one
- Add path/query error getters in prod mode (#3151)
- Bundle SSR renderer with app (#3144)
- 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)
- Add serviceWorker.register option (#2988)
- Handle
Headers
instance in server-sidefetch
(#3034)
- Add
config.kit.prerender.concurrency
setting (#3120)
- fix
<Route> received an unexpected slot "default"
warning (#3115)
- 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)
- [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)
- Ignore mailto: and tel: links (#2915)
- Follow redirects when prerendering (#2832)
- Fix types reference in exports in package.json (#2896)
- [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)
- Register custom service worker for AMP (#2265)
- [fix] prevent text unselection for keepfocus (#2857)
- [fix] use defaults when no opts passed to router (#2819)
- remove all selection before navigating to the next page (#2755)
- [fix] properly scroll if body has margin (#2761)
- [fix] increase scroll debounce timeout (#2749)
- [fix] do not set inlineDynamicImports (#2753)
- [fix] correct message when serving with strict:false (#2726)
- [fix] reset scroll when navigated from scrolled page (#2735)
- [fix] upgrade minor deps. fetch-blob 3.1.3 needed for Netlify deploys (#2714)
- [fix] scroll to elements provided via URL hash (#2668)
- [fix] allow overriding inlineDynamicImports (#2702)
- 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)
- [fix] upgrade to Vite 2.6.11 (#2683)
- Return an array of written files when prerendering. (#2675)
- [breaking] only route pages on the client-side (#2656)
- [fix] fire navigation-end event only at end of navigation (#2649)
- [fix] allow passing certificates via config (#2622)
- Fix prerendering when paths.base but not paths.assets is specified (#2643)
- [chore] upgrade to Vite 2.6.10 (#2634)
- Update vite-plugin-svelte to 1.0.0-next.30 (#2626)
- [fix] allow users to override build target (#2618)
- [breaking] drop Node 12 support (#2604)
- fix XSS vulnerability in
page.path
andpage.params
during SSR (#2597)
- [fix] fixes for firing of hashchange event (#2591)
- [fix] improve type of
init
(#2544)
- update dependencies (#2574)
- [fix] implement support for hashchange event (#2590)
- [chore] upgrade to Vite 2.6.7 (#2586)
- [fix] don't expose prerender options (#2543)
- [chore] upgrade to Vite 2.6.3" (#2557)
- upgrade commonjs plugin for better ignoreTryCatch default (#2539)
- Fix escaping of URLs of endpoint responses serialized into SSR response (#2534)
- [fix] restore functioning of --host CLI flag with no arg (#2525)
- update to vite 2.6.0 and esbuild 0.13 (#2522)
- fix browser-only redirect during load. (#2462)
- [feat] allow using Vite's
strict.port: false
option (#2507)
- [fix] allow passing in https certs again' (#2512)
- [chore] upgrade node-fetch to 3.0.0 final (#2422)
- [fix] don't override application focus and scroll (#2489)
- Fix script and style tags without attributes crashing svelte-kit package (#2492)
- 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)
- [chore] upgrade to Svelte 3.43.0" (#2474)
- [breaking] rename the
context
parameter of the load function tostuff
(#2439)
- Fix preview when
kit.paths.base
is set. (#2409)
- Resolve $lib alias when packaging (#2453)
- Fix prerendering/adapter-static failing when
kit.paths.base
was set. (#2407)
- 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)
- [fix] encodeURI during prerender (#2427)
- [chore] add links to repository and homepage to package.json (#2425)
- Update vite-plugin-svelte to 1.0.0-next.24 (#2423)
- Add a generic argument to allow typing Body from hooks (#2413)
- [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)
- [chore] upgrade Vite
- [breaking] rename prerender.pages config option to prerender.entries (#2380)
- [fix] anchor tag inside svg (#2286)
- [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)
- 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)
- Enable nested dependency optimization by updating to @sveltejs/vite-plugin-svelte@1.0.0-next.21 (#2343)
- 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)
- [fix] upgrade to Vite 2.5.2 to fix URL decoding (#2323)
- Add
@sveltejs/kit
tonoExternal
in dev server as well (#2332)
- Add
@sveltejs/kit
to noExternal to resolve hooks module in dev server (#2306)
- [fix] HMR on Windows (#2315)
- avoid setting rawBody/body to an empty Uint8Array when a load's fetch function is called with no body during SSR (#2295)
- [chore] separate RequestHeaders and ResponseHeaders types (#2248)
- [fix] don't de-indent user-rendered HTML (#2292)
- allow any top-level keys in svelte config (#2267)
- Exclude emitted declarations on packaging (#2247)
- [chore] export App types (#2259)
- Upgrade to Vite 2.5.0 (#2231)
- rename serverFetch to externalFetch (#2110)
- 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)
- fix new route discovery in dev server (#2198)
- [fix] match route against decoded path on client (#2206)
- export
HandleError
type (#2200)
- [fix] match regex against route only once (#2203)
- 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 atoJSON
property (#2170)
- [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)
- [fix] enable Vite pre-bundling except for Svelte packages (#2137)
- [feat] detect if app tries to access query with prerender enabled (#2104)
- 241dd623: [fix] point at true dev entry point
- 8c0ffb8f: [fix] provide explicit JS entry point for Vite dev mode (#2134)
- c3c25ee0: [fix] take into account page-level options on error pages (#2117)
- aed1bd07: [fix] fully initialize router before rendering (#2089)
- 970bb04c: restore reverted config changes (#2093)
- 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)
- e55bc44a: [fix] revert change to rendering options (#2008)
- d81de603: revert adapters automatically updating .gitignore (#1924)
- 5911b1c7: [fix] consider protocol-relative URLs as external (#2062)
- 883d4b85: Add public API to let adapters update .gitignore (#1924)
- 8cbe3b05: Change
force
toonError
in prerender config options (#2030) - 1b18a844: Don't check external links on prerender (#1679)
- 7645399a: [fix] correctly pass Vite options in preview mode (#2036)
- 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 ofprerender.onError
(#2007)
- bce1d76a: [chore] improved typing for runtime and tests (#1995)
- 2a1e9795: [chore] enable TypeScript strict mode (#1998)
- 69b92ec1: [chore] improved typing on core library (#1993)
- 3b293f2a: update svelte to 3.40 and vite-plugin-svelte to 1.0.0-next.14 (#1992)
- 34b923d1: [chore] stricter TypeScript checking (#1989)
- e1e5920a: [fix] correctly find links during prerendering (#1984)
- c7db715e: Handle errors with incorrect type (#1983)
- 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)
- 7b440b2b: Fix URL resolution for server-side fetch (#1953)
- 0bc1b309: Minor optimization in parse_body (#1916)
- 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)
- e246455: Passthrough server-side fetch cookies for most same-origin scenarios (#1847)
- 27e9067: Better error messages when something goes wrong while emitting types (#1903)
- 277029d: Change index.js exports to directory exports when packaging (#1905)
- bb3ae21: Fix endpoint validation to allow returning string for all content types (#1900)
- 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)
- 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)
- 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)
- d09a4e1: Surface Svelte compiler errors (#1827)
- 79b4fe2: Update Vite to ^2.4.1 (#1834)
- 2ac5781: Use esbuild inject API to insert shims (#1822)
- 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)
- 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
andhydration
disabled (#1724) - ae3ef19: Fail if config.kit.appDir starts or ends with a slash (#1695)
- 064f848: Implement serverFetch hook
- 882fb12: Add keepfocus option to goto
- 5418254: Fix regex for getting links to crawl during prerendering (#1743)
- 828732c: Specify actual Svelte version requirement (#1751)
- 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)
- 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)
- 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)
- 045c45c: update vite to 2.3.6 (#1625)
- 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)
- eae1b1d: Rename handle's render parameter to resolve (#1566)
- 6372690: Add svelte-kit package command (#1499)
- c3d36a3: ensure
content-length
limit respected; handlegetRawBody
error(s) (#1528) - bf77940: bump
polka
andsirv
dependency versions (#1548) - 2172469: Upgrade to Vite 2.3.4 (#1580)
- 028abd9: Pass validated svelte config to adapter adapt function (#1559)
- 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)
- ad83d40: update vite to ^2.3.1 (#1429)
- fe0531d: temporarily pin vite to version 2.2.4 until issues with 2.3.0 are resolved (#1423)
- f3c50a0: Bump Vite to 2.3.0 (#1413)
- cfd6c3c: Use rendered CSS for AMP pages (#1408)
- 9a2cc0a: Add trailingSlash: 'never' | 'always' | 'ignore' option (#1404)
- 9b448a6: Rename @sveltejs/kit/http to @sveltejs/kit/node (#1391)
- 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)
- f5e626d: Reference Vite/Svelte types inside Kit types (#1319)
- 9890492: Use TypedArray.set to copy from Uint8Array when getting raw body in core/http (#1349)
- 051c026: Remove getContext in favour of request.locals (#1332)
- d279e36: Add invalidate(url) API for re-running load functions (#1303)
- 694f5de: Fixes
navigating
store type (#1322) - 0befffb: Rename .svelte to .svelte-kit (#1321)
- c6fde99: Switch to ESM in config files (#1323)
- 63eff1a: Add prerendering to $app/env typings (#1316)
- 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)
- 72c78a4: Handle URLs that need to be decoded (#1273)
- 353afa1: Disable FLoC by default (#1267)
- 354e384: Allow FormData to be passed as RequestHandler type Body argument (#1256)
- b1bfe83: Show error page on unknown initial path. Fixes #1190.
- 82955ec: fix: adapt to svelte ids without ?import in vite 2.2.3
- ac60208: Exit process after adapting (#1212)
- 927e63c: update the error message of prerender to optionally include the parent variable (#1200)
- 6f2b4a6: Remove references to npm start (#1196)
- 4131467: Prerender fallback page for SPAs (#1181)
- 2130087: Support multiple rel values on anchor tag (#884)
- ba732ff: Report errors in hooks.js (#1178)
- a2f3f4b: Rename
start
topreview
in the CLI and package scripts
- 4645ad5: Force Vite to bundle Svelte component libraries in SSR (#1148)
- abf0248: Fix $service-worker types
- 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
- a4a1075: Work around apparent Cloudflare Workers platform bugs (#1123)
- 4af45e1: Remove usage of node built-ins from runtime (#1117)
- 1237eb3: Expose rawBody on request, and expect rawBody from adapters (#1109)
- 1237eb3: Expose getRawBody from kit/http (#1109)
- 7a4b351: Expose install-fetch subpackage for adapters to use (#1091)
- d3abd97: Fix Windows build output containing backward slashes (#1096)
- 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)
- fee388a: Include CSS for entry point/generated component (#1053)
- 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)
- 4c45784: Add ambient types to published files (#980)
- 1007f67: Allow non-root $error.svelte components (#901)
- ca108a6: Change
handle
hook from positional arguments to named arguments (#959)
- 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)
- 108c26c: Always return a response from render function in handle (#847)
- 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)
- 24fab19: Add --https flag to dev and start (#462)
- ba4f9b7: Check port, only expose to network with --host flag (#819)
- 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)
- d9ce2a2: Correct response type for fetch (#799)
- c0b9873: Always apply layout props when hydrating (#794)
- b8a8e53: Add type to config.kit.vite (#786)
- 9b09bcc: Prevent XSS when serializing fetch results (#769)
- 7f58512: Prevent Vite prebundling from crashing on startup (#759)
- 31f94fe: Add ssr, router and hydrate options
- 864c3d4: Assets imported from css and js/ts files are emitted as files instead of being inlined (#461)
- 4b2c97e: Initialise router with history.state
- 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)
- 826f39e: Make prefetching work (#620)
- 26893b0: Allow first argument to fetch in load to be a request (#619)
- 924db15: Add copy function to Builder.js (#630)
- 391189f: Check for options.initiator in correct place (#615)
- d0a7019: switch to @sveltejs/vite-plugin-svelte (#584)
- 8a88fad: Replace regex routes with fallthrough routes (#583)
- 3037530: Create history entry for initial route (#582)
- 04f17f5: Prevent erronous <style>undefined</style> (#578)
- 8805c6d: Pass adapters directly to svelte.config.cjs (#579)
- 9cf2f21: Only require page components to export prerender (#577)
- e860de0: Invalidate page when query changes (#575)
- 7bb1cf0: Disable vite-plugin-svelte transform cache (#576)
- ac3669e: Move Vite config into svelte.config.cjs (#569)
- 34a00f9: Bypass router on hydration (#563)
- 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)
- e37a302: Make getSession future-proof (#524)
- f35a5cd: Change adapter signature (#505)
- 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
- e6449d2: Fix AMP styles for real (#494)
- 672e9be: Fix AMP styles, again (#491)
- 0f54ebc: Fix AMP styles (#488)
- 4aa5a73: Future-proof prepare argument (#471)
- 58dc400: Call correct set_paths function (#487)
- 2322291: Update to node-fetch@3
- 4c5fd3c: Include layout/error styles in SSR (#472)
- b7fdb0d: Skip pre-bundling (#468)
- 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)
- 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)
- 7b70a33: Force version bump so that Kit uses updated vite-plugin-svelte (#419)
- Use Vite
- Fix Windows issues
- Preserve load context during navigation
- Return error from load
- Fix adapters and convert to ES modules
- 474070e: Better errors when modules cannot be found (#381)
- Convert everything to ESM
- b6c2434: app.js -> app.cjs (#362)
- 00cbaf6: Rename _.config.js to _.config.cjs (#356)
- 4c0edce: Use addEventListener instead of onload (#347)
- 4353025: Prevent infinite loop when fetching bad URLs inside error responses (#340)
- 2860065: Handle assets path when prerendering (#341)
- Fail build if prerender errors
- Hide logging behind --verbose option
- Fix svelte-announcer CSS
- Surface stack traces for endpoint/page rendering errors
- 26643df: Account for config.paths when prerendering (#322)
- 9b758aa: Upgrade to Snowpack 3 (#321)
- bb68595: use readFileSync instead of createReadStream (#320)
- 217e4cc: Set paths to empty string before prerender (#317)
- ccf4aa7: Implement prerender config (#315)
- deda984: Make navigating store contain from and to properties (#313)
- f7dea55: Set process.env.NODE_ENV when invoking via the CLI (#304)
- Remove temporary logging
- Add sveltekit:prefetch and sveltekit:noscroll
- 6d1bb11: Fix AMP CSS (#286)
- d8b53af: Ignore $layout and $error files when finding static paths
- Better scroll tracking
- Fix dev loader
- 1ea4d6b: More robust CSS extraction (#279)
- e7c88dd: Tweak AMP validation screen
- a31f218: Fix SSR loader invalidation (#277)
- 8b14d29: Omit svelte-data scripts from AMP pages (#276)
- f5fa223: AMP support (#274)
- 47f2ee1: Always remove trailing slashes (#267)
- 1becb94: Replace preload with load
- 15dd751: Use meta http-equiv=refresh (#256)
- be7e031: Fix handling of static files (#258)
- ed6b8fd: Implement $app/env (#251)
- 76705b0: make HMR work outside localhost (#246)
- 0e45255: Move options behind kit namespace, change paths -> kit.files (#236)
- fa7f2b2: Implement live bindings for SSR code (#245)
- Return dependencies from render
- af01b0d: Move renderer out of app assets folder
- Add paths to manifest, for static prerendering
- Fix typo causing misnamed assets folder
- ffd7bba: Fix SSR cache invalidation (#217)
- Add back stores(), but with deprecation warning
- Rename stores.preloading to stores.navigating
- Rewrite routing logic
- 10872cc: Normalize request.query (#196)
- Add svelte-kit start command
- rename CLI to svelte-kit
- 0904e22: rename svelte CLI to svelte-kit (#186)
- Validate route responses
- Make paths and target configurable
- b475ed4: Overhaul adapter API - fixes #166 (#180)
- Updated dependencies [b475ed4]
- @sveltejs/app-utils@0.0.18
- Updated dependencies [3bdf33b]
- @sveltejs/app-utils@0.0.17
- 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
- a163000: Parse body on incoming requests
- a346eab: Copy over latest Sapper router code (#6)
- Updated dependencies [a163000]
- @sveltejs/app-utils@0.0.15
- Force bump version
- 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
- Pass setup module to renderer
- Bump Snowpack version
- Updated dependencies [undefined]
- Updated dependencies [96c06d8]
- @sveltejs/app-utils@0.0.13
- 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
- Updated dependencies [undefined]
- @sveltejs/app-utils@0.0.11
- 19323e9: Update Snowpack
- Updated dependencies [19323e9]
- @sveltejs/app-utils@0.0.10
- Updated dependencies [90a98ae]
- @sveltejs/app-utils@0.0.9
- Updated dependencies [undefined]
- @sveltejs/app-utils@0.0.8
- various
- Updated dependencies [undefined]
- @sveltejs/app-utils@0.0.7