0.06 - 2022-12-20
- Better error reporting for bad arguments to ->put_file
- cpanfile and GitHub CI
- Adaptor role for Catalyst::Controller::SimpleCAS
- Actually support and fix unit tests on perl 5.8
0.05 - 2022-11-11
- Fix unit test 11-store-simple for perl 5.12 and earlier
0.04 - 2022-11-08
- Fix bug in calculate_file_checksum
- Improve type detection of argument to ->put
- Fix handling of File::Temp objects in ->put_file
- Record VERSION in ::Simple storage dir for each class in hierarchy
- More unit tests
- Remove dependency on Path::Class
0.03 - 2022-11-06
- DataStore::CAS:
- New API methods ->calculate_hash and ->calculate_file_hash
- During all ->put methods, calculate the hash first before writing a stream,
(if the source is a scalar or a file) to avoid unnecessary writes.
- Allow scalar-refs to be passed to ->put_scalar to avoid copying large scalars.
- Do not inspect is_utf8 flag during ->put_scalar. Require caller to provide
bytes, and die if given a character > 255.
- New ->put_file option { move => 1 }, renames the source file into the CAS
unlinking the original even if it was a duplicate.
- DataStore::CAS::Simple:
- New option '=' as last element of ->fanout causes content files to be named
with the full hash as the filename, instead of the remainder of the hash that
wasn't part of the directories.
- Remove attribute _fanout_regex which never should have been documented
as if it were public.
- New methods ->path_parts_for_hash and ->path_for_hash
- Raise the limits on max directory fanout