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 with 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
- Migrated to using github actions to run integration tests
- Added integration tests against a real tenant
- Fixed linting
- Fixed bug when uploading microservice binary where the
GET
method was being used instead ofPOST
- Added VS Code dev container to make it easier to contribute to project