Skip to content

Release: v0.10.0

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Dec 08:55
29f219a
  • Improve the ability to unparse and update the test files. Mainly add update_record_with_output and update_test_file to the library.

    More details:

    • Add impl Display for Record (refactor unparse).
    • Add Record::Whitespace so the whitespace in the original files can be reconstructed during unparse.
    • Add tests for unparsing and updating records.
    • Refactor and fix the behavior about newlines and halt for CLI options --override and --format.
  • Fix: hash-threshold should be compared with the number of values instead of the number of rows.

  • Breaking change: The type of Validator is changed from fn(&Vec<String>, &Vec<String>) -> bool to fn(&[Vec<String>], &[String]) -> bool. Also added a default_validator.

Thanks to the contributions of @alamb and @xudong963 .