github TomWright/dasel v3.0.0

one day ago

This has been in the works for a long time, and is almost a complete rewrite of dasel.

A lot of features have been added and I'm sure there will be some issues - please let me know about these and I'll fix them.

See the updated documentation.

Added

  • Major new version release.
  • INI support.
  • HCL support.
  • Dasel syntax now supports variables and expressions.
  • Files can now be read and parsed inside a dasel query.
  • Variables can now be passed to dasel from the command line.
  • Support for comments in queries.
  • Dasel config file to define default file format.
  • Interactive mode for dasel CLI (alpha).

Changed

  • Go module path changed to github.com/tomwright/dasel/v3.
  • Internal changes to support new version.
  • Query/selector syntax revamp. See docs for more information.
  • Majority of read/write operations will now maintain ordering.
  • Migrated from Cobra to Kong for CLI parsing/processing.
  • Removed put and delete commands. Instead, modify within the query and use --root flag.

Fixed

  • File redirect now works in the same way as piped input.
  • Various other bug fixes and improvements.
  • Whitespace in query syntax is now handled correctly.

Don't miss a new dasel release

NewReleases is sending notifications on new releases.