diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..810cc7f --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,21 @@ +# v0.4.0 (20 July 2020) +- Major robustness improvements and new functionality (possibility to pack while using the repository, tested on all platforms) +- Not deleting loose files when packing; now there is a `clean_storage()` function to do it afterwards, as a maintenance operation +- Backward-incompatible change to the Container format (now it expects a `duplicates` folder, so old repositories do not work out of the box) +- Added various functionality to delete objects, validate the packs, list all objects, possibility to seek() into returned objects +- Added continuous-integation benchmarks +- Various bugfixes + +# v0.3.0 (22 June 2020) +- Changed the logic of packing: now packs are not determined anymore from the first few characters of the UUID/hash, but they are sequential integers with capped max size +- Complete major rewrite of the library, where now objects are deduplicated and use a SHA256 hash to be identified. This is a backward-incompatible version, but provides much higher robustness and features, making it almost production ready (only a few useful functions need still to be implemented to facilitate repository management, like the option to perform a full repack of a repository. + +# v0.2.1 (13 April 2020) +- Improving testing and continuous integration, badges, and homepage + +# v0.2.0 (10 April 2020) +- Rename of the project and implementation of a number of functions + +# v0.1.0 (1 April 2020) +- This is the very first version. Uses random UUIDs to identify objects. + diff --git a/disk_objectstore/container.py b/disk_objectstore/container.py index 09ce785..481711f 100644 --- a/disk_objectstore/container.py +++ b/disk_objectstore/container.py @@ -1457,7 +1457,7 @@ def clean_storage(self): # pylint: disable=too-many-branches # I just ignore, I will remove it in a future call of this method. pass - def export(self, hashkeys, other_container, compress=True, target_memory_bytes=104857600): + def export(self, hashkeys, other_container, compress=False, target_memory_bytes=104857600): """Export the specified hashkeys to a new container (must be already initialised). :param hashkeys: an iterable of hash keys. diff --git a/setup.py b/setup.py index c35f67d..ffba7ec 100644 --- a/setup.py +++ b/setup.py @@ -52,8 +52,7 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'License :: OSI Approved :: MIT License', - 'Operating System :: OS Independent', 'Operating System :: MacOS :: MacOS X', - 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX :: Linux', - 'Topic :: Software Development :: Libraries :: Python Modules' + 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', + 'Operating System :: POSIX :: Linux', 'Topic :: Software Development :: Libraries :: Python Modules' ], )