Skip to content

Commit 9fa5a99

Browse files
committed
Document breaking change to config get command output
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.
1 parent c1e1d05 commit 9fa5a99

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/UPGRADING.md

+9
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,15 @@ breaking changes as needed.
530530
{ "sketch_path": "/tmp/my_sketch" }
531531
```
532532

533+
### `config dump` no longer returns default configuration values
534+
535+
Previously, the `config dump` CLI command returned the effective configuration, including both the values explicitly set
536+
via the configuration file and environment variables as well as the values provided by defaults.
537+
538+
It now only returns the explicitly set configuration data.
539+
540+
Use `config get <configuration key>` to get the effective value of the configuration
541+
533542
### The gRPC response `cc.arduino.cli.commands.v1.CompileResponse` has been changed.
534543

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

0 commit comments

Comments
 (0)