@sveltejs/package@3.0.0
sveltejs/kit@sveltejs/package@3.0.0Oct 1, 2026by github-actions[bot]
Upgrading?
AI Summary
This release updates the Svelte package bundler to require Node 22, removes legacy dependencies like sade and kleur, and introduces warnings for server-only file usage.
Key Highlights
- Requires Node 22 or newer
- Warns when using `.server.` files without importing server-only modules
- Transforms import aliases into relative imports
- Removes dependencies on `sade` and `kleur`
- Replaces private fs helpers with Node built-ins
Breaking Changes
- require Node 22 or newer
New Features
- warn when using a `.server.` file or file inside a `server` directory without importing a server-only module
- transform import aliases into relative imports in files
Full Release Notes
### Major Changes - breaking: require Node 22 or newer ([#12548](https://github.com/sveltejs/kit/pull/12548)) ### Minor Changes - feat: warn when using a `.server.` file or file inside a `server` directory without importing a server-only module ([#16266](https://github.com/sveltejs/kit/pull/16266)) - feat: transform import aliases into relative imports in files ([#16360](https://github.com/sveltejs/kit/pull/16360)) ### Patch Changes - chore: remove dependency on sade ([#16619](https://github.com/sveltejs/kit/pull/16619)) - chore: bump `svelte2tsx` to 0.7.59 ([#16745](https://github.com/sveltejs/kit/pull/16745)) - fix: rewrite `.ts` extensions in `import.meta.glob` patterns when `rewriteRelativeImportExtensions` is enabled ([#16776](https://github.com/sveltejs/kit/pull/16776)) - chore: replace private fs helpers with Node built-ins ([#16610](https://github.com/sveltejs/kit/pull/16610)) - chore: read the Svelte config via `@sveltejs/load-config` ([#17039](https://github.com/sveltejs/kit/pull/17039)) - chore: remove dependency on kleur ([#12548](https://github.com/sveltejs/kit/pull/12548)) - fix: import resolved peer dependencies as file URLs so project-relative resolution works on Windows ([#16618](https://github.com/sveltejs/kit/pull/16618)) - fix: emit declarations when the tsconfig lives above the package root ([#16568](https://github.com/sveltejs/kit/pull/16568)) - chore: bump `svelte2tsx` to 0.7.60 ([#16761](https://github.com/sveltejs/kit/pull/16761)) - fix: declare typescript as an optional peer dependency so svelte-package works under strict node-linkers ([#16073](https://github.com/sveltejs/kit/pull/16073))
Related Repositories
affaan-m/ECC★ 285,964
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
react/react★ 251,629
The library for web and native user interfaces.
nodejs/node★ 122,530
Node.js JavaScript runtime ✨🐢🚀✨
Leonxlnx/taste-skill★ 100,769
Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
louislam/uptime-kuma★ 92,737
A fancy self-hosted monitoring tool