Releases: m62624/flexible_inspect
Releases · m62624/flexible_inspect
Release v2.0.0
[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 bettercontains
method performance and duplicate rule removal. - Complete restructuring and renaming of the library:
pystval
has been changed toflexible_inspect_*
, enabling multi-language support. - Now supports (all versions use the rust version of the library as a base):
Rust
Python
JavaScript
(includingTypeScript
using WASM format).
Added
- Added serialization and deserialization support for Rust versions (use
features = ["serde"]
in theCargo.toml
file). - Changed the return type of the validator to
Result<(), Vec<ValidationError>>
for bothvalidate
andasync_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
andRuleBytes
structures. This feature may return in the future.