4.16.0
版本发布时间: 2017-10-05 23:39:08
expressjs/express最新发布版本:4.21.0(2024-09-12 06:34:26)
- Add
"json escape"
setting forres.json
andres.jsonp
- Add
express.json
andexpress.urlencoded
to parse bodies - Add
options
argument tores.download
- Improve error message when autoloading invalid view engine
- Improve error messages when non-function provided as middleware
- Skip
Buffer
encoding when not generating ETag for small response - Use
safe-buffer
for improved Buffer API - deps: accepts@~1.3.4
- deps: mime-types@~2.1.16
- deps: content-type@~1.0.4
- perf: remove argument reassignment
- perf: skip parameter parsing when no parameters
- deps: etag@~1.8.1
- perf: replace regular expression with substring
- deps: finalhandler@1.1.0
- Use
res.headersSent
when available
- Use
- deps: parseurl@~1.3.2
- perf: reduce overhead for full URLs
- perf: unroll the "fast-path"
RegExp
- deps: proxy-addr@~2.0.2
- Fix trimming leading / trailing OWS in
X-Forwarded-For
- deps: forwarded@~0.1.2
- deps: ipaddr.js@1.5.2
- perf: reduce overhead when no
X-Forwarded-For
header
- Fix trimming leading / trailing OWS in
- deps: qs@6.5.1
- Fix parsing & compacting very deep objects
- deps: send@0.16.0
- Add 70 new types for file extensions
- Add
immutable
option - Fix missing
</html>
in default error & redirects - Set charset as "UTF-8" for .js and .json
- Use instance methods on steam to check for listeners
- deps: mime@1.4.1
- perf: improve path validation speed
- deps: serve-static@1.13.0
- Add 70 new types for file extensions
- Add
immutable
option - Set charset as "UTF-8" for .js and .json
- deps: send@0.16.0
- deps: setprototypeof@1.1.0
- deps: utils-merge@1.0.1
- deps: vary@~1.1.2
- perf: improve header token parsing speed
- perf: re-use options object when generating ETags
- perf: remove dead
.charset
set inres.jsonp