Skip to content

Commit 2f54ed2

Browse files
committed
feature #1254 Bumping Node minimum to 20 (weaverryan)
This PR was squashed before being merged into the main branch. Discussion ---------- Bumping Node minimum to 20 Node 16 and 18 have reached their end of life. Commits ------- 16c2636 Bumping Node minimum to 20
2 parents cc30762 + 16c2636 commit 2f54ed2

File tree

10 files changed

+1210
-1206
lines changed

10 files changed

+1210
-1206
lines changed

.github/workflows/high-depends.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
os: [ubuntu-latest, windows-2019]
17-
node-versions: ['16', '18', '20']
17+
node-versions: ['20', '21']
1818

1919
steps:
2020
- name: Checkout

.github/workflows/lint.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Node ${{matrix.node-versions}}
1414
uses: actions/setup-node@v3
1515
with:
16-
node-version: '16'
16+
node-version: '20'
1717

1818
- name: Install Yarn Dependencies
1919
run: yarn install

.github/workflows/low-depends.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
os: [ubuntu-latest, windows-2019]
17-
node-versions: ['16', '18', '20']
17+
node-versions: ['20', '21']
1818

1919
steps:
2020
- name: Checkout

.github/workflows/stable-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
os: [ubuntu-latest, windows-2019]
17-
node-versions: ['16', '18', '20']
17+
node-versions: ['20', '21']
1818

1919
steps:
2020
- name: Checkout

.github/workflows/testing_apps.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
- name: Node ${{matrix.node-versions}}
9393
uses: actions/setup-node@v3
9494
with:
95-
node-version: '18'
95+
node-version: '20'
9696

9797
- if: ${{ contains(matrix.app.name, 'pnpm') }}
9898
name: Install pnpm

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# CHANGELOG
22

3+
## v4.6.0
4+
5+
* #1254 Increased minimum Node version to 20 (@weaverryan)
6+
7+
* #1253 Allow sass-loader 14 (@cedric-anne)
8+
9+
* #1247 Allow only configuring a plugin (@gimler)
10+
11+
## v4.5.0
12+
13+
* #1235 Dropping support for Node 14 (16 is new min) and allowing `svelte` 4 (@weaverryan)
14+
15+
* #1185 Bump `babel-loader` from 8.2.5 to 9.1.2 (@dppanteon) - the
16+
[CHANGELOG for babel 9](https://github.com/babel/babel-loader/releases/tag/v9.0.0)
17+
does not list any breaking changes besides increasing the minimum Node version.
18+
19+
* #1224 Allow fork-ts-checker-webpack-plugin ^8.0 and ^9.0 (@buffcode)
20+
321
## [v4.4.0](https://github.com/symfony/webpack-encore/releases/tag/v4.5.0)
422

523
### Features

fixtures/css/autoprefixer_test.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
:fullscreen a {
2-
display: flex
1+
.example {
2+
backdrop-filter: blur(10px);
33
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"url": "https://github.com/symfony/webpack-encore/issues"
2424
},
2525
"engines": {
26-
"node": ">=16.0.0"
26+
"node": ">=20.0.0"
2727
},
2828
"homepage": "https://github.com/symfony/webpack-encore",
2929
"dependencies": {

test/functional.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1037,15 +1037,15 @@ module.exports = {
10371037
// check that the autoprefixer did its work!
10381038
webpackAssert.assertOutputFileContains(
10391039
'styles.css',
1040-
'-webkit-full-screen'
1040+
'-webkit-backdrop-filter'
10411041
);
10421042

10431043
// check that the .postcss file was also processed
10441044
// correctly (it also @import the autoprefixer_test.css
10451045
// file)
10461046
webpackAssert.assertOutputFileContains(
10471047
'postcss.css',
1048-
'-webkit-full-screen'
1048+
'-webkit-backdrop-filter'
10491049
);
10501050

10511051
done();

yarn.lock

+1,182-1,196
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)