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

This commit is contained in:
Michael Daniels
2026-04-11 23:13:04 +00:00
committed by GitHub
+11
View File
@@ -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.