Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 5.0 #2237

Merged
merged 122 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
085a296
Change req.host to return host
dougwilson Jul 10, 2014
e66625b
Remove res.send(body, status) signature
dougwilson Jul 10, 2014
164638b
Remove res.json(obj, status) signature
dougwilson Jul 10, 2014
8810306
Remove res.jsonp(obj, status) signature
dougwilson Jul 10, 2014
8c6f9c4
Remove app.router error message
dougwilson Jul 10, 2014
dcc4eaa
Change req.query to a getter
dougwilson Jul 14, 2014
78e5054
Refactor away init middleware
dougwilson Jul 14, 2014
509ebb1
Add app.router reference back
dougwilson Jul 14, 2014
f31dcff
Remove app.del
dougwilson Nov 7, 2014
be35e49
Remove utils.contentDisposition
dougwilson Nov 7, 2014
7f25328
Remove req.acceptsCharset
dougwilson Nov 7, 2014
59f2b40
Remove acceptsEncoding
dougwilson Nov 7, 2014
ccdbe4e
Remove req.acceptsLanguage
dougwilson Nov 7, 2014
0fc4f07
Remove res.sendfile
dougwilson Nov 7, 2014
97ccc52
Remove res.send(status) signature
dougwilson Nov 7, 2014
4052c15
5.0.0-alpha.1
dougwilson Nov 7, 2014
8a5ecd3
Merge tag '4.11.1'
dougwilson Jan 21, 2015
f56e2a2
docs: simplify 5.x history
dougwilson Jan 21, 2015
a9ef9e1
Merge tag '4.11.2'
dougwilson Feb 1, 2015
f6ec710
Merge tag '4.12.0'
dougwilson Feb 23, 2015
f90e045
Merge tag '4.12.4'
dougwilson May 18, 2015
b309b87
Merge tag '4.13.1'
dougwilson Jul 6, 2015
3a1f27f
Remove ":" stripping from app.param()
dougwilson Jul 6, 2015
1e2951a
Remove app.param(fn) signature
dougwilson Jul 6, 2015
6c75119
Remove utils.flatten
dougwilson Jul 7, 2015
a7d15f3
Remove un-used depd import in router
dougwilson Jul 7, 2015
21d52da
Remove req.param()
dougwilson Jul 7, 2015
cec5780
Use router module for routing
dougwilson Jul 7, 2015
694869d
Use path-is-absolute module for absolute path detection
Fishrock123 Apr 17, 2015
6343288
Make res.render callback is always async, even for sync view engines
dougwilson Jul 7, 2015
2c668f8
5.0.0-alpha.2
dougwilson Jul 7, 2015
7cafdb5
Merge tag '4.13.4'
dougwilson Jan 22, 2016
943f28f
deps: router@~1.1.3
dougwilson Jan 22, 2016
8a387d3
deps: array-flatten@2.0.0
dougwilson Jan 22, 2016
1dbfee6
Merge tag '4.14.0'
dougwilson Jun 20, 2016
a856456
Remove res.vary() (no arguments) signature
tunniclm Mar 14, 2016
25fdefa
Remove res.json(status, obj) signature
tunniclm Mar 14, 2016
ab1c9e9
Remove res.jsonp(status, obj) signature
tunniclm Mar 14, 2016
bcbb9d5
Merge tag '4.14.1'
dougwilson Jan 29, 2017
07077c4
deps: router@~1.1.5
dougwilson Jan 29, 2017
ad4d52d
deps: array-flatten@2.1.1
dougwilson Jan 29, 2017
4b39a01
deps: path-is-absolute@1.0.1
dougwilson Jan 29, 2017
c8d9223
5.0.0-alpha.3
dougwilson Jan 29, 2017
501e24e
Merge tag '4.15.0'
dougwilson Mar 1, 2017
06f423d
Remove Express 3.x middleware error stubs
wesleytodd Feb 21, 2017
a3a9166
5.0.0-alpha.4
dougwilson Mar 1, 2017
e5dbb0c
Merge tag '4.15.2'
dougwilson Mar 6, 2017
21f725e
5.0.0-alpha.5
dougwilson Mar 6, 2017
c319fe2
Merge tag '4.15.4'
dougwilson Aug 7, 2017
e3bd14d
Remove res.send(status, body) signature
tunniclm Mar 14, 2016
71395f5
Remove res.redirect(url, status) signature
tunniclm Mar 14, 2016
19c8d64
Merge tag '4.15.5'
dougwilson Sep 25, 2017
f4120a6
5.0.0-alpha.6
dougwilson Sep 25, 2017
8fabed8
Remove path-to-regexp dependency
dougwilson Oct 14, 2017
62e12fe
Merge tag '4.16.2'
dougwilson Oct 14, 2017
a163e2c
deps: debug@3.1.0
dougwilson Oct 14, 2017
659fcc1
deps: router@~1.3.2
dougwilson Oct 14, 2017
302a615
Merge tag '4.16.4'
dougwilson Oct 24, 2018
fa22245
deps: router@2.0.0-alpha.1
dougwilson Oct 24, 2018
c82fa19
tests: add router promise tests
dougwilson Oct 27, 2018
5f0c829
5.0.0-alpha.7
dougwilson Oct 27, 2018
121fe99
Merge tag '4.17.1'
dougwilson Jun 8, 2019
bd04d8a
5.0.0-alpha.8
dougwilson Mar 26, 2020
8aabeca
docs: fix typo in history
belovsandr Jun 26, 2020
c7d528c
Merge tag '4.17.2'
dougwilson Dec 17, 2021
1574925
deps: router@2.0.0-beta.1
dougwilson Dec 16, 2021
af341b0
deps: body-parser@2.0.0-beta.1
dougwilson Dec 18, 2021
450c468
Change query parser setting default to 'simple'
czaarek99 Apr 15, 2018
3d05e85
deps: array-flatten@3.0.0
dougwilson Feb 2, 2022
a0276c6
Use mime-types for file to content type mapping
dougwilson Feb 6, 2022
f6db4ee
Drop support for Node.js below 4
dougwilson Feb 8, 2022
620df0e
deps: serve-static@2.0.0-beta.1
dougwilson Feb 8, 2022
669c805
deps: send@1.0.0-beta.1
dougwilson Feb 8, 2022
5213bd9
docs: fix entry in history
dougwilson Feb 8, 2022
6faf26d
5.0.0-beta.1
dougwilson Feb 15, 2022
318fd4b
Merge tag '4.17.3'
dougwilson Feb 17, 2022
e9f9aae
Merge tag '4.19.0' into 5.x
wesleytodd Mar 21, 2024
60fb1d2
Merge tag '4.19.1' into 5.x
wesleytodd Mar 21, 2024
416ba02
build: disable test for 4.x which is failing in v5
wesleytodd Mar 21, 2024
7091ec1
5.0.0-beta.2
wesleytodd Mar 21, 2024
da4d763
Improved fix for open redirect allow list bypass
wesleytodd Mar 21, 2024
04bc627
4.19.2
wesleytodd Mar 25, 2024
6415f70
Merge tag '4.19.2' into 5.0
wesleytodd Mar 25, 2024
5e2345e
Merge branch '5.0' into 5.x
wesleytodd Mar 25, 2024
cd7d79f
v5.0.0-beta.3
wesleytodd Mar 25, 2024
e9bcdd3
ci: adopt Node@18 as the minimum supported version
UlisesGascon Apr 11, 2024
4b3b8cc
feat: adopt Node@18 as the minimum supported version
UlisesGascon Apr 11, 2024
1443973
Use object with null prototype for various app properties
EvanHahn Mar 17, 2022
26801a0
Use object with null prototype for settings closes #4835
EvanHahn Feb 21, 2022
ee40a88
call callback once on listen error
wesleytodd Feb 20, 2017
088856c
💚 add legacy CI, clean up
ctcpip Jul 25, 2024
c96c690
Merge branch 'master' into 5.0
ctcpip Jul 25, 2024
723b545
Throw on invalid status codes (#4212)
jonchurch Jul 30, 2024
d106bf5
Use Array.flat instead of array-flatten (#5677)
almic Aug 1, 2024
160b91c
feat: adopt Node@18 as the minimum supported version (#5803)
UlisesGascon Aug 2, 2024
9c756b0
💚 remove node <11, all failing permanently now
ctcpip Aug 2, 2024
82fc12a
Ignore `expires` and `maxAge` in `res.clearCookie()` (#5792)
jonchurch Aug 2, 2024
dde1f7d
Merge branch '5.0' into 5-merge
ctcpip Aug 2, 2024
ea49706
Merge branch 'master' into 5-merge
ctcpip Aug 2, 2024
63992bb
Merge branch 'ci/v5-node-lts' into 5-merge
ctcpip Aug 2, 2024
ecf762f
fix(deps)!: send@^1.0.0 (#5786)
wesleytodd Aug 9, 2024
41c054c
chore: upgrade `debug` dep from 3.10 to 4.3.6 (#5829)
carpasse Aug 17, 2024
0983158
refactor: replace 'path-is-absolute' dep with node:path isAbsolute me…
carpasse Aug 17, 2024
0b243b1
5.x: Upgrading `merge-descriptors` with allowing minors (#5782)
RobinTail Aug 23, 2024
65b6206
fix(deps) serve-staic@2.0.0 (#5790)
wesleytodd Aug 23, 2024
13e6894
chore: qs@6.13.0 (#5847)
carpasse Aug 23, 2024
91a58b5
cookie-signature@^1.2.1 (#5833)
IamLizu Aug 23, 2024
7748475
fix(deps): accepts@^2.0.0 (#5881)
wesleytodd Aug 31, 2024
4e61d01
fix(deps)!: mime-types@^3.0.0 (#5882)
wesleytodd Aug 31, 2024
402e7f6
fix(deps): type-is@^2.0.0 (#5883)
wesleytodd Aug 31, 2024
05f40f4
fix(deps)!: content-disposition@^1.0.0 (#5884)
wesleytodd Aug 31, 2024
accafc6
fix(deps): finalhandler@^2.0.0 (#5899)
wesleytodd Sep 2, 2024
4d713d2
update to fresh@2.0.0 (#5916)
jonchurch Sep 9, 2024
0264908
feat(deps)!: router@^2.0.0 (#5885)
wesleytodd Sep 9, 2024
e5feb9f
Merge tag '4.20.0' into 5.0
wesleytodd Sep 10, 2024
f9256ef
Merge branch '5.0' into 5-merge
wesleytodd Sep 10, 2024
6c98f80
🔧 update CI, remove unsupported versions, clean up
ctcpip Sep 10, 2024
bdd81f8
Delete `back` as a magic string (#5933)
blakeembrey Sep 10, 2024
fed8c2a
fix(deps): body-parser@^2.0.1
wesleytodd Sep 10, 2024
b3906cb
fix(deps): serve-static@^2.1.0
wesleytodd Sep 10, 2024
0c49926
fix(deps): send@^1.1.0
wesleytodd Sep 10, 2024
344b022
5.0.0
wesleytodd Sep 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove acceptsEncoding
  • Loading branch information
dougwilson committed Nov 7, 2014
commit 59f2b4048a4d08e076b06ffd36f29825a023b52a
1 change: 1 addition & 0 deletions History.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* remove:
- `app.del` - use `app.delete`
- `req.acceptsCharset` - use `req.acceptsCharsets`
- `req.acceptsEncoding` - use `req.acceptsEncodings`
- `res.json(obj, status)` signature - use `res.json(status, obj)`
- `res.jsonp(obj, status)` signature - use `res.jsonp(status, obj)`
- `res.send(body, status)` signature - use `res.send(status, body)`
Expand Down
3 changes: 0 additions & 3 deletions lib/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,6 @@ req.acceptsEncodings = function(){
return accept.encodings.apply(accept, arguments);
};

req.acceptsEncoding = deprecate.function(req.acceptsEncodings,
'req.acceptsEncoding: Use acceptsEncodings instead');

/**
* Check if the given `charset`s are acceptable,
* otherwise you should respond with 406 "Not Acceptable".
Expand Down
36 changes: 0 additions & 36 deletions test/req.acceptsEncoding.js

This file was deleted.