Clients Versions Save

HttpClient, StringClient, and JsonClient extracted from restify

v4.1.1

1 year ago

Bug Fixes

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

v4.1.0

1 year ago

Features

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

v4.0.0

3 years ago

⚠ 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

3 years ago

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

v1.1.2

8 years ago

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.