Releases: reubenmiller/go-c8y
v0.16.0
What's Changed
- test: enable test which deletes an event by @reubenmiller in #38
- fix: fix various typos in comments and public api by @reubenmiller in #39
- feat! Add deprecation notices to measurement API by @reubenmiller in #40
- feat(applications): add support for roles property by @reubenmiller in #42
- feat: support ui extension management by @reubenmiller in #43
- feat(pagination): support currentPage property by @reubenmiller in #44
- feat(uiExtension): extend UI manifest file properties by @reubenmiller in #45
- fix(ui-extensions): use the new version response when returning by @reubenmiller in #46
- feat(ui-extensions): support creating extension from a reader interface by @reubenmiller in #47
- feat: support validating outgoing requests before they are sent by @reubenmiller in #49
- optimize handling of validator funcs to avoid unnecessary calls and only return single error if possible by @reubenmiller in #50
- fix(child-additions): return child addition error if not nil by @reubenmiller in #51
- feat: stream mutlipart form-data uploads to avoid loading large files into memory by @reubenmiller in #52
- feat(applications): add applicationVersions property to Application struct by @reubenmiller in #53
- feat(applications): support filtering application by availability by @reubenmiller in #54
- feat(dryRun): add option to execute prepare request even on dry run by @reubenmiller in #55
- fix(applicationVersions): activate binary when creating new plugin and assign latest tag by @reubenmiller in #56
- fix(tenant): fix empty array sent by the tenant all summary response due to an unmarshaling bug by @reubenmiller in #57
- feat: remote access (local proxy) client by @reubenmiller in #58
- chore: update dependencies by @reubenmiller in #59
Full Changelog: v0.14.13...v0.16.0
v0.14.13
What's Changed
- chore: project maintenance - docs and tasks by @reubenmiller in #17
- docs: add change log entry for 0.14.0 by @reubenmiller in #18
- feat: allow users to override the response body by @reubenmiller in #19
- feat: record overall request duration (approximate) by @reubenmiller in #20
- feat: add helper to get current tenant version by @reubenmiller in #21
- fix: remove duplicated tenant version code by @reubenmiller in #22
- feat: improve notification2 logging by @reubenmiller in #23
- feat(notification2): include token claim that it is shared or not by @reubenmiller in #24
- feat: support reading hostname, username and tenant from the token by @reubenmiller in #25
- fix(client): Support context when getting tenant name by @reubenmiller in #26
- feat(context): add WithDisabledDryRunContext helper by @reubenmiller in #27
- fix(response): don't treat http 202 status code as an error by @reubenmiller in #28
- feat: add support for futher application filter options by @reubenmiller in #30
- fix: ensure relative paths before resolving by @reubenmiller in #32
- fix: support using fixed url path prefixes for websocket communication by @reubenmiller in #33
- test: use random username and password for test user by @reubenmiller in #36
- ci: update workflow actions by @reubenmiller in #35
- chore: update dependencies by @reubenmiller in #34
- docs: update ci batch to use test status from main branch only by @reubenmiller in #37
Full Changelog: v0.14.0...v0.14.13
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
Project Cleanup and github actions
- Removed all project files related to go-c8y-cli
- 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
Fixes issue #2
Issue#2 (#3) * [realtime] Fixing bug with the realtime Unsubscribe which leads to duplicate subscriptions * [realtime] Fixes [#2] by adding correct handling of the /meta/connect responses to the server so the connection does not timeout after 2 hours * [realtime] Refactoring realtime client to be more synchronous when sending meta commands to the server * [alarms] Adding corner case when Bulk Alarm Updates aren't processed immediately by the server * [deviceCredential] Fixing bug where the polling would not stop when the timeout timer triggers
v0.5.0: Feat builders (#1)
* Converting c8y_test to a module * Added parsing of RFC3339Nano during UnmarshalJSON * Added eventBuilder struct * Added alarmBuilder struct (wip) * Build all branches by default * Adding paths to local packages * Removed invalid package entry * Removed nested go.mod files in place of one root go.mod file * Refactoring even and alarm builders * Renamed CustomOperation struct to OperationBuilder and added tests * Removed websocket log messages