Skip to content

Commit

Permalink
Merge pull request #104 from giovannipizzi/master_in_dev
Browse files Browse the repository at this point in the history
Merge v0.5.0 in develop
  • Loading branch information
giovannipizzi authored Apr 23, 2021
2 parents 7a894a4 + 5a71a5c commit a2561a4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# v0.5.0 (November 2020)
- Various general (but very important) speed improvements [[#96]](https://github.com/aiidateam/disk-objectstore/pull/96) [[#102]](https://github.com/aiidateam/disk-objectstore/pull/102)
- Add callbacks to a number of functions (e.g. export, add_objects_to_pack, ... to allow showing progress bars or similar indicators [[#96]](https://github.com/aiidateam/disk-objectstore/pull/96)
- Implement repacking (at least when not changing hashing or compression) [[#96]](https://github.com/aiidateam/disk-objectstore/pull/96)
- Remove `export` function, implement `import_objects` function instead, to be called on the other side (it's more efficient) [[#96]](https://github.com/aiidateam/disk-objectstore/pull/96)
- Add support for VACUUMing operations on the SQLite database (very important for efficiency) [[#96]](https://github.com/aiidateam/disk-objectstore/pull/96)
- Add support for multiple hashing algorithms [[#96]](https://github.com/aiidateam/disk-objectstore/pull/96)
- Add concept of (unique) `container_id` [[#97]](https://github.com/aiidateam/disk-objectstore/pull/97)
- Generalize the compression algorithm implementation, and multiple algorithms are supported now [[#99]](https://github.com/aiidateam/disk-objectstore/pull/99)

# 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
Expand Down
2 changes: 1 addition & 1 deletion disk_objectstore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

__all__ = ('Container', 'ObjectType', 'CompressMode')

__version__ = '0.4.0'
__version__ = '0.5.0'
4 changes: 2 additions & 2 deletions disk_objectstore/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -1975,8 +1975,8 @@ def import_objects( # pylint: disable=too-many-locals,too-many-statements,too-m
def export(self, hashkeys, other_container, compress=False, target_memory_bytes=104857600, callback=None):
"""Export the specified hashkeys to a new container (must be already initialised).
..deprecated:: 0.6
Deprecated: use the ``import_objects`` method of ``other_container`` instead.
..deprecated:: 0.5
Deprecated: use the ``import_objects`` method of ``other_container`` instead. Will be removed in 0.6.
:param hashkeys: an iterable of hash keys.
:param other_container: another Container class into which you want to export the specified hash keys of this
Expand Down

0 comments on commit a2561a4

Please sign in to comment.