Files
influx-cli/CHANGELOG.md
2021-11-10 09:35:35 -05:00

5.2 KiB

v2.2.1 [2021-11-09]

Bug Fixes

  1. 316: Return a better error message on unknown subcommands. Thanks @slai!
  2. 318: Fix accidental swap of userID and orgID in org members remove API calls. Thanks @geek981108!

v2.2.0 [2021-10-21]

Features

  1. 259: Add -b shorthand for --bucket to delete
  2. 285: Add short-hand --all-access and --operator options to auth create.
  3. 307: Handle pagination in bucket list to support displaying more than 20 buckets.

Bug Fixes

  1. 297: Detect and warn when restore --full changes the operator token.
  2. 302: Set newly-created config as active in setup.
  3. 305: Embed timezone data into Windows builds to avoid errors.

v2.1.1 [2021-09-22]

Go Version

This release upgrades the project to go version 1.17.

Bug Fixes

  1. 221: Fix shell completion for top-level influx commands.
  2. 228: Make global --http-debug flag visible in help text.
  3. 232: Don't set empty strings for IDs in permission resources.
  4. 236: Detect and error out on incorrect positional args.
  5. 255: Respect value of --host flag when writing CLI configs in setup.
  6. 272: Reduce overuse of "token" in help text.

v2.1.0 [2021-07-29]

New Repository

This is the initial release of the influx CLI from the influxdata/influx-cli GitHub repository.

Breaking Changes

influx write skip-header parsing

The write command no longer supports --skipHeader as short-hand for --skipHeader 1. This change was made to simplify our CLI parser.

The apply, export, and stacks commands now raise errors when CLI options fail to parse instead of silently discarding bad inputs. This change was made to help users debug when their commands fail to execute as expected.

Server-side template summarization & validation

The template and template validate commands now use an API request to the server to perform their logic, instead of performing the work on the client-side. Offline summarization & validation is no longer supported. This change was made to avoid significant code duplication between influxdb and influx-cli, and to allow server- side template logic to evolve without requiring coordinated CLI changes.

influx stacks --json output conventions

The output of influx stacks --json previously used an UpperCamelCase naming convention for most, but not all, keys. The command now uses lowerCamelCase consistently for all objects keys, matching the schema returned by the API.

Features

  1. 33: Add global --http-debug flag to help inspect communication with InfluxDB servers.
  2. 52: Add bucket-schema commands to manage explicit measurement schemas in InfluxDB Cloud.
  3. 52: Update bucket create to allow setting a schema type.
  4. 52: Update bucket list to display schema types.
  5. 116: Reimplement backup to support downloading embedded SQL store from InfluxDB v2.1.x.
  6. 116: Add --compression flag to backup to support enabling/disabling GZIP compression of downloaded files.
  7. 121: Reimplement restore to support uploading embedded SQL store from InfluxDB v2.1.x.
  8. 191: Add --password flag to user password command to allow bypassing interactive prompt.
  9. 208: Bind --skip-verify flag to INFLUX_SKIP_VERIFY environment variable.

Bug Fixes

  1. 35: Fix interactive password collection & color rendering in PowerShell.
  2. 97: org members list no longer hangs on organizations with more than 10 members.
  3. 109: Detect & warn when inputs to write contain standalone CR characters.
  4. 122: dashboards command now accepts --org flag, or falls back to default org in config.
  5. 140: Return a consistent error when responses fail to decode, with hints for OSS- our Cloud-only commands.