Skip to content

Release v1.0

Compare
Choose a tag to compare
@ptrpfn ptrpfn released this 08 Mar 08:28
· 6 commits to master since this release
5970ecb

New features

  • Renaming of files:
    • proper handling of previousPath in XML files as documented in specification
    • new option --detect_renaming (-dr) for detecting renamed files based on their hash value
  • Changes or missing manifest files in ascmhl folders are now detected

Changes

  • Updating code and tests to work with Python 3.11 and 3.12
  • Adding missing "Z" at the end of time stamps in file names as required by specification

Fixes

  • Fixed: logging of nested histories stopped after first level
  • Smaller fixes and improvements

⚠️ (Potentially) breaking changes

  • ascmhl library and command line tool now works with Python 3.11 and 3.12 (0.9.x versions worked with Python 3.7, 3.8, 3.9)

  • Unfortunately the error codes have been quite a mess and had duplicates, probably from previous merges. We cleaned them up entirely as follows (also see errors.py):

    • Changed error/exit codes
    • CompletenessCheckFailedException: 15 → 10
    • NoMHLHistoryException 11 → 30
    • VerificationFailedException 12 → 11
    • VerificationDirectoriesFailedException 15 → 12
    • NewFilesFoundException 13 → 21
    • NoMHLHistoryExceptionForPath 14 → NoMHLHistoryException 30
    • SingelFileNotFoundException 15 → SingleFileNotFoundException 20
    • New error/exit codes
    • ModifiedMHLHistoryFile 31
    • NoMHLChainExceptionForPath 32