-
-
Notifications
You must be signed in to change notification settings - Fork 17.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
318fd4b
commit 31bb935
Showing
37 changed files
with
3,106 additions
and
625 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,10 @@ jobs: | |
- Node.js 12.x | ||
- Node.js 13.x | ||
- Node.js 14.x | ||
- Node.js 15.x | ||
- Node.js 16.x | ||
- Node.js 17.x | ||
- Node.js 18.x | ||
|
||
include: | ||
- name: Node.js 4.0 | ||
|
@@ -39,7 +43,7 @@ jobs: | |
|
||
- name: Node.js 6.x | ||
node-version: "6.17" | ||
npm-i: [email protected] [email protected] supertest@6.1.6 | ||
npm-i: [email protected] [email protected] supertest@3.4.2 | ||
|
||
- name: Node.js 7.x | ||
node-version: "7.10" | ||
|
@@ -63,12 +67,26 @@ jobs: | |
|
||
- name: Node.js 12.x | ||
node-version: "12.22" | ||
npm-i: [email protected] | ||
|
||
- name: Node.js 13.x | ||
node-version: "13.14" | ||
npm-i: [email protected] | ||
|
||
- name: Node.js 14.x | ||
node-version: "14.19" | ||
node-version: "14.20" | ||
|
||
- name: Node.js 15.x | ||
node-version: "15.14" | ||
|
||
- name: Node.js 16.x | ||
node-version: "16.17" | ||
|
||
- name: Node.js 17.x | ||
node-version: "17.9" | ||
|
||
- name: Node.js 18.x | ||
node-version: "18.10" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
@@ -95,8 +113,8 @@ jobs: | |
shell: bash | ||
run: | | ||
# eslint for linting | ||
# - remove on Node.js < 10 | ||
if [[ "$(cut -d. -f1 <<< "${{ matrix.node-version }}")" -lt 10 ]]; then | ||
# - remove on Node.js < 12 | ||
if [[ "$(cut -d. -f1 <<< "${{ matrix.node-version }}")" -lt 12 ]]; then | ||
node -pe 'Object.keys(require("./package").devDependencies).join("\n")' | \ | ||
grep -E '^eslint(-|$)' | \ | ||
sort -r | \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
5.x | ||
=== | ||
|
||
This incorporates all changes after 4.17.2 up to 4.17.3. | ||
This incorporates all changes after 4.17.2 up to 4.18.2. | ||
|
||
5.0.0-beta.1 / 2022-02-14 | ||
========================= | ||
|
@@ -162,6 +162,69 @@ This is the first Express 5.0 alpha release, based off 4.10.1. | |
* add: | ||
- `app.router` is a reference to the base router | ||
|
||
4.18.2 / 2022-10-08 | ||
=================== | ||
|
||
* Fix regression routing a large stack in a single route | ||
* deps: [email protected] | ||
- deps: [email protected] | ||
- perf: remove unnecessary object clone | ||
* deps: [email protected] | ||
|
||
4.18.1 / 2022-04-29 | ||
=================== | ||
|
||
* Fix hanging on large stack of sync routes | ||
|
||
4.18.0 / 2022-04-25 | ||
=================== | ||
|
||
* Add "root" option to `res.download` | ||
* Allow `options` without `filename` in `res.download` | ||
* Deprecate string and non-integer arguments to `res.status` | ||
* Fix behavior of `null`/`undefined` as `maxAge` in `res.cookie` | ||
* Fix handling very large stacks of sync middleware | ||
* Ignore `Object.prototype` values in settings through `app.set`/`app.get` | ||
* Invoke `default` with same arguments as types in `res.format` | ||
* Support proper 205 responses using `res.send` | ||
* Use `http-errors` for `res.format` error | ||
* deps: [email protected] | ||
- Fix error message for json parse whitespace in `strict` | ||
- Fix internal error when inflated body exceeds limit | ||
- Prevent loss of async hooks context | ||
- Prevent hanging when request already read | ||
- deps: [email protected] | ||
- deps: [email protected] | ||
- deps: [email protected] | ||
- deps: [email protected] | ||
- deps: [email protected] | ||
* deps: [email protected] | ||
- Add `priority` option | ||
- Fix `expires` option to reject invalid dates | ||
* deps: [email protected] | ||
- Replace internal `eval` usage with `Function` constructor | ||
- Use instance methods on `process` to check for listeners | ||
* deps: [email protected] | ||
- Remove set content headers that break response | ||
- deps: [email protected] | ||
- deps: [email protected] | ||
* deps: [email protected] | ||
- Prevent loss of async hooks context | ||
* deps: [email protected] | ||
* deps: [email protected] | ||
- Fix emitted 416 error missing headers property | ||
- Limit the headers removed for 304 response | ||
- deps: [email protected] | ||
- deps: [email protected] | ||
- deps: [email protected] | ||
- deps: [email protected] | ||
- deps: [email protected] | ||
* deps: [email protected] | ||
- deps: [email protected] | ||
* deps: [email protected] | ||
- Remove code 306 | ||
- Rename `425 Unordered Collection` to standard `425 Too Early` | ||
|
||
4.17.3 / 2022-02-16 | ||
=================== | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,14 +10,18 @@ environment: | |
- nodejs_version: "11.15" | ||
- nodejs_version: "12.22" | ||
- nodejs_version: "13.14" | ||
- nodejs_version: "14.19" | ||
- nodejs_version: "14.20" | ||
- nodejs_version: "15.14" | ||
- nodejs_version: "16.17" | ||
- nodejs_version: "17.9" | ||
- nodejs_version: "18.10" | ||
cache: | ||
- node_modules | ||
install: | ||
# Install Node.js | ||
- ps: >- | ||
try { Install-Product node $env:nodejs_version -ErrorAction Stop } | ||
catch { Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) } | ||
catch { Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) x64 } | ||
# Configure npm | ||
- ps: | | ||
npm config set loglevel error | ||
|
@@ -37,14 +41,19 @@ install: | |
# - use 6.x for Node.js < 8 | ||
# - use 7.x for Node.js < 10 | ||
# - use 8.x for Node.js < 12 | ||
if ([int]$env:nodejs_version.split(".")[0] -lt 6) { | ||
# - use 9.x for Node.js < 14 | ||
if ([int]$env:nodejs_version.split(".")[0] -lt 4) { | ||
npm install --silent --save-dev [email protected] | ||
} elseif ([int]$env:nodejs_version.split(".")[0] -lt 6) { | ||
npm install --silent --save-dev [email protected] | ||
} elseif ([int]$env:nodejs_version.split(".")[0] -lt 8) { | ||
npm install --silent --save-dev [email protected] | ||
} elseif ([int]$env:nodejs_version.split(".")[0] -lt 10) { | ||
npm install --silent --save-dev [email protected] | ||
} elseif ([int]$env:nodejs_version.split(".")[0] -lt 12) { | ||
npm install --silent --save-dev [email protected] | ||
} elseif ([int]$env:nodejs_version.split(".")[0] -lt 14) { | ||
npm install --silent --save-dev [email protected] | ||
} | ||
- ps: | | ||
# nyc for test coverage | ||
|
@@ -60,8 +69,12 @@ install: | |
} | ||
- ps: | | ||
# supertest for http calls | ||
# - use 3.4.2 for Node.js < 6 | ||
if ([int]$env:nodejs_version.split(".")[0] -lt 6) { | ||
# - use 2.0.0 for Node.js < 4 | ||
# - use 3.4.2 for Node.js < 7 | ||
# - use 6.1.6 for Node.js < 8 | ||
if ([int]$env:nodejs_version.split(".")[0] -lt 4) { | ||
npm install --silent --save-dev [email protected] | ||
} elseif ([int]$env:nodejs_version.split(".")[0] -lt 7) { | ||
npm install --silent --save-dev [email protected] | ||
} elseif ([int]$env:nodejs_version.split(".")[0] -lt 8) { | ||
npm install --silent --save-dev [email protected] | ||
|
Oops, something went wrong.