Skip to content

Commit 8b52b2f

Browse files
Merge branch 'master' into localhost-subdomains
2 parents f51ff8c + 088a318 commit 8b52b2f

88 files changed

Lines changed: 7764 additions & 6864 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/cancel.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Cancel
2+
on: [push]
3+
jobs:
4+
cancel:
5+
name: Cancel Previous Runs
6+
runs-on: ubuntu-latest
7+
timeout-minutes: 3
8+
steps:
9+
- uses: styfle/cancel-workflow-action@0.10.0
10+
with:
11+
workflow_id: nodejs.yml
12+
access_token: ${{ github.token }}

.github/workflows/nodejs.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
- next
1313
- v4
1414

15+
permissions:
16+
contents: read
17+
1518
jobs:
1619
lint:
1720
name: Lint - ${{ matrix.os }} - Node v${{ matrix.node-version }}
@@ -27,12 +30,12 @@ jobs:
2730
runs-on: ${{ matrix.os }}
2831

2932
steps:
30-
- uses: actions/checkout@v2
33+
- uses: actions/checkout@v3
3134
with:
3235
fetch-depth: 0
3336

3437
- name: Use Node.js ${{ matrix.node-version }}
35-
uses: actions/setup-node@v2
38+
uses: actions/setup-node@v3
3639
with:
3740
node-version: ${{ matrix.node-version }}
3841
cache: "npm"
@@ -56,12 +59,13 @@ jobs:
5659
uses: wagoid/commitlint-github-action@v4
5760

5861
test:
59-
name: Test - ${{ matrix.os }} - Node v${{ matrix.node-version }}, Webpack ${{ matrix.webpack-version }}
62+
name: Test - ${{ matrix.os }} - Node v${{ matrix.node-version }}, Webpack ${{ matrix.webpack-version }} (${{ matrix.shard }})
6063

6164
strategy:
6265
matrix:
6366
os: [ubuntu-latest, windows-latest, macos-latest]
6467
node-version: [12.x, 14.x, 16.x, 17.x]
68+
shard: ["1/4", "2/4", "3/4", "4/4"]
6569
webpack-version: [latest]
6670
include:
6771
- node-version: 16.x
@@ -71,10 +75,10 @@ jobs:
7175
runs-on: ${{ matrix.os }}
7276

7377
steps:
74-
- uses: actions/checkout@v2
78+
- uses: actions/checkout@v3
7579

7680
- name: Use Node.js ${{ matrix.node-version }}
77-
uses: actions/setup-node@v2
81+
uses: actions/setup-node@v3
7882
with:
7983
node-version: ${{ matrix.node-version }}
8084
cache: "npm"
@@ -99,9 +103,9 @@ jobs:
99103
cp -R tmp-client client
100104
101105
- name: Run tests for webpack version ${{ matrix.webpack-version }}
102-
run: npm run test:coverage -- --ci
106+
run: npm run test:coverage -- --ci --shard=${{ matrix.shard }}
103107

104108
- name: Submit coverage data to codecov
105-
uses: codecov/codecov-action@v2
109+
uses: codecov/codecov-action@v3
106110
with:
107111
token: ${{ secrets.CODECOV_TOKEN }}

