Releases
4.17.0
Add express.raw
to parse bodies into Buffer
Add express.text
to parse bodies into string
Improve error message for non-strings to res.sendFile
Improve error message for null
/undefined
to res.status
Support multiple hosts in X-Forwarded-Host
deps: accepts@~1.3.7
deps: body-parser@1.19.0
Add encoding MIK
Add petabyte (pb
) support
Fix parsing array brackets after index
deps: bytes@3.1.0
deps: http-errors@1.7.2
deps: iconv-lite@0.4.24
deps: qs@6.7.0
deps: raw-body@2.4.0
deps: type-is@~1.6.17
deps: content-disposition@0.5.3
deps: cookie@0.4.0
Add SameSite=None
support
deps: finalhandler@~1.1.2
Set stricter Content-Security-Policy
header
deps: parseurl@~1.3.3
deps: statuses@~1.5.0
deps: parseurl@~1.3.3
deps: proxy-addr@~2.0.5
deps: qs@6.7.0
Fix parsing array brackets after index
deps: range-parser@~1.2.1
deps: send@0.17.1
Set stricter CSP header in redirect & error responses
deps: http-errors@~1.7.2
deps: mime@1.6.0
deps: ms@2.1.1
deps: range-parser@~1.2.1
deps: statuses@~1.5.0
perf: remove redundant path.normalize
call
deps: serve-static@1.14.1
Set stricter CSP header in redirect response
deps: parseurl@~1.3.3
deps: send@0.17.1
deps: setprototypeof@1.1.1
deps: statuses@~1.5.0
deps: type-is@~1.6.18
deps: mime-types@~2.1.24
perf: prevent internal throw
on invalid type
You can’t perform that action at this time.