Skip to content

[pull] main from sveltejs:main #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1,130 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1130 commits
Select commit Hold shift + click to select a range
80a9e83
fix: prerender data when there's no server load but `trailingSlash` o…
eltigerchino Jan 6, 2025
3c31092
Version Packages (#13277)
github-actions[bot] Jan 7, 2025
419ebfa
chore(deps): update all non-major dependencies (#13264)
renovate[bot] Jan 7, 2025
450ec48
docs: fix code snippet (#13283)
dummdidumm Jan 7, 2025
d09bc03
fix: make param matcher generated type import with a .js extension (#…
eltigerchino Jan 8, 2025
f3f0858
fix: upgrade `esm-env` to remove warning when `NODE_ENV` is not set (…
benmccann Jan 9, 2025
58eb46a
docs: clarify how to inline assets (#13294)
eltigerchino Jan 9, 2025
5b667e4
docs: mention the `building` variable to execute non-prerenderable co…
eltigerchino Jan 10, 2025
d4bcfcc
fix: handle redirect thrown from root layout load when client-side na…
eltigerchino Jan 13, 2025
043cdac
fix: prevent vitest from hanging (#12830)
eltigerchino Jan 13, 2025
c2ffdcf
docs: add note about installing workers types (#11731)
Rich-Harris Jan 13, 2025
e201fa9
fix: remove ":$" from virtual module ids to allow dev server to work …
janabimustafa Jan 13, 2025
1bedcc1
fix: fix a `popState` race-condition (#12925)
aloisklink Jan 13, 2025
226db42
chore(deps): update pnpm to v9.15.4 (#13306)
renovate[bot] Jan 14, 2025
c8164ad
docs: fix link to cloudflare docs (#13311)
aeons Jan 14, 2025
d512606
feat: update Vercel, Cloudflare, and Netlify adapter major versions (…
eltigerchino Jan 15, 2025
df0f483
Version Packages (#13288)
github-actions[bot] Jan 15, 2025
699f440
fix: fall back to importing dynamic dependencies relative to SvelteKi…
dummdidumm Jan 15, 2025
7c2c104
docs: Add some helpful notes for Incremental Static Regeneration (#12…
leoj3n Jan 15, 2025
fb04de2
docs: add options for enhance update (#13022)
russ3llc Jan 15, 2025
b60707c
feat: provide PageProps, LayoutProps types (#13308)
rChaoz Jan 15, 2025
e2a4538
fix: use arrow function types over bound functions (#12955)
aloisklink Jan 15, 2025
9dc5c0e
fix: service worker base path in dev mode (#12577)
TorstenDittmann Jan 15, 2025
1c77e28
fix: correctly detect internal links when hash router is used (#13296)
eltigerchino Jan 15, 2025
9fcd1e7
docs: add most common status codes to redirect() doc (#13301)
GauBen Jan 15, 2025
00e1a76
chore: error during development when using `use:enhance` with `+serve…
eltigerchino Jan 15, 2025
f451f6c
fix: use `window.fetch` for server load fetch requests (#13315)
Lms24 Jan 15, 2025
a91ba1f
fix: decode URL before navigating when hash router is enabled (#13321)
eltigerchino Jan 16, 2025
04958cc
feat: Add ability to invalidate a custom identifier on goto() (#13256)
xxmichas Jan 16, 2025
d440c68
perf: shorten file names (#13003)
benmccann Jan 16, 2025
34a03ff
fix: use resolve_symlinks for node.universal and node.server (#12740)
yukipastelcat Jan 16, 2025
0142dd8
chore: add missing `await` (#13327)
benmccann Jan 16, 2025
777c8ef
fix: tighten up preloadCode (#12217)
cooolbros Jan 17, 2025
388d441
fix: catch error when resolving peer dep (#13334)
eltigerchino Jan 17, 2025
c43fd92
fix: only decode URL hash instead of entire URL (#13332)
eltigerchino Jan 17, 2025
e541a40
feat: remove the postinstall script in favor of template prepare scri…
benmccann Jan 17, 2025
37f72fb
fix: inline server stylesheets instead of client stylesheets (#13068)
eltigerchino Jan 17, 2025
6774ebc
fix: strip internal data before passing URL to `reroute` (#13092)
eltigerchino Jan 17, 2025
9bea757
fix: correctly include ambient types from vercel/node adapter (#12088)
eltigerchino Jan 17, 2025
537cd1b
Version Packages (#13316)
github-actions[bot] Jan 17, 2025
702575e
chore: upgrade to vitest 3 (#13330)
benmccann Jan 20, 2025
18d69fb
docs: mention page state (#13348)
eltigerchino Jan 20, 2025
f5103c6
docs: document derived use of $app/state's page (#13346)
jdhuntington Jan 20, 2025
2ca09ce
fix: svelte-package resolve alias (#13351)
Black1358 Jan 20, 2025
891429e
run build step before pkg-pr-new publish (#13355)
eltigerchino Jan 21, 2025
b764298
fix: do not replace headers on fetch requests with error state (#13341)
aureleoules Jan 21, 2025
a8bdcf8
fix: correctly handle relative anchors when hash router is enabled (#…
eltigerchino Jan 21, 2025
ab58c22
fix: correctly check index file exists when resolving an entry (#13354)
eltigerchino Jan 21, 2025
7c81ac9
Version Packages (#13353)
github-actions[bot] Jan 21, 2025
0d813dc
fix: prevent conflict between Netlify Identity and edge function rend…
serhalp Jan 21, 2025
d9f1522
fix: adjust declaration map paths (#8843)
dummdidumm Jan 21, 2025
cc6dace
docs: handle immutable headers error (#12543)
hyunbinseo Jan 22, 2025
416dbdf
feat: Improve errors from dev-time illegal module imports (#13329)
elliott-with-the-longest-name-on-github Jan 22, 2025
ca1d09f
Version Packages (#13358)
github-actions[bot] Jan 22, 2025
e1451fa
chore: upgrade to Vite 6.0.11 (#13366)
benmccann Jan 23, 2025
b8f678b
feat: Remove repository-sync workflows in favor of github-docs-bot (#…
elliott-with-the-longest-name-on-github Jan 23, 2025
2b7b0d1
chore: Inconsequential change to docs to test sync (#13369)
elliott-with-the-longest-name-on-github Jan 24, 2025
01f001b
docs: fix 32 character long generation code snippet (#13372)
eltigerchino Jan 24, 2025
ced7db1
chore: update to chokidar 4.0.3 (#13381)
rChaoz Jan 25, 2025
75f6cd8
fix: prevent Vitest from hanging (#13373)
eltigerchino Jan 27, 2025
f30352f
feat: validate values for `cache-control` and `content-type` headers …
JR-G Jan 29, 2025
d62ed39
fix: skip calling `respond` for server-side `fetch` on prerendered pa…
aloisklink Jan 30, 2025
3dec396
docs: fix config-snippet in adapter-vercel (#13394)
tomoam Jan 30, 2025
180fa34
fix: ignore non-entry-point CSS files during inlining (#13395)
dummdidumm Jan 31, 2025
09296d0
chore: revert dev error when using `use:enhance` with `+server` (#13397)
eltigerchino Jan 31, 2025
5906e97
feat: server side route resolution (#13379)
dummdidumm Feb 3, 2025
96b6259
docs: move navigation note under navigation code blocks (#13402)
gterras Feb 3, 2025
9f8e950
docs: remove mention of non-existent `publicModule` option (#13406)
eltigerchino Feb 3, 2025
3395a32
docs: update `tsconfig.json` explanation (#13400)
sacrosanctic Feb 3, 2025
3f5605d
Version Packages (#13383)
github-actions[bot] Feb 3, 2025
858d6b2
fix: correct edge function path for route resolution endpoint (#13409)
dummdidumm Feb 3, 2025
2c6e8dc
Version Packages (#13410)
github-actions[bot] Feb 3, 2025
c3f918e
fix: make route resolution imports root-relative if `path.relative` o…
dummdidumm Feb 3, 2025
461aa95
Version Packages (#13413)
github-actions[bot] Feb 3, 2025
a09db8c
fix: make `<build>` route exclusion rule only exclude static assets (…
Begad666 Feb 4, 2025
9612a60
fix: form action submit function callback return type (#13420)
McAllaster Feb 6, 2025
b835c63
chore: Add `@typescript-eslint/no-floating-promises` (#13426)
elliott-with-the-longest-name-on-github Feb 6, 2025
a788594
chore(deps): update dependency vitest to v3.0.5 [security] (#13418)
renovate[bot] Feb 8, 2025
776ef06
chore(deps): update all non-major dependencies (#13404)
renovate[bot] Feb 8, 2025
3bab7e3
chore: allow running pnpm 10 (#13442)
benmccann Feb 10, 2025
8a77265
chore: pnpm 10 compatibility (#13451)
benmccann Feb 12, 2025
3b2caa1
chore(deps): update pnpm to v10 (#13414)
renovate[bot] Feb 12, 2025
1997c0d
docs: improve FAQ navbar (#13450)
benmccann Feb 12, 2025
9719e1e
docs: add some tips for setting up icons (#13459)
benmccann Feb 13, 2025
3d88ae3
fix: change server-side route resolution endpoint (#13461)
dummdidumm Feb 13, 2025
633b05e
chore(deps): update pnpm to v10.4.0 (#13463)
renovate[bot] Feb 14, 2025
133a671
Version Packages (#13417)
github-actions[bot] Feb 14, 2025
08ed225
chore(deps): update pnpm to v10.4.1 (#13472)
renovate[bot] Feb 20, 2025
b1e9781
chore(deps): upgrade @vercel/nft to fix glob deprecation warnings
benmccann Feb 20, 2025
59c38cd
chore: update undici via wrangler to fix dependabot warning
benmccann Feb 20, 2025
1fbfaef
Version Packages (#13484)
github-actions[bot] Feb 21, 2025
84c0293
docs: fix endpoint filename, types (#13483)
hyunbinseo Feb 21, 2025
908a948
feat: implements .jsonc support to adapter-cloudflare-workers (#13467)
duducpp Feb 21, 2025
ef1e804
fix: correctly preload links on `mousedown`/`touchstart` (#13486)
eltigerchino Feb 21, 2025
51fc810
fix: avoid file import that is incompatible with Windows (#13495)
Aldthony Feb 24, 2025
2e6527b
fix: load CSS when using server-side route resolution (#13498)
dummdidumm Feb 24, 2025
28cf645
fix: avoid cors errors for non-http urls (#13493)
stephenlrandall Feb 25, 2025
0c0172e
fix: correctly map shared entry-point CSS files during inlining (#13431)
eltigerchino Feb 25, 2025
281ad97
Version Packages (#13485)
github-actions[bot] Feb 25, 2025
3cf2b77
chore: upgrade dts-buddy (#13501)
benmccann Feb 25, 2025
c7f96c8
chore(deps): update pnpm to v10.5.2 (#13500)
renovate[bot] Mar 1, 2025
dc7115c
chore: add test for parsing body size limit (#13437)
alexfu Mar 3, 2025
30b87c0
chore: speed up linting (#13533)
benmccann Mar 4, 2025
fd13f36
chore: fix node ID types (#13535)
benmccann Mar 4, 2025
f9458e3
fix: include universal load assets as server assets (#13531)
eltigerchino Mar 4, 2025
3c0df50
fix: ensure hash router back/forward navigation works (#13492)
stephenlrandall Mar 4, 2025
993fa25
feat: allow async `reroute` (#13520)
dummdidumm Mar 4, 2025
6e97d5f
fix: preload data on tap after code was preloaded on hover (#13530)
eltigerchino Mar 4, 2025
0800da1
fix: Always include root layout/error nodes in manifest (#13522)
elliott-with-the-longest-name-on-github Mar 4, 2025
92d0dbb
feat: provide `normalizeUrl` helper (#13539)
dummdidumm Mar 4, 2025
c808f3c
Version Packages (#13536)
github-actions[bot] Mar 4, 2025
0f82298
chore: avoid loading page nodes three times (#13540)
benmccann Mar 4, 2025
da78f6c
docs: add `@since` annotation for the `normalizeUrl` helper (#13541)
eltigerchino Mar 5, 2025
3fdb664
chore: fix types for universal and server fields (#13542)
benmccann Mar 5, 2025
75efd88
chore: fix type and add docs (#13545)
benmccann Mar 5, 2025
729aa7d
chore: centralize page node logic into a class (#13550)
benmccann Mar 6, 2025
368d827
docs: add new project types page (#13444)
benmccann Mar 6, 2025
07d4b47
docs: fix link
benmccann Mar 6, 2025
a486d0f
docs: fix capitalization
benmccann Mar 6, 2025
d9ead2b
chore(deps): update pnpm to v10.6.0 (#13554)
renovate[bot] Mar 6, 2025
adb5e25
chore: cache reroute results (#13548)
dummdidumm Mar 7, 2025
78a794f
feat: provide `fetch` to `reroute` (#13549)
dummdidumm Mar 7, 2025
d6f9beb
Version Packages (#13558)
github-actions[bot] Mar 7, 2025
8315455
docs: update `package.json` import (#13563)
hyunbinseo Mar 12, 2025
68599e9
fix: allow reroute to point to prerendered route (#13575)
dummdidumm Mar 12, 2025
ddc193a
docs: fix links to point to docs rather than source (#13544)
benmccann Mar 13, 2025
b18bff4
chore(deps): update all non-major dependencies (#13557)
renovate[bot] Mar 14, 2025
edf7ca9
docs: add type to request handler (#13562)
eltigerchino Mar 14, 2025
1b9daad
docs: fix faq link from jumping to database section (#13566)
BD103 Mar 14, 2025
5de93c5
chore: fix 10-faq.md (#13584)
Rich-Harris Mar 14, 2025
9ae6b5d
tweak reroute docs (#13586)
Rich-Harris Mar 14, 2025
34fb711
Version Packages (#13576)
github-actions[bot] Mar 14, 2025
6e4f3b9
docs: explain why route id can be null (#13581)
sacrosanctic Mar 14, 2025
e2babbb
docs: fix naming in 60-adapter-cloudflare.md (#13560)
kotkoroid Mar 14, 2025
001bc04
fix: lazily load CSS for CSR dynamically imported components (#13564)
eltigerchino Mar 14, 2025
6c3d224
feat: support wrangler 4 (#13580)
benmccann Mar 15, 2025
d9bb950
Version Packages (#13587)
github-actions[bot] Mar 15, 2025
d1c0c68
feat: add `getRequestEvent` to `$app/server` (#13582)
Rich-Harris Mar 17, 2025
ee21412
Version Packages (#13594)
github-actions[bot] Mar 17, 2025
da8b5dc
fix: avoid using top-level await (#13607)
Conduitry Mar 18, 2025
55cc232
Version Packages (#13608)
github-actions[bot] Mar 18, 2025
caf2bc5
chore: bump svelte (#13599)
Rich-Harris Mar 18, 2025
770a7eb
chore(deps): update pnpm to v10.6.4 (#13595)
renovate[bot] Mar 18, 2025
d0b41ee
chore: tidy up walk logic in enhanced-img (#13600)
Rich-Harris Mar 19, 2025
a9611fa
chore(deps): bump @babel/runtime to address dependabot warning
benmccann Mar 19, 2025
6e85831
fix: write server files to `_worker.js/` directory (#13610)
eltigerchino Mar 20, 2025
da7b82e
fix: copy `_headers` and `_redirects` from project root instead of `/…
eltigerchino Mar 20, 2025
6fd4a1e
feat: update Cloudflare and Netlify adapter major versions (#13615)
eltigerchino Mar 20, 2025
4261e28
Version Packages (#13613)
github-actions[bot] Mar 20, 2025
c9198a3
fix: allow non-prerendered API endpoint calls during reroute when pre…
dummdidumm Mar 21, 2025
6df1496
Version Packages (#13619)
github-actions[bot] Mar 21, 2025
c158d2c
fix and changeset (#13622)
eltigerchino Mar 21, 2025
fc9017c
Version Packages (#13623)
github-actions[bot] Mar 22, 2025
370e9f9
fix: only call `afterNavigate` once on start when SSR is disabled (#1…
eltigerchino Mar 23, 2025
b54e6b2
chore: move `esbuild` to devDependencies (#13633)
eltigerchino Mar 24, 2025
6c582b6
docs: flesh out icons section and make standalone page (#13555)
benmccann Mar 25, 2025
f4ce185
chore: upgrade minizlib to remove rimraf dependency (#13657)
benmccann Mar 31, 2025
ebec1e9
feat: deprecate `adapter-cloudflare-workers` in favour of `adapter-cl…
eltigerchino Apr 2, 2025
a9805ee
chore(deps): update dependency vite to v6.0.13 [security] (#13643)
renovate[bot] Apr 2, 2025
12925fb
docs: escape underscore so it is not rendered as italic
benmccann Apr 2, 2025
564500b
docs: avoid using titles that have _ in them (#13660)
eltigerchino Apr 2, 2025
fa29a79
Version Packages (#13632)
github-actions[bot] Apr 2, 2025
d59d78c
docs: shorten header
benmccann Apr 2, 2025
01a2681
chore: upgrade `@sveltejs/adapter-cloudflare` to version 7 (#13661)
benmccann Apr 2, 2025
84eb6c2
Version Packages (#13662)
github-actions[bot] Apr 2, 2025
aefa5b1
chore: tweak tsconfig includes (#13663)
dummdidumm Apr 2, 2025
7fd7bcb
chore: get rid of class-replacement hack (#13664)
dummdidumm Apr 3, 2025
50d9072
fix: correctly resolve paths provided through Wrangler config on Wind…
eltigerchino Apr 3, 2025
8100635
add pkg.pr.new workflows (#13676)
Rich-Harris Apr 4, 2025
4f32fb0
feat: `adapter-vercel` o11y (#13679)
Rich-Harris Apr 4, 2025
1fc4ed9
Version Packages (#13672)
github-actions[bot] Apr 4, 2025
e4c672f
Revert "add pkg.pr.new workflows (#13676)" (#13682)
Rich-Harris Apr 6, 2025
99b8079
fix: allow `HandleServerError` hook to access the ` getRequestEvent` …
geodask Apr 7, 2025
dd5381a
Squelch rollup warnings (#13687)
Rich-Harris Apr 8, 2025
a4acd47
Version Packages (#13685)
github-actions[bot] Apr 9, 2025
0b60ea7
fix: handle missing package.json gracefully (#13691)
ageorgeh Apr 9, 2025
4b2cc9e
chore(deps): update dependency vite to v6.0.14 [security] (#13688)
renovate[bot] Apr 11, 2025
4cdea18
chore(deps): update dependency vite to v6.0.15 [security] (#13703)
renovate[bot] Apr 14, 2025
e39d2e7
Version Packages (#13697)
github-actions[bot] Apr 14, 2025
d3300c6
Merge commit from fork
Rich-Harris Apr 14, 2025
711d37a
Version Packages (#13706)
github-actions[bot] Apr 14, 2025
fa00cc3
fix: regression when serializing server data (#13709)
Conduitry Apr 14, 2025
1c6c7c9
Version Packages (#13710)
github-actions[bot] Apr 14, 2025
58508ca
fix: skip symlink test on windows (#13712)
HoldYourWaffle Apr 15, 2025
c51fb55
fix: respect page options when rendering an error page as a result of…
eltigerchino Apr 15, 2025
ec80f8d
chore: allow sharp post-install to run
benmccann Apr 15, 2025
a6cde44
chore(deps): upgrade vite, vitest, esbuild, wrangler (#13716)
benmccann Apr 15, 2025
43ed843
docs: removed reference to js/ts toggle. (#13717)
kaipepler Apr 15, 2025
0656e11
chore(deps): update playwright (#13715)
HoldYourWaffle Apr 16, 2025
ee81145
feat: use edge-light condition when building for Vercel Edge Runtime …
blaine-arcjet Apr 18, 2025
648c095
docs: Update reroute async example (#13727)
jaminwebdev Apr 19, 2025
b183244
docs: change "Cloudflare Pages" title to just "Cloudflare" (#13725)
eltigerchino Apr 21, 2025
1244721
Version Packages (#13713)
github-actions[bot] Apr 30, 2025
81bf5c1
chore(deps): update dependency vite to v6.2.7 [security] (#13759)
renovate[bot] Apr 30, 2025
943beed
chore: convert preprocessor to vite plugin (#13617)
benmccann May 1, 2025
f32a276
chore(deps): update dependency vite to v6.2.7 [security] (#13760)
renovate[bot] May 1, 2025
b1b7b53
Version Packages (#13761)
github-actions[bot] May 1, 2025
acd6400
docs: fix npx sv create command (#13765)
ndri May 4, 2025
488434f
chore(deps): update dependency vite to v6.2.7 [security] (#13763)
renovate[bot] May 4, 2025
9995cf5
docs: clarify positioning of enhancedImages plugin relative to svelte…
crummy May 4, 2025
7bb41aa
minor doc tweaks etc (#13767)
Rich-Harris May 5, 2025
149779a
chore(deps-dev): bump vite from 6.2.6 to 6.2.7 (#13770)
dependabot[bot] May 5, 2025
08660a7
chore(deps): update all non-major dependencies (#13611)
renovate[bot] May 6, 2025
259a2f3
chore: update wrangler (#13773)
benmccann May 7, 2025
6ad0289
Version Packages (#13771)
github-actions[bot] May 7, 2025
1c3f36d
feat: add validation to ensure plugin occurs in correct order
benmccann May 10, 2025
6f22397
chore: format
benmccann May 10, 2025
dfb4b9e
fix: add missing part of diff
benmccann May 10, 2025
bd1c046
chore: remove import-meta-resolve (#13629)
Rich-Harris May 12, 2025
09f61ec
feat: statically analyse universal pages and layouts v3 (#13684)
eltigerchino May 12, 2025
6c51062
fix lockfile
Rich-Harris May 12, 2025
d0f2d7b
Version Packages (#13783)
github-actions[bot] May 12, 2025
39f7b73
docs: expand docs for fail method (#13789)
benmccann May 14, 2025
b666e15
chore: minor dependency updates
benmccann May 14, 2025
a14027c
docs: fix link for sst adapter 30-adapter-auto.md (#13792)
TitanCmd May 15, 2025
df163d2
fix: set `$env` and `$app/environment` variables before analysing ser…
eltigerchino May 18, 2025
5ab5762
docs: clarify what `handleFetch` affects (#13788)
eltigerchino May 18, 2025
ee2ea0d
docs: remove unused bolding (#13801)
Rich-Harris May 18, 2025
44a7aae
Version Packages (#13800)
github-actions[bot] May 18, 2025
969ec95
docs: remove h4 (#13802)
Rich-Harris May 18, 2025
2d7bb2d
docs: update link from deprecated docs
benmccann May 22, 2025
b45cd46
docs: tweak adapter-vercel skew protection docs (#13817)
Rich-Harris May 23, 2025
f48cd60
docs: fix typo (#13820)
cbenz May 25, 2025
65de90f
fix: correct typo in warning (#13837)
1muen May 28, 2025
23f59af
chore: switch to typescript-eslint projectService setting (#13839)
benmccann Jun 3, 2025
e16b7e6
fix: omit stack when logging 404 errors in dev (#13848)
Rich-Harris Jun 3, 2025
46fac30
Version Packages (#13852)
github-actions[bot] Jun 3, 2025
f4d7643
fix: build failure using adapter-cloudflare with paths.base (#13769) …
amodm Jun 3, 2025
881d133
chore: Update Windows CI to latest (#13853)
elliott-with-the-longest-name-on-github Jun 3, 2025
ea2ac9b
fix: recover scroll position on reload of SPAs (#13821)
timhallmann Jun 3, 2025
7f995dc
Attempt to clarify use:enhance docs (#13819)
KTibow Jun 3, 2025
1a40675
fix: handle non-semver-style dependency versions (#13850)
dummdidumm Jun 4, 2025
c6cd8c3
fix: correctly deserialize on the server (#13686)
eltigerchino Jun 4, 2025
e7b57e7
fix: suppress console spam for chrome devtools requests (#13830)
Rich-Harris Jun 5, 2025
6a6538c
fix: correctly invalidate static analysis cache of child nodes during…
eltigerchino Jun 5, 2025
6c44239
fix: include components dynamically imported in the universal load fu…
eltigerchino Jun 5, 2025
408e1f5
fix: ensure `redirect` used in packages uses the same `Redirect` inst…
eltigerchino Jun 5, 2025
6261a87
fix: hash link to new page focuses the correct element (#10856)
eltigerchino Jun 5, 2025
ab67874
fix: avoid setting sequential focus navigation starting point when us…
eltigerchino Jun 6, 2025
fdf8a2b
chore(deps): update pnpm to v10.12.1 (#13849)
renovate[bot] Jun 9, 2025
7fcbc5a
Version Packages (#13854)
github-actions[bot] Jun 9, 2025
73cc8a5
chore(deps): update dependency @netlify/functions to v4 (#13838)
renovate[bot] Jun 9, 2025
b451705
fix: correctly access `app.decoders` in inline and single output apps…
eltigerchino Jun 10, 2025
ee3600d
Version Packages (#13872)
github-actions[bot] Jun 10, 2025
6ba4917
chore: update Vitest to 3.2.3 (#13865)
eltigerchino Jun 10, 2025
0136b4d
chore(deps): update pnpm to v10.12.1 (#13876)
renovate[bot] Jun 10, 2025
5594597
fix: correct link to locals (#13870)
bytesnz Jun 10, 2025
211e78c
feat: Respect abort signals during serverside fetch optimization (#13…
elliott-with-the-longest-name-on-github Jun 12, 2025
f86f33b
fix: sequential focus navigation starting point regression and hash r…
eltigerchino Jun 13, 2025
8e27c71
Version Packages (#13885)
github-actions[bot] Jun 13, 2025
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/*|create-svelte)"]
}
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.
8 changes: 5 additions & 3 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: pnpm/action-setup@v4.1.0
- uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '22.x'
cache: pnpm
- run: pnpm install --frozen-lockfile
# check prod dependencies as these would affect users
Expand Down
115 changes: 84 additions & 31 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,87 +19,102 @@ 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: pnpm/action-setup@v4.1.0
- uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: 22
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@v4
- uses: pnpm/action-setup@v4.1.0
- uses: actions/setup-node@v4
with:
node-version: 22
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'
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: pnpm/action-setup@v4.1.0
- uses: actions/setup-node@v4
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
- 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@v4
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'
Expand All @@ -108,34 +123,72 @@ jobs:
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: pnpm/action-setup@v4.1.0
- uses: actions/setup-node@v4
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@v4
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@v4
- uses: pnpm/action-setup@v4.1.0
- uses: actions/setup-node@v4
with:
node-version: 22
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@v4
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-others:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2.4.0
- uses: actions/setup-node@v3
- uses: pnpm/action-setup@v4.1.0
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
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
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
branches:
- master
- main

permissions: {}
jobs:
Expand All @@ -12,6 +12,7 @@ jobs:
if: github.repository == 'sveltejs/kit'
permissions:
contents: write # to create release (changesets/action)
id-token: write # OpenID Connect token needed for provenance
pull-requests: write # to create pull request (changesets/action)
name: Release
runs-on: ubuntu-latest
Expand All @@ -21,11 +22,11 @@ jobs:
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
- uses: pnpm/action-setup@v2.4.0
- uses: pnpm/action-setup@v4.1.0
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 22.x
cache: pnpm

- run: pnpm install --frozen-lockfile
Expand All @@ -39,8 +40,8 @@ jobs:
version: pnpm changeset:version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_PROVENANCE: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
UPDATE_TEMPLATE_SSH_KEY: ${{ secrets.UPDATE_TEMPLATE_SSH_KEY }}

# TODO alert discord
# - name: Send a Slack notification if a publish happens
Expand Down
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
link-workspace-packages = true
engine-strict = true
10 changes: 7 additions & 3 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"plugins": ["prettier-plugin-svelte"],
"overrides": [
{
"files": ["*.svelte"],
Expand All @@ -20,16 +21,19 @@
{
"files": [
"**/CHANGELOG.md",
"**/vite.config.js.timestamp-*",
"**/.svelte-kit/**",
"**/.custom-out-dir/**",
"**/build/**",
"**/test-results/**",
"documentation/**/*.md",
"packages/package/test/fixtures/**/expected/**/*",
"packages/package/test/watch/expected/**/*",
"packages/package/test/watch/package/**/*",
"packages/kit/src/core/postbuild/fixtures/**/*",
"packages/migrate/migrations/routes/*/samples.md"
"packages/kit/src/core/postbuild/fixtures/**/*"
],
"options": {
"requirePragma": true
"rangeEnd": 0
}
}
]
Expand Down
Loading