Releases
4.5.0
add deprecation message to non-plural req.accepts*
add deprecation message to res.send(body, status)
add deprecation message to res.vary()
add headers
option to res.sendfile
use to set headers on successful file transfer
add mergeParams
option to Router
merges req.params
from parent routes
add req.hostname
-- correct name for what req.host
returns
deprecate things with depd
module
deprecate req.host
-- use req.hostname
instead
fix behavior when handling request without routes
fix handling when route.all
is only route
invoke router.param()
only when route matches
restore req.params
after invoking router
use finalhandler
for final response handling
use media-typer
to alter content-type charset
deps: accepts@~1.0.7
deps: [email protected]
Accept string for maxage
(converted by ms
)
Include link in default redirect response
deps: serve-static@~1.3.0
Accept string for maxAge
(converted by ms
)
Add setHeaders
option
Include HTML link in redirect response
deps: [email protected]
deps: type-is@~1.3.2
You can’t perform that action at this time.