Cvldoc-parser

Latest version: v1.0.1

Safety actively analyzes 688735 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

2.0.0

Added
- Support parsing of `hook`, `use`, `using`, `import` statements.
- Python module API has been simplified.
- Support `persistent ghost`.
Changed
- CVL2 syntax is now enforced. Parsing of code which is not compliant with CVL2 has been removed.
Fixed
- Some issues with `Invariant` parsing have been fixed.

1.0.3

Fixed
- Fix issue that could cause infinite recursion on certain input
Changed
- Upgrade dependencies
- Merged Python wrapper and core changelogs to a single file

1.0.1

Fixed
- Use span-based capturing for `Definition`

1.0.0

- Release Candidate for first public version

0.6.4

Fixed
- Correctly report span for raw code of starred documentation blocks
- Incorrect detection of code blocks
- Handle variable-length characters
- Python wrapper: Comptability with parse API change

0.6.0

Changed
- Parsing engine re-written
Changed
- Data structure of AST changed, first class member is now `CvlElement`
- Can now handle elements without documentation
- Python wrapper: Breaking changes to data structure API
Fixed
- Fix detection of invariants and other elements
- Improve parser recovery and robustness
Removed
- `serde` support removed for now

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.