Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
5d31e01
WIP
Rich-Harris Jul 9, 2026
afefba8
WIP
Rich-Harris Jul 9, 2026
bae6691
fix
Rich-Harris Jul 9, 2026
81ddc27
make root.svelte a real component
Rich-Harris Jul 9, 2026
abea74f
use svelte/server
Rich-Harris Jul 9, 2026
26e8445
tweak
Rich-Harris Jul 9, 2026
ca93c91
unused
Rich-Harris Jul 9, 2026
7b5bec1
update
Rich-Harris Jul 9, 2026
cd1da8d
tidy up
Rich-Harris Jul 9, 2026
966ec80
simplify
Rich-Harris Jul 9, 2026
95b6e2e
fixes
Rich-Harris Jul 9, 2026
296aa2e
try this
Rich-Harris Jul 9, 2026
3f4d1d3
fix
Rich-Harris Jul 10, 2026
a62f275
Merge branch 'version-3' into simplify-root
Rich-Harris Jul 10, 2026
d09768a
unused
Rich-Harris Jul 10, 2026
3e820a7
fix
Rich-Harris Jul 10, 2026
dbe5656
merge version-3
Rich-Harris Jul 10, 2026
4e5dbcd
simplify
Rich-Harris Jul 10, 2026
b951cb4
unused
Rich-Harris Jul 10, 2026
4df2672
tidy up
Rich-Harris Jul 10, 2026
9503dac
Fix: `preloadData()` rejects instead of resolving to the documented `…
vercel[bot] Jul 10, 2026
797539b
retire SSRComponent
Rich-Harris Jul 10, 2026
e6403ca
tidy up
Rich-Harris Jul 11, 2026
d3087d2
unused
Rich-Harris Jul 11, 2026
a7dc5c4
bump required svelte peer dep version, so we can use declaration tags
Rich-Harris Jul 11, 2026
b2c2cdc
make components/resetters required
Rich-Harris Jul 11, 2026
a31be66
tweak
Rich-Harris Jul 11, 2026
6f2924b
rename, for sanity
Rich-Harris Jul 11, 2026
f552364
preserve fine-grained-ness, albeit hackily
Rich-Harris Jul 11, 2026
4821929
merge version-3
Rich-Harris Jul 11, 2026
3665618
Fix: A page/layout displays STALE ancestor (layout) data when an ance…
vercel[bot] Jul 11, 2026
21cf76e
fix
Rich-Harris Jul 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"peerDependencies": {
"@opentelemetry/api": "^1.0.0",
"@sveltejs/vite-plugin-svelte": "^7.0.0",
"svelte": "^5.48.0",
"svelte": "^5.56.4",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need to adjust the changeset note in .changeset/heavy-showers-leave.md too

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch — done

"typescript": "^6.0.0",
"vite": "^8.0.12"
},
Expand Down
2 changes: 0 additions & 2 deletions packages/kit/src/core/sync/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import path from 'node:path';
import process from 'node:process';
import create_manifest_data from './create_manifest_data/index.js';
import { write_client_manifest } from './write_client_manifest.js';
import { write_root } from './write_root.js';
import { write_tsconfig } from './write_tsconfig.js';
import { write_types, write_all_types } from './write_types/index.js';
import { write_ambient } from './write_ambient.js';
Expand Down Expand Up @@ -37,7 +36,6 @@ export function create(config, root) {

write_client_manifest(config.kit, manifest_data, `${output}/client`);
write_server(config, output, root);
write_root(manifest_data, output);
write_all_types(config, manifest_data, root);
write_non_ambient(config.kit, manifest_data);

Expand Down
2 changes: 0 additions & 2 deletions packages/kit/src/core/sync/write_client_manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,6 @@ export function write_client_manifest(kit, manifest_data, output, metadata) {
export const decode = (type, value) => decoders[type](value);
export { default as root } from '../root.js';
export const get_error_template = () => import('../shared/error-template.js').then(m => m.default);
`
);
Expand Down
90 changes: 0 additions & 90 deletions packages/kit/src/core/sync/write_root.js

This file was deleted.

2 changes: 0 additions & 2 deletions packages/kit/src/core/sync/write_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const server_template = ({
has_service_worker,
template
}) => `
import root from '../root.js';
import { set_building, set_prerendering } from '$app/env/internal';
import { set_assets } from '$app/paths/internal/server';
import { set_manifest, set_read_implementation } from '__sveltekit/server';
Expand All @@ -40,7 +39,6 @@ export const options = {
hooks: null, // added lazily, via \`get_hooks\`
link_header_preload: ${s(config.kit.output.linkHeaderPreload)},
paths_origin: ${s(config.kit.paths.origin)},
root,
service_worker: ${has_service_worker},
service_worker_options: ${config.kit.serviceWorker.register ? s(config.kit.serviceWorker.options) : 'null'},
templates: {
Expand Down
Loading
Loading