From 6465bd602ddb474c46e3cdea3dd4b279d3589dd1 Mon Sep 17 00:00:00 2001 From: Erin van der Veen Date: Tue, 20 Jun 2023 15:25:47 +0200 Subject: [PATCH] Prepare release 0.2.3 --- CHANGELOG.md | 32 +++++++++++++++++++++++++++++++- Cargo.lock | 6 +++--- Cargo.toml | 2 +- 3 files changed, 35 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62794679..9768d831 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,7 +38,37 @@ This name should be decided amongst the team before the release. -----------------------------------------------------------------------> ## [Unreleased] -[unreleased]: https://github.com/tweag/topiary/compare/v0.2.2...HEAD +[unreleased]: https://github.com/tweag/topiary/compare/v0.2.3...HEAD + +## [0.2.3] - 2023-06-20 +[0.2.2]: https://github.com/tweag/topiary/compare/v0.2.2...v0.2.3 + +### Added +* [#513](https://github.com/tweag/topiary/pull/513) Added the `-t, --tolerate- + parsing-errors` flags to Topiary, `tolerate_parsing_errors` to the `Format` + operation of the library, and a "Tolerate parsing errors" checkmark to the + playground. These options make Topiary ignore errors in the parsed file, and + attempt to format it. +* [#506](https://github.com/tweag/topiary/pull/506) Allows the users to + configure Topiary through a user-defined configuration file. More information + can be found in the `README.md`. + +### Changed +* [#523](https://github.com/tweag/topiary/pull/523) Skips rebuilding the tree- + sitter `Query` when performing the idempotence check. This improves performance + when not skipping the idempotence check by about `35%` for OCaml formatting. + +### Removed +* [#508](https://github.com/tweag/topiary/pull/508) Simplified language + detection by treating `ocaml` and `ocaml_interface` as two distinct languages. + This ensures we only have one grammar per language. This + removed the `-l ocaml_implementation` flag from Topiary and the + `SupportedLanguage::OcamlImplementation` from the library. + +### Fixed +* [#522](https://github.com/tweag/topiary/pull/522) Reverted the bump to the + OCaml grammar and queries. This bump (for as of yet unknown reasons) had a + catastrophic impact on Topiary's performance. ## [0.2.2] - 2023-06-12 [0.2.1]: https://github.com/tweag/topiary/compare/v0.2.1...v0.2.2 diff --git a/Cargo.lock b/Cargo.lock index 7cc734f3..0314a5cd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1396,7 +1396,7 @@ dependencies = [ [[package]] name = "topiary" -version = "0.2.2" +version = "0.2.3" dependencies = [ "clap 4.3.3", "criterion", @@ -1427,7 +1427,7 @@ dependencies = [ [[package]] name = "topiary-cli" -version = "0.2.2" +version = "0.2.3" dependencies = [ "assert_cmd", "clap 4.3.3", @@ -1443,7 +1443,7 @@ dependencies = [ [[package]] name = "topiary-playground" -version = "0.2.2" +version = "0.2.3" dependencies = [ "cfg-if", "itertools", diff --git a/Cargo.toml b/Cargo.toml index fd903dd7..e3944e00 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "0.2.2" +version = "0.2.3" edition = "2021" authors = ["Tweag"] homepage = "https://topiary.tweag.io"