Skip to content

v0.2.3 - Cyclic Cypress - 2023-06-20

Compare
Choose a tag to compare
@ErinvanderVeen ErinvanderVeen released this 20 Jun 14:31
· 377 commits to main since this release
ee9dc88

Full list of changes

Added

  • #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 Allows the users to
    configure Topiary through a user-defined configuration file. More information
    can be found in the README.md.

Changed

  • #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 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 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.