2.0.0
CHANGES:
Added
-
irmin-pack (new):
- Created a new Irmin backend,
irmin-pack, which uses a space-optimised
on-disk format.
- Created a new Irmin backend,
-
irmin-graphql (new):
-
Created a new package,
irmin-graphql, which provides a GraphQL server
implementation that can be used with both the MirageOS and Unix backends.
Additionally, agraphqlcommand has been added to the command-line
interface for startingirmin-graphqlservers. (#558, @andreas, @zshipko) -
Contents can now be queried directly using
irmin-graphqlwith
Irmin_graphql.Server.Make_extand theIrmin_graphql.Server.PRESENTER
interface. (#643, @andreas)
-
-
irmin-test (new):
-
irmin-unix:
-
irmin-git:
-
irmin-http:
-
irmin:
-
Add
Json_valueandJsoncontent types. (#516 #694, @zshipko) -
Add optional seed parameter to the
Irmin.Typegeneric hash functions.
(#712, @samoht) -
Add
V1submodules inCommit,ContentsandHashto provide
compatibility with 1.x serialisation formats. (#644 #666, @samoht) -
Add
Store.last_modifiedfunction, which provides a list of commits where
the given key was modified last. (#617, @pascutto) -
Add a
Content_addressable.unsafe_addfunction allowing the key of the new
value to be specified explicitly (for performance reasons). (#783, @samoht) -
Add
save_contentsfunction for saving contents to the database. (#689,
@samoht) -
Add pretty-printers for the results of Sync operations. (#789, @craigfe)
-
Private.Locknow exposes astatsfunction returning the number of held
locks. (#704, @samoht)
-
Changed
-
irmin-unix:
-
irmin-git:
-
irmin-http:
-
irmin-mirage
-
irmin:
-
Update to use dune (#534, @samoht) and opam 2.0. (#583, @samoht)
-
Replace
Irmin.Contents.S0withIrmin.Type.S. -
Rename
Type.pre_digest->Type.pre_hashandType.hash->
Type.short_hash. (#720, @samoht) -
Change
Irmin.Typeto use incremental hash functions (functions of type
'a -> (string -> unit) -> unit) for performance reasons. (#751, @samoht) -
Simplify the
Irmin.Type.likeconstructor and add a newIrmin.Type.map
with the previous behaviour. -
Improvements to
Irmin.Typecombinators. (#550 #538 #652 #653 #655 #656
#688, @samoht) -
Modify
Store.setto return a result type and create a newStore.set_exn
with the previous exception-raising behaviour. (#572, @samoht) -
Rename store module types to be more descriptive:
-
Rename
export_treetosave_tree(#689, @samoht) and add an option to
conditionally clear the tree cache (#702 #725, @samoht). -
Change hash function for
Irmin_{fs,mem,unix}.KVto BLAKE2b rather than
SHA1 for security reasons. (#811, @craigfe) -
Move
Irmin.remote_uritoStore.remote, for stores that support remote
operations. (#552, @samoht) -
Simplify the error cases of fetch/pull/push operations. (#684, @zshipko)
-
A
batchfunction has been added to the backend definition to allow for
better control over how groups of operations are processed. (#609, @samoht) -
A
closefunction has been added to allow backends to close any held
resources (e.g. file descriptors for theFSbackend). (#845, @samoht) -
Simplify
Private.Node.Makeparameters to use a simpler notion of 'path' in
terms of a list of steps. (#645, @samoht)
-
Fixed
-
irmin-unix:
-
irmin-git:
-
irmin-http:
-
irmin: