Changelog
9.0.0 (2022-11-15)
next()
RequestCaptureStream
and replaces Bunyan
with Pino
RequestCloseError
instead of RequestAbortedError
add support for secureOptions in createServer (#1575) (656e60e)
Allow multiple unmerged set-cookie headers. (#1570) (df04015)
don't create empty clientError listener for http.Server (#1895) (ddc1042)
emit after event with proper error param for node versions >= 11.4.0 (#1732) (7a1378b)
examples/todoapp/package.json to reduce vulnerabilities (#1832) (d9b27c6)
format falsy constants properly in json formatter (#1792) (3002182)
properly handle non-errors thrown in domains (#1757) (cb2e717)
proxy events into instance var and add test script (#1661) (de72f49)
remove invalid triggering of uncaughtException handler (#1710) (ee69806)
Return 444 status code for closed and aborted requests (#1579) (644c198)
use close event on response instead of socket (#1892) (5c7eb95)
use more reliable close event (36318ae)
cpuUsageThrottle: Always queue a new timeout (#1484) (e4ffe43)
cpuUsageThrottle: Correctly named handler for debugInfo (#1499) (78b0900)
cpuUsageThrottle: dont include interval in lag (#1504) (eecb2d2)
cpuUsageThrottle: support breaking change in pidusage module (7460064)
dev: pin to exact versions of linting tools and fix lint errors (3740a6b)
dev: remove nsp since the project merged with npm (1dc34b4)
dev: upgrading modules including restify-errors (#1755) (3b71229)
inflightRequestThrottle: properly handle next (#1471) (4db404f)
jsonBodyParser: fix percent sign causing server fail (#1411) (bde8fda)
package-lock.json: remove artifacts.netflix.com repo (#1526) (3d2f0f7)
plugins: use process.hrtime() for duration calculation (#1507) (e8efd6c)
request: date() and time() methods return value (#1576) (4c2cb1a)
server: address domain performance regression with Node v12.x (#1809) (e648d49)
server: address req and res close event changes in Node v10.x (#1672) (6be3fb7)
server: avoid http2 experimental warning without http2 option (#1555) (12da7fd)
server: avoiding uncaughtException in _routeErrorResponse by only sending response when not sent (#1568) (cf65c65)
server: fix uncaught exceptions triggering route lookups (#1717) (e49cb3b)
652 - Incorrect error on route with no versions (#1465) (ee15490)
documentation update for restifyError event example (#1398) (94fe715)
emit restifyError event even for router errors (#1420) (f9d02d5)
redirect should work even when hostname or protocol is not specified in req.url (#1497) (e696a1f)
server: error in pre handler triggers after event (#1500) (c2e6dea)
static: avoid user-provided data in Error messages being interpreted as sprintf codes (#1384) (#1472) (9906344)
audit timers of same name should accumulate (#1435) (#1443) (a2d34aa)
GH-1438, error reponse customization documentation incorrect (#1439) (dd66088)
monkey patch getHeaders for pre-v7 Node.js (GH-1409) (82088a7)
package.json version now matches npm (9944dbd)
respect when status code is set with res.status (GH-1429) (#1440) (5abc067)
test static plugin's handling of sprintf escape sequences (#1391) (5d7039a)
update chai (^3.4.1 to ^4.0.0) (f982d0c)
use Buffer.isBuffer
instead of util.isBuffer
. (#1593) (35bd1c2)
versioned route matching should not throw TypeError (#1381) (25d10f0)
audit: use public APIs for accessing response headers (5169db7), closes /nodejs.org/api/deprecations.html#deprecations_dep0066
Prefer Pino logger over Bunyan (#1841) (2f5bf87), closes #1841
Changelog
9.0.0 (2022-11-15)
next()
RequestCaptureStream
and replaces Bunyan
with Pino
RequestCloseError
instead of RequestAbortedError
add support for secureOptions in createServer (#1575) (656e60e)
Allow multiple unmerged set-cookie headers. (#1570) (df04015)
don't create empty clientError listener for http.Server (#1895) (ddc1042)
emit after event with proper error param for node versions >= 11.4.0 (#1732) (7a1378b)
examples/todoapp/package.json to reduce vulnerabilities (#1832) (d9b27c6)
format falsy constants properly in json formatter (#1792) (3002182)
properly handle non-errors thrown in domains (#1757) (cb2e717)
proxy events into instance var and add test script (#1661) (de72f49)
remove invalid triggering of uncaughtException handler (#1710) (ee69806)
Return 444 status code for closed and aborted requests (#1579) (644c198)
use close event on response instead of socket (#1892) (5c7eb95)
use more reliable close event (36318ae)
cpuUsageThrottle: Always queue a new timeout (#1484) (e4ffe43)
cpuUsageThrottle: Correctly named handler for debugInfo (#1499) (78b0900)
cpuUsageThrottle: dont include interval in lag (#1504) (eecb2d2)
cpuUsageThrottle: support breaking change in pidusage module (7460064)
dev: pin to exact versions of linting tools and fix lint errors (3740a6b)
dev: remove nsp since the project merged with npm (1dc34b4)
dev: upgrading modules including restify-errors (#1755) (3b71229)
inflightRequestThrottle: properly handle next (#1471) (4db404f)
jsonBodyParser: fix percent sign causing server fail (#1411) (bde8fda)
package-lock.json: remove artifacts.netflix.com repo (#1526) (3d2f0f7)
plugins: use process.hrtime() for duration calculation (#1507) (e8efd6c)
request: date() and time() methods return value (#1576) (4c2cb1a)
server: address domain performance regression with Node v12.x (#1809) (e648d49)
server: address req and res close event changes in Node v10.x (#1672) (6be3fb7)
server: avoid http2 experimental warning without http2 option (#1555) (12da7fd)
server: avoiding uncaughtException in _routeErrorResponse by only sending response when not sent (#1568) (cf65c65)
server: fix uncaught exceptions triggering route lookups (#1717) (e49cb3b)
652 - Incorrect error on route with no versions (#1465) (ee15490)
documentation update for restifyError event example (#1398) (94fe715)
emit restifyError event even for router errors (#1420) (f9d02d5)
redirect should work even when hostname or protocol is not specified in req.url (#1497) (e696a1f)
server: error in pre handler triggers after event (#1500) (c2e6dea)
static: avoid user-provided data in Error messages being interpreted as sprintf codes (#1384) (#1472) (9906344)
audit timers of same name should accumulate (#1435) (#1443) (a2d34aa)
GH-1438, error reponse customization documentation incorrect (#1439) (dd66088)
monkey patch getHeaders for pre-v7 Node.js (GH-1409) (82088a7)
package.json version now matches npm (9944dbd)
respect when status code is set with res.status (GH-1429) (#1440) (5abc067)
test static plugin's handling of sprintf escape sequences (#1391) (5d7039a)
update chai (^3.4.1 to ^4.0.0) (f982d0c)
use Buffer.isBuffer
instead of util.isBuffer
. (#1593) (35bd1c2)
versioned route matching should not throw TypeError (#1381) (25d10f0)
audit: use public APIs for accessing response headers (5169db7), closes /nodejs.org/api/deprecations.html#deprecations_dep0066
Prefer Pino logger over Bunyan (#1841) (2f5bf87), closes #1841