You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,21 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
-
## 0.1.5 - 2025-12-15
8
+
## [0.1.6] - 2025-12-15
9
+
10
+
### Changed
11
+
-`JsonSerializer` now uses `orjson` for significantly faster JSON serialization/deserialization (~2-3x faster)
12
+
-`BGCache.register_loader` with `run_immediately=True` now checks if data exists in cache before executing the loader function, avoiding unnecessary function execution when data is already present in Redis/L2 cache.
13
+
14
+
### Added
15
+
- Comprehensive cache rehydration tests for all decorators (TTLCache, SWRCache, BGCache) verifying that existing Redis data is retrieved without re-executing functions.
16
+
- 7 new integration tests in `TestCacheRehydration` class covering cache hit and cache miss scenarios for all decorators.
17
+
18
+
### Performance
19
+
- Reduced unnecessary loader executions in BGCache when Redis already contains fresh data.
20
+
- Improved JSON serialization performance with orjson integration.
21
+
22
+
## [0.1.5] - 2025-12-15
9
23
10
24
### Added
11
25
- RedisCache now supports pluggable serializers with built-ins for `pickle` (default) and `json`, plus custom `dumps`/`loads` implementations.
0 commit comments