Skip to content

Releases: MIOsoft/CaptureFile-Python

1.2.0

04 Sep 01:39

Choose a tag to compare

Performance improvement achieved by removing @dataclass and add using __slots__

1.1.0

05 Jun 20:58

Choose a tag to compare

Locking improvements

  • added use_os_file_locking flag to CaptureFile with a default of False so file locking is not used unless explicitly desired which is usually only when multiple processes are intended to work with a single capture file
  • master node locking now also uses an internal lock for single process but multi-threaded applications

Provided access to compression_block_size setting in CaptureFile constructor which can improve compression when typical commits contain significantly more than 32KB of data

Added more tests around internal and file based locking

Made to_write an explicit attribute of CaptureFile, before it was incorrectly an InitVar

Minor refactoring

  • added __str__ to CaptureFile
  • Refactored path traversal to increase clarity

Suppressed a small number of mypy errors that occurred because the module supporting file locking that is imported is conditional on the OS that is in use (e.g. Linux vs Windows). Mypy was flagging code using features of the module that was not included even though that code is not in use unless running on corresponding OS.

Updated API documentation

Minor reorg to design doc

1.0.0

18 Mar 14:15

Choose a tag to compare

Initial release