2.8.0
CHANGES:
Fixed
- irmin
Treeoperations now raise aDangling_hashexception when called with a
path that contains dangling hashes in the underlying store, rather than
interpreting such paths as ending with empty nodes (#1477, @craigfe)- Fix the pre-hashing function for big-endian architectures. (#1505,
@Ngoguey42, @dinosaure) - Fix a bug in
Tree.exportwhere nodes could be exported before
some of their contents, resulting in indirect hashes in irmin-pack
(#1508, @Ngoguey42)
Added
- irmin
Node.seqandNode.of_seqare added to avoid allocating intermediate
lists when it is not necessary (#1508, @samoht)- New optional
cacheparameter toTree.hash,Tree.Contents.hash,
Tree.list,Node.list,Node.seqandNode.findto control the storing
of lazily loaded data (#1526, @Ngoguey42) - Add
Node.clearto clear internal caches (#1526, @Ngoguey42) - Added a
treeargument toTree.foldto manipulate the subtrees (#1527,
@icristescu, @Ngoguey42) - Add a function
Store.Tree.prunedfor building purely in-memory tree
objects with known hashes. (#1537, @craigfe) - Added a
orderargument to specify the order of traversal inTree.fold
(#1548, @icristescu, @craigfe)
Changed
-
irmin
Node.vis renamed toNode.of_list(#1508, @samoht)- Rewrite
Tree.exportin order to minimise the memory footprint.
(#1508, @Ngoguey42) - Remove the
~force:`And_clearcase parameter fromTree.fold,
~force:`True ~cache:falseis the new equivalent. (#1526, @Ngoguey42) `Tree.fold ~force:`Trueand`Tree.fold ~force:`Falsedon't
cache the lazily loaded data any more. Pass~cache:trueto enable it
again. (#1526, @Ngoguey42)- Do not allocate large lists in
Irmin.Tree.clear(#1515, @samoht)
-
irmin-git
- Upgrade
irmin-gittogit.3.5.0. (#1495, @dinosaure)
- Upgrade