diff --git a/CHANGELOG.md b/CHANGELOG.md index 63c25e22c9..d3ebb6c4fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,11 @@ ## Unreleased (4.0) -* **breaking** Minimum supported Node version is now Node 14 -* **breaking** Minimum supported webpack version is now webpack 5 -* **breaking** Minimum supported TypeScript version is now TypeScript 5 (it will likely work with lower versions, but we make no guarantees about that) +* **breaking** Minimum supported Node version is now Node 14 ((#8482)[https://github.com/sveltejs/svelte/pull/8482]) +* **breaking** Minimum supported webpack version is now webpack 5 ((#8515)[https://github.com/sveltejs/svelte/pull/8515]) +* **breaking** Bundlers must specify the `browser` condition when building a frontend bundle for the browser ((#8516)[https://github.com/sveltejs/svelte/pull/8516]) +* **breaking** Minimum supported vite-plugin-svelte version is now 2.1.1. SvelteKit users can upgrade to 1.15.9 or newer to ensure a compatible version ((#8516)[https://github.com/sveltejs/svelte/pull/8516]) +* **breaking** Minimum supported TypeScript version is now TypeScript 5 (it will likely work with lower versions, but we make no guarantees about that) ((#8488)[https://github.com/sveltejs/svelte/pull/8488]) * **breaking** Stricter types for `createEventDispatcher` (see PR for migration instructions) ([#7224](https://github.com/sveltejs/svelte/pull/7224)) * **breaking** Stricter types for `Action` and `ActionReturn` (see PR for migration instructions) ([#7224](https://github.com/sveltejs/svelte/pull/7224)) * **breaking** Stricter types for `onMount` - now throws a type error when returning a function asynchronously to catch potential mistakes around callback functions (see PR for migration instructions) ([#8136](https://github.com/sveltejs/svelte/pull/8136)) diff --git a/package.json b/package.json index 226f634425..e8d1db1d98 100644 --- a/package.json +++ b/package.json @@ -28,12 +28,8 @@ "import": "./index.mjs", "require": "./index.js" }, - "node": { - "import": "./ssr.mjs", - "require": "./ssr.js" - }, - "import": "./index.mjs", - "require": "./index.js" + "import": "./ssr.mjs", + "require": "./ssr.js" }, "./compiler": { "types": "./types/compiler/index.d.ts", @@ -78,11 +74,6 @@ }, "./elements": { "types": "./elements/index.d.ts" - }, - "./ssr": { - "types": "./types/runtime/index.d.ts", - "import": "./ssr.mjs", - "require": "./ssr.js" } }, "engines": {