Redis-func-cache

Latest version: v0.2.2

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

Scan your dependencies

0.3

- โœจ **New Features:**
- Added setter methods for the `name`, `prefix`, `maxsize`, `ttl`, and `serializer` properties in the `RedisFuncCache` class.
- Introduced support for `msgpack` and `cloudpickle`.
- Added a "per-function" custom serializer feature to the `RedisFuncCache` class.

- ๐Ÿ’” **Broken changes:**
- The `lru-t` policy class have been moved to `policies/lru` module
- The `fifo-t` policy class have been moved to `policies/fifo` module

- ๐Ÿ› ๏ธ **Improvements:**
- Updated the default values of several arguments in the `RedisFuncCache` constructor.
- Improved type casting in the `cache` module.

- ๐Ÿ“ฆ **Packaging:**
- Added `msgpack` and `cloudpickle` as optional dependencies.
- Adjusted the `manifest.in` file.

- ๐Ÿงช **Tests:**
- Added new tests for multiple and cluster key caching.
- Fixed asynchronous bugs in existing tests.
- Optimized Docker Compose-based tests.

- โš™๏ธ **CI:**
- Added Redis cluster tests in GitHub Actions.
- Fixed issues with `codecov` coverage upload.
- PyPY testings removed from `tests/run.sh`

0.2.2

> ๐Ÿ“… 2024-12-23

- โœจ **New Features:**
- New `fifo-t` (Timestamp based pseudo FIFO replacement policy)

- ๐Ÿ› **Bug Fixes:**
- Wrong type checking for `redis.cluster.RedisCluster` and `redis.asyncio.cluster.RedisCluster`

- ๐Ÿ›  **Improvements:**
- Remove some un-used utilities

- ๐Ÿ“ฆ **Packaging:**
- Add `hiredis` extras requirements
- Adjust `manifest.in` file

- ๐Ÿ“š **Documentation:**
- Modify documentation for docker-composed unit testing

- ๐Ÿงช **Tests:**
- New add cluster based tests
- Improved docker-composed based tests

0.2.1

> ๐Ÿ“… 2024-12-19

- โœจ **New Features:**
- Added support for asynchronous operations.

- ๐Ÿ› **Bug Fixes:**
- Resolved several known issues.
- Eliminated duplicate parts in the function full name used as a key.

- ๐Ÿ›  **Improvements:**
- Enhanced type hints for better code clarity.
- Provided more detailed documentation to improve user understanding.

0.1

> ๐Ÿ“… 2024-12-17

The First release, it's an early version, do not use it in production.

Links

Releases

Has known vulnerabilities

ยฉ 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.