Skip to content

Releases: reubenmiller/go-c8y-cli

Cumulocity CLI 2.46.0

11 Dec 20:46
58f41f9
Compare
Choose a tag to compare

What's Changed

  • feat(global flag): allow duplicate keys when using --customQueryParam global flag by @reubenmiller in #418

    Example

    The myValue query parameter is provided twice:

    c8y api /example --customQueryParam "myValue=2" --customQueryParam "myValue=3" --customQueryParam other=value --dry
    

    Which will result in a request which includes two myValue query parameters with two different values.

    ### GET /example?myValue=2&myValue=3&other=value
    

Full Changelog: v2.45.0...v2.46.0

Cumulocity CLI 2.45.0

01 Dec 11:47
6da3dab
Compare
Choose a tag to compare

What's Changed

  • docs: rework shell installation page by @reubenmiller in #415
  • feat(software install): add softwareType field by looking up the software by @reubenmiller in #416
  • fix(users update): remove example that no longer works due to security changes in Cumulocity by @reubenmiller in #417

Full Changelog: v2.44.2...v2.45.0

Cumulocity CLI 2.44.2

24 Oct 06:54
9c6da5e
Compare
Choose a tag to compare

What's Changed

  • fix(powershell): set-c8ymode was calling non existent source function by @reubenmiller in #411
  • docs(sessions): fix various powershell command errors by @reubenmiller in #412

Full Changelog: v2.44.1...v2.44.2

Cumulocity CLI 2.44.1

23 Oct 07:20
7871151
Compare
Choose a tag to compare

What's Changed

  • fix(ui plugins create): only include plugins owned by current tenant during named lookup by @reubenmiller in #410

Full Changelog: v2.44.0...v2.44.1

Cumulocity CLI 2.44.0

14 Oct 20:05
ee16ff7
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.43.3...v2.44.0

Cumulocity CLI 2.43.3

10 Oct 06:36
df99bdc
Compare
Choose a tag to compare

What's Changed

  • fix(tenantoptions): allow setting tenant option with an explicit empty value by @reubenmiller in #408

Full Changelog: v2.43.2...v2.43.3

Cumulocity CLI 2.43.2

02 Oct 14:16
200b418
Compare
Choose a tag to compare

What's Changed

  • fix: update go-c8y lib to fix notifications2 connect/reconnect and message parsing errors by @reubenmiller in #407

Full Changelog: v2.43.1...v2.43.2

Cumulocity CLI 2.43.1

20 Sep 10:48
ec8eda9
Compare
Choose a tag to compare

What's Changed

  • feat(software): add softwareType flag to software create/update/list commands by @reubenmiller in #400
  • feat(general): increase default timeout from 60s to 600s by @reubenmiller in #406
  • fix(c8y microservices create): stop execution on binary upload errors by @reubenmiller in #405
  • docs: remove the wording Unofficial as the product is mature now by @reubenmiller in #404

Full Changelog: v2.43.0...v2.43.1

Cumulocity CLI 2.43.0

18 Jun 12:12
c904752
Compare
Choose a tag to compare

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

Cumulocity CLI 2.42.1

10 Jun 16:54
e780324
Compare
Choose a tag to compare

What's Changed

Fixes

Addressing bugs introduced in v2.42.0 related to set-session (and underlying calls to c8y sessions set).

  • fix(set-session): only write json output if user provides --output json by @reubenmiller in #390
  • fix(session): fix handling of non-file based sessions by @reubenmiller in #391

Full Changelog: v2.42.0...v2.42.1