v0.14.0
What's Changed
This release is a cleanup of the project which merges a long standing parallel branch. The parallel branch included a lot of changes which were used by the go-c8y-cli project. And like any long lasting branches, it was hard to list all of the changes that were done since the last official release. Moving forward all releases will go through a more formal release process.
-
Dry option improvements
- Removed unnecessary indentation when displaying body in prettified json
- Added dry output of form data information for PUT and POST requests
- Dry run now displays
Body: (empty)
for PUT and POST requests when the input body is set tonil
-
Added support for non-json type bodies
-
Write log output
Body: (empty)
in the dry run if the request method is not PUT, PATCH or POST even if a body is provided -
Prevent nil panic by checking for an error when creating a new request
-
Hide OAuth2 authorization cookie value and Xsrf Token when hide sensitive information is enabled
-
Hide Host path when hide sensitive information is enabled
-
Removed
EnforceStrength
in login options as it has changed from string to bool which was causing a parsing error. -
Added common request options (only supports DryRun for now)
-
Added DryRunResponse option to return a fake response containing the Request that would have been sent
-
Added
UnsilenceLogger
to re-enable logger output after usingSilenceLogger
-
Removed newline endings in log messages
-
Fixed invalid options for
GetNewDeviceRequests
-
Added additional properties (owner, tenantId, creationTime) to
NewDeviceRequest
-
Added support for using bearer authorization
-
Fixed bug when hiding tokens when it is empty
-
fixing comment by @ricardnacher in #9
New Contributors
- @ricardnacher made their first contribution in #9
Full Changelog: v0.8.0...v0.14.0