Skip to content

Releases: OCFL/ocfl-java

v2.2.1

23 Jul 01:02
Compare
Choose a tag to compare

Added

  • It is now possible to retrieve part of a file using OcflObjectVersionFile.getRange(). #118

Changed

  • Updated dependencies

v2.2.0

16 Jul 01:12
Compare
Choose a tag to compare

Added

  • Support of file size based fixity entries: #116

Changed

  • Breaking: Builtin digest algorithms must now be specified like DigestAlgorithRegistry.sha256 instead of
    DigestAlgorithm.sha256.

v2.1.0

12 Apr 00:51
Compare
Choose a tag to compare

Note that this version contains breaking changes that affect how the repository is configured when using S3 storage. You now must configure an async client and a transfer manager. See the usage guide for more details. These changes should result significant performance improvements when writing to S3 storage.

Fixed

  • ObjectVersionId.equals() no longer throws an error for HEAD versions: #110
  • Deleting an object in S3 that contains more than 1,000 files now works.
  • Writing to files with identical content and writing the first file a second time to the same version no longer causes
    the staged file to be erroneously deleted.

Changed

  • Breaking: A S3AsyncClient S3 client now must be used with ocfl-java-aws, and the sync version is no longer supported.
  • Breaking: A S3TransferManager must now be set when using S3 storage.
  • ocfl-java-aws now uses the S3 Transfer Manager
    to upload files to S3. See the usage guide for more details.
  • ocfl-java-aws now concurrently uploads files when writing an object to S3. This should improve object write performance.
  • The OcflObjectUpdater was updated to be thread safe, enabling concurrently writing files to it. This may speed up
    writing a large number of files to an object. See the usage guide for
    more details.

v2.0.1

02 Mar 02:07
Compare
Choose a tag to compare

Fixed

  • Mutable head revision writes were failing if they only add a file with content that was already present in the object: #105

Changed

  • Updated dependencies

v2.0.0

23 May 11:52
Compare
Choose a tag to compare

The primary change here is the move from edu.wisc.library.ocfl to io.ocfl. If you were using the previous version, you will need to change the artifact group name and update all of the package names in your source. Only the package names changed. There were no additional breaking changes.

Fixed

  • Delete old revision markers after creating a new mutable HEAD revision: #91
  • Use an AtomicBoolean to track if the repository has been closed: #87

Changed

  • Renamed the package root from edu.wisc.ocfl to io.ocfl
  • Prefer Files.find() to Files.walk(): #92

v1.5.0

09 Oct 21:02
Compare
Choose a tag to compare

This release adds support for OCFL spec version 1.1. By default, all newly create repositories will now be OCFL 1.1 repositories. Existing repositories will not be upgraded automatically. See Upgrading OCFL Repositories in the readme for details on how to upgrade existing repositories and objects.

There are no functional differences between 1.0 and 1.1. The 1.1 release mostly clarifies some of the 1.0 language so that it is more explicit.

v1.4.6

11 Feb 20:16
Compare
Choose a tag to compare

Fixes

  1. Always validate content paths so that files outside of an object can never be accessed #70

v1.4.5

04 Feb 17:05
Compare
Choose a tag to compare

Fixes

  • The new 0007-n-tuple-omit-prefix-storage-layout implementation was missing a setter, causing it to fail to deserialize #69

v1.4.4

28 Jan 19:37
Compare
Choose a tag to compare

Fixed

  • Fixed how the max zero-padded version is calculated #66

v1.4.3

25 Jan 18:29
Compare
Choose a tag to compare

Fixed

  1. MariaDB startup no longer fails if the DB tables exist and the user does not have permission to create them #62
  2. MariaDB now uses MEDIUMBLOB #62

Added

  1. 0007-n-tuple-omit-prefix-storage-layout support #58 and #64

Changed

  1. Updated dependencies