-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Doppins] Upgrade dependency express to 4.16.2 #7
base: master
Are you sure you want to change the base?
Conversation
An additional new version was just released of Hope that's alright! |
An additional new version was just released of Hope that's alright! |
An additional new version was just released of Hope that's alright! |
An additional new version was just released of Hope that's alright! |
An additional new version was just released of Hope that's alright! |
Hi!
A new version was just released of
express
, so Doppinshas upgraded your project's dependency ranges.
Make sure that it doesn't break anything, and happy merging!
Upgraded express from
3.2.6
to4.15.3
Changelog:
Version 4.15.3
res.set
cannot add charset toContent-Type
DEBUG_MAX_ARRAY_LENGTH
</html>
in HTML documentVersion 4.15.2
[
Version 4.15.1
Date.parse
does not returnNaN
on invalid dateDate.parse
does not returnNaN
on invalid dateVersion 5.0.0-alpha.5
This is the fifth Express 5.0 alpha release, based off 4.15.2 and includes
changes from 5.0.0-alpha.4.
Version 5.0.0-alpha.4
This is the fourth Express 5.0 alpha release, based off 4.15.0 and includes
changes from 5.0.0-alpha.3.
next("router")
to exit from routerrouter.use
skipped requests routes did notreq.url
is not set%o
in path debug to tell types apart*
routeVersion 4.15.0
next("router")
to exit from routerrouter.use
skipped requests routes did notres._headers
private fieldreq.url
is not set%o
in path debug to tell types apartObject.create
to setup request & response prototypessetprototypeof
module to replace__proto__
settingstatuses
instead ofhttp
module for status messagesDEBUG_FD
environment variable set to3
or highererr
cannot be converted to a stringContent-Security-Policy: default-src 'self'
headerno-cache
request directiveIf-None-Match
has both*
and ETagsETag
matching to match specIf-None-Match
when noETag
headerDate.parse
instead ofnew Date
no-cache
request directiveIf-None-Match
has both*
and ETagsETag
matching to match specres._headers
private fieldIf-Match
andIf-Unmodified-Since
headersres.getHeaderNames()
when availableres.headersSent
when availableno-cache
request directiveIf-None-Match
has both*
and ETagsETag
matching to match specres._headers
private fieldIf-Match
andIf-Unmodified-Since
headersres.getHeaderNames()
when availableres.headersSent
when available*
routereq.ips
performanceVersion 5.0.0-alpha.3
This is the third Express 5.0 alpha release, based off 4.14.1 and includes
changes from 5.0.0-alpha.2.
res.json(status, obj)
signature - useres.status(status).json(obj)
res.jsonp(status, obj)
signature - useres.status(status).jsonp(obj)
res.vary()
(no arguments) -- provide a field name as an argumentVersion 4.14.1
err.headers
is not an objectVersion 4.14.0
acceptRanges
option tores.sendFile
/res.sendfile
cacheControl
option tores.sendFile
/res.sendfile
options
argument toreq.range
combine
optionres.location
/res.redirect
if not already encodedres.sendFile
/res.sendfile
req.get()
res.json
/res.jsonp
in most casesRange
header handling inres.sendFile
/res.sendfile
Accept
parsingAccept
parameters with quoted equalsAccept
parameters with quoted semicolonssameSite
optionMax-Age
to never be a floating point numberencode
is not a functionexpires
is not aDate
serialize
err.statusCode
iferr.status
is invaliderr.headers
objectstatuses
instead ofhttp
module for status messagesdecoder
option inparse
functioncombine
option to combine overlapping rangesacceptRanges
optioncacheControl
optionStream
classContent-Range
header in 416 responses when usingstart
/end
optionsContent-Range
header missing from default 416 responsespath
contains raw non-URL characterspath
starts with multiple forward slashesRange
headersacceptRanges
optioncacheControl
optionreq.url
contains raw non-URL charactersRange
headersfield
argumentVersion 4.13.4
serialize
Version 4.13.3
mergeParams: true
req.params
Version 4.13.2
Version 3.21.2
field
Version 5.0.0-alpha.2
This is the second Express 5.0 alpha release, based off 4.13.1 and includes
changes from 5.0.0-alpha.1.
app.param(fn)
req.param()
-- usereq.params
,req.body
, orreq.query
insteadres.render
callback is always async, even for sync view engines:
character inname
forapp.param(name, fn)
is no longer removedrouter
module for routingpath-is-absolute
module for absolute path detectionVersion 4.13.1
hasOwnProperty
Version 3.21.1
Version 4.13.0
res.format
error when onlydefault
providednext('route')
inapp.param
would incorrectly skip valuesdecodeURIComponent
URIError
s are a 400*
before params in routesres.cookie
to callres.append
array-flatten
module for flattening arraysstatusCode
property onError
objectsunpipe
module for unpiping requestsETag
matching supportCONNECT
requestsUpgrade
requestsDate
response headerContent-Location
on 304 responsehttp-errors
for standard emitted errorsstatuses
instead ofhttp
module for status messagesfallthrough
optionnext()
instead of 400app.render
try blockView
http.STATUS_CODES
Version 3.21.0
ETag
matching supportDate
response headerContent-Location
on 304 responsehttp-errors
for standard emitted errorsstatuses
instead ofhttp
module for status messagesVersion 4.12.4
fs
isFinished(req)
when data bufferedconstructor
Version 3.20.3
Version 4.12.3
hasOwnProperty
is presentextensions
orindex
optionsVersion 3.20.2
extensions
orindex
optionsVersion 4.12.2
"Request aborted"
is logged usingres.sendFile
Version 4.12.1
ECONNRESET
errors fromres.sendFile
usagereq.host
when using "trust proxy" hops countreq.protocol
/req.secure
when using "trust proxy" hops countcode
on aborted connections fromres.sendFile
Version 3.20.1
req.host
when using "trust proxy" hops countreq.protocol
/req.secure
when using "trust proxy" hops countVersion 4.12.0
"trust proxy"
setting to inherit when app is mountedETag
s for all request responsesGET
andHEAD
requestscontent-type
to parseContent-Type
headersoptions
hasBody
Transfer-Encoding
check*/*
)Version 3.20.0
"trust proxy"
setting to inherit when app is mountedETag
s for all request responsesGET
andHEAD
requestscontent-type
to parseContent-Type
headerscontent-type
to parseContent-Type
headersoptions
Version 4.11.2
res.redirect
double-callingres.end
forHEAD
requestsVersion 3.19.2
Version 4.11.1
Version 3.19.1
Version 4.11.0
res.append(field, val)
to append headers:
inname
forapp.param(name, fn)
req.param()
-- usereq.params
,req.body
, orreq.query
insteadapp.param(fn)
OPTIONS
responses to include theHEAD
method properlyres.sendFile
not always detecting aborted connectionVersion 4.10.8
OPTIONS
response handlerVersion 3.19.0
OPTIONS
responses to include theHEAD
method propertyreadline
for prompt inexpress(1)
Version 4.10.7
Allow
header forOPTIONS
to not contain duplicate methodsres.sendFile
whenHEAD
or 304Version 4.10.6
req.fresh
/req.stale
without response headersVersion 3.18.6
req.fresh
/req.stale
without response headersVersion 3.18.5
Version 4.10.5
res.send
double-callingres.end
forHEAD
requestsVersion 4.10.4
res.sendfile
logging standard write errorsVersion 4.10.3
res.sendFile
logging standard write errorsarrayLimit
behaviorVersion 3.18.4
Version 4.10.2
Version 3.18.3
Version 5.0.0-alpha.1
app.del
- useapp.delete
req.acceptsCharset
- usereq.acceptsCharsets
req.acceptsEncoding
- usereq.acceptsEncodings
req.acceptsLanguage
- usereq.acceptsLanguages
res.json(obj, status)
signature - useres.json(status, obj)
res.jsonp(obj, status)
signature - useres.jsonp(status, obj)
res.send(body, status)
signature - useres.send(status, body)
res.send(status)
signature - useres.sendStatus(status)
res.sendfile
- useres.sendFile
insteadexpress.query
middlewarereq.host
now returns host (hostname:port
) - usereq.hostname
for only hostnamereq.query
is now a getter instead of a plain propertyapp.router
is a reference to the base routerVersion 4.10.1
://
in the pathVersion 3.18.2
://
in the pathVersion 4.10.0
app.set('views', array)
res.send(status)
to mentionres.sendStatus(status)
content-disposition
module forres.attachment
/res.download
Content-Disposition
headerpath.resolve
in view lookupDEBUG_FD
env variable supporton-finished
to determine request statusVersion 3.18.1
utils.merge
deprecation warningsVersion 3.18.0
content-disposition
module forres.attachment
/res.download
Content-Disposition
headeretag
module to generateETag
headershttp-errors
module for creating errorsutils-merge
module for merging objectsDEBUG_FD
env variable supportVersion 4.9.8
res.redirect
body when redirect status specifiedVersion 3.17.8
Version 4.9.7
Version 4.9.6
Version 3.17.7
logger
Version 3.17.6
Version 4.9.5
forwarded
npm moduleVersion 3.17.5
forwarded
npm moduleVersion 4.9.4
Version 3.17.4
Version 4.9.3
Version 3.17.3
Version 4.9.2
path
inapp.use
router.use
to accept array of middleware without pathapp.use
argumentsVersion 4.9.1
app.use
to accept array of middleware without pathVersion 3.17.2
crc
instead ofbuffer-crc32
for speedVersion 4.9.0
res.sendStatus
res.sendFile
,res.sendfile
, andres.download
err
will be populated with request aborted errorreq.subdomains
etag
to generateETag
headersmime-types
X-Content-Type-Options: nosniff
headerlastModified
optionetag
to generateETag
headerlastModified
optionhasbody
to be true forcontent-length: 0
Vary
header string asfield
Version 3.17.1
req.subdomains
on empty hostVersion 3.17.0
req.subdomains
lastModified
optionetag
to generateETag
headerVary
header string asfield
Version 4.8.8
root
Version 3.16.10
root
Version 4.8.7
Version 3.16.9
Version 4.8.6
Version 3.16.8
Version 4.8.5
Version 4.8.4
fd
leak in Node.js 0.10 forfs.ReadStream
Version 3.16.7
Version 3.16.6
fd
leak in Node.js 0.10 forfs.ReadStream
Version 3.16.5
logger
Version 4.8.3
req.originalUrl
valuesVersion 3.16.4
res.location
query
middleware breaking with argumentVersion 3.16.3
Version 4.8.2
Version 3.16.2
Version 4.8.1
res.download
Version 3.16.1
Version 4.8.0
res.sendFile
root
option specifiedres.sendfile
-- useres.sendFile
insteadapp.use()
extensions
optionextensions
optionVersion 3.16.0
extensions
optionVersion 4.7.4
res.sendfile
regression for serving directory index filesVersion 3.15.3
res.sendfile
regression for serving directory index filesVersion 4.7.3
Version 4.7.2
Version 3.15.2
Version 4.7.1
Error.stackTraceLimit
is too lowVersion 3.15.1
Error.stackTraceLimit
is too lowVersion 4.7.0
req.protocol
for proxy-direct connectionsapp.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 parsingres.json(status, obj)
-- useres.status(status).json(obj)
insteadres.jsonp(status, obj)
-- useres.status(status).jsonp(obj)
insteadres.send(status, body)
-- useres.status(status).send(body)
insteadTRACE_DEPRECATION
environment variable--no-deprecation
argument--trace-deprecation
argumentRegExp
dotfiles
optionmaxAge
value to 1 yearBuffer
creation inres.send
Version 3.15.0
req.protocol
for proxy-direct connectionsres.sendfile
tosend
TRACE_DEPRECATION
environment variable--no-deprecation
argument--trace-deprecation
argumentRegExp
dotfiles
optionmaxAge
value to 1 yearVersion 4.6.1
subapp.mountpath
regression forapp.use(subapp)
Version 4.6.0
app.use()
req.param(name, fn)
handlersres.redirect(url, status)
-- useres.redirect(status, url)
insteadres.send(status, num)
to sendnum
as json (not error)res.jsonp
returns JSON responsepath
inapp.use(path, fn)
RegExp
try
blocksapp.use(fn)
CONNECT
res
methodsVersion 3.14.0
res.redirect(url, status)
-- useres.redirect(status, url)
insteadres.send(status, num)
to sendnum
as json (not error)res.jsonp
returns JSON responseCONNECT
Version 4.5.1
req.method
Version 4.5.0
req.accepts*
res.send(body, status)
res.vary()
headers
option tores.sendfile
mergeParams
option toRouter
req.params
from parent routesreq.hostname
-- correct name for whatreq.host
returnsdepd
modulereq.host
-- usereq.hostname
insteadroute.all
is only routerouter.param()
only when route matchesreq.params
after invoking routerfinalhandler
for final response handlingmedia-typer
to alter content-type charsetmaxage
(converted byms
)maxAge
(converted byms
)setHeaders
optionVersion 3.13.0
app.configure
req.auth
basic-auth
to parseAuthorization
headermaxage
(converted byms
)Version 4.4.5
Version 3.12.1
Version 3.12.0
media-typer
to alter content-type charsetconnect(middleware)
-- useapp.use(middleware)
insteadconnect.createServer()
-- useconnect()
insteadres.setHeader()
patch to work with with get -> append -> set patternVersion 4.4.4
res.attachment
Unicode filenames in Safariexpress:router
Version 3.11.0
depd
moduleverify
option tojson
-- usebody-parser
module directlyverify
option tourlencoded
-- usebody-parser
module directlydepd
modulefinalhandler
for final response handlingmedia-typer
to parsecontent-type
for charsetVersion 4.4.3
req.params[name]
fromapp.param()
escape-html
for HTML escapingVersion 3.10.5
escape-html
for HTML escapingVersion 4.4.2
vary
module forres.vary
Version 3.10.4
Version 3.10.3
vary
module forres.vary
Version 3.10.2
Version 3.10.1
Version 4.4.1
max-age
inCache-Control
in correct formatescape-html
for escapingVersion 3.10.0
methodOverride()
-- usemethod-override
module directlymax-age
inCache-Control
in correct formatVersion 4.4.0
app.set('etag', val)
app.set('etag', function(body, encoding){ return '"etag"' })
custom etag generationapp.set('etag', 'weak')
weak tagapp.set('etag', 'strong')
strong etagapp.set('etag', false)
turn offapp.set('etag', true)
standard etagres.send
ETag as weak and reduce collisionsVersion 3.9.0
app.set('etag', val)
app.set('etag', function(body, encoding){ return '"etag"' })
custom etag generationapp.set('etag', 'weak')
weak tagapp.set('etag', 'strong')
strong etagapp.set('etag', false)
turn offapp.set('etag', true)
standard etagres.send
ETag as weak and reduce collisionsVersion 4.3.2
router.param()
callbacksVersion 3.8.1
Version 4.3.1
app.VERB
for the same path"Version 4.3.0
req.baseUrl
to access the path stripped fromreq.url
in routesapp.VERB
for the same pathrouter.param()
only when necessary instead of every matchapp.set('trust proxy', trust)
app.set('trust proxy', 1)
trust first hopapp.set('trust proxy', 'loopback')
trust loopback addressesapp.set('trust proxy', '10.0.0.1')
trust single IPapp.set('trust proxy', '10.0.0.1/16')
trust subnetapp.set('trust proxy', '10.0.0.1, 10.0.0.2')
trust listapp.set('trust proxy', false)
turn offapp.set('trust proxy', true)
trust everythingcharset
inContent-Type
forres.send
Version 3.8.0
Content-Type
forres.jsonp
charset
inContent-Type
forres.send
res.charset
appending charset whencontent-type
has oneVersion 3.7.0
app.set('trust proxy', trust)
app.set('trust proxy', 1)
trust first hopapp.set('trust proxy', 'loopback')
trust loopback addressesapp.set('trust proxy', '10.0.0.1')
trust single IPapp.set('trust proxy', '10.0.0.1/16')
trust subnetapp.set('trust proxy', '10.0.0.1, 10.0.0.2')
trust listapp.set('trust proxy', false)
turn offapp.set('trust proxy', true)
trust everythingres.headerSent
-- useres.headersSent
res.on("header")
-- use on-headers module insteadres.appendHeader
that would append in wrong orderVersion 4.2.0
app.del()
-- useapp.delete()
insteadres.json(obj, status)
-- useres.json(status, obj)
insteadres.json(status, num)
requiresres.status(status).json(num)
res.jsonp(obj, status)
-- useres.jsonp(status, obj)
insteadres.jsonp(status, num)
requiresres.status(status).jsonp(num)
req.next
when inside router instanceETag
header inHEAD
requestsContent-Type
forres.jsonp
app.purge
router.purge
app.all
enable()
methodVersion 3.6.0
app.del()
-- useapp.delete()
insteadres.json(obj, status)
-- useres.json(status, obj)
insteadres.json(status, num)
requiresres.status(status).json(num)
res.jsonp(obj, status)
-- useres.jsonp(status, obj)
insteadres.jsonp(status, num)
requiresres.status(status).jsonp(num)
app.purge
router.purge
app.all
res.appendHeader
res.headerSent
to return Booleanres.headersSent
for node.js 0.8enable()
methodVersion 4.1.2
req.host
for IPv6 literalsres.jsonp
error if callback param is objectVersion 3.5.3
req.host
for IPv6 literalsres.jsonp
error if callback param is object