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-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
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.