Skip to content

v0.2.0

Compare
Choose a tag to compare
@erikgrinaker erikgrinaker released this 05 May 19:31
· 37 commits to main since this release
11585b1

Breaking changes

  • 3ce4590 Use Box<dyn Error> for Runner methods.
  • fe62af3 Default to "ok" for command blocks that don't yield any output.
  • c98db05 Mark Command and Argument as non_exhaustive, to allow extending them.

Improvements

  • 51c34d9 Relax dependency version requirements.
  • f911c66 Add generate() to generate output for a goldenscript input.
  • 5f49b9d Add Argument.parse() to parse values into e.g. integers or booleans.
  • cc0936f Add Command.line_number with the command's position in the script.
  • cc0936f Add Runner error context such as the command or hook name and line number.
  • 456ae1b Make parse errors more concise.