Releases: expressjs/express
Releases · expressjs/express
4.7.1
- deps: [email protected]
- Fix exception when global
Error.stackTraceLimit
is too low
- Fix exception when global
- deps: [email protected]
- deps: [email protected]
- deps: serve-static@~1.4.1
4.7.0
- fix
req.protocol
for proxy-direct connections - configurable query parser with
app.set('query parser', parser)
app.set('query parser', 'extended')
parse with "qs" moduleapp.set('query parser', 'simple')
parse with "querystring" core moduleapp.set('query parser', false)
disable query string parsingapp.set('query parser', true)
enable simple parsing
- deprecate
res.json(status, obj)
-- useres.status(status).json(obj)
instead - deprecate
res.jsonp(status, obj)
-- useres.status(status).jsonp(obj)
instead - deprecate
res.send(status, body)
-- useres.status(status).send(body)
instead - deps: [email protected]
- deps: [email protected]
- Add
TRACE_DEPRECATION
environment variable - Remove non-standard grey color from color output
- Support
--no-deprecation
argument - Support
--trace-deprecation
argument
- Add
- deps: [email protected]
- Respond after request fully read
- deps: [email protected]
- deps: parseurl@~1.2.0
- Cache URLs based on original value
- Remove no-longer-needed URL mis-parse work-around
- Simplify the "fast-path"
RegExp
- deps: [email protected]
- Add
dotfiles
option - Cap
maxAge
value to 1 year - deps: [email protected]
- deps: [email protected]
- Add
- deps: serve-static@~1.4.0
- deps: parseurl@~1.2.0
- deps: [email protected]
- perf: prevent multiple
Buffer
creation inres.send
3.15.1
- deps: [email protected]
- deps: body-parser@~1.5.0
- deps: [email protected]
- deps: express-session@~1.7.1
- deps: morgan@~1.2.1
- deps: serve-index@~1.1.4
- deps: serve-static@~1.4.1
- deps: [email protected]
- Fix exception when global
Error.stackTraceLimit
is too low
- Fix exception when global
- deps: [email protected]
- deps: [email protected]
3.15.0
- Fix
req.protocol
for proxy-direct connections - Pass options from
res.sendfile
tosend
- deps: [email protected]
- deps: body-parser@~1.5.0
- deps: compression@~1.0.9
- deps: connect-timeout@~1.2.1
- deps: [email protected]
- deps: [email protected]
- deps: express-session@~1.7.0
- deps: [email protected]
- deps: method-override@~2.1.2
- deps: morgan@~1.2.0
- deps: [email protected]
- deps: parseurl@~1.2.0
- deps: serve-static@~1.4.0
- deps: [email protected]
- deps: [email protected]
- Add
TRACE_DEPRECATION
environment variable - Remove non-standard grey color from color output
- Support
--no-deprecation
argument - Support
--trace-deprecation
argument
- Add
- deps: parseurl@~1.2.0
- Cache URLs based on original value
- Remove no-longer-needed URL mis-parse work-around
- Simplify the "fast-path"
RegExp
- deps: [email protected]
- Add
dotfiles
option - Cap
maxAge
value to 1 year - deps: [email protected]
- deps: [email protected]
- Add
4.6.1
- fix
subapp.mountpath
regression forapp.use(subapp)
4.6.0
- accept multiple callbacks to
app.use()
- add explicit "Rosetta Flash JSONP abuse" protection
- previous versions are not vulnerable; this is just explicit protection
- catch errors in multiple
req.param(name, fn)
handlers - deprecate
res.redirect(url, status)
-- useres.redirect(status, url)
instead - fix
res.send(status, num)
to sendnum
as json (not error) - remove unnecessary escaping when
res.jsonp
returns JSON response - support non-string
path
inapp.use(path, fn)
- supports array of paths
- supports
RegExp
- router: fix optimization on router exit
- router: refactor location of
try
blocks - router: speed up standard
app.use(fn)
- deps: [email protected]
- Add support for multiple wildcards in namespaces
- deps: [email protected]
- deps: [email protected]
- deps: [email protected]
- add
CONNECT
- add
- deps: parseurl@~1.1.3
- faster parsing of href-only URLs
- deps: [email protected]
- deps: [email protected]
- deps: [email protected]
- deps: serve-static@~1.3.2
- deps: parseurl@~1.1.3
- deps: [email protected]
- perf: fix arguments reassign deopt in some
res
methods
3.14.0
- add explicit "Rosetta Flash JSONP abuse" protection
- previous versions are not vulnerable; this is just explicit protection
- deprecate
res.redirect(url, status)
-- useres.redirect(status, url)
instead - fix
res.send(status, num)
to sendnum
as json (not error) - remove unnecessary escaping when
res.jsonp
returns JSON response - deps: [email protected]
- support empty password
- support empty username
- deps: [email protected]
- deps: [email protected]
- deps: express-session@~1.6.4
- deps: method-override@~2.1.0
- deps: parseurl@~1.1.3
- deps: serve-static@~1.3.1
- deps: [email protected]
- Add support for multiple wildcards in namespaces
- deps: [email protected]
- add
CONNECT
- add
- deps: parseurl@~1.1.3
- faster parsing of href-only URLs
4.5.1
- fix routing regression when altering
req.method
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 tores.sendfile
- use to set headers on successful file transfer
- add
mergeParams
option toRouter
- merges
req.params
from parent routes
- merges
- add
req.hostname
-- correct name for whatreq.host
returns - deprecate things with
depd
module - deprecate
req.host
-- usereq.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 byms
) - Include link in default redirect response
- Accept string for
- deps: serve-static@~1.3.0
- Accept string for
maxAge
(converted byms
) - Add
setHeaders
option - Include HTML link in redirect response
- deps: [email protected]
- Accept string for
- deps: type-is@~1.3.2
3.13.0
- add deprecation message to
app.configure
- add deprecation message to
req.auth
- use
basic-auth
to parseAuthorization
header - deps: [email protected]
- deps: csurf@~1.3.0
- deps: express-session@~1.6.1
- deps: [email protected]
- deps: serve-static@~1.3.0
- deps: [email protected]
- Accept string for
maxage
(converted byms
) - Include link in default redirect response
- Accept string for