Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1629 commits
Select commit Hold shift + click to select a range
648007f
Version Packages (#14419)
github-actions[bot] Sep 12, 2025
6feaab1
fix: invalidate preload cache when invalidateAll is true (#14420)
LeeWxx Sep 12, 2025
0dff64c
feat: expose event for navigation handler when navigation is popstate…
seo-rii Sep 12, 2025
2332925
chore(deps): update pnpm to v10.16.1 (#14427)
renovate[bot] Sep 14, 2025
fc7bce6
fix: respect `replaceState`/`keepFocus`/`noScroll` when a navigation …
PatrickG Sep 14, 2025
780ea38
fix: more alias resolution fixes (#14433)
dummdidumm Sep 15, 2025
8b9a19f
Version Packages (#14422)
github-actions[bot] Sep 15, 2025
181f8f7
fix: allow remote functions to return custom types serialized with `t…
Rich-Harris Sep 15, 2025
8d38e5a
fix: fulfil `beforeNavigate` `complete` when redirected (#12896)
teemingc Sep 16, 2025
ff8a85e
feat: add %sveltekit.version% placeholder for template interpolation …
potch Sep 16, 2025
3120d17
Version Packages (#14436)
github-actions[bot] Sep 16, 2025
4c77bcd
Validated forms (#14383)
Rich-Harris Sep 16, 2025
3de8e38
Version Packages (#14443)
github-actions[bot] Sep 16, 2025
fb711d7
fix: ensure environment setup is in its own chunk (#14441)
dummdidumm Sep 16, 2025
1464d20
Version Packages (#14446)
github-actions[bot] Sep 16, 2025
d4680a0
fix: prevent loops in postbuild analysis phase (#14450)
vipero07 Sep 17, 2025
1b08e3b
Fix comment for Zod coercion in remote functions (#14453)
aurorarissime Sep 17, 2025
8826b0d
chore(deps): update pnpm to v10.17.0 (#14454)
renovate[bot] Sep 17, 2025
ff9cf14
fix: robustify form helper types (#14463)
dummdidumm Sep 18, 2025
fae6b5a
fix: avoid running `init` hook during builds when there's nothing to …
teemingc Sep 18, 2025
19211c1
fix: handle nested object fields in form data (#14469)
LeeWxx Sep 18, 2025
46f12cf
fix: ensure SSR rendering gets request store context (#14476)
dummdidumm Sep 18, 2025
c1de1f1
Version Packages (#14451)
github-actions[bot] Sep 18, 2025
145ffb9
docs: update zod coercion example (#14479)
puRe1337 Sep 19, 2025
a86e34f
chore: use catalog version for svelte dev dependency (#14445)
Rich-Harris Sep 19, 2025
eb91c6a
fix: one more alias resolution fix (#14462)
etiennearl Sep 19, 2025
8e89196
Version Packages (#14484)
github-actions[bot] Sep 20, 2025
a1e0776
fix
Rich-Harris Sep 20, 2025
d4f76ea
Revert "fix"
Rich-Harris Sep 20, 2025
0afc71d
chore: use catalog for more "svelte" dependencies (#14487)
Rich-Harris Sep 20, 2025
fbad6a0
fix: ensure `__SVELTEKIT_PAYLOAD__.data` access is safe (#14491)
danieldiekmeier Sep 21, 2025
e177228
prefix changeset message with "fix: " (#14495)
teemingc Sep 21, 2025
f360657
fix: create separate cache entries for non-exported queries (#14499)
Rich-Harris Sep 22, 2025
d4efeb5
chore: remove stale create-svelte references (#14501)
avangardsv Sep 22, 2025
f3b5bfb
feat: async SSR (#14447)
Rich-Harris Sep 22, 2025
84b8c26
Version Packages (#14492)
github-actions[bot] Sep 22, 2025
cc316bc
fix: consistently use bare import for internals (#14506)
Rich-Harris Sep 22, 2025
fd794da
Version Packages (#14507)
github-actions[bot] Sep 22, 2025
4e1958e
fix: keep serialized remote data alive until navigation (#14508)
Rich-Harris Sep 22, 2025
9c33b91
chore: add eslint rule to forbid relative imports to src/exports from…
dummdidumm Sep 23, 2025
c1653ef
fix: resolve more alias issues (#14514)
dummdidumm Sep 23, 2025
7e84789
fix: ensure rendering starts off synchronously (#14517)
dummdidumm Sep 23, 2025
28e24ce
Version Packages (#14511)
github-actions[bot] Sep 23, 2025
80ba3d2
chore(deps): update pnpm to v10.17.1 (#14504)
renovate[bot] Sep 23, 2025
5f9df61
use catalog dependencies for everything (#14509)
Rich-Harris Sep 24, 2025
71b2c49
fix: submitters on remote forms (#14475)
ottomated Sep 24, 2025
677123f
chore: upgrade sharp to 0.34.4 (#14478)
benmccann Sep 24, 2025
85596d0
chore: use specific versions instead catalog for dependencies (#14525)
teemingc Sep 24, 2025
13176ad
fix: Webcontainer AsyncLocalStorage workaround (#14521)
PatrickG Sep 24, 2025
4769d16
Version Packages (#14524)
github-actions[bot] Sep 24, 2025
c78b177
fix: Webcontainer AsyncLocalStorage workaround throttle (#14526)
PatrickG Sep 24, 2025
abc9887
Version Packages (#14527)
github-actions[bot] Sep 24, 2025
09d0961
fix: fall back to non-relative resolution when calling `resolve(...)`…
Rich-Harris Sep 25, 2025
197ad58
Version Packages (#14538)
github-actions[bot] Sep 25, 2025
d4dd214
fix: keep resolve relative to initial base during prerender (#14533)
LeeWxx Sep 26, 2025
1fdc800
fix: deduplicate `HEAD` entry in 405 response `allow` header (#14564)
teemingc Sep 30, 2025
b5000df
fix: ensure cache key is consistent between client/server (#14563)
lettucebowler Sep 30, 2025
dbf9d12
fix: smooth scroll to deep link (#14569)
Rich-Harris Sep 30, 2025
275ab4d
Version Packages (#14541)
github-actions[bot] Sep 30, 2025
56f679b
fix: correctly type `form` remote functions that do not accept data (…
teemingc Oct 1, 2025
f9c5c16
fix: force remote module chunks to isolate themselves (#14571)
Rich-Harris Oct 1, 2025
63285ee
Version Packages (#14574)
github-actions[bot] Oct 1, 2025
193d37c
chore: fix "homepage" field in package.json (#14579)
Rich-Harris Oct 2, 2025
9fbd0d1
Version Packages (#14580)
github-actions[bot] Oct 2, 2025
c5e1b19
chore(deps): update pnpm to v10.18.0 (#14582)
renovate[bot] Oct 2, 2025
d661559
docs: point to new packages page (#14584)
benmccann Oct 2, 2025
4961d4c
docs: remove outdated note (#14586)
Rich-Harris Oct 2, 2025
dcddc33
fix: more robust remote file pattern matching (#14578)
dummdidumm Oct 2, 2025
342fed6
fix: skip prebundling of .remote.js files (#14583)
Rich-Harris Oct 2, 2025
04ba87e
fix: HMR for `query` (#14587)
Rich-Harris Oct 2, 2025
cde1458
docs: update more links to packages page (#14589)
benmccann Oct 2, 2025
5121479
fix: avoid client modules while traversing dependencies to prevent FO…
dummdidumm Oct 3, 2025
81ebc81
Update 30-project-structure.md (#14593)
teemingc Oct 3, 2025
d14a9cb
Version Packages (#14588)
github-actions[bot] Oct 3, 2025
dfb7f49
fix: don't crawl error responses during prerendering (#14596)
Rich-Harris Oct 3, 2025
ab7df93
feat: better remote form field interactions (#14481)
dummdidumm Oct 5, 2025
313ee5e
feat: expose `event.route` and `event.url` to remote functions (#14606)
Rich-Harris Oct 5, 2025
79b96b7
fix: add script block only when there are imports to add (#14604)
benmccann Oct 5, 2025
7fe3895
Version Packages (#14597)
github-actions[bot] Oct 5, 2025
097d718
fix: allow `fetch` in remote function without emitting a warning (#14…
Rich-Harris Oct 6, 2025
b6d6b8a
feat: `form.for(id)` now implicitly sets id on form object (#14623)
dummdidumm Oct 7, 2025
90eaf07
Version Packages (#14614)
github-actions[bot] Oct 7, 2025
82ae30f
fix: prevent code execution order issues around SvelteKit's `env` mod…
dummdidumm Oct 7, 2025
9e03f9e
fix: wait a tick before collecting form data for validation (#14631)
dummdidumm Oct 7, 2025
c13de51
chore(deps): update all non-major dependencies (#14620)
renovate[bot] Oct 7, 2025
c2d54b5
feat: imperative form validation (#14624)
dummdidumm Oct 7, 2025
646836c
Version Packages (#14633)
github-actions[bot] Oct 7, 2025
d5cfb22
fix: delete hydration cache on effect teardown (#14611)
Rich-Harris Oct 7, 2025
874450a
fix: granular updates of `field.value()` (#14621)
Rich-Harris Oct 7, 2025
011d615
docs: remove `@example` blocks to allow docs to deploy (#14636)
Rich-Harris Oct 7, 2025
305ee13
fix: require a value with `submit` and `hidden` fields (#14635)
Rich-Harris Oct 7, 2025
4eadacc
Version Packages (#14634)
github-actions[bot] Oct 7, 2025
1ef73e8
fix: prevent code execution order issues around SvelteKit's `env` mod…
dummdidumm Oct 7, 2025
be1020d
Version Packages (#14638)
github-actions[bot] Oct 7, 2025
0bd9942
fix: don't reset form after enhanced form submit (#14626)
Rich-Harris Oct 7, 2025
f3ebfec
fix: normalize path strings when updating field values (#14649)
Rich-Harris Oct 8, 2025
b1d4580
fix: merge `field.set(...)` calls (#14651)
Rich-Harris Oct 8, 2025
c1f35cd
Version Packages (#14640)
github-actions[bot] Oct 8, 2025
a2d186e
chore(deps): update pnpm/action-setup action to v4.2.0 (#14652)
renovate[bot] Oct 8, 2025
dd1cd06
fix: prevent access of Svelte 5-only `untrack` function (#14658)
dummdidumm Oct 8, 2025
bc3ec26
Version Packages (#14659)
github-actions[bot] Oct 8, 2025
55ac0d5
fix: ensure remote form fields.set triggers reactivity (#14661)
LeeWxx Oct 9, 2025
0704908
chore(deps): update pnpm to v10.18.2 (#14674)
renovate[bot] Oct 10, 2025
0bc7c9a
Version Packages (#14664)
github-actions[bot] Oct 13, 2025
530c5dd
chore(deps): update actions/setup-node action to v6 (#14710)
renovate[bot] Oct 14, 2025
47245a3
chore(deps): update dependency @netlify/functions to v5 (#14721)
renovate[bot] Oct 14, 2025
472c206
chore: re-enable typechecking after netlify update
benmccann Oct 14, 2025
bc3336e
chore(deps): update pnpm to v10.18.3 (#14720)
renovate[bot] Oct 14, 2025
28bc898
chore: fix flaky test (#14670)
benmccann Oct 14, 2025
26b27f5
fix: allow strings for ISR expiration, parse input (#14691)
elliott-with-the-longest-name-on-github Oct 14, 2025
c4f28a1
docs: add missing async to remote functions example (#14709)
vladislav-atakhanov Oct 14, 2025
9c933a2
Fix Syntax Errors in Remote Module Code Concatenation (#14728)
Alazli Oct 15, 2025
dedda71
feat: add signal property to request (#14715)
PatrickG Oct 15, 2025
dfef62a
chore: format some code that is causing CI failures??? (#14733)
Rich-Harris Oct 15, 2025
1d64898
breaking: remove Node polyfills (and by extension support for Node 18…
Rich-Harris Oct 15, 2025
cf9e622
Version Packages (#14727)
github-actions[bot] Oct 15, 2025
c710a39
breaking: update to adapter-vercel to version 6 (#14737)
benmccann Oct 16, 2025
6f13d2b
Version Packages (#14738)
github-actions[bot] Oct 16, 2025
c63e158
fix: set manifest and read implementation before evaluating remote fu…
Copilot Oct 17, 2025
b99b88c
fix: more robust remote files generation (#14682)
dummdidumm Oct 17, 2025
9b73e16
Version Packages (#14742)
github-actions[bot] Oct 17, 2025
c9b31d9
fix: update overload to set `invalid` type to schema input (#14748)
sillvva Oct 17, 2025
fc6017c
fix: streamed promise not resolving (#14753)
PatrickG Oct 19, 2025
98aae1c
feat: allow to run preflight validation only (#14744)
dummdidumm Oct 19, 2025
ef107ac
Version Packages (#14749)
github-actions[bot] Oct 20, 2025
59a2aed
fix: `RecursiveFormFields` type for recursive or unknown schemas (#14…
sillvva Oct 20, 2025
4aca945
chore: treeshake load function code if we know it's unused (#14764)
dummdidumm Oct 20, 2025
a78d8b1
chore: form state rework (#14771)
dummdidumm Oct 20, 2025
df679d2
fix: error pages with discarded promises fail to load (#14722)
PatrickG Oct 21, 2025
3d55fd2
Version Packages (#14763)
github-actions[bot] Oct 22, 2025
9d8489a
chore(deps): update all non-major dependencies (#14783)
renovate[bot] Oct 22, 2025
1f6fb19
fix: await for `settled` instead of `tick` in navigate (#14800)
paoloricciuti Oct 25, 2025
f91fd47
feat: forking (#14793)
Rich-Harris Oct 26, 2025
9d66c37
Version Packages (#14805)
github-actions[bot] Oct 26, 2025
102aecf
fix: wait for commit promise instead of `settled` (#14818)
paoloricciuti Oct 27, 2025
3a5ed2b
Add experimental Bun support (#14817)
javivelasco Oct 28, 2025
4991df5
Version Packages (#14819)
github-actions[bot] Oct 28, 2025
75eda1c
fix: update DOM before running navigate callbacks (#14829)
Rich-Harris Oct 28, 2025
9aac3d4
Version Packages (#14831)
github-actions[bot] Oct 28, 2025
267b0dd
chore: add integration tests for enhanced-img
benmccann Oct 28, 2025
d8a84d0
chore: format
benmccann Oct 28, 2025
0346402
chore(deps): update dependency node to v24 (#14828)
renovate[bot] Oct 28, 2025
8b32b6c
chore(deps): update actions/upload-artifact action to v5 (#14804)
renovate[bot] Oct 28, 2025
79ad886
chore: improve runtime validation for adapter-vercel (#14838)
elliott-with-the-longest-name-on-github Oct 28, 2025
53b1b73
fix: `afterNavigate` callback not running after hydration when experi…
PatrickG Oct 28, 2025
bd98d7d
docs: remote function cannot be server-only modules (#14813)
hyunbinseo Oct 28, 2025
ab9067b
docs: document how form field name attributes work (#14807)
sillvva Oct 28, 2025
cd72d94
fix: prefix route pathname with hash when using `resolve` with hash r…
teemingc Oct 28, 2025
2ccc638
fix: expose `issue.path` in `.allIssues()` for field containers (#14784)
sillvva Oct 28, 2025
49a6e56
chore: enable commented out test
benmccann Oct 29, 2025
a15ac5c
Version Packages (#14839)
github-actions[bot] Oct 29, 2025
9425c38
chore: add test for SVGs
benmccann Oct 29, 2025
1d09284
chore(deps): update pnpm to v10.20.0 (#14840)
renovate[bot] Oct 29, 2025
e781061
fix (#14854)
teemingc Oct 30, 2025
d37f9df
docs: fix formatting in project structure documentation (#14852)
DeadlySurgeon Oct 30, 2025
d9bbf66
fix: make prerender cache work, including in dev (#14860)
Rich-Harris Oct 30, 2025
5d76111
fix: adjust query's promise implementation to properly allow chaining…
dummdidumm Oct 30, 2025
ac73764
docs: add comma (#14857)
3vorp Oct 30, 2025
6cee4c3
Version Packages (#14861)
github-actions[bot] Oct 30, 2025
bb16a8f
fix: delete `RemoteFormAllIssue`, add `path` to `RemoteFormIssue` (#1…
Rich-Harris Oct 30, 2025
721b532
fix: discard preload fork before creating a new one (#14865)
Rich-Harris Oct 30, 2025
dc33ef7
docs: correct usage of "e.g." (#14873)
ShinonomeNoAlice Nov 1, 2025
9909a29
fix: wait an extra microtask in dev before calling `$$_init_$$` (#14799)
paoloricciuti Nov 5, 2025
ffb629b
chore: add Node.js 24 to CI workflow for Chromium tests (#14899)
tkhs0813 Nov 7, 2025
1d65d72
fix: warn rather than crash when non-enhanced image dynamically passe…
benmccann Nov 7, 2025
5b3b2a5
chore(deps): update dependency @opentelemetry/sdk-node to ^0.208.0 (#…
renovate[bot] Nov 7, 2025
0aeb434
docs: update `10-routing.md` to use Svelte 5 syntax (#14910)
garikAsplund Nov 9, 2025
72f77f5
chore(deps): update pnpm to v10.21.0 (#14913)
renovate[bot] Nov 10, 2025
a2eb3a8
chore(deps): update pnpm to v10.22.0 (#14920)
renovate[bot] Nov 13, 2025
1b4e2a0
docs: fix sitemap namespace (#14918)
wobedi Nov 13, 2025
d3fe110
Version Packages (#14867)
github-actions[bot] Nov 14, 2025
94935df
docs: fix typo (#14933)
admwrd Nov 17, 2025
d8c8bd7
fix: don't use fork of unrelated route (#14947)
dummdidumm Nov 20, 2025
540a4ee
fix: preserve `this` when invoking standard validator (#14943)
thes01 Nov 20, 2025
a9d5595
fix: treat client/universal hooks as entrypoints for illegal server i…
Rich-Harris Nov 20, 2025
66de71b
Fix inaccurate InputElementProps type for text/select fields (#14908)
TheOnlyTails Nov 20, 2025
13d9ed3
fix: Prevent type errors when optional `@opentelemetry/api` dependenc…
dummdidumm Nov 20, 2025
4d3abcd
fix: correct query `.set` and `.refresh` behavior in commands (#14877)
phi-bre Nov 20, 2025
f3e3126
fix: resolve aliases before transpiling for `rewriteRelativeImportExt…
ryanatkn Nov 20, 2025
90eafba
fix: clear issues upon passing validation (#14683)
dummdidumm Nov 20, 2025
f316be0
Version Packages (#14948)
github-actions[bot] Nov 20, 2025
dc341ee
chore(deps): update pnpm to v10.23.0 (#14951)
renovate[bot] Nov 20, 2025
1a30f13
chore(deps): update actions/checkout action to v6 (#14952)
renovate[bot] Nov 20, 2025
beb454b
chore(deps): upgrade to `@vercel/nft` version 1.0.0 to reduce depende…
benmccann Nov 20, 2025
0889a2a
fix: append `server-timing` header value if key exist when using `set…
tolu Nov 20, 2025
88d44e4
chore: remove unused entry from pnpm-workspace.yaml (#14955)
benmccann Nov 20, 2025
fa32cc0
fix: rewrite .ts to .js when rewriteRelativeImportExtensions enabled …
jycouet Nov 20, 2025
2ff3951
fix: allow access to root-level issues in schema-less forms (#14893)
sillvva Nov 20, 2025
5b30755
fix: allow hosting hash apps from other html files (#14825)
lishaduck Nov 20, 2025
9f55c85
Version Packages (#14954)
github-actions[bot] Nov 20, 2025
6097bb6
chore(deps): update dependency vite-imagetools to v9 (#14608)
renovate[bot] Nov 20, 2025
af6bb83
Version Packages (#14957)
github-actions[bot] Nov 20, 2025
bd55128
breaking: `invalid` now must be imported from `@sveltejs/kit` (#14768)
dummdidumm Nov 20, 2025
b9635ab
breaking: remove `submitter` option from experimental form `validate(…
Rich-Harris Nov 20, 2025
dfb41e1
Version Packages (#14958)
github-actions[bot] Nov 20, 2025
d07ddcf
feat: Streaming file uploads (#14775)
ottomated Nov 20, 2025
ab37849
Version Packages (#14959)
github-actions[bot] Nov 20, 2025
bb51475
fix: update vite-imagetools for caching fixes to avoid crashes (#14976)
benmccann Nov 24, 2025
f1176ea
Version Packages (#14977)
github-actions[bot] Nov 24, 2025
e295db5
feat: Add Node 24 support to Vercel adapter (#14982)
elliott-with-the-longest-name-on-github Nov 25, 2025
cf9d7ec
chore(deps): update dependency chokidar to v5 (#14986)
renovate[bot] Nov 26, 2025
291497e
chore: remove duplicate caching layer (#14988)
benmccann Nov 26, 2025
9fda2fc
Version Packages (#14985)
github-actions[bot] Nov 26, 2025
977b8bd
Bugfix: Fix #15004 by applying MDN recommended fix when proxying Resp…
drewsilcock Nov 28, 2025
cac67a3
chore(deps): update pnpm to v10.24.0 (#14998)
renovate[bot] Nov 28, 2025
b0e8c3d
chore(deps): update dependency valibot to v1.2.0 [security] (#14992)
renovate[bot] Nov 30, 2025
0f52c83
chore: upgrade `node-forge` and `glob` (#15012)
benmccann Dec 1, 2025
df05c8f
fix: suppress `state_referenced_locally` warnings in `.svelte-kit/gen…
Conduitry Dec 2, 2025
f555ba6
Version Packages (#15007)
github-actions[bot] Dec 2, 2025
ad71199
fix: Stop re-loading already-loaded CSS during server-side route reso…
elliott-with-the-longest-name-on-github Dec 2, 2025
79bb212
chore: Use formatter for robustness (#15006)
elliott-with-the-longest-name-on-github Dec 3, 2025
6d5f0d5
docs: update outdated notice (#15001)
lishaduck Dec 3, 2025
9d1c523
chore: More flaky test fixes (#15020)
elliott-with-the-longest-name-on-github Dec 3, 2025
08a153b
fix(kit): ensure instrumentation file is posixified on Windows (#14993)
BastiDood Dec 3, 2025
cd6837c
test(kit): add regression test for the posixied instrumentation file …
BastiDood Dec 4, 2025
1f2b4c3
fix: Correctly handle shared memory for DataView initialization in de…
ottomated Dec 5, 2025
966e232
docs: update sveltesociety links
benmccann Dec 7, 2025
37619d2
docs: update invalidateAll documentation to mention query functions (…
sillvva Dec 8, 2025
e9752a1
Version Packages (#15015)
github-actions[bot] Dec 8, 2025
2140546
chore(deps): update pnpm to v10.25.0 (#15043)
renovate[bot] Dec 9, 2025
acf2d9d
chore: Test remote functions with full-async setup (#15033)
elliott-with-the-longest-name-on-github Dec 13, 2025
fe76722
chore(deps): update actions/upload-artifact action to v6 (#15057)
renovate[bot] Dec 13, 2025
85a57a0
chore(deps): update pnpm to v10.26.0 (#15065)
renovate[bot] Dec 16, 2025
a5c313e
fix: make typescript an optional peer dependency (#15074)
cierny Dec 24, 2025
9bad292
docs: update Wrangler command for Cloudflare Workers testing (#15077)
teemingc Dec 24, 2025
d093749
chore(deps): update pnpm to v10.26.2 (#15072)
renovate[bot] Dec 24, 2025
d259c98
docs: clarify remote function import (#15082)
Greenheart Dec 24, 2025
fa482a3
docs: update description for `static` folder (#15087)
sacrosanctic Dec 24, 2025
134ce49
chore: upgrade Playwright (#15089)
elliott-with-the-longest-name-on-github Dec 24, 2025
5214626
chore: upgrade jws (#15095)
benmccann Dec 25, 2025
9e9fd2d
chore: upgrade js-yaml (#15096)
benmccann Dec 25, 2025
0280f4b
feat: expose `waitUntil` also for serverless runtime & add docs (#14725)
Fruup Jan 1, 2026
0da365a
chore(deps): update vitest monorepo to v4 (major) (#14789)
renovate[bot] Jan 3, 2026
e67613c
fix: avoid overridden Vite config warning with Vitest 4 (#15121)
Copilot Jan 3, 2026
096e433
docs: remove `$lib` path customization (#14812)
hyunbinseo Jan 5, 2026
06de550
fix: use hasOwn check when deep-setting object properties (#15127)
Rich-Harris Jan 5, 2026
1399bd5
Version Packages (#15091)
github-actions[bot] Jan 5, 2026
7043b3f
chore: upgrade to pnpm 10.27.0 (#15128)
benmccann Jan 5, 2026
0c0a906
fix: add `has(name, value)` overload for URLSearchParams (#15076)
RoryDuncan Jan 6, 2026
7237e8d
fix: support instrumentation for `vite preview` (#15105)
aloisklink Jan 6, 2026
8ea9b24
chore: run pnpm dedupe (#15134)
benmccann Jan 8, 2026
850bd56
fix: add `experimental.forkPreloads` flag (#15135)
elliott-with-the-longest-name-on-github Jan 9, 2026
50bf727
chore: fix prettier ignoring source code in with build in the name (#…
teemingc Jan 9, 2026
c8e4017
Version Packages (#15129)
github-actions[bot] Jan 9, 2026
4f9870d
breaking: remove `buttonProps` from experimental remote form function…
dummdidumm Jan 9, 2026
3305022
Revert "breaking: remove `buttonProps` from experimental remote form …
Rich-Harris Jan 9, 2026
7a65b7a
feat: add env vars for keepAliveTimeout and headersTimeout (#15125)
theandrew168 Jan 9, 2026
17a4b5e
chore: Add AGENTS.md, symlink copilot instructions (#15145)
elliott-with-the-longest-name-on-github Jan 9, 2026
70aee76
Version Packages (#15146)
github-actions[bot] Jan 12, 2026
6cf9491
chore: remove unused is_http_method helper and method set to (#15152)
teemingc Jan 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"commit": false,
"linked": [],
"access": "public",
"baseBranch": "master",
"baseBranch": "main",
"bumpVersionsWithWorkspaceProtocolOnly": true,
"ignore": ["!(@sveltejs/*|create-svelte|svelte-migrate)"]
"ignore": ["!(@sveltejs/*)"]
}
55 changes: 55 additions & 0 deletions .eslint/no-runtime-to-exports-imports.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
// @ts-expect-error no types here
import path from 'node:path';

/**
* @type {import('eslint').Rule.RuleModule}
*/
export default {
meta: {
type: 'problem',
docs: {
description: 'disallow relative imports from src/runtime to src/exports',
category: 'Possible Errors',
recommended: true
},
schema: [],
messages: {
noRuntimeToExportsImport:
'Relative imports from src/runtime to src/exports are not allowed because they can cause Vite to resolve the same module both via regular Node and internal Vite. Use internal import maps or `@sveltejs/kit/internal` instead.'
}
},

create(context) {
const filename = context.filename;

// Only apply this rule to files in packages/kit/src/runtime
const in_runtime = filename.includes(path.join('packages', 'kit', 'src', 'runtime'));

if (!in_runtime) {
return {};
}

return {
ImportDeclaration(node) {
const import_path = node.source.value;

// Check if this is a relative import
if (typeof import_path === 'string' && import_path.startsWith('.')) {
// Resolve the import path relative to the current file
const current_dir = path.dirname(filename);
const resolved_path = path.resolve(current_dir, import_path);

// Check if the resolved path points to src/exports
const exports_path = path.join('packages', 'kit', 'src', 'exports');

if (resolved_path.includes(exports_path)) {
context.report({
node: node.source,
messageId: 'noRuntimeToExportsImport'
});
}
}
}
};
}
};
18 changes: 0 additions & 18 deletions .eslintrc.json

This file was deleted.

8 changes: 8 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!-- Your PR description here -->

---

### Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
- [ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
- [ ] This message body should clearly illustrate what problems it solves.
Expand All @@ -8,3 +12,7 @@

### Changesets
- [ ] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running `pnpm changeset` and following the prompts. Changesets that add features should be `minor` and those that fix bugs should be `patch`. Please prefix changeset messages with `feat:`, `fix:`, or `chore:`.

### Edits

- [ ] Please ensure that 'Allow edits from maintainers' is checked. PRs without this option may be closed.
1 change: 1 addition & 0 deletions .github/copilot-instructions.md
10 changes: 6 additions & 4 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ permissions:

jobs:
Audit:
# prevents this action from running on forks
if: github.repository == 'sveltejs/kit'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2.4.0
- uses: actions/setup-node@v3
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4.2.0
- uses: actions/setup-node@v6
with:
node-version: '20.x'
node-version: '24.x'
cache: pnpm
- run: pnpm install --frozen-lockfile
# check prod dependencies as these would affect users
Expand Down
167 changes: 132 additions & 35 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on:
push:
branches:
- master
- main
pull_request:

env:
Expand All @@ -19,123 +19,220 @@ permissions:
contents: read # to fetch code (actions/checkout)

jobs:
Lint:
pkg-pr-new:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2.4.0
- uses: actions/setup-node@v3
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4.2.0
- uses: actions/setup-node@v6
with:
node-version: '16.x'
node-version: 24
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpx pkg-pr-new publish --comment=off ./packages/*
lint-all:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/[email protected]
- uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm run lint
- run: cd packages/kit && pnpm prepublishOnly
- run: cd packages/kit && pnpm prepublishOnly && { [ "`git status --porcelain=v1`" == "" ] || (echo "Generated types have changed — please run prepublishOnly locally and commit the changes after you have reviewed them"; git diff; exit 1); }
- run: pnpm run check
Tests:
test-kit:
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
include:
- node-version: 16
os: ubuntu-latest
e2e-browser: 'chromium'
- node-version: 18
os: ubuntu-latest
e2e-browser: 'chromium'
- node-version: 20
os: ubuntu-latest
e2e-browser: 'chromium'
- node-version: 22
os: ubuntu-latest
e2e-browser: 'chromium'
- node-version: 24
os: ubuntu-latest
e2e-browser: 'chromium'
env:
KIT_E2E_BROWSER: ${{matrix.e2e-browser}}
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2.4.0
- uses: actions/setup-node@v3
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4.2.0
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm playwright install ${{ matrix.e2e-browser }}
- run: pnpm test
- run: pnpm run sync-all
- run: pnpm test:kit
env:
NODE_OPTIONS: ${{matrix.node-version == 22 && '--experimental-strip-types' || ''}} # allows loading svelte.config.ts
- name: Print flaky test report
run: node scripts/print-flaky-test-report.js
- name: Archive test results
if: failure()
shell: bash
run: find packages -type d -name test-results -not -empty | tar -czf test-results.tar.gz --files-from=-
- name: Upload test results
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v6
with:
retention-days: 3
name: test-failure-${{ github.run_id }}-${{ matrix.os }}-${{ matrix.node-version }}-${{ matrix.e2e-browser }}
path: test-results.tar.gz
Cross-browser-test:
test-kit-cross-browser:
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
include:
- node-version: 16
os: windows-2019 # slowness reported on newer versions https://github.com/actions/runner-images/issues/5166
- node-version: 18
os: windows-latest
e2e-browser: 'chromium'
mode: 'dev'
- node-version: 16
- node-version: 18
os: ubuntu-latest
e2e-browser: 'firefox'
mode: 'dev'
- node-version: 16
- node-version: 18
os: macOS-latest
e2e-browser: 'webkit'
mode: 'dev'
- node-version: 16
os: windows-2019 # slowness reported on newer versions https://github.com/actions/runner-images/issues/5166
- node-version: 18
os: windows-latest
e2e-browser: 'chromium'
mode: 'build'
- node-version: 16
- node-version: 18
os: ubuntu-latest
e2e-browser: 'firefox'
mode: 'build'
- node-version: 16
- node-version: 18
os: macOS-latest
e2e-browser: 'webkit'
mode: 'build'
env:
KIT_E2E_BROWSER: ${{matrix.e2e-browser}}
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2.4.0
- uses: actions/setup-node@v3
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4.2.0
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm playwright install ${{ matrix.e2e-browser }}
- run: pnpm run sync-all
- run: pnpm test:cross-platform:${{ matrix.mode }}
- name: Print flaky test report
run: node scripts/print-flaky-test-report.js
- name: Archive test results
if: failure()
shell: bash
run: find packages -type d -name test-results -not -empty | tar -czf test-results-cross-platform-${{ matrix.mode }}.tar.gz --files-from=-
- name: Upload test results
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v6
with:
retention-days: 3
name: test-failure-cross-platform-${{ matrix.mode }}-${{ github.run_id }}-${{ matrix.os }}-${{ matrix.node-version }}-${{ matrix.e2e-browser }}
path: test-results-cross-platform-${{ matrix.mode }}.tar.gz
Test-create-svelte:
test-kit-server-side-route-resolution:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
include:
- mode: 'dev'
- mode: 'build'
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v6
- uses: pnpm/[email protected]
- uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm playwright install chromium
- run: pnpm run sync-all
- run: pnpm test:server-side-route-resolution:${{ matrix.mode }}
- name: Print flaky test report
run: node scripts/print-flaky-test-report.js
- name: Archive test results
if: failure()
shell: bash
run: find packages -type d -name test-results -not -empty | tar -czf test-results-server-side-route-resolution-${{ matrix.mode }}.tar.gz --files-from=-
- name: Upload test results
if: failure()
uses: actions/upload-artifact@v6
with:
retention-days: 3
name: test-failure-server-side-route-resolution-${{ matrix.mode }}-${{ github.run_id }}
path: test-results-server-side-route-resolution-${{ matrix.mode }}.tar.gz
test-kit-svelte-async:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
include:
- mode: 'dev'
- mode: 'build'
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v6
- uses: pnpm/[email protected]
- uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm playwright install chromium
- run: pnpm run sync-all
- run: pnpm test:svelte-async:${{ matrix.mode }}
- name: Print flaky test report
run: node scripts/print-flaky-test-report.js
- name: Archive test results
if: failure()
shell: bash
run: find packages -type d -name test-results -not -empty | tar -czf test-results-svelte-async-${{ matrix.mode }}.tar.gz --files-from=-
- name: Upload test results
if: failure()
uses: actions/upload-artifact@v6
with:
retention-days: 3
name: test-failure-svelte-async-${{ matrix.mode }}-${{ github.run_id }}
path: test-results-svelte-async-${{ matrix.mode }}.tar.gz
test-others:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22, 24]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2.4.0
- uses: actions/setup-node@v3
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4.2.0
- uses: actions/setup-node@v6
with:
node-version: 16
node-version: ${{matrix.node-version}}
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm playwright install chromium
- run: cd packages/kit && pnpm prepublishOnly
- run: pnpm run test:create-svelte
- run: pnpm run test:others
env:
NODE_OPTIONS: ${{matrix.node-version == 22 && '--experimental-strip-types' || ''}} # allows loading svelte.config.ts
Loading