Skip to content

v0.12.0

Choose a tag to compare

@bartventer bartventer released this 01 Nov 16:22
· 8 commits to master since this release
v0.12.0
0c3be52

What's Changed

Features & Improvements

  • Optional Modification Time Updates for fscache
    • (8540c11) store/fscache: Added optional file modification time tracking on cache hits to enable efficient LRU cleanup strategies by @bartventer in #20
    • New DSN parameter update_mtime=on and programmatic option WithUpdateMTime(bool) for enabling this feature.
    • When enabled, cache hits update file modification times, allowing standard Unix tools to implement LRU eviction:
      # Remove files older than 7 days
      find /cache/dir -type f -mtime +7 -delete
      
      # Keep only the 1000 most recently used files
      find /cache/dir -type f -printf '%T@ %p\n' | sort -rn | tail -n +1001 | cut -d' ' -f2- | xargs rm

Documentation Improvements

  • (0cb2fde) store/acceptance: Enhanced package documentation with clearer compliance and usage guidance.
  • (7408a82) store/fscache: Enhanced documentation for cache configuration and usage examples.
  • (ecb1714): Enhanced roundtripper comments for clarity on cache backend DSN usage.
  • (18763fc) store: Updated package comments for improved clarity on driver registration and connection establishment.

Testing & CI Improvements

  • (ccde4ee) ci: Added cross-platform testing across Ubuntu, Windows, and macOS in GitHub Actions workflow.

Full Changelog: v0.11.0...v0.12.0


The project is nearing a stable v1.0.0 milestone.
Any further feedback, issues, or contributions are welcome as we finalize the implementation and documentation.