Unverified Commit 275e386f authored by Michael Daniels's avatar Michael Daniels Committed by GitHub
Browse files

dasel: document v2 to v3 breaking changes (#481541)

parents d2bb0541 1825b8b4
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -204,6 +204,17 @@

- `docker-color-output` has been updated from major version 2 to 3. One breaking change is, that they switched to [YAML-based configuration files](https://github.com/devemio/docker-color-output?tab=readme-ov-file#configuration).

- `dasel` has been updated from v2.8.1 to v3. There were significant breaking changes:

  - The `put` and `delete` commands have been removed. Use the new query syntax with expressions to modify data in-place.
  - The `--version` flag is now a subcommand: `dasel version`
  - CLI framework migrated from Cobra to Kong, changing flag parsing behavior
  - Selector syntax has been revamped, see [dasel v3 documentation](https://daseldocs.tomwright.me/v3) for migration guide.

  Example migration:
  - Old: `echo '{"my":{"favourites":{"colour":"blue"}}}' | dasel put -t json -r json -t string -v "red" "my.favourites.colour"`
  - New: `echo '{"my":{"favourites":{"colour":"blue"}}}' | dasel query -i json -o json --root 'my.favourites.colour = "red"'`

- `stalwart-mail` has been renamed to `stalwart`

- Ethercalc and its associated module have been removed, as the package is unmaintained and cannot be installed from source with npm now.