Skip to content

Releases: m62624/flexible_inspect

Release v2.0.0

25 Aug 15:47
Compare
Choose a tag to compare

[2.0.0] - 2023.08.25

Fixed

  • Fixes for mode switching in nested rule matches.

Changed

  • Enhancements to the behavior of all modes.
  • Utilized IndexSet instead of Vec<Rule or RuleBytes> for better contains method performance and duplicate rule removal.
  • Complete restructuring and renaming of the library: pystval has been changed to flexible_inspect_*, enabling multi-language support.
  • Now supports (all versions use the rust version of the library as a base):
    • Rust
    • Python
    • JavaScript (including TypeScript using WASM format).

Added

  • Added serialization and deserialization support for Rust versions (use features = ["serde"] in the Cargo.toml file).
  • Changed the return type of the validator to Result<(), Vec<ValidationError>> for both validate and async_validate functions. Both functions now return a collection of errors that did not pass validation.
  • Revamped documentation to support code samples for different programming languages, and future branching between them. The advanced theme mkdocs-material is now used.

Removed

  • Removed auto-generation of regular expressions within Rule and RuleBytes structures. This feature may return in the future.

Release v1.1.0

19 Jul 08:27
Compare
Choose a tag to compare