Skip to content

snapclass 0.1.4

Choose a tag to compare

@Mattie Mattie released this 05 Jul 02:30
· 10 commits to main since this release
d960bd0

Changes

  • Default snapshot metadata writes now use in-place writes for better compatibility with active Windows app folders.
  • Added opt-in write_strategy=atomic policy through Stash, @snapclass, create_model, sync, Snapshot, and Model.Meta.
  • Kept atomic temp-file replacement available for callers that prefer complete-file swap behavior.
  • Made write locks strategy-aware so in-place writes through a leaf symlink lock the resolved target, while atomic writes keep leaf-path replacement behavior.
  • Expanded tests and README coverage for write strategy precedence, locking, and Windows-friendly write behavior.

Verification

  • CI on main: passed for Python 3.11, 3.12, 3.13, and package build.
  • Local python.exe -m pytest: 360 passed.
  • Local python -m build: built wheel and sdist for snapclass 0.1.4.
  • Local twine check: passed for both artifacts.
  • Clean wheel install smoke test: passed.