Releases: ascmitc/mhl
Release v1.0.4
Until v1.0.3
the ascmhl create
command writes wrong syntax for author info (as part of the <creatorinfo>
tag):
<author>
<name>John Doe</name>
<role>Data wrangler</role>
<email>[email protected]</email>
<phone>+1 123 456789</phone>
</author>
In v1.0.4
this is changed to the correct syntax:
<author role="Data wrangler" email="[email protected]" phone="+1 123 456789">John Doe</author>
Please not that backwards compatibility is maintained in the ascmhl commands, so ASC MHL histories with the wrong/old syntax above can still be read (for example, with the ascmhl info
command). This avoids that author info in any previously created histories gets unusable.
Also the order of tags within the <creatorinfo>
is fixed to conform to the XSD.
Release v1.0.3
- Adding new error code 33 for missing ASC MHL manifest file (i.e. *mhl) file during chain file check (was same as missing ASC MHL history, error code 30)
Release v1.0.2
Fixing Python version definitions (now >= 3.11) in setup.py
Release v1.0.1
- Updating Python version in deploy script for pip package
Release v1.0
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
- proper handling of
- 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 → 10NoMHLHistoryException
11 → 30VerificationFailedException
12 → 11VerificationDirectoriesFailedException
15 → 12NewFilesFoundException
13 → 21NoMHLHistoryExceptionForPath
14 →NoMHLHistoryException
30SingelFileNotFoundException
15 →SingleFileNotFoundException
20- New error/exit codes
ModifiedMHLHistoryFile
31NoMHLChainExceptionForPath
32
Release v0.9.3
- Fixing issues with non-required attribute
version
in<tool>
element for reading - Updates in README
Release v0.9.2
- Fixing issues with non-required element
<roothash>
for reading and writing
Release v0.9.1
Patches:
- Fixing incompatibility with latest versions of the
Click
package insetup.py
(withresultcallback
).
Release v0.9
- Allow creation of multiple hash formats in
create
command (multiple-h
arguments) (issue #112) - Regrouping of commands (
verify
without creating a manifest is no "standard" command any more due to spec), introducing newascmhl-debug
command for more dev-oriented commands) - Fix for tag typo in collection/chain file (
sequencer
→sequencenr
)
Release v0.8.1
- Fixing a problem with hash mismatch in haslist references (issue #113)
- Adding a "hash" command for hashing single files, e.g. during trouble shooting