Skip to content

Releases: restify/node-restify

v11.2.0

27 Jan 20:10
Compare
Choose a tag to compare

11.2.0 (2023-08-11)

Features

  • allow alternate name for request id in logs (cbd16ef)
  • support Node.js 20 (9f1d249)

Bug Fixes

  • tests broke due to find-my-way update (f8beaae)

v9.1.0

13 Jun 19:14
Compare
Choose a tag to compare

9.1.0 (2023-06-13)

Features

  • emit warning for req.closed only once (86cab8c)

v11.1.0

24 Feb 23:46
Compare
Choose a tag to compare

11.1.0 (2023-02-24)

Features

  • allow custom alternatives to domains (54adfcb)

v11.0.0

17 Jan 20:09
Compare
Choose a tag to compare

11.0.0 (2023-01-17)

⚠ BREAKING CHANGES

  • don't override req.log if set during .first
  • use req.log on audit plugin

Features

  • don't override req.log if set during .first (852d2c1)
  • use req.log on audit plugin (528ecbc)

v10.0.0

29 Nov 00:28
Compare
Choose a tag to compare

10.0.0 (2022-11-29)

⚠ BREAKING CHANGES

  • support v18.x

Features

  • bump dtrace-provider version to avoid MacOS errors (fa52f60)
  • support v18.x (5795223)

v9.0.0

15 Nov 20:02
Compare
Choose a tag to compare

9.0.0 (2022-11-15)

⚠ BREAKING CHANGES

  • remove deprecated usage of pino.child (#1902)
  • deprecates and removes re-routing when passing a string parameter to next()
  • removes RequestCaptureStream and replaces Bunyan with Pino
  • adds async/await support to pre, use and handler chains
  • drops suppoprt to node 8 and updates linting rules
  • server: - Server returns RequestCloseError instead of RequestAbortedError
  • travisci: dropping support below Node.js 4

Features

  • async/await support (12be9e2)
  • deprecate req.closed (d052b7c)
  • provide callback to uncaughtException handler (#1766) (5e8b5e2)
  • remove re-routing from handler (#1847) (9153587)
  • send 500s for unhandled requests (#1777) (885cecd)
  • audit: Add the ability to specify a custom audit log serializer (for err, req and res) (#1746) (6231acd)
  • chain: schedule handlers to the next tick (#1798) (806ed71)
  • chain: use nextTick instead of setImmediate (#1808) (703470a)
  • deps: replace cover/istanbul with nyc (#1823) (361f83e)
  • first: Handlers that execute ASAP in the req/res lifecycle (#1756) (8178098)
  • http2: add native HTTP/2 support (#1489) (6b20285)
  • plugin: plugin to serve static files (#1753) (a67b25f)
  • Ability to find a route by a path (711a489)
  • add router.render() back to support hypermedia usecase (#1752) (0700cfd), closes #1684
  • helpers: add compose feature (#1660) (eb60ef4)
  • plugins: context, req.get() returns the whole context (#1739) (6e35e01)
  • plugins: do not include user-input in UnsupportedMediaTypeError message (VError fails), move it to info (#1733) (06c220d)
  • req: add restifyDone event (#1740) (4900d6b)
  • add support for non-strict formatters (#1721) (de1833a)
  • jsonBodyParser handles extended content types *+json (#1663) (4537514)
  • router: add ignoreTrailingSlash router option (#1632) (92ffbf5)
  • server: new router and middleware system (#1561) (8283277)
  • cpuUsageThrottle (#1460) (84be679)
  • throttle plugin: expose rate limit metrics as headers (#1453) (1627a55)
  • create inflightRequestThrottle plugin (#1431) (285faf4)
  • revert async formatters (#1377) (a2e300f)

Bug Fixes

  • add support for secureOptions in createServer (#1575) (656e60e)
  • Allow multiple unmerged set-cookie headers. (#1570) (df04015)
  • Correct typo in assertion message (#1904) (195cf13)
  • documentation typo fix (#1688) (0fa7132)
  • 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)
  • make arity error message actionable (#1901) (97b6f93)
  • more flaky metrics.test.js fixes (#1730) (71aac42)
  • properly handle non-errors thrown in domains (#1757) (cb2e717)
  • proxy events into instance var and add test script (#1661) (de72f49)
  • Re-add support for clientError listeners (#1897) (05f12a6)
  • remove invalid triggering of uncaughtException handler (#1710) (ee69806)
  • Return 444 status code for closed and aborted requests (#1579) (644c198)
  • send numbers or bools as payloads (#1609) (0919f26)
  • server should fire not acceptable event (#1627) (8b11b71)
  • use close event on response instead of socket ([#1892](https...
Read more

8.6.1 (2022-02-10)

10 Feb 23:28
Compare
Choose a tag to compare

8.6.1 (2022-02-10)

Bug Fixes

  • use close event on response instead of socket (91a42d4)

8.6.0 (2021-09-28)

29 Sep 06:25
Compare
Choose a tag to compare

8.6.0 (2021-09-28)

Bug Fixes

  • use more reliable close event (e183e5d)
  • examples/todoapp/package.json to reduce vulnerabilities (#1832) (d9b27c6)
  • npm: exclude extraneous files (#1818) (e8516c3)

Features

v8.5.1

10 Jul 06:18
Compare
Choose a tag to compare

Bug Fixes

  • benchmark: force latest restify version (#1810) (b8ec60e)
  • server: address domain performance regression with Node v12.x (#1809) (e648d49)

Restify 4.0.3

18 Sep 22:51
Compare
Choose a tag to compare

This release is a quick fix for people that are getting a different error code when on Node 4 when the Content Length is too long for the Body Parser.

You only need to upgrade if you are running iojs 3.0+ or Node 4+.

Changelog:
#917 Fix: HTTP 413 status name, Micah Ransdell