Skip to content

v3.0.0

Compare
Choose a tag to compare
@mmarchini mmarchini released this 01 Jul 22:53
· 17 commits to master since this release
766e2a8

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