Velox

Latest version: v0.5.1

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

Scan your dependencies

Page 1 of 2

0.5.0

Large release, no breaking API changes, major API additions, some internal functionality changes.

Internal Functionality Improvements:
---

* `velox.tools.sha` now is `bytes`-aware for python 3, and uses `SHA1` instead of `MD5`. Any code that relied on the `obj.current_sha` API in a manner that persisted a SHA should be considered obsolete.

API additions:
---

* `velox.lite` has been introduced as a lightweight way of using the versioning capabilities of Velox. The `save_object` and `load_object` methods define a thin manner to interact with **any** python object.

0.4.0

Large release, no breaking API changes.

**Fixes:**

* Wrappers (in python 3) around functions preserve the calling signature
* Improve how file loading is handled in `load_velox_object`

**API additions:**

None

**Deprecation:**

* The wrappers module is expected to be deprecated relatively soon

**Breakage Points:**

* `register_model` has been removed in favor of register_object for API consistency.
* Models saved with the `SimplePickle` wrapper before version 0.4.0 will be incompatible.

0.3.2

Small release to refine some import bashing & loosening `install_requires`.

0.3.1

Bugfix release.

Fixes:

* Race conditions while loading files with type hints have been eliminated.
* Better test coverage.
* Loading with type hints no longer requires double loading of file.

0.3.0

Large release, no breaking API changes.

**API additions:**
* `load_velox_object` method, which allows a user to load a Velox object without using a `classmethod` from the object class. This is useful for runtime-configurable environments. When a Velox file is saved, extra bytes are saved at the end to allow for this behavior.

**Deprecation:**
* `register_model` has been deprecated in favor of `register_object` for API consistency.

**Breakage Points:**
* Velox objects saved with `Velox<0.3.0` will not be able to be loaded with the new `load_velox_object` API, and will raise a `RuntimeError`.

0.2.1

Stable release, improves testing and adds resistance to zero-byte files.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.