Releases: reubenmiller/go-c8y-cli
Cumulocity CLI 2.30.1
What's Changed
Fixes
- fix(extensions): Only read file from fileContentsAsString type if provided by user and not empty by @reubenmiller in #247
- fix(extensions): update json schema url reference to use the official schema after release by @reubenmiller in #248
Full Changelog: v2.30.0...v2.30.1
Cumulocity CLI 2.30.0
Changelog
Note
For more details/examples on the features click on the PR links.
The version number has been bumped from v2.22.x to v2.30.0 to represent a significant milestone to support extensions. The bump in version is just used to make it easier to identify from which version extensions are supported. It does not include any breaking changes.
New Features
Extensions
Extensions allow you to customize go-c8y-cli to optimize you and your team's workflows. You can customize how your data is displayed and provide custom commands to simplify repetitive tasks.
Extensions utilize existing go-c8y-cli features and packages them so they are easy to install and share. This makes it easy for a team to collaborate to add new commands for custom microservices, or just add custom columns to the device view so you can display new custom managed object fragments by default.
By default extensions are accessible across all sessions. Though for scenarios where you would like to limit an extension to a single session or a group of sessions you can change the folder where the extensions are stored based on customer or some other task orientated grouping.
Checkout the documentation for the full details.
Fixes
- Support new quote handling introduced in PowerShell 7.3
Full Changelog: v2.22.5...v2.30.0
Cumulocity CLI 2.22.5
Changelog
Note
For more details/examples on the features click on the PR links
Fixes
- improve/fix filter query parsing logic to avoid invalid operator detecting (#246)
Docs
- add configuration update example how to updates binaries using internal url
Full Changelog: v2.22.4...v2.22.5
Cumulocity CLI 2.22.4
Changelog
Note
For more details/examples on the features click on the PR links
Fixes
- Add more create measurement examples by @reubenmiller in #242
- Reduce ping interval used in notification2 client subscription by @reubenmiller in #243
Special thanks to @ButKur for finding the bugs.
Full Changelog: v2.22.3...v2.22.4
Cumulocity CLI 2.22.3
Changelog
Note
For more details/examples on the features click on the PR links
Fixes
c8y api
url parsing bug which resulted in a panic (#240)c8y template execute
don't include piped input in template by default (#241)
Special thanks to @ButKur for finding the bugs.
Full Changelog: v2.22.2...v2.22.3
Cumulocity CLI 2.22.2
Changelog
Note
For more details/examples on the features click on the PR links
Fixes
- Performance improvement by caching expensive config actions (#239)
Full Changelog: v2.22.1...v2.22.2
Cumulocity CLI 2.22.1
Changelog
Note
For more details/examples on the features click on the PR links
Fixes
c8y datahub query
Remove the confirmation prompt so the command behaves more like aGET
command (although it usesPOST
) (#238)
Full Changelog: v2.21.0...v2.22.0
Cumulocity CLI 2.22.0
Changelog
Note
For more details/examples on the features click on the PR links
Features
Added public api for DataHub commands (#235)
c8y datahub query
- High Performance API
$ c8y datahub query --sql "SELECT * FROM myTenantIdDataLake.Dremio.myTenantId.alarms"
Get a list of alarms from datahub
$ c8y datahub query --sql "SELECT * FROM myTenantIdDataLake.Dremio.myTenantId.alarms" --limit 2000
Get a list of alarms from datahub with custom limit
$ c8y datahub query --sql "SELECT * FROM myTenantIdDataLake.Dremio.myTenantId.alarms" --format PANDAS --raw
Get a list of alarms from datahub using the PANDAS format (note the raw format is necessary here)
c8y datahub jobs
- Standard DataHub API
c8y datahub jobs
Cumulocity IoT Data Hub api
Usage:
c8y datahub jobs [command]
Available Commands:
cancel Cancel a query job given the ID of the Dremio job executing the query
create Submit a SQL query and retrieve the ID of the Dremio job executing this query
get Retrieve the status of a query job
listResults Retrieve the query results given the ID of the Dremio job that has executed the query
Fixes
c8y sessions set
/set-session
ignore .git directories when looking for session files (#236)c8y sessions set
/set-session
clear existing token when using BASIC loginType (#237)
Build
- strip path information from build (#232)
- use github token to avoid api rate limiting during build
- upgrade to golang 1.20 (#231)
Full Changelog: v2.21.0...v2.22.0
Cumulocity CLI 2.21.0
Changelog
Note
For more details/examples on the features click on the PR links
Features
c8y api
support common query parameters (pageSize, currentPage, withTotalPages, withTotalElements) for GET requests (#223)c8y tenantoptions create|update
Template support for create and update commands (#224)
Fixes
c8y sessions create
sanitize session file names (#212)create external id
Use external id accept header value instead of application/json (#230)
Docs
- docs: use 'external identity' terminology to align with c8y docs (#227)
Chore
Full Changelog: v2.20.2...v2.21.0
Cumulocity CLI 2.20.2
Changelog
Note
For more details/examples on the features click on the PR links
Fixes
Full Changelog: v2.20.1...v2.20.2