Releases: restify/clients
Releases · restify/clients
restify-clients v4.1.1
restify-clients v4.1.0
Features
- drop engine field on package.json (9d72b11)
restify-clients v4.0.0
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
Audit Logging
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.