Skip to content

v0.3.0 - Dreamy Dracaena - 2023-09-22

Compare
Choose a tag to compare
@github-actions github-actions released this 02 Oct 14:06
· 271 commits to main since this release

Release Notes

Full list of changes

Added

  • #538 Using cargo-dist to release Topiary binaries.
  • #528 #609 Created a topiary-queries crate that exports the builtin query files.
  • #526 Multi-line comments can be indented properly using the new predicate @multi_line_indent_all.
  • #533 Topiary can now process multiple files with one call.
  • #553 In Nickel, indent when a new infix_expr chain starts.
  • #557 Topiary now falls back to the buildin queries when no other query files could be located.
  • #573 Added OCamllex support (without injections).
  • #576 Added append/prepend versions of scope captures.

Changed

  • #535 Improved error message when idempotency fails due to invalid output in the first pass.
  • #576 Allows prepending/appending @begin_scope and @end_scope
  • #583 Modernisation of the command line interface (see the CLI Migration Guide, for details)
  • #535 Change the error message for an idempotency error to be more descriptive.
  • #536 #537 #578 #626 #627 #628 Various OCaml improvements.
  • #623 #624 #625 Various Toml improvements thanks @pjjw.

Fixed

  • #533 Bump tree-sitter-ocaml version, which allowed reintroduction of some removed queries.
  • #550 Fixed handling of antispace in post-processing.
  • #552 Fixed Nickel tag removal.
  • #554 #555 Fixed Nickel idempotency issue related to annotations.
  • #565 Fixed an issue where Topiary would remove whitespace between predicate parameters in query files.

Install topiary-cli 0.3.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/tweag/topiary/releases/download/v0.3.0/topiary-cli-installer.sh | sh

Install prebuilt binaries via powershell script

irm https://github.com/tweag/topiary/releases/download/v0.3.0/topiary-cli-installer.ps1 | iex

Download topiary-cli 0.3.0

target kind download
aarch64-apple-darwin tarball topiary-cli-aarch64-apple-darwin.tar.xz
x86_64-apple-darwin tarball topiary-cli-x86_64-apple-darwin.tar.xz
x86_64-pc-windows-msvc tarball topiary-cli-x86_64-pc-windows-msvc.zip
x86_64-unknown-linux-gnu tarball topiary-cli-x86_64-unknown-linux-gnu.tar.xz