Skip to content

Latest commit

 

History

History
127 lines (90 loc) · 6.36 KB

CHANGES.md

File metadata and controls

127 lines (90 loc) · 6.36 KB

ocfl-py changelog

2024-XX-XX v2.0.0

  • SIGNIFICANTLY REWRITTEN AND REFACTORED to align better with the specification language and approach. Includes refactoring, command line tool changes, and many API changes. The InventoryValidator class is relatively unchanged, however
  • Improved docstrings in many places
  • Change from "1.0" to "1.1" as default specification version
  • Adjust for removed E023_missing_file fixture (OCFL/fixtures#99)
  • Add note of specification version number in validation output
  • Ignore logs directory if present in object root (extra fixture OCFL/fixtures#108)
  • Changed Object.show() method to Object.tree() that returns string
  • Change validator to use force_spec_version to validate against a specific version and remove old extract_spec_version with that becoming the default behavior unless force is specified
  • Code style change to use double quotes for strings unless there is a good reason to use single quotes
  • Drop Python 3.6 and 3.7 from testing, add 3.11

2022-04-26 v1.3.0

  • Add preliminary handling of OCFL v1.1 (#81)
  • Additional validation improvements:
    • Checks between version state in different version inventories
    • Check to see is extra directories look like version directories
    • Fix URI scheme syntax check (#75)
    • Check extensions directory in storage root (#76)
  • Use additional fixtures in https://github.com/OCFL/fixtures for tests
  • Improve handling of inconsistent state between version inventories errors (E066, #85)
  • Improve handling of fixity block issues (E056/E111, #79, #87)
  • Running tests on Python 3.6, 3.7, 3.8, 3.9

2021-04-26 v1.2.2

  • Validation improvements:
    • Correct handling of missing files mentioned in manifest or fixity
    • Catch inconsistent id between versions
    • Catch forward slash in contentDirectory
    • Add test bad inventory examples in extra_fixtures/bad-objects

2021-04-18 v1.2.1

  • Add use of pylint in addition to pycodestyle and pydocstyle (was pep257). Numerous minor fixes as a result of errors/warnings reported.
  • Use additional fixtures in https://github.com/OCFL/fixtures for tests
  • Validation:
    • Correct missing root inventory from E034 to E063
    • Add tests for digests in prior version manifests

2021-03-24 v1.2.0

  • Add ability for ocfl-validate.py to validate a standalone inventory

2020-09-22 v1.1.1

  • Add deeply nested text object (extra_fixtures/good-objects/ten_level_deep_directories.zip)
  • Fix broken extraction of status of support for validation conditions

2020-08-03 v1.1.0

  • Change to use PyFilesystem2 for filesystem access which allows use of local filesystem, zip files, and S3. The S3 support is preliminary because it has a number of work-arounds to avoid PyFilesystem2's expectation that there are empty directrory objects
  • Renames ocfl.version to ocfl.version_metadata for clarity

2020-07-10 v1.0.2

  • Use main as default branch in git repository, fix links and documentation

2020-07-07 v1.0.1

2020-07-07 v1.0.0

2020-05-21 v0.0.8

2020-05-18 v0.0.7

2020-05-15 v0.0.6

2020-05-05 v0.0.5

2020-05-02 v0.0.4

  • Actually check digests for content during validation!
  • Add --validate to ocfl.py to check all of storage root

2020-04-26 v0.0.3

2020-04-20 v0.0.2

  • Two in a day...
  • Support for version creation from and extraction as Bagit bags

2020-04-20 v0.0.1

  • Push up first version to PyPI