Repository navigation
v2.1.0
[2.1.0] - 2025-12-18
Added
- In-memory caching system: File mappings are now cached in memory for dramatically faster operations
- Dirty flag tracking: Efficient cache invalidation system that only syncs to disk when changes occur
- Automatic periodic sync: Background task (500ms intervals) automatically persists cache changes to disk
- Graceful shutdown: Process cleanup handler that ensures all in-memory changes are synced to disk on exit
Changed
upload()anddestroy()operations now use in-memory cache for improved performanceinitialise()method now handles lazy initialization and cache management- Improved resource management with automatic interval cleanup
Performance
- Significantly reduced disk I/O operations
- Faster file operations through in-memory lookups
- Minimal overhead with periodic batch writes to disk
Fully Backward Compatible
All v2.0.0 APIs remain unchanged. The caching system is transparent to end users.