Skip to content

Commit

Permalink
Document breaking change to config get command output
Browse files Browse the repository at this point in the history
Previously, the `config dump` CLI command returned the effective configuration, including both the values explicitly set
via the configuration file and environment variables as well as the values provided by defaults.

It was changed to only return the explicitly set configuration data. The breaking change was not documented at that time.
  • Loading branch information
per1234 committed Jul 29, 2024
1 parent c1e1d05 commit 9fa5a99
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,15 @@ breaking changes as needed.
{ "sketch_path": "/tmp/my_sketch" }
```

### `config dump` no longer returns default configuration values

Previously, the `config dump` CLI command returned the effective configuration, including both the values explicitly set
via the configuration file and environment variables as well as the values provided by defaults.

It now only returns the explicitly set configuration data.

Use `config get <configuration key>` to get the effective value of the configuration

### The gRPC response `cc.arduino.cli.commands.v1.CompileResponse` has been changed.

The `CompilerResponse` message has been refactored to made explicit which fields are intended for streaming the build
Expand Down

0 comments on commit 9fa5a99

Please sign in to comment.