@sveltejs/kit@2.70.2
Patch Changes fix: prevent quadratic backtracking in Accept header content negotiation (#1)
Patch Changes fix: prevent quadratic backtracking in Accept header content negotiation (#1)
Major Changes breaking: replace the noScroll and keepFocus options of goto with a single reset option, and the data-sveltekit-noscroll and data-sveltekit-keepfocus attributes with data-sveltekit-reset (#16558) breaking: deprecate error(status, {...}) in favour of error(status, message, {...}) (#16540) Minor Changes feat: add shallow routing to goto and deprecate pushState and replaceState (#16449)…
Patch Changes chore: replace @netlify/functions with @netlify/types for the Context type (#16542) Updated dependencies [6942ddb, 68137d4, 15dc603, a4f1521, 629b45d, 7a7833a, e6591a0, 7a7833a, b196a39, 66bf343, 4bde76b, d9f05cb, 40efca1, 8ef5548, 9efb8f2, 6a670dc, 3416dcc, 6850fa5, e6591a0, 688bead, b596610, 0f26c13, 110a3db, 665d467, 9c8c60c]: @sveltejs/kit@3.0.0-next.13
Major Changes breaking: remove support for edge and Node 20 runtimes (#16520) Patch Changes chore: bump @vercel/nft dependency (#16522) Updated dependencies [6942ddb, 68137d4, 15dc603, a4f1521, 629b45d, 7a7833a, e6591a0, 7a7833a, b196a39, 66bf343, 4bde76b, d9f05cb, 40efca1, 8ef5548, 9efb8f2, 6a670dc, 3416dcc, 6850fa5, e6591a0, 688bead, b596610, 0f26c13, 110a3db, 665d467, 9c8c60c]: @sveltejs/kit@3.…
Patch Changes fix: match adapter-vercel's prerendered redirect handling when deploying to Vercel (#16497) Updated dependencies [6942ddb, 68137d4, 15dc603, a4f1521, 629b45d, 7a7833a, e6591a0, 7a7833a, b196a39, 66bf343, 4bde76b, d9f05cb, 40efca1, 8ef5548, 9efb8f2, 6a670dc, 3416dcc, 6850fa5, e6591a0, 688bead, b596610, 0f26c13, 110a3db, 665d467, 9c8c60c]: @sveltejs/kit@3.0.0-next.13
Major Changes breaking: rename Pathname type to Path and Asset to AssetPath (#16430) breaking: remove leading / from Path and AssetPath breaking: write tsconfig to node_modules/$app/tsconfig (#16458) breaking: error on event.url, event.params and event.route access inside queries (#16452) breaking: delete $service-worker module (#16450) breaking: detect new deployments on data, remote, and form ac…
Patch Changes fix: await init on every request to prevent race condition (#16467) chore: bump Rolldown to 1.2.0 (#16455) Updated dependencies [adc4c5b, ecb0701, 4b4cc60, 7390dbe, 2e71340, c87bc3a, af15c6c, c6fa431, bfe4dea, df7dc72, 5ae11a1, 781205c, c87bc3a, a1bfeb9, c87bc3a, 9f0127d, 4b4cc60, 8f5b9c7, c9b5544, fe1d4a4, 4b4cc60, 5f78e95, 25510fc, c99a6cf, 17a45ca, 2ca20c3, eb5c973]: @sveltejs/kit…
Patch Changes chore: bump @cloudflare/workers-types to 4.20260621.1 (#16455) Updated dependencies [adc4c5b, ecb0701, 4b4cc60, 7390dbe, 2e71340, c87bc3a, af15c6c, c6fa431, bfe4dea, df7dc72, 5ae11a1, 781205c, c87bc3a, a1bfeb9, c87bc3a, 9f0127d, 4b4cc60, 8f5b9c7, c9b5544, fe1d4a4, 4b4cc60, 5f78e95, 25510fc, c99a6cf, 17a45ca, 2ca20c3, eb5c973]: @sveltejs/kit@3.0.0-next.12
Patch Changes fix: await init on every request to prevent race condition (#16467) chore: bump Rolldown to 1.2.0 (#16455) Updated dependencies [adc4c5b, ecb0701, 4b4cc60, 7390dbe, 2e71340, c87bc3a, af15c6c, c6fa431, bfe4dea, df7dc72, 5ae11a1, 781205c, c87bc3a, a1bfeb9, c87bc3a, 9f0127d, 4b4cc60, 8f5b9c7, c9b5544, fe1d4a4, 4b4cc60, 5f78e95, 25510fc, c99a6cf, 17a45ca, 2ca20c3, eb5c973]: @sveltejs/kit…
Patch Changes fix: preserve stripped path prefixes by making trailing-slash redirects relative (#16431) chore: bump Rolldown to 1.2.0 (#16455) Updated dependencies [adc4c5b, ecb0701, 4b4cc60, 7390dbe, 2e71340, c87bc3a, af15c6c, c6fa431, bfe4dea, df7dc72, 5ae11a1, 781205c, c87bc3a, a1bfeb9, c87bc3a, 9f0127d, 4b4cc60, 8f5b9c7, c9b5544, fe1d4a4, 4b4cc60, 5f78e95, 25510fc, c99a6cf, 17a45ca, 2ca20c3, e…
Minor Changes feat: better error logging (#16374) Patch Changes Updated dependencies [5220191, 8cb2f7d, b88c7a7, a6ea113, 6446f64, 58f1789, 09774a2, c542fdd, aedaa27, 428ee1a, fefb3ae]: @sveltejs/kit@3.0.0-next.11
Major Changes breaking: config exported from a universal route file takes precedence over a server one (#16400) breaking: consistent special filename patterns (#16382) Minor Changes feat: support sourcemaps in production (#16412) feat: support function validators for environment variables (#16402) feat: better error logging (#16374) Patch Changes fix: don't treat callable standard schemas as funct…
Patch Changes docs: update links to hooks documentation (#16417)
Major Changes breaking: move defineEnvVars to @sveltejs/kit/env (#16375) Patch Changes fix: treat data: protocol URLs as external for redirect (#16392) perf: skip import graph collection outside client environments (#16383) fix: warn if there are plugins using transformIndexHtml (#16394)
Minor Changes feat: transform import aliases into relative imports in files (#16360)
Patch Changes chore: replace the $lib alias with #lib in docs (#16360)
Major Changes breaking: handle's resolve is now typed to always return a Promise (#16352) breaking: replace the $lib alias with #lib and remove files.lib config. (#16360) breaking: disallow cross-origin form submissions without a Content-Type header (#16347) breaking: Server-only directories (/server/ in the path) are now treated as server-only everywhere inside the project (except src/routes and…
Patch Changes fix: correctly bundle entrypoints on Windows (#16367) Updated dependencies [c1ee782, 1a1b3ea, 6423d98, 6d1f4f0, 5ca9906, b148d31, 5ca9906, 9f3d9bb, 7bfd922, ffa0e3b]: @sveltejs/kit@3.0.0-next.9
Minor Changes feat: move defineEnvVars to @sveltejs/kit/env (#16378) Patch Changes fix: enable CSRF protection in builds with a non-production NODE_ENV value (#16313)
Minor Changes feat: warn when using a .server. file or file inside a server directory without importing a server-only module (#16266)
Patch Changes fix: allow prerelease versions of SvelteKit 3 to satisfy the peer dependency range (#16286) Updated dependencies [737d119, fa78efb, 07c207e, a47071b, 14d7d5a, 5c38e51, 0702baa, e1938c6, 8293144, f76d7d9, ab5c253, b557b1b, 4a513e2]: @sveltejs/kit@3.0.0-next.8
Patch Changes fix: allow prerelease versions of SvelteKit 3 to satisfy the peer dependency range (#16286) Updated dependencies [737d119, fa78efb, 07c207e, a47071b, 14d7d5a, 5c38e51, 0702baa, e1938c6, 8293144, f76d7d9, ab5c253, b557b1b, 4a513e2]: @sveltejs/kit@3.0.0-next.8
Patch Changes fix: allow prerelease versions of SvelteKit 3 to satisfy the peer dependency range (#16286) Updated dependencies [737d119, fa78efb, 07c207e, a47071b, 14d7d5a, 5c38e51, 0702baa, e1938c6, 8293144, f76d7d9, ab5c253, b557b1b, 4a513e2]: @sveltejs/kit@3.0.0-next.8
Patch Changes fix: allow prerelease versions of SvelteKit 3 to satisfy the peer dependency range (#16286) Updated dependencies [737d119, fa78efb, 07c207e, a47071b, 14d7d5a, 5c38e51, 0702baa, e1938c6, 8293144, f76d7d9, ab5c253, b557b1b, 4a513e2]: @sveltejs/kit@3.0.0-next.8
Patch Changes fix: include utils.js in package.json files (#16298) Updated dependencies [737d119, fa78efb, 07c207e, a47071b, 14d7d5a, 5c38e51, 0702baa, e1938c6, 8293144, f76d7d9, ab5c253, b557b1b, 4a513e2]: @sveltejs/kit@3.0.0-next.8
Patch Changes fix: allow prerelease versions of SvelteKit 3 to satisfy the peer dependency range (#16286) Updated dependencies [737d119, fa78efb, 07c207e, a47071b, 14d7d5a, 5c38e51, 0702baa, e1938c6, 8293144, f76d7d9, ab5c253, b557b1b, 4a513e2]: @sveltejs/kit@3.0.0-next.8
Major Changes breaking: remove experimental.handleRenderingErrors flag (#16265) breaking: make getRequest and setResponse synchronous (#16280) breaking: make page.url immutable on a type level (#16256) breaking: add refreshAll and deprecate invalidateAll (#16289) Minor Changes feat: allow hyphens in param and matcher names (#16284) feat: add ErrorProps to generated types (#16272) Patch Changes fix…
Patch Changes fix: detect destructured load and actions exports during type generation (#16329) fix: ensure CSS URL references are absolute when paths.relative is false (#16315) fix: align MAX_COOKIE_SIZE with RFC 6265bis (#16322)
Patch Changes fix: ensure types for platform.context work (#16255) Updated dependencies [ba78a0b, a248c9b, 7596981, be72ed9, a5bd7e2, dec671f, 82f3867, 97eb324, e2a9ac0, 309bfb4, 522a86b, 0ff547f, 3d4ff91, c925f2a, 7daf445]: @sveltejs/kit@3.0.0-next.7
Major Changes breaking: change form.error type from any to App.Error | undefined (#16245) feat: allow adapters to provide additional Vite plugins (#16206) breaking: move tracing out of the experimental namespace and remove the instrumentation flag (#16260) breaking: remove $app/stores (#15499) breaking: disallow *.remote.ts/js files unless experimental.remoteFunctions is enabled (#16247) breaking:…