v3.0.0
Breaking Changes:
-
Changed behavior of
restify-clients
when receiving a headers object withUser-Agent
set:- Old behavior:
restify-clients
would always override theUser-Agent
header (either withrestify/...
UA or with UA given via . To preserve theUser-Agent
header,opts.userAgent
needed to be set tofalse
. - New behavior:
restify-clients
will preserveUser-Agent
unless another userAgent is explicitly given viaopts.userAgent
. To use therestify/...
User-Anget
, headers should not contain aUser-Agent
header.
- Old behavior:
-
Dropped support for EOL Node.js versions v6.x and v8.x