Restify v7.0.0 Release Notes
Release Date: 2018-03-20 // about 6 years ago-
๐ Features
- server: new router and middleware system (#1561) ([1161370b](git://github.com/restify/node-restify.git/commit/1161370b))
๐ฅ Breaking Changes
*
- ๐ Server returns
RequestCloseError
instead ofRequestAbortedError
- Non-strict routing is gone
- Different
RegExp
usage in router path and wildcards - โ Remove already deprecated
next.ifError
- 0๏ธโฃ 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](git://github.com/restify/node-restify.git/commit/1161370b))- โฌ๏ธ dropping support below Node.js 4 ([0698f45c](git://github.com/restify/node-restify.git/commit/0698f45c))