Skip to content

Commit

Permalink
Cargo.toml: release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
erikgrinaker committed May 5, 2024
1 parent 3ce4590 commit 11585b1
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 15 deletions.
36 changes: 23 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,29 @@
# Unreleased
# 0.2.0 (2024-05-05)

Backwards-incompatible changes:
**Breaking changes**

* Use `Box<dyn Error>` for `Runner` methods.
* Default to "ok" for command blocks that don't yield any output.
* Mark `Command` and `Argument` as `non_exhaustive`, to allow extending them.
* [`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:
**Improvements**

* Add `generate()` to generate output for a goldenscript input.
* Add `Argument.parse()` to parse values into e.g. integers or booleans.
* Add `Command.line_number` with the command's position in the script.
* Add `Runner` error context such as the command or hook name and line number.
* Make parse errors more concise.
* [`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.

Bug fixes:
[`3ce4590`]: https://github.com/erikgrinaker/goldenscript/commit/3ce4590a0794f94ee58c1fdfc647185819b6de4f
[`fe62af3`]: https://github.com/erikgrinaker/goldenscript/commit/fe62af3c3504acf4078d1f89a56be91c91d1e578
[`c98db05`]: https://github.com/erikgrinaker/goldenscript/commit/c98db054d5e940ada76dbdc855925cfc2f6e7ee8
[`51c34d9`]: https://github.com/erikgrinaker/goldenscript/commit/51c34d90a1c951d1f36b52421cf4b025bed5a5d3
[`f911c66`]: https://github.com/erikgrinaker/goldenscript/commit/f911c66312a6e9c4e6daf8ee9c5f1f810c3779c1
[`5f49b9d`]: https://github.com/erikgrinaker/goldenscript/commit/5f49b9dc7e59a3069808ededd09af06ec30338b2
[`cc0936f`]: https://github.com/erikgrinaker/goldenscript/commit/cc0936fbf0238bdbf382f1d2c8c654f4c4e25dc3
[`456ae1b`]: https://github.com/erikgrinaker/goldenscript/commit/456ae1b22f4b34eaee248bceac4dcb16e418369cc

* Relax dependency version requirements.
# 0.1.0 (2024-05-01)

Initial release.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "goldenscript"
version = "0.2.0"
description = "A scriptable, data-driven test framework using golden masters"
categories = ["development-tools::testing"]
version = "0.1.0"
authors = ["Erik Grinaker <erik@grinaker.org>"]
license = "Apache-2.0"
homepage = "https://github.com/erikgrinaker/goldenscript"
Expand Down

0 comments on commit 11585b1

Please sign in to comment.