Skip to content

Commit 56df761

Browse files
authored
breaking: set verison to 4, remove engines.pnpm and bump engines.node to >=16 (#8566)
1 parent 5e486c1 commit 56df761

File tree

3 files changed

+11
-19
lines changed

3 files changed

+11
-19
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,19 @@ jobs:
1212
strategy:
1313
matrix:
1414
include:
15-
- node-version: 14
15+
- node-version: 16
1616
os: ubuntu-latest
17-
- node-version: 14
17+
- node-version: 16
1818
os: windows-latest
19-
- node-version: 14
20-
os: macOS-latest
2119
- node-version: 16
22-
os: ubuntu-latest
20+
os: macOS-latest
2321
- node-version: 18
2422
os: ubuntu-latest
2523
- node-version: 20
2624
os: ubuntu-latest
2725
steps:
2826
- uses: actions/checkout@v3
2927
- uses: pnpm/[email protected]
30-
with:
31-
version: ${{ matrix.node-version == 14 && 7 || 8 }}
3228
- uses: actions/setup-node@v3
3329
with:
3430
node-version: ${{ matrix.node-version }}
@@ -46,6 +42,7 @@ jobs:
4642
- uses: pnpm/[email protected]
4743
- uses: actions/setup-node@v3
4844
with:
45+
node-version: 16
4946
cache: pnpm
5047
- run: 'pnpm i && pnpm lint'
5148
Unit:
@@ -54,14 +51,12 @@ jobs:
5451
strategy:
5552
matrix:
5653
include:
57-
- node-version: 14
54+
- node-version: 16
5855
os: ubuntu-latest
59-
- node-version: 14
56+
- node-version: 16
6057
os: windows-latest
61-
- node-version: 14
62-
os: macOS-latest
6358
- node-version: 16
64-
os: ubuntu-latest
59+
os: macOS-latest
6560
- node-version: 18
6661
os: ubuntu-latest
6762
- node-version: 20

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Unreleased (4.0)
44

5-
* **breaking** Minimum supported Node version is now Node 14 ([#8482](https://github.com/sveltejs/svelte/pull/8482))
5+
* **breaking** Minimum supported Node version is now Node 16 ([#8566](https://github.com/sveltejs/svelte/pull/8566))
66
* **breaking** Minimum supported webpack version is now webpack 5 ([#8515](https://github.com/sveltejs/svelte/pull/8515))
77
* **breaking** Bundlers must specify the `browser` condition when building a frontend bundle for the browser ([#8516](https://github.com/sveltejs/svelte/pull/8516))
88
* **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))

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte",
3-
"version": "3.59.0",
3+
"version": "4.0.0-next.0",
44
"description": "Cybernetically enhanced web apps",
55
"module": "index.mjs",
66
"main": "index",
@@ -77,7 +77,7 @@
7777
}
7878
},
7979
"engines": {
80-
"node": ">= 14"
80+
"node": ">=16"
8181
},
8282
"types": "types/runtime/index.d.ts",
8383
"scripts": {
@@ -152,8 +152,5 @@
152152
"typescript": "^5.0.4",
153153
"util": "^0.12.5"
154154
},
155-
"packageManager": "[email protected]",
156-
"engines": {
157-
"pnpm": ">=7.0.0"
158-
}
155+
"packageManager": "[email protected]"
159156
}

0 commit comments

Comments
 (0)