Libversion

Latest version: v1.2.4

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

Scan your dependencies

Page 2 of 6

2.8.0

* Deprecated `version_compare3()` as well, as it would create ambiguities
for higher level language wrappers
* Exposed libversion version to consumer code via `LIBVERSION_VERSION_ATLEAST`
macro

2.7.0

* API cleanup: all `version_compare*` methods are now replaced with
`version_compare2()`, `version_compare3()`, and `version_compare4()`
which are consistent and suggest the number of arguments.
`version_compare_simple()`, `version_compare_flags()`, and
`version_compare_flags2()` are thus deprecated and will be removed in
further releases.
* Also deprecate `version_signature_simple()` which had no practical use.

2.6.0

* Implemented `version_compare_flags2()` 4-argument function which allows
to specify flags for either compared version independently, without
the need to squish them into the single argument
* Added shared library

2.5.0

* Implemented `VERSIONFLAG_ANY_IS_PATCH` flag which makes any alphabetic
characters encountered in versions treated as post-release.

2.4.0

* Allow to specify `P_IS_PATCH` flag to each comparison argument separately

2.3.0

* Handle `pl` ("patchlevel") keyword as post-release.

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.