diff --git a/.changeset/pre.json b/.changeset/pre.json index 095075f16771..c18715b62a31 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -48,7 +48,36 @@ "prerendering-test-paths-base": "0.0.1", "@sveltejs/package": "2.5.7", "test-redirect-importer": "0.0.1", - "playground-basic": "0.0.0" + "playground-basic": "0.0.0", + "test-netlify-instrumentation": "0.0.1", + "test-netlify-split": "0.0.1", + "test-vercel-basic": "0.0.1" }, - "changesets": [] + "changesets": [ + "chilly-berries-press", + "clean-papers-give", + "cold-carrots-raise", + "cuddly-radios-brush", + "cuddly-tigers-attend", + "cyan-zoos-love", + "early-worlds-slide", + "fine-ghosts-camp", + "five-readers-march", + "fluffy-tires-judge", + "forty-ducks-fly", + "gentle-radios-go", + "giant-numbers-care", + "heavy-showers-leave", + "large-onions-attack", + "large-squids-pull", + "light-singers-lie", + "nine-coins-cheer", + "plenty-cougars-wave", + "polite-lemons-refuse", + "resolve-accept-query-hash", + "salty-chefs-sleep", + "shaggy-walls-wave", + "shiny-feet-crash", + "spicy-drinks-build" + ] } diff --git a/packages/adapter-cloudflare/CHANGELOG.md b/packages/adapter-cloudflare/CHANGELOG.md index 40279fba07c7..c830595c3af9 100644 --- a/packages/adapter-cloudflare/CHANGELOG.md +++ b/packages/adapter-cloudflare/CHANGELOG.md @@ -1,5 +1,26 @@ # @sveltejs/adapter-cloudflare +## 8.0.0-next.0 +### Major Changes + + +- breaking: upgrade `@cloudflare/workers-types` to 4.20260219.0 ([#15347](https://github.com/sveltejs/kit/pull/15347)) + + +- breaking: upgrade minimum `wrangler` version to ^4.67.0 ([#15347](https://github.com/sveltejs/kit/pull/15347)) + + +- breaking: remove `platform.context` in favour of `platform.ctx` ([#15347](https://github.com/sveltejs/kit/pull/15347)) + + +### Patch Changes + + +- chore: check the `WORKERS_CI` environment variable to determine if we're building for Cloudflare Workers ([#13733](https://github.com/sveltejs/kit/pull/13733)) + +- Updated dependencies [[`cb9d416`](https://github.com/sveltejs/kit/commit/cb9d416d05266b6237f2856fb94df5b8a9b04279), [`caf3a18`](https://github.com/sveltejs/kit/commit/caf3a18de6581ab7d454d6fa8ad37ebdbdef95e6), [`4777827`](https://github.com/sveltejs/kit/commit/4777827246727045cf0209399751377564e7951d), [`a2792e2`](https://github.com/sveltejs/kit/commit/a2792e2cdc2dee91c20c7bfd921a104b539abae5), [`ba36148`](https://github.com/sveltejs/kit/commit/ba36148577ed0bc2675034a3d57001d71d328cd1), [`e2f3075`](https://github.com/sveltejs/kit/commit/e2f3075ef299b91175fae116e6a76269002029cf), [`87603d1`](https://github.com/sveltejs/kit/commit/87603d13d009cada171c9b5d5daad5adad4f72de), [`d545970`](https://github.com/sveltejs/kit/commit/d54597018308068aea5268e6c45b26398cd57607), [`e2f3075`](https://github.com/sveltejs/kit/commit/e2f3075ef299b91175fae116e6a76269002029cf), [`44503b4`](https://github.com/sveltejs/kit/commit/44503b45df4ff6d9a07980c89bf440d24bf13da6), [`d06affc`](https://github.com/sveltejs/kit/commit/d06affc9246c676fc32b644efc0bbf53b42bc67d), [`e2f3075`](https://github.com/sveltejs/kit/commit/e2f3075ef299b91175fae116e6a76269002029cf), [`5c79eb4`](https://github.com/sveltejs/kit/commit/5c79eb400a20f756e49773a28eb53fa4d29c0b94), [`caf3a18`](https://github.com/sveltejs/kit/commit/caf3a18de6581ab7d454d6fa8ad37ebdbdef95e6), [`71e8205`](https://github.com/sveltejs/kit/commit/71e82053ace295607290b5c719f57b6f17ef9bd8), [`8823037`](https://github.com/sveltejs/kit/commit/8823037b4a341013cc40a9bb688ee23bda3dbb04), [`1d76212`](https://github.com/sveltejs/kit/commit/1d76212740f59ed58839ef569899c653870834fd)]: + - @sveltejs/kit@3.0.0-next.0 + ## 7.2.8 ### Patch Changes diff --git a/packages/adapter-cloudflare/package.json b/packages/adapter-cloudflare/package.json index 8b185d760303..a2def4cd9412 100644 --- a/packages/adapter-cloudflare/package.json +++ b/packages/adapter-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "@sveltejs/adapter-cloudflare", - "version": "7.2.8", + "version": "8.0.0-next.0", "description": "Adapts SvelteKit applications for Cloudflare Workers or Cloudflare Pages", "keywords": [ "adapter", diff --git a/packages/adapter-netlify/CHANGELOG.md b/packages/adapter-netlify/CHANGELOG.md index b88615a71b61..24bff87cedff 100644 --- a/packages/adapter-netlify/CHANGELOG.md +++ b/packages/adapter-netlify/CHANGELOG.md @@ -1,5 +1,24 @@ # @sveltejs/adapter-netlify +## 7.0.0-next.0 +### Major Changes + + +- chore: use `rolldown` for edge function bundling ([#15432](https://github.com/sveltejs/kit/pull/15432)) + + +- breaking: write output that conforms to the stable [Netlify Frameworks API](https://docs.netlify.com/build/frameworks/frameworks-api/). ([#15294](https://github.com/sveltejs/kit/pull/15294)) + + Deploying and previewing with Netlify CLI now requires [v17.31.0](https://github.com/netlify/cli/releases/tag/v17.31.0) or later. Run `npm i -g netlify-cli@latest` to upgrade. + +- breaking: edge function build target is now `es2022` ([#15432](https://github.com/sveltejs/kit/pull/15432)) + + +### Patch Changes + +- Updated dependencies [[`cb9d416`](https://github.com/sveltejs/kit/commit/cb9d416d05266b6237f2856fb94df5b8a9b04279), [`caf3a18`](https://github.com/sveltejs/kit/commit/caf3a18de6581ab7d454d6fa8ad37ebdbdef95e6), [`4777827`](https://github.com/sveltejs/kit/commit/4777827246727045cf0209399751377564e7951d), [`a2792e2`](https://github.com/sveltejs/kit/commit/a2792e2cdc2dee91c20c7bfd921a104b539abae5), [`ba36148`](https://github.com/sveltejs/kit/commit/ba36148577ed0bc2675034a3d57001d71d328cd1), [`e2f3075`](https://github.com/sveltejs/kit/commit/e2f3075ef299b91175fae116e6a76269002029cf), [`87603d1`](https://github.com/sveltejs/kit/commit/87603d13d009cada171c9b5d5daad5adad4f72de), [`d545970`](https://github.com/sveltejs/kit/commit/d54597018308068aea5268e6c45b26398cd57607), [`e2f3075`](https://github.com/sveltejs/kit/commit/e2f3075ef299b91175fae116e6a76269002029cf), [`44503b4`](https://github.com/sveltejs/kit/commit/44503b45df4ff6d9a07980c89bf440d24bf13da6), [`d06affc`](https://github.com/sveltejs/kit/commit/d06affc9246c676fc32b644efc0bbf53b42bc67d), [`e2f3075`](https://github.com/sveltejs/kit/commit/e2f3075ef299b91175fae116e6a76269002029cf), [`5c79eb4`](https://github.com/sveltejs/kit/commit/5c79eb400a20f756e49773a28eb53fa4d29c0b94), [`caf3a18`](https://github.com/sveltejs/kit/commit/caf3a18de6581ab7d454d6fa8ad37ebdbdef95e6), [`71e8205`](https://github.com/sveltejs/kit/commit/71e82053ace295607290b5c719f57b6f17ef9bd8), [`8823037`](https://github.com/sveltejs/kit/commit/8823037b4a341013cc40a9bb688ee23bda3dbb04), [`1d76212`](https://github.com/sveltejs/kit/commit/1d76212740f59ed58839ef569899c653870834fd)]: + - @sveltejs/kit@3.0.0-next.0 + ## 6.0.4 ### Patch Changes diff --git a/packages/adapter-netlify/package.json b/packages/adapter-netlify/package.json index b5329e0a425d..816e4a4a135b 100644 --- a/packages/adapter-netlify/package.json +++ b/packages/adapter-netlify/package.json @@ -1,6 +1,6 @@ { "name": "@sveltejs/adapter-netlify", - "version": "6.0.4", + "version": "7.0.0-next.0", "description": "A SvelteKit adapter that creates a Netlify app", "keywords": [ "adapter", diff --git a/packages/adapter-node/CHANGELOG.md b/packages/adapter-node/CHANGELOG.md index 383ea4bbb024..41c8df46b9b3 100644 --- a/packages/adapter-node/CHANGELOG.md +++ b/packages/adapter-node/CHANGELOG.md @@ -1,5 +1,17 @@ # @sveltejs/adapter-node +## 6.0.0-next.0 +### Major Changes + + +- chore: migrate from rollup to rolldown ([#15297](https://github.com/sveltejs/kit/pull/15297)) + + +### Patch Changes + +- Updated dependencies [[`cb9d416`](https://github.com/sveltejs/kit/commit/cb9d416d05266b6237f2856fb94df5b8a9b04279), [`caf3a18`](https://github.com/sveltejs/kit/commit/caf3a18de6581ab7d454d6fa8ad37ebdbdef95e6), [`4777827`](https://github.com/sveltejs/kit/commit/4777827246727045cf0209399751377564e7951d), [`a2792e2`](https://github.com/sveltejs/kit/commit/a2792e2cdc2dee91c20c7bfd921a104b539abae5), [`ba36148`](https://github.com/sveltejs/kit/commit/ba36148577ed0bc2675034a3d57001d71d328cd1), [`e2f3075`](https://github.com/sveltejs/kit/commit/e2f3075ef299b91175fae116e6a76269002029cf), [`87603d1`](https://github.com/sveltejs/kit/commit/87603d13d009cada171c9b5d5daad5adad4f72de), [`d545970`](https://github.com/sveltejs/kit/commit/d54597018308068aea5268e6c45b26398cd57607), [`e2f3075`](https://github.com/sveltejs/kit/commit/e2f3075ef299b91175fae116e6a76269002029cf), [`44503b4`](https://github.com/sveltejs/kit/commit/44503b45df4ff6d9a07980c89bf440d24bf13da6), [`d06affc`](https://github.com/sveltejs/kit/commit/d06affc9246c676fc32b644efc0bbf53b42bc67d), [`e2f3075`](https://github.com/sveltejs/kit/commit/e2f3075ef299b91175fae116e6a76269002029cf), [`5c79eb4`](https://github.com/sveltejs/kit/commit/5c79eb400a20f756e49773a28eb53fa4d29c0b94), [`caf3a18`](https://github.com/sveltejs/kit/commit/caf3a18de6581ab7d454d6fa8ad37ebdbdef95e6), [`71e8205`](https://github.com/sveltejs/kit/commit/71e82053ace295607290b5c719f57b6f17ef9bd8), [`8823037`](https://github.com/sveltejs/kit/commit/8823037b4a341013cc40a9bb688ee23bda3dbb04), [`1d76212`](https://github.com/sveltejs/kit/commit/1d76212740f59ed58839ef569899c653870834fd)]: + - @sveltejs/kit@3.0.0-next.0 + ## 5.5.4 ### Patch Changes diff --git a/packages/adapter-node/package.json b/packages/adapter-node/package.json index 26bef62d94a4..5db2954a585e 100644 --- a/packages/adapter-node/package.json +++ b/packages/adapter-node/package.json @@ -1,6 +1,6 @@ { "name": "@sveltejs/adapter-node", - "version": "5.5.4", + "version": "6.0.0-next.0", "description": "Adapter for SvelteKit apps that generates a standalone Node server", "keywords": [ "adapter", diff --git a/packages/adapter-vercel/CHANGELOG.md b/packages/adapter-vercel/CHANGELOG.md index cb8cbc0d8665..a06ff1cd71eb 100644 --- a/packages/adapter-vercel/CHANGELOG.md +++ b/packages/adapter-vercel/CHANGELOG.md @@ -1,5 +1,20 @@ # @sveltejs/adapter-vercel +## 7.0.0-next.0 +### Major Changes + + +- chore: use `rolldown` for edge function bundling ([#15432](https://github.com/sveltejs/kit/pull/15432)) + + +- breaking: edge function build target is now `es2022` ([#15432](https://github.com/sveltejs/kit/pull/15432)) + + +### Patch Changes + +- Updated dependencies [[`cb9d416`](https://github.com/sveltejs/kit/commit/cb9d416d05266b6237f2856fb94df5b8a9b04279), [`caf3a18`](https://github.com/sveltejs/kit/commit/caf3a18de6581ab7d454d6fa8ad37ebdbdef95e6), [`4777827`](https://github.com/sveltejs/kit/commit/4777827246727045cf0209399751377564e7951d), [`a2792e2`](https://github.com/sveltejs/kit/commit/a2792e2cdc2dee91c20c7bfd921a104b539abae5), [`ba36148`](https://github.com/sveltejs/kit/commit/ba36148577ed0bc2675034a3d57001d71d328cd1), [`e2f3075`](https://github.com/sveltejs/kit/commit/e2f3075ef299b91175fae116e6a76269002029cf), [`87603d1`](https://github.com/sveltejs/kit/commit/87603d13d009cada171c9b5d5daad5adad4f72de), [`d545970`](https://github.com/sveltejs/kit/commit/d54597018308068aea5268e6c45b26398cd57607), [`e2f3075`](https://github.com/sveltejs/kit/commit/e2f3075ef299b91175fae116e6a76269002029cf), [`44503b4`](https://github.com/sveltejs/kit/commit/44503b45df4ff6d9a07980c89bf440d24bf13da6), [`d06affc`](https://github.com/sveltejs/kit/commit/d06affc9246c676fc32b644efc0bbf53b42bc67d), [`e2f3075`](https://github.com/sveltejs/kit/commit/e2f3075ef299b91175fae116e6a76269002029cf), [`5c79eb4`](https://github.com/sveltejs/kit/commit/5c79eb400a20f756e49773a28eb53fa4d29c0b94), [`caf3a18`](https://github.com/sveltejs/kit/commit/caf3a18de6581ab7d454d6fa8ad37ebdbdef95e6), [`71e8205`](https://github.com/sveltejs/kit/commit/71e82053ace295607290b5c719f57b6f17ef9bd8), [`8823037`](https://github.com/sveltejs/kit/commit/8823037b4a341013cc40a9bb688ee23bda3dbb04), [`1d76212`](https://github.com/sveltejs/kit/commit/1d76212740f59ed58839ef569899c653870834fd)]: + - @sveltejs/kit@3.0.0-next.0 + ## 6.3.3 ### Patch Changes diff --git a/packages/adapter-vercel/package.json b/packages/adapter-vercel/package.json index db7b7050cb67..3602449817a4 100644 --- a/packages/adapter-vercel/package.json +++ b/packages/adapter-vercel/package.json @@ -1,6 +1,6 @@ { "name": "@sveltejs/adapter-vercel", - "version": "6.3.3", + "version": "7.0.0-next.0", "description": "A SvelteKit adapter that creates a Vercel app", "keywords": [ "adapter", diff --git a/packages/enhanced-img/CHANGELOG.md b/packages/enhanced-img/CHANGELOG.md index 8210be655e6a..1d05eff9582f 100644 --- a/packages/enhanced-img/CHANGELOG.md +++ b/packages/enhanced-img/CHANGELOG.md @@ -1,5 +1,14 @@ # @sveltejs/enhanced-img +## 1.0.0-next.0 +### Major Changes + + +- breaking: require Node 22 or newer ([#12548](https://github.com/sveltejs/kit/pull/12548)) + + +- breaking: require Vite 8 ([#15371](https://github.com/sveltejs/kit/pull/15371)) + ## 0.10.3 ### Patch Changes diff --git a/packages/enhanced-img/package.json b/packages/enhanced-img/package.json index 6419c68bdb14..4a7671dd8ab7 100644 --- a/packages/enhanced-img/package.json +++ b/packages/enhanced-img/package.json @@ -1,6 +1,6 @@ { "name": "@sveltejs/enhanced-img", - "version": "0.10.3", + "version": "1.0.0-next.0", "description": "Image optimization for your Svelte apps", "repository": { "type": "git", diff --git a/packages/kit/CHANGELOG.md b/packages/kit/CHANGELOG.md index 4ebdcdb30098..47f9af823f3d 100644 --- a/packages/kit/CHANGELOG.md +++ b/packages/kit/CHANGELOG.md @@ -1,5 +1,65 @@ # @sveltejs/kit +## 3.0.0-next.0 +### Major Changes + + +- breaking: upgrade to cookie v1. Cookie names must now contain only ASCII characters ([#13386](https://github.com/sveltejs/kit/pull/13386)) + + +- breaking: require Node 22 or newer ([#12548](https://github.com/sveltejs/kit/pull/12548)) + + +- breaking: remove the `preloadStrategy` option. `modulepreload` will always be used ([#15256](https://github.com/sveltejs/kit/pull/15256)) + + +- breaking: default the cookie `path` option to `'/'` ([#15398](https://github.com/sveltejs/kit/pull/15398)) + + +- breaking: remove `@sveltejs/kit/node/polyfills` ([#15430](https://github.com/sveltejs/kit/pull/15430)) + + +- breaking: require `@sveltejs/vite-plugin-svelte` v7 ([#15371](https://github.com/sveltejs/kit/pull/15371)) + + +- breaking: remove the deprecated CSRF `checkOrigin` option in favor of `trustedOrigins` ([#15437](https://github.com/sveltejs/kit/pull/15437)) + + +- breaking: remove deprecated `pragma` header in version polling for improved CORS support ([#15428](https://github.com/sveltejs/kit/pull/15428)) + + +- breaking: require Svelte 5 ([#15371](https://github.com/sveltejs/kit/pull/15371)) + + +- chore: change `error`, `isHttpError`, `redirect`, and `isRedirect` to refer to public type instead of internal class ([#13036](https://github.com/sveltejs/kit/pull/13036)) + + +- breaking: require Vite 8 ([#15371](https://github.com/sveltejs/kit/pull/15371)) + + +- breaking: `svelte.config.js` will now be included in type checking ([#12090](https://github.com/sveltejs/kit/pull/12090)) + + +### Minor Changes + + +- chore: deprecate `Response` helpers in favor of platform-provided alternatives ([#15448](https://github.com/sveltejs/kit/pull/15448)) + + +### Patch Changes + + +- fix: don't wait for remote functions that are not awaited in the template ([#15280](https://github.com/sveltejs/kit/pull/15280)) + + +- feat: allow `resolve()` to accept pathnames with a search string and/or hash ([#15458](https://github.com/sveltejs/kit/pull/15458)) + + +- chore: remove dependency on kleur ([#12548](https://github.com/sveltejs/kit/pull/12548)) + + +- chore: remove dependency on `set-cookie-parser` ([#15384](https://github.com/sveltejs/kit/pull/15384)) + ## 2.53.4 ### Patch Changes diff --git a/packages/kit/package.json b/packages/kit/package.json index c263f34c2775..35eb1941c66b 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -1,6 +1,6 @@ { "name": "@sveltejs/kit", - "version": "2.53.4", + "version": "3.0.0-next.0", "description": "SvelteKit is the fastest way to build Svelte apps", "keywords": [ "framework", diff --git a/packages/kit/src/version.js b/packages/kit/src/version.js index 8d009c58c51d..52522a9f57d8 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 = '2.53.4'; +export const VERSION = '3.0.0-next.0'; diff --git a/packages/package/CHANGELOG.md b/packages/package/CHANGELOG.md index e6b717cefe77..182a494f4718 100644 --- a/packages/package/CHANGELOG.md +++ b/packages/package/CHANGELOG.md @@ -1,5 +1,17 @@ # @sveltejs/package +## 3.0.0-next.0 +### Major Changes + + +- breaking: require Node 22 or newer ([#12548](https://github.com/sveltejs/kit/pull/12548)) + + +### Patch Changes + + +- chore: remove dependency on kleur ([#12548](https://github.com/sveltejs/kit/pull/12548)) + ## 2.5.7 ### Patch Changes diff --git a/packages/package/package.json b/packages/package/package.json index 3ff551c683ee..5d52527c0d42 100644 --- a/packages/package/package.json +++ b/packages/package/package.json @@ -1,6 +1,6 @@ { "name": "@sveltejs/package", - "version": "2.5.7", + "version": "3.0.0-next.0", "description": "The fastest way to build Svelte packages", "repository": { "type": "git",