Skip to content

Releases: reubenmiller/go-c8y-cli

Cumulocity CLI 2.30.1

23 May 09:50
74f78a8
Compare
Choose a tag to compare

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

21 May 13:43
9c906df
Compare
Choose a tag to compare

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

15 May 12:00
1b9ca00
Compare
Choose a tag to compare

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

20 Apr 21:30
Compare
Choose a tag to compare

Changelog

Note

For more details/examples on the features click on the PR links

Fixes

Special thanks to @ButKur for finding the bugs.

Full Changelog: v2.22.3...v2.22.4

Cumulocity CLI 2.22.3

27 Mar 19:04
2c0f2aa
Compare
Choose a tag to compare

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

26 Mar 18:02
01cdc53
Compare
Choose a tag to compare

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

21 Mar 22:46
1dc5b9b
Compare
Choose a tag to compare

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 a GET command (although it uses POST) (#238)

Full Changelog: v2.21.0...v2.22.0

Cumulocity CLI 2.22.0

21 Mar 20:23
Compare
Choose a tag to compare

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

05 Mar 20:59
Compare
Choose a tag to compare

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

  • bump golang dependencies (#225)
  • bump doc dependencies (#226)

Full Changelog: v2.20.2...v2.21.0

Cumulocity CLI 2.20.2

17 Jan 20:57
a704338
Compare
Choose a tag to compare

Changelog

Note

For more details/examples on the features click on the PR links

Fixes

  • c8y tenants get|delete Use --id flag value over pipeline value (#210, #209)

Full Changelog: v2.20.1...v2.20.2