Skip to content

Releases: restify/clients

restify-clients v4.1.1

20 Sep 17:59
a29fe44
Compare
Choose a tag to compare

Bug Fixes

  • add event handler for res close event (#239) (8b883a6)

restify-clients v4.1.0

27 Jun 22:06
Compare
Choose a tag to compare

Features

  • drop engine field on package.json (9d72b11)

restify-clients v4.0.0

04 Sep 20:44
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • add support for Node.js v14

Features

  • add support for Node.js v14 (79d13c4)

Bug Fixes

  • ci: fix syntax errors on commitlint (9b7c69f)

v3.0.0

01 Jul 22:53
766e2a8
Compare
Choose a tag to compare

Breaking Changes:

  • Changed behavior of restify-clients when receiving a headers object with User-Agent set:

    • Old behavior: restify-clients would always override the User-Agent header (either with restify/... UA or with UA given via . To preserve the User-Agent header, opts.userAgent needed to be set to false.
    • New behavior: restify-clients will preserve User-Agent unless another userAgent is explicitly given via opts.userAgent. To use the restify/... User-Anget, headers should not contain a User-Agent header.
  • Dropped support for EOL Node.js versions v6.x and v8.x

Audit Logging

08 Jan 18:53
Compare
Choose a tag to compare

Audit logging has been added for clients.

You can now enable audit logging for client requests. If you pass audit: true to any client as part of the configuration, you will get an audit report logged to Bunyan after the request completes.

Thank you to @marcellodesales for his hard work.