diff --git a/.changeset/calm-brooms-burn.md b/.changeset/calm-brooms-burn.md deleted file mode 100644 index d9ce3a8c8373..000000000000 --- a/.changeset/calm-brooms-burn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: remove top-level promise awaiting diff --git a/.changeset/calm-pugs-applaud.md b/.changeset/calm-pugs-applaud.md deleted file mode 100644 index 556047ed1e63..000000000000 --- a/.changeset/calm-pugs-applaud.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: prevent use of dynamic env vars during prerendering, serve env vars dynamically diff --git a/.changeset/chilled-fireants-learn.md b/.changeset/chilled-fireants-learn.md deleted file mode 100644 index 3796f57910ba..000000000000 --- a/.changeset/chilled-fireants-learn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: remove deprecated `use:enhance` callback values diff --git a/.changeset/clean-cars-kiss.md b/.changeset/clean-cars-kiss.md deleted file mode 100644 index 6ce1b9e8db30..000000000000 --- a/.changeset/clean-cars-kiss.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: turn `error` and `redirect` into commands diff --git a/.changeset/dirty-phones-report.md b/.changeset/dirty-phones-report.md deleted file mode 100644 index 40b13d4c0e5c..000000000000 --- a/.changeset/dirty-phones-report.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: the type for `depends` now requires a `:` as part of the string diff --git a/.changeset/dull-eyes-check.md b/.changeset/dull-eyes-check.md deleted file mode 100644 index 16b4a181f123..000000000000 --- a/.changeset/dull-eyes-check.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sveltejs/kit": major ---- - -breaking: remove baseUrl fallback from generated tsconfig diff --git a/.changeset/eight-pens-help.md b/.changeset/eight-pens-help.md deleted file mode 100644 index be20211b5210..000000000000 --- a/.changeset/eight-pens-help.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: fail if route with +page and +server is marked prerenderable diff --git a/.changeset/eighty-scissors-kick.md b/.changeset/eighty-scissors-kick.md deleted file mode 100644 index 4f82777eddd2..000000000000 --- a/.changeset/eighty-scissors-kick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: remove `resolvePath` in favour of `resolveRoute` from `$app/paths` diff --git a/.changeset/fast-dolls-clean.md b/.changeset/fast-dolls-clean.md deleted file mode 100644 index 824824b64d61..000000000000 --- a/.changeset/fast-dolls-clean.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@sveltejs/adapter-vercel': major -'@sveltejs/adapter-node': major ---- - -breaking: require SvelteKit 2 peer dependency diff --git a/.changeset/fast-eyes-deny.md b/.changeset/fast-eyes-deny.md deleted file mode 100644 index bfc7e2051d0e..000000000000 --- a/.changeset/fast-eyes-deny.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sveltejs/kit": minor ---- - -feat: add untrack to load diff --git a/.changeset/flat-clocks-listen.md b/.changeset/flat-clocks-listen.md deleted file mode 100644 index c7fe30360fa7..000000000000 --- a/.changeset/flat-clocks-listen.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/adapter-vercel': minor ---- - -feat: expose vercel image optimization config in adapter config diff --git a/.changeset/gentle-guests-clean.md b/.changeset/gentle-guests-clean.md deleted file mode 100644 index d103f1d81e2b..000000000000 --- a/.changeset/gentle-guests-clean.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: drop support for Svelte 3 diff --git a/.changeset/good-jars-relax.md b/.changeset/good-jars-relax.md deleted file mode 100644 index ea6baeab4b7b..000000000000 --- a/.changeset/good-jars-relax.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': patch ---- - -fix: prerender optional parameters as empty when `entries` contains `'*'` diff --git a/.changeset/grumpy-sheep-fix.md b/.changeset/grumpy-sheep-fix.md deleted file mode 100644 index 4264d51be24e..000000000000 --- a/.changeset/grumpy-sheep-fix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: require Vite 5.0.3+ diff --git a/.changeset/happy-beds-run.md b/.changeset/happy-beds-run.md deleted file mode 100644 index 132a06443a5f..000000000000 --- a/.changeset/happy-beds-run.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: generate `__data.json` files as sibling to `.html` files diff --git a/.changeset/hip-spoons-crash.md b/.changeset/hip-spoons-crash.md deleted file mode 100644 index e11e0b5ae9bd..000000000000 --- a/.changeset/hip-spoons-crash.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@sveltejs/adapter-cloudflare-workers": major -"@sveltejs/adapter-cloudflare": major -"@sveltejs/adapter-netlify": major ---- - -breaking: require SvelteKit 2 diff --git a/.changeset/hot-pumas-pump.md b/.changeset/hot-pumas-pump.md deleted file mode 100644 index 8bd1f22e250d..000000000000 --- a/.changeset/hot-pumas-pump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'create-svelte': minor ---- - -feat: update vitest to 1.0 diff --git a/.changeset/hungry-kings-collect.md b/.changeset/hungry-kings-collect.md deleted file mode 100644 index 7289023b7bc5..000000000000 --- a/.changeset/hungry-kings-collect.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@sveltejs/adapter-cloudflare-workers': minor -'@sveltejs/adapter-cloudflare': minor -'@sveltejs/adapter-netlify': minor -'@sveltejs/adapter-static': minor -'@sveltejs/adapter-vercel': minor -'@sveltejs/adapter-auto': minor -'@sveltejs/adapter-node': minor -'@sveltejs/amp': minor ---- - -feat: allow SvelteKit 2 as peer dependency diff --git a/.changeset/hungry-moles-turn.md b/.changeset/hungry-moles-turn.md deleted file mode 100644 index 7f537b5501d8..000000000000 --- a/.changeset/hungry-moles-turn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/adapter-cloudflare-workers': patch ---- - -fix: declare the adapter plugin options as optional diff --git a/.changeset/light-moons-dress.md b/.changeset/light-moons-dress.md deleted file mode 100644 index 85afe61bcaaa..000000000000 --- a/.changeset/light-moons-dress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sveltejs/kit": minor ---- - -feat: implement shallow routing diff --git a/.changeset/loud-parrots-flow.md b/.changeset/loud-parrots-flow.md deleted file mode 100644 index fca577998c6e..000000000000 --- a/.changeset/loud-parrots-flow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-migrate": minor ---- - -feat: add sveltekit v2 migration diff --git a/.changeset/loud-plants-move.md b/.changeset/loud-plants-move.md deleted file mode 100644 index c148e4086394..000000000000 --- a/.changeset/loud-plants-move.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: fail if +page and +server have mismatched config diff --git a/.changeset/mean-moose-smell.md b/.changeset/mean-moose-smell.md deleted file mode 100644 index 17d98b2cdbae..000000000000 --- a/.changeset/mean-moose-smell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: error if form without multipart/form-data enctype contains a file input diff --git a/.changeset/mean-trees-notice.md b/.changeset/mean-trees-notice.md deleted file mode 100644 index 397ef057eae6..000000000000 --- a/.changeset/mean-trees-notice.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': patch ---- - -fix: resolve route config correctly diff --git a/.changeset/neat-hats-shop.md b/.changeset/neat-hats-shop.md deleted file mode 100644 index 251c39101243..000000000000 --- a/.changeset/neat-hats-shop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': patch ---- - -fix: import Svelte types from svelte/compiler diff --git a/.changeset/nervous-bananas-search.md b/.changeset/nervous-bananas-search.md deleted file mode 100644 index badfdec6e142..000000000000 --- a/.changeset/nervous-bananas-search.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: require paths pass to preloadCode to be prefixed with basepath diff --git a/.changeset/nervous-cups-argue.md b/.changeset/nervous-cups-argue.md deleted file mode 100644 index 8c5d30d77af4..000000000000 --- a/.changeset/nervous-cups-argue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/adapter-node': minor ---- - -chore: upgrade rollup diff --git a/.changeset/nervous-snails-chew.md b/.changeset/nervous-snails-chew.md deleted file mode 100644 index 8822f934a577..000000000000 --- a/.changeset/nervous-snails-chew.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: `@sveltejs/vite-plugin-svelte` is now a peer dependency and will need to be installed in each project using SvelteKit diff --git a/.changeset/nine-moles-buy.md b/.changeset/nine-moles-buy.md deleted file mode 100644 index 73cc6d40b821..000000000000 --- a/.changeset/nine-moles-buy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: stop re-exporting vitePreprocess diff --git a/.changeset/old-rockets-film.md b/.changeset/old-rockets-film.md deleted file mode 100644 index 7f6d7e4f9a95..000000000000 --- a/.changeset/old-rockets-film.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': patch ---- - -fix: reset invalid resources after a successful invalidation diff --git a/.changeset/pink-lobsters-protect.md b/.changeset/pink-lobsters-protect.md deleted file mode 100644 index 2a92abb5b038..000000000000 --- a/.changeset/pink-lobsters-protect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/adapter-static': major ---- - -breaking: update SvelteKit peer dependency to version 2 diff --git a/.changeset/poor-parrots-own.md b/.changeset/poor-parrots-own.md deleted file mode 100644 index 5e9116e27fd2..000000000000 --- a/.changeset/poor-parrots-own.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: require path option when setting/deleting/serializing cookies diff --git a/.changeset/real-pets-fix.md b/.changeset/real-pets-fix.md deleted file mode 100644 index 336da95529b1..000000000000 --- a/.changeset/real-pets-fix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sveltejs/kit": major ---- - -breaking: tighten up error handling diff --git a/.changeset/rotten-penguins-hope.md b/.changeset/rotten-penguins-hope.md deleted file mode 100644 index e350d1710d38..000000000000 --- a/.changeset/rotten-penguins-hope.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/adapter-node': major ---- - -breaking: remove polyfill option. fetch APIs will now always come from the platform being used. File and crypto APIs will be polyfilled if not available diff --git a/.changeset/serious-months-happen.md b/.changeset/serious-months-happen.md deleted file mode 100644 index 861d42d2959f..000000000000 --- a/.changeset/serious-months-happen.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sveltejs/kit": major ---- - -breaking: remove state option from goto in favor of shallow routing diff --git a/.changeset/shy-trees-carry.md b/.changeset/shy-trees-carry.md deleted file mode 100644 index c00143651e4b..000000000000 --- a/.changeset/shy-trees-carry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'create-svelte': major ---- - -feat: create projects with SvelteKit 2 diff --git a/.changeset/silent-donuts-push.md b/.changeset/silent-donuts-push.md deleted file mode 100644 index a10b047c9bbb..000000000000 --- a/.changeset/silent-donuts-push.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@sveltejs/adapter-cloudflare-workers': minor -'@sveltejs/adapter-cloudflare': minor -'@sveltejs/adapter-netlify': minor -'@sveltejs/adapter-vercel': minor ---- - -chore: upgrade esbuild diff --git a/.changeset/silent-games-taste.md b/.changeset/silent-games-taste.md deleted file mode 100644 index fcd66101a965..000000000000 --- a/.changeset/silent-games-taste.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: disallow external navigation with `goto` diff --git a/.changeset/silent-mayflies-burn.md b/.changeset/silent-mayflies-burn.md deleted file mode 100644 index 7bd6f712f5ed..000000000000 --- a/.changeset/silent-mayflies-burn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: upgrade to TypeScript 5. Default `moduleResolution` to `bundler` in user projects to be permissive in consuming and `NodeNext` when running `package` to be strict in distributing diff --git a/.changeset/silly-frogs-love.md b/.changeset/silly-frogs-love.md deleted file mode 100644 index b50674e802e0..000000000000 --- a/.changeset/silly-frogs-love.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sveltejs/adapter-auto": major ---- - -breaking: require SvelteKit 2 diff --git a/.changeset/smart-buttons-return.md b/.changeset/smart-buttons-return.md deleted file mode 100644 index fb4bfc1dd054..000000000000 --- a/.changeset/smart-buttons-return.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': minor ---- - -feat: provide SvelteKit html typings diff --git a/.changeset/smart-crabs-lick.md b/.changeset/smart-crabs-lick.md deleted file mode 100644 index 05f603cfc359..000000000000 --- a/.changeset/smart-crabs-lick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': minor ---- - -feat: redact internal stack trace when reporting config errors diff --git a/.changeset/strange-eyes-sort.md b/.changeset/strange-eyes-sort.md deleted file mode 100644 index 70de048ab975..000000000000 --- a/.changeset/strange-eyes-sort.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sveltejs/kit": minor ---- - -feat: allow for fine grained invalidation of search params diff --git a/.changeset/swift-clocks-kneel.md b/.changeset/swift-clocks-kneel.md deleted file mode 100644 index 493107153a90..000000000000 --- a/.changeset/swift-clocks-kneel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': patch ---- - -fix: Adjust fail method and ActionFailure type diff --git a/.changeset/tall-suns-protect.md b/.changeset/tall-suns-protect.md deleted file mode 100644 index 21f8fa055fa0..000000000000 --- a/.changeset/tall-suns-protect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: undefined is no longer a valid value for paths.relative diff --git a/.changeset/thick-suits-help.md b/.changeset/thick-suits-help.md deleted file mode 100644 index acb67c634a71..000000000000 --- a/.changeset/thick-suits-help.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@sveltejs/kit': major -'create-svelte': major ---- - -breaking: require Node 18.13 or newer diff --git a/.changeset/twelve-paws-remember.md b/.changeset/twelve-paws-remember.md deleted file mode 100644 index 1d484047af0c..000000000000 --- a/.changeset/twelve-paws-remember.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: fix path resolution diff --git a/.changeset/twenty-birds-eat.md b/.changeset/twenty-birds-eat.md deleted file mode 100644 index c999f7c49845..000000000000 --- a/.changeset/twenty-birds-eat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: remove `dangerZone.trackServerFetches` diff --git a/.changeset/twenty-ducks-reply.md b/.changeset/twenty-ducks-reply.md deleted file mode 100644 index 9ddd4abb78a0..000000000000 --- a/.changeset/twenty-ducks-reply.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': patch ---- - -chore(deps): upgrade cookies dependency diff --git a/.changeset/unlucky-crabs-wonder.md b/.changeset/unlucky-crabs-wonder.md deleted file mode 100644 index 1ac22c413258..000000000000 --- a/.changeset/unlucky-crabs-wonder.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/enhanced-img': patch ---- - -chore: upgrade vite-imagetools diff --git a/packages/adapter-auto/CHANGELOG.md b/packages/adapter-auto/CHANGELOG.md index dd9fbbdd15e1..739969d26de0 100644 --- a/packages/adapter-auto/CHANGELOG.md +++ b/packages/adapter-auto/CHANGELOG.md @@ -1,5 +1,11 @@ # @sveltejs/adapter-auto +## 3.0.0 + +### Major Changes + +- breaking: require SvelteKit 2 ([#11316](https://github.com/sveltejs/kit/pull/11316)) + ## 2.1.1 ### Patch Changes diff --git a/packages/adapter-auto/package.json b/packages/adapter-auto/package.json index 64272599b75c..54c1005b4629 100644 --- a/packages/adapter-auto/package.json +++ b/packages/adapter-auto/package.json @@ -1,6 +1,6 @@ { "name": "@sveltejs/adapter-auto", - "version": "2.1.1", + "version": "3.0.0", "description": "Automatically chooses the SvelteKit adapter for your current environment, if possible.", "repository": { "type": "git", diff --git a/packages/adapter-cloudflare-workers/CHANGELOG.md b/packages/adapter-cloudflare-workers/CHANGELOG.md index 2a6296e26f29..b791a9088a7a 100644 --- a/packages/adapter-cloudflare-workers/CHANGELOG.md +++ b/packages/adapter-cloudflare-workers/CHANGELOG.md @@ -1,5 +1,17 @@ # @sveltejs/adapter-cloudflare-workers +## 2.0.0 + +### Major Changes + +- breaking: require SvelteKit 2 ([#11316](https://github.com/sveltejs/kit/pull/11316)) + +- chore: upgrade esbuild ([#11122](https://github.com/sveltejs/kit/pull/11122)) + +### Patch Changes + +- fix: declare the adapter plugin options as optional ([#11246](https://github.com/sveltejs/kit/pull/11246)) + ## 1.2.3 ### Patch Changes diff --git a/packages/adapter-cloudflare-workers/package.json b/packages/adapter-cloudflare-workers/package.json index 5adfcb74c7e0..a1c73aa56a08 100644 --- a/packages/adapter-cloudflare-workers/package.json +++ b/packages/adapter-cloudflare-workers/package.json @@ -1,6 +1,6 @@ { "name": "@sveltejs/adapter-cloudflare-workers", - "version": "1.2.3", + "version": "2.0.0", "description": "SvelteKit adapter that creates a Cloudflare Workers site using a function for dynamic server rendering", "repository": { "type": "git", diff --git a/packages/adapter-cloudflare/CHANGELOG.md b/packages/adapter-cloudflare/CHANGELOG.md index c2b35344d84c..f441ad07e4ae 100644 --- a/packages/adapter-cloudflare/CHANGELOG.md +++ b/packages/adapter-cloudflare/CHANGELOG.md @@ -1,5 +1,13 @@ # @sveltejs/adapter-cloudflare +## 3.0.0 + +### Major Changes + +- breaking: require SvelteKit 2 ([#11316](https://github.com/sveltejs/kit/pull/11316)) + +- chore: upgrade esbuild ([#11122](https://github.com/sveltejs/kit/pull/11122)) + ## 2.3.4 ### Patch Changes diff --git a/packages/adapter-cloudflare/package.json b/packages/adapter-cloudflare/package.json index 7d8556407db3..e8deda99369e 100644 --- a/packages/adapter-cloudflare/package.json +++ b/packages/adapter-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "@sveltejs/adapter-cloudflare", - "version": "2.3.4", + "version": "3.0.0", "description": "Adapter for building SvelteKit applications on Cloudflare Pages with Workers integration", "repository": { "type": "git", diff --git a/packages/adapter-netlify/CHANGELOG.md b/packages/adapter-netlify/CHANGELOG.md index b6f7b7bfe41d..f745a10a08e5 100644 --- a/packages/adapter-netlify/CHANGELOG.md +++ b/packages/adapter-netlify/CHANGELOG.md @@ -1,5 +1,13 @@ # @sveltejs/adapter-netlify +## 3.0.0 + +### Major Changes + +- breaking: require SvelteKit 2 ([#11316](https://github.com/sveltejs/kit/pull/11316)) + +- chore: upgrade esbuild ([#11122](https://github.com/sveltejs/kit/pull/11122)) + ## 2.0.8 ### Patch Changes diff --git a/packages/adapter-netlify/package.json b/packages/adapter-netlify/package.json index 2909bf1ac7b1..ed5bfe2329e2 100644 --- a/packages/adapter-netlify/package.json +++ b/packages/adapter-netlify/package.json @@ -1,6 +1,6 @@ { "name": "@sveltejs/adapter-netlify", - "version": "2.0.8", + "version": "3.0.0", "description": "A SvelteKit adapter that creates a Netlify app", "repository": { "type": "git", diff --git a/packages/adapter-node/CHANGELOG.md b/packages/adapter-node/CHANGELOG.md index 086a4c0cabb9..6730668d4534 100644 --- a/packages/adapter-node/CHANGELOG.md +++ b/packages/adapter-node/CHANGELOG.md @@ -1,5 +1,15 @@ # @sveltejs/adapter-node +## 2.0.0 + +### Major Changes + +- breaking: require SvelteKit 2 peer dependency ([#11289](https://github.com/sveltejs/kit/pull/11289)) + +- breaking: remove polyfill option. fetch APIs will now always come from the platform being used. File and crypto APIs will be polyfilled if not available ([#11172](https://github.com/sveltejs/kit/pull/11172)) + +- chore: upgrade rollup ([#11122](https://github.com/sveltejs/kit/pull/11122)) + ## 1.3.1 ### Patch Changes diff --git a/packages/adapter-node/package.json b/packages/adapter-node/package.json index d3b5c1c7ce58..c338fb0f86a1 100644 --- a/packages/adapter-node/package.json +++ b/packages/adapter-node/package.json @@ -1,6 +1,6 @@ { "name": "@sveltejs/adapter-node", - "version": "1.3.1", + "version": "2.0.0", "description": "Adapter for SvelteKit apps that generates a standalone Node server", "repository": { "type": "git", diff --git a/packages/adapter-static/CHANGELOG.md b/packages/adapter-static/CHANGELOG.md index f4c59705696b..8e75a891e381 100644 --- a/packages/adapter-static/CHANGELOG.md +++ b/packages/adapter-static/CHANGELOG.md @@ -1,5 +1,11 @@ # @sveltejs/adapter-static +## 3.0.0 + +### Major Changes + +- breaking: update SvelteKit peer dependency to version 2 ([#11277](https://github.com/sveltejs/kit/pull/11277)) + ## 2.0.3 ### Patch Changes diff --git a/packages/adapter-static/package.json b/packages/adapter-static/package.json index 878e652767f9..86bce19d56db 100644 --- a/packages/adapter-static/package.json +++ b/packages/adapter-static/package.json @@ -1,6 +1,6 @@ { "name": "@sveltejs/adapter-static", - "version": "2.0.3", + "version": "3.0.0", "description": "Adapter for SvelteKit apps that prerenders your entire site as a collection of static files", "repository": { "type": "git", diff --git a/packages/adapter-vercel/CHANGELOG.md b/packages/adapter-vercel/CHANGELOG.md index 7cafc5f8b879..0884aa822748 100644 --- a/packages/adapter-vercel/CHANGELOG.md +++ b/packages/adapter-vercel/CHANGELOG.md @@ -1,5 +1,17 @@ # @sveltejs/adapter-vercel +## 4.0.0 + +### Major Changes + +- breaking: require SvelteKit 2 peer dependency ([#11289](https://github.com/sveltejs/kit/pull/11289)) + +- chore: upgrade esbuild ([#11122](https://github.com/sveltejs/kit/pull/11122)) + +### Minor Changes + +- feat: expose vercel image optimization config in adapter config ([#8667](https://github.com/sveltejs/kit/pull/8667)) + ## 3.1.0 ### Minor Changes diff --git a/packages/adapter-vercel/package.json b/packages/adapter-vercel/package.json index 7da9c6843e32..23e7bb1ea445 100644 --- a/packages/adapter-vercel/package.json +++ b/packages/adapter-vercel/package.json @@ -1,6 +1,6 @@ { "name": "@sveltejs/adapter-vercel", - "version": "3.1.0", + "version": "4.0.0", "description": "A SvelteKit adapter that creates a Vercel app", "repository": { "type": "git", diff --git a/packages/amp/CHANGELOG.md b/packages/amp/CHANGELOG.md index 6e2faf9b7596..f750755c8440 100644 --- a/packages/amp/CHANGELOG.md +++ b/packages/amp/CHANGELOG.md @@ -1,5 +1,11 @@ # @sveltejs/amp +## 1.1.0 + +### Minor Changes + +- feat: allow SvelteKit 2 as peer dependency ([#11233](https://github.com/sveltejs/kit/pull/11233)) + ## 1.0.2 ### Patch Changes diff --git a/packages/amp/package.json b/packages/amp/package.json index b93383234560..87926d822f8b 100644 --- a/packages/amp/package.json +++ b/packages/amp/package.json @@ -1,6 +1,6 @@ { "name": "@sveltejs/amp", - "version": "1.0.2", + "version": "1.1.0", "description": "AMP integration for SvelteKit", "repository": { "type": "git", diff --git a/packages/create-svelte/CHANGELOG.md b/packages/create-svelte/CHANGELOG.md index aa273639cfc1..72b35160ab4c 100644 --- a/packages/create-svelte/CHANGELOG.md +++ b/packages/create-svelte/CHANGELOG.md @@ -1,5 +1,17 @@ # create-svelte +## 6.0.0 + +### Major Changes + +- feat: create projects with SvelteKit 2 ([#11236](https://github.com/sveltejs/kit/pull/11236)) + +- breaking: require Node 18.13 or newer ([#11172](https://github.com/sveltejs/kit/pull/11172)) + +### Minor Changes + +- feat: update vitest to 1.0 ([#11196](https://github.com/sveltejs/kit/pull/11196)) + ## 5.3.4 ### Patch Changes diff --git a/packages/create-svelte/package.json b/packages/create-svelte/package.json index 26981aa1d375..7817c4b9146f 100644 --- a/packages/create-svelte/package.json +++ b/packages/create-svelte/package.json @@ -1,6 +1,6 @@ { "name": "create-svelte", - "version": "5.3.4", + "version": "6.0.0", "description": "A CLI for creating new SvelteKit projects", "repository": { "type": "git", diff --git a/packages/enhanced-img/CHANGELOG.md b/packages/enhanced-img/CHANGELOG.md index 70ad58fa7c32..b7e332cfcf7d 100644 --- a/packages/enhanced-img/CHANGELOG.md +++ b/packages/enhanced-img/CHANGELOG.md @@ -1,5 +1,11 @@ # @sveltejs/enhanced-img +## 0.1.6 + +### Patch Changes + +- chore: upgrade vite-imagetools ([#11122](https://github.com/sveltejs/kit/pull/11122)) + ## 0.1.5 ### Patch Changes diff --git a/packages/enhanced-img/package.json b/packages/enhanced-img/package.json index 5cbb1d4f2599..a6b162427e5f 100644 --- a/packages/enhanced-img/package.json +++ b/packages/enhanced-img/package.json @@ -1,6 +1,6 @@ { "name": "@sveltejs/enhanced-img", - "version": "0.1.5", + "version": "0.1.6", "description": "Image optimization for your Svelte apps", "repository": { "type": "git", diff --git a/packages/kit/CHANGELOG.md b/packages/kit/CHANGELOG.md index 9b030c5a8d6f..53f37860aad8 100644 --- a/packages/kit/CHANGELOG.md +++ b/packages/kit/CHANGELOG.md @@ -1,5 +1,85 @@ # @sveltejs/kit +## 2.0.0 + +### Major Changes + +- breaking: remove top-level promise awaiting ([#11176](https://github.com/sveltejs/kit/pull/11176)) + +- breaking: prevent use of dynamic env vars during prerendering, serve env vars dynamically ([#11277](https://github.com/sveltejs/kit/pull/11277)) + +- breaking: remove deprecated `use:enhance` callback values ([#11282](https://github.com/sveltejs/kit/pull/11282)) + +- breaking: turn `error` and `redirect` into commands ([#11165](https://github.com/sveltejs/kit/pull/11165)) + +- breaking: the type for `depends` now requires a `:` as part of the string ([#11201](https://github.com/sveltejs/kit/pull/11201)) + +- breaking: remove baseUrl fallback from generated tsconfig ([#11294](https://github.com/sveltejs/kit/pull/11294)) + +- breaking: fail if route with +page and +server is marked prerenderable ([#11256](https://github.com/sveltejs/kit/pull/11256)) + +- breaking: remove `resolvePath` in favour of `resolveRoute` from `$app/paths` ([#11265](https://github.com/sveltejs/kit/pull/11265)) + +- breaking: drop support for Svelte 3 ([#11168](https://github.com/sveltejs/kit/pull/11168)) + +- breaking: require Vite 5.0.3+ ([#11122](https://github.com/sveltejs/kit/pull/11122)) + +- breaking: generate `__data.json` files as sibling to `.html` files ([#11269](https://github.com/sveltejs/kit/pull/11269)) + +- breaking: fail if +page and +server have mismatched config ([#11256](https://github.com/sveltejs/kit/pull/11256)) + +- breaking: error if form without multipart/form-data enctype contains a file input ([#11282](https://github.com/sveltejs/kit/pull/11282)) + +- breaking: require paths pass to preloadCode to be prefixed with basepath ([#11259](https://github.com/sveltejs/kit/pull/11259)) + +- breaking: `@sveltejs/vite-plugin-svelte` is now a peer dependency and will need to be installed in each project using SvelteKit ([#11184](https://github.com/sveltejs/kit/pull/11184)) + +- breaking: stop re-exporting vitePreprocess ([#11297](https://github.com/sveltejs/kit/pull/11297)) + +- breaking: require path option when setting/deleting/serializing cookies ([#11240](https://github.com/sveltejs/kit/pull/11240)) + +- breaking: tighten up error handling ([#11289](https://github.com/sveltejs/kit/pull/11289)) + +- breaking: remove state option from goto in favor of shallow routing ([#11307](https://github.com/sveltejs/kit/pull/11307)) + +- breaking: disallow external navigation with `goto` ([#11207](https://github.com/sveltejs/kit/pull/11207)) + +- breaking: upgrade to TypeScript 5. Default `moduleResolution` to `bundler` in user projects to be permissive in consuming and `NodeNext` when running `package` to be strict in distributing ([#11160](https://github.com/sveltejs/kit/pull/11160)) + +- breaking: undefined is no longer a valid value for paths.relative ([#11185](https://github.com/sveltejs/kit/pull/11185)) + +- breaking: require Node 18.13 or newer ([#11172](https://github.com/sveltejs/kit/pull/11172)) + +- breaking: fix path resolution ([#11276](https://github.com/sveltejs/kit/pull/11276)) + +- breaking: remove `dangerZone.trackServerFetches` ([#11235](https://github.com/sveltejs/kit/pull/11235)) + +### Minor Changes + +- feat: add untrack to load ([#11311](https://github.com/sveltejs/kit/pull/11311)) + +- feat: implement shallow routing ([#11307](https://github.com/sveltejs/kit/pull/11307)) + +- feat: provide SvelteKit html typings ([#11222](https://github.com/sveltejs/kit/pull/11222)) + +- feat: redact internal stack trace when reporting config errors ([#11292](https://github.com/sveltejs/kit/pull/11292)) + +- feat: allow for fine grained invalidation of search params ([#11258](https://github.com/sveltejs/kit/pull/11258)) + +### Patch Changes + +- fix: prerender optional parameters as empty when `entries` contains `'*'` ([#11178](https://github.com/sveltejs/kit/pull/11178)) + +- fix: resolve route config correctly ([#11256](https://github.com/sveltejs/kit/pull/11256)) + +- fix: import Svelte types from svelte/compiler ([#11188](https://github.com/sveltejs/kit/pull/11188)) + +- fix: reset invalid resources after a successful invalidation ([#11268](https://github.com/sveltejs/kit/pull/11268)) + +- fix: Adjust fail method and ActionFailure type ([#11260](https://github.com/sveltejs/kit/pull/11260)) + +- chore(deps): upgrade cookies dependency ([#11189](https://github.com/sveltejs/kit/pull/11189)) + ## 1.30.3 ### Patch Changes diff --git a/packages/kit/package.json b/packages/kit/package.json index ff775f1e8364..3843aeec653d 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -1,6 +1,6 @@ { "name": "@sveltejs/kit", - "version": "1.30.3", + "version": "2.0.0", "description": "The fastest way to build Svelte apps", "repository": { "type": "git", diff --git a/packages/kit/src/version.js b/packages/kit/src/version.js index df9a7b1e745d..7c2bc6e71857 100644 --- a/packages/kit/src/version.js +++ b/packages/kit/src/version.js @@ -1,4 +1,4 @@ // generated during release, do not modify /** @type {string} */ -export const VERSION = '1.30.3'; +export const VERSION = '2.0.0'; diff --git a/packages/migrate/CHANGELOG.md b/packages/migrate/CHANGELOG.md index 16463cf4dee7..5e85fcfd64d6 100644 --- a/packages/migrate/CHANGELOG.md +++ b/packages/migrate/CHANGELOG.md @@ -1,5 +1,11 @@ # svelte-migrate +## 1.3.0 + +### Minor Changes + +- feat: add sveltekit v2 migration ([#11294](https://github.com/sveltejs/kit/pull/11294)) + ## 1.2.8 ### Patch Changes diff --git a/packages/migrate/package.json b/packages/migrate/package.json index 9003b285b42f..a0c8077ada77 100644 --- a/packages/migrate/package.json +++ b/packages/migrate/package.json @@ -1,6 +1,6 @@ { "name": "svelte-migrate", - "version": "1.2.8", + "version": "1.3.0", "description": "A CLI for migrating Svelte(Kit) codebases", "repository": { "type": "git",