- use more reliable close event (e183e5d8)
- examples/todoapp/package.json to reduce vulnerabilities (#1832) (d9b27c60)
- npm: exclude extraneous files (#1818) (e8516c37)
- send 500s for unhandled requests (#1777) (885cecd7)
- deps: replace cover/istanbul with nyc (#1823) (361f83e5)
- benchmark: force latest restify version (#1810) (b8ec60e3)
- server: address domain performance regression with Node v12.x (#1809) (e648d491)
- chain: use nextTick instead of setImmediate (#1808) (703470ad)
- chain: schedule handlers to the next tick (#1798) (806ed711)
- test: make upgrade test pass (#1772) (d30b7483)
- provide callback to uncaughtException handler (#1766) (5e8b5e2b)
- properly handle non-errors thrown in domains (#1757) (cb2e7177)
- cpuUsageThrottle: support breaking change in pidusage module (7460064f)
- first: Handlers that execute ASAP in the req/res lifecycle (#1756) (8178098d)
- Published NPM package had a bad dependency on
npm
causing new irrelevant packages to get installed
- dev: upgrading modules including restify-errors (#1755) (3b712298)
- add router.render() back to support hypermedia usecase (#1752) (0700cfd4, closes #1684)
- plugin: plugin to serve static files (#1753) (a67b25f4)
- Dropped Support for Node v4.x and Node v6.x
- dev:
- remove nsp since the project merged with npm (1dc34b48)
- pin to exact versions of linting tools and fix lint errors (3740a6b7)
- audit: Add the ability to specify a custom audit log serializer (for err, req and res) (6231acda)
- req: add restifyDone event (#1740) (4900d6bd)
- emit after event with proper error param for node versions >= 11.4.0 (#1732) (7a1378b0)
- plugins: context, req.get() returns the whole context (#1739) (6e35e01e)
- more flaky metrics.test.js fixes (#1730) (71aac428)
- plugins: do not include user-input in UnsupportedMediaTypeError message (VError fails), m (06c220d2)
- add support for non-strict formatters (#1721) (de1833a4)
- server: fix uncaught exceptions triggering route lookups (#1717) (e49cb3b2)
- documentation typo fix (#1688) (0fa71328)
- proxy events into instance var and add test script (#1661) (de72f49e)
- server: address req and res close event changes in Node v10.x (#1672) (6be3fb7c)
- jsonBodyParser handles extended content types *+json (#1663) (45375144)
- helpers: add compose feature (#1660) (eb60ef40)
- dtrace: route probes (#1659) (84bcded7)
- plugins: save req._matchedVersion (#1642) (69f917a3)
- router: add ignoreTrailingSlash router option (#1632) (92ffbf5c)
- server: new router and middleware system (#1561) (1161370b)
- Server returns
RequestCloseError
instead ofRequestAbortedError
- Non-strict routing is gone
- Different
RegExp
usage in router path and wildcards - Remove already deprecated
next.ifError
- Disable DTrace probes by default
- Change in calling
next
multiple times - Router versioning and content type as a separate plugin:
conditionalHandler
- After event fires when both request is flushed and the last handler is finished
- Metrics plugin latency logic changes and new latencies were added
For more info see the /guides/6to7guide.md
.
(1161370b)
- dropping support below Node.js 4 (0698f45c)
- server should fire not acceptable event (#1627) (8b11b71b)
- send numbers or bools as payloads (#1609) (0919f26d)
- Allow multiple unmerged set-cookie headers. (#1570) (df040154)
- add support for secureOptions in createServer (#1575) (656e60e0)
- use
Buffer.isBuffer
instead ofutil.isBuffer
. (#1593) (35bd1c2b) - jsonBodyParser: fix percent sign causing server fail (#1411) (bde8fda6)
- request: date() and time() methods return value (#1576) (4c2cb1a7)
- bodyReader: Fix memory leak (#1566) (756b3f02)
- server: avoiding uncaughtException in _routeErrorResponse by only sending response when (cf65c65c)
- server: avoid http2 experimental warning without http2 option (#1555) (12da7fdf)
- http2: add native HTTP/2 support (#1489) (6b202853)
- package-lock.json: remove artifacts.netflix.com repo (#1526) (3d2f0f7d)
- cpuUsageThrottle: dont include interval in lag (#1504) (eecb2d25)
- npm: remove unleash dependency (#1522) (a43aa60f)
- plugins: use process.hrtime() for duration calculation (#1507) (e8efd6cd)
- cpuUsageThrottle: dont include interval in lag (#1504) (eecb2d25)
- plugins: use process.hrtime() for duration calculation (#1507) (e8efd6cd)
- cpuUsageThrottle: dont include interval in lag (#1504) (eecb2d25)
- plugins: use process.hrtime() for duration calculation (#1507) (e8efd6cd)
- cpuUsageThrottle: Correctly named handler for debugInfo (#1499) (78b0900b)
- server: error in pre handler triggers after event (#1500) (c2e6deae)
- exclude package-lock.json (#1477) (011fdf0e)
- Update dependency mime to 1.4.0 (#1467) (6d38b38c)
- cpuUsageThrottle: Always queue a new timeout (#1484) (e4ffe430)
- inflightRequestThrottle: properly handle next (#1471) (4db404f9)
- static: avoid user-provided data in Error messages being interpreted as sprintf codes (# (99063447)
- cpuUsageThrottle (#1460) (84be6799)
- throttle plugin: expose rate limit metrics as headers (#1453) (1627a557)
- package.json version now matches npm (9944dbd5)
- create unit tests for sanitizePath plugin (#1352) (12714cfc)
- audit timers of same name should accumulate (#1435) (#1443) (a2d34aaa)
- respect when status code is set with res.status (GH-1429) (#1440) (5abc0677)
- versioned route matching should not throw TypeError (#1381) (25d10f00)
- monkey patch getHeaders for pre-v7 Node.js (GH-1409) (82088a71)
- add node 7-8 travis support (#1405) (536a4735)
- Add migration guid to website (#1402) (5f053c7e)
- update http-signature to v1.0.0 (#1401) (ec887376)
- documentation update for restifyError event example (#1398) (94fe7151)
- doc site (#1393) (76ee5480)
- test static plugin's handling of sprintf escape sequences (#1391) (5d7039a5)