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