Skip to content

snapclass 0.1.3

Choose a tag to compare

@Mattie Mattie released this 04 Jul 00:55
· 13 commits to main since this release
e524a8b

What's Changed

  • Add cooperative cross-process snapshot file locking with snapshot.locked(reload=True).
  • Add require_lock=True for models that should only save while their snapshot lock is held.
  • Use Windows/POSIX file locking with .lock sidecars, reload-before-mutate guidance, and save-under-lock docs.
  • Harden path handling around reserved .lock snapshot names, sidecars, and collection scans.

Verification

  • Local Python 3.12: python -m pytest passed, 350 tests.
  • Local build: python -m build produced sdist and wheel for 0.1.3.
  • Local package check: python -m twine check passed for both artifacts.
  • GitHub CI on main passed for the merged commit.