CHANGELOG.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,84 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [4.10.1](https://github.com/webpack/webpack-dev-server/compare/v4.10.0...v4.10.1) (2022-08-29)
6+
7+
8+
### Bug Fixes
9+
10+
* compatibility with old browsers ([#4544](https://github.com/webpack/webpack-dev-server/issues/4544)) ([6a430d4](https://github.com/webpack/webpack-dev-server/commit/6a430d495e3e616304000e21e72deba27eb5303f))
11+
12+
## [4.10.0](https://github.com/webpack/webpack-dev-server/compare/v4.9.3...v4.10.0) (2022-08-10)
13+
14+
15+
### Features
16+
17+
* allow to configure more `client` options via resource URL ([#4274](https://github.com/webpack/webpack-dev-server/issues/4274)) ([216e3cb](https://github.com/webpack/webpack-dev-server/commit/216e3cbe62dc90b9345995cb4f33ca9dd7b6aaba))
18+
19+
20+
### Bug Fixes
21+
22+
* response correctly when receive an OPTIONS request ([#4185](https://github.com/webpack/webpack-dev-server/issues/4185)) ([2b3b7e0](https://github.com/webpack/webpack-dev-server/commit/2b3b7e000f688e086c68ba821ed2edc3cd56a219))
23+
24+
### [4.9.3](https://github.com/webpack/webpack-dev-server/compare/v4.9.2...v4.9.3) (2022-06-29)
25+
26+
27+
### Bug Fixes
28+
29+
* avoid creation unnecessary stream for static sockjs file ([#4482](https://github.com/webpack/webpack-dev-server/issues/4482)) ([049b153](https://github.com/webpack/webpack-dev-server/commit/049b153b87ab908ae53b71356e0716bb3fc5bf07))
30+
* history-api-fallback now supports HEAD requests and handles them the same as GET ([8936082](https://github.com/webpack/webpack-dev-server/commit/8936082809a9575f231afbcad6a32bb8e14d6dce))
31+
32+
### [4.9.2](https://github.com/webpack/webpack-dev-server/compare/v4.9.1...v4.9.2) (2022-06-06)
33+
34+
35+
### Bug Fixes
36+
37+
* add `@types/serve-static` to dependencies ([#4468](https://github.com/webpack/webpack-dev-server/issues/4468)) ([af83deb](https://github.com/webpack/webpack-dev-server/commit/af83deb199dc1d8cae4365ec2c5acf07e29358df))
38+
39+
### [4.9.1](https://github.com/webpack/webpack-dev-server/compare/v4.9.0...v4.9.1) (2022-05-31)
40+
41+
42+
### Bug Fixes
43+
44+
* security problem with sockjs ([#4465](https://github.com/webpack/webpack-dev-server/issues/4465)) ([e765182](https://github.com/webpack/webpack-dev-server/commit/e765182e426cbca9c3c09294b02ac2d9737c1d74))
45+
46+
## [4.9.0](https://github.com/webpack/webpack-dev-server/compare/v4.8.1...v4.9.0) (2022-05-04)
47+
48+
49+
### Features
50+
51+
* support Trusted Types for client overlay ([#4404](https://github.com/webpack/webpack-dev-server/issues/4404)) ([8132e1d](https://github.com/webpack/webpack-dev-server/commit/8132e1d029badab7b1e836f8f240844c2d843ecc))
52+
53+
54+
### Bug Fixes
55+
56+
* ie11 runtime ([#4403](https://github.com/webpack/webpack-dev-server/issues/4403)) ([256d5fb](https://github.com/webpack/webpack-dev-server/commit/256d5fb5fea7ee5a6683f77ea347ac79816ad639))
57+
* replace portfinder with custom implementation and fix security problem ([#4384](https://github.com/webpack/webpack-dev-server/issues/4384)) ([eea50f3](https://github.com/webpack/webpack-dev-server/commit/eea50f342e3090483f6da4932b84ed52bba44c58))
58+
* use the host in options to check if port is available ([#4385](https://github.com/webpack/webpack-dev-server/issues/4385)) ([a10c7cf](https://github.com/webpack/webpack-dev-server/commit/a10c7cfd290d29384d14405d7cf79e105c7b5d15))
59+
60+
### [4.8.1](https://github.com/webpack/webpack-dev-server/compare/v4.8.0...v4.8.1) (2022-04-06)
61+
62+
63+
### Bug Fixes
64+
65+
* types ([#4373](https://github.com/webpack/webpack-dev-server/issues/4373)) ([f6fe6be](https://github.com/webpack/webpack-dev-server/commit/f6fe6be27656c9cc1e65a894a889d7443be7e6a8))
66+
67+
## [4.8.0](https://github.com/webpack/webpack-dev-server/compare/v4.7.4...v4.8.0) (2022-04-05)
68+
69+
70+
### Features
71+
72+
* export initialized socket client ([#4304](https://github.com/webpack/webpack-dev-server/issues/4304)) ([7920364](https://github.com/webpack/webpack-dev-server/commit/7920364d6b6ac29e1b7fdbb38c8a9fe22eec61de))
73+
74+
75+
### Bug Fixes
76+
77+
* update description for `--no-client-reconnect` ([#4248](https://github.com/webpack/webpack-dev-server/issues/4248)) ([317648d](https://github.com/webpack/webpack-dev-server/commit/317648df21562f9dfe1b9f8069642b91ac3bffae))
78+
* update description for `--no-client` ([#4250](https://github.com/webpack/webpack-dev-server/issues/4250)) ([c3b6690](https://github.com/webpack/webpack-dev-server/commit/c3b669077089802412774079f38a13bce054eee7))
79+
* update description for `--no-history-api-fallback` ([#4277](https://github.com/webpack/webpack-dev-server/issues/4277)) ([d63a0a2](https://github.com/webpack/webpack-dev-server/commit/d63a0a298739d599f2161b237a750220c314deef))
80+
* update negated descriptions for more options ([#4287](https://github.com/webpack/webpack-dev-server/issues/4287)) ([c64bd94](https://github.com/webpack/webpack-dev-server/commit/c64bd94fb75c30984281f71ad3c20393fcb5ee67))
81+
* update schema to have `negatedDescription` only for type `boolean` ([#4280](https://github.com/webpack/webpack-dev-server/issues/4280)) ([fcf8e8e](https://github.com/webpack/webpack-dev-server/commit/fcf8e8e6a9951f4283e796df3ad72cc803e634a3))
82+
583
### [4.7.4](https://github.com/webpack/webpack-dev-server/compare/v4.7.3...v4.7.4) (2022-02-02)
684

785

0 commit comments

Comments
 (0)