Releases: awolverp/cachebox
Release v4.4.2
No important changes were made to the library.
Updated
Pyo3 dependency updated and Box layout removed from Rust code.
Release v4.4.1
No changes were made to the library. Only dependencies updated, such as PyO3 that has a soundness fix.
Release v4.4.0
Added
- New
copy_levelparameter added tocachedmethodandcached.
Deprecated
- The
always_copyparameter marked as deprecated.
Changed
- The
cachedandcachedmethodstructures changed due to some issues.
Removed
typing_extensionsdependency removed.infoparameter removed fromcachedmethodandcached.
Release v4.3.2
Added
New dependency is added: typing_extensions.
We used this library to use ParamSpec that makes cachebox type-hint better, and easier than ever for you.
Changed
the behaviour of the iteratores changed. Previously, iterators used capacity and length of the cache to know "is cache have changes?". But now, each cache has a number called "state" that increments with each change; iterators now uses this "state" number.
Release v4.3.1
Changed
__str__changed to__repr__- Free-threading is supported now
- Dependencies updated
Release v4.3.0
Added
- Add
always_copyparameter tocachedandcachedmethoddecorators; This is useful when function returns mutable results, such as dict, list, or set, ....
Release v4.2.3
Release v4.2.2 was missing some .whl files for linux. Thanks @ecarrara for the fix, Thanks @ksquarekumar for the report.
Fixed
- Fix issue #13
Release v4.2.2
In this release we support Python 3.13
Fixed
TTLCache.__str__fixed
Release v4.2.1
Fixed
- Fix
BaseCacheImpl.__class_getitem__
cache = cachebox.Cache[int, int](0) # Before this release, you will get error but now is OK- Fix
cachedandcachedmethodtype-hint
Release v4.2.0
Added
- New function
is_cachedis added. - New parameter
callbackis added tocachedandcachedmethod: now you can set a callback for cached functions.
Changed
- Some docstrings are changed.
Fixed
- manual_inspect warning fixed