Releases: MIOsoft/CaptureFile-Python
Releases · MIOsoft/CaptureFile-Python
1.2.0
1.1.0
Locking improvements
- added
use_os_file_lockingflag 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
Initial release