All notable changes to this project will be documented in this file.
The document format is based on Keep a Changelog, and adheres to Semantic Versioning.
- Add Builder API for creating a cache (
Velo.builder()
) - Add value loading functionality with
VeloLoadingCache
- Statistic functionality is now optional and can be enabled via the builder (
.stats()
) - Events functionality is now optional and can be enabled via the builder (
.events()
) - TTL functionality is now optional and can be enabled via the builder (
.ttl(ms: number)
) - Expose cache configuration (
cache.options
) - Add the W-TinyLFU admission policy
- Add removal listener functionality
- Reimplement entry expiration using a TimerWheel
- Remove the following cache policies:
- Random Replacement (
RR
) - Segmented LRU (
SLRU
)
- Random Replacement (
- Update examples according to the new/removed features
- Bump deno/std to 0.155.0
- Use deno v1.25.2
- Fix #4
- Bump deno/std to 0.84.0
- Use deno 1.7
- Bump
deno/std
- Add cache statistics
- Add cache events
- Initial Release