Skip to content

v2.1.0

Choose a tag to compare

@Maxessien Maxessien released this 18 Dec 15:38
· 17 commits to main since this release

[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() and destroy() operations now use in-memory cache for improved performance
  • initialise() 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.