Skip to content

Cumulocity CLI 2.43.0

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Jun 12:12
· 61 commits to v2 since this release
c904752

What's Changed

This is mostly a bug-fix release, however there were some aspects related to the bug fixes which warranted bumping the minor version (to align with semver).

Features

independent session banner setting #396

By default the set-session will print the session information without obfuscation (don't worry it does not print the password or token!).

In v2.40.0, the default "logger.hideSensitive" value was changed which caused the session banner to also be obfuscated (which was intended), but this proved to be problematic as the user would not be able to see which session was selected.

The session banner printed after selecting a session via set-session can still be hidden if required using the following (see PR for further options on controlling this value permanently):

# Hide the session banner
set-session --no-banner

ignore basic auth header if empty #397

Small feature which allows go-c8y-cli to be used directly on a thin-edge.io device by using the c8y proxy (provided by thin-edge.io). The basic auth header is only added if both the username and password are set.

For example, if you want to use the local c8y proxy provided by thin-edge.io, then you can now run:

export C8Y_HOST=http://localhost:8001/c8y
c8y software list

Fixes

  • sessions: check if expiration date is nil before logging by @reubenmiller in #393
  • sessions: fix handling of encrypted sessions by @reubenmiller in #395
  • set-session: preserve encryption env variables and any C8Y_SETTINGS variables by @reubenmiller in #399

Full Changelog: v2.42.1...v2.43.0