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, agraphql
command has been added to the command-line
interface for startingirmin-graphql
servers. (#558, @andreas, @zshipko) -
Contents can now be queried directly using
irmin-graphql
with
Irmin_graphql.Server.Make_ext
and theIrmin_graphql.Server.PRESENTER
interface. (#643, @andreas)
-
-
irmin-test (new):
-
irmin-unix:
-
irmin-git:
-
irmin-http:
-
irmin:
-
Add
Json_value
andJson
content types. (#516 #694, @zshipko) -
Add optional seed parameter to the
Irmin.Type
generic hash functions.
(#712, @samoht) -
Add
V1
submodules inCommit
,Contents
andHash
to provide
compatibility with 1.x serialisation formats. (#644 #666, @samoht) -
Add
Store.last_modified
function, which provides a list of commits where
the given key was modified last. (#617, @pascutto) -
Add a
Content_addressable.unsafe_add
function allowing the key of the new
value to be specified explicitly (for performance reasons). (#783, @samoht) -
Add
save_contents
function for saving contents to the database. (#689,
@samoht) -
Add pretty-printers for the results of Sync operations. (#789, @craigfe)
-
Private.Lock
now exposes astats
function 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.S0
withIrmin.Type.S
. -
Rename
Type.pre_digest
->Type.pre_hash
andType.hash
->
Type.short_hash
. (#720, @samoht) -
Change
Irmin.Type
to use incremental hash functions (functions of type
'a -> (string -> unit) -> unit
) for performance reasons. (#751, @samoht) -
Simplify the
Irmin.Type.like
constructor and add a newIrmin.Type.map
with the previous behaviour. -
Improvements to
Irmin.Type
combinators. (#550 #538 #652 #653 #655 #656
#688, @samoht) -
Modify
Store.set
to 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_tree
tosave_tree
(#689, @samoht) and add an option to
conditionally clear the tree cache (#702 #725, @samoht). -
Change hash function for
Irmin_{fs,mem,unix}.KV
to BLAKE2b rather than
SHA1 for security reasons. (#811, @craigfe) -
Move
Irmin.remote_uri
toStore.remote
, for stores that support remote
operations. (#552, @samoht) -
Simplify the error cases of fetch/pull/push operations. (#684, @zshipko)
-
A
batch
function has been added to the backend definition to allow for
better control over how groups of operations are processed. (#609, @samoht) -
A
close
function has been added to allow backends to close any held
resources (e.g. file descriptors for theFS
backend). (#845, @samoht) -
Simplify
Private.Node.Make
parameters to use a simpler notion of 'path' in
terms of a list of steps. (#645, @samoht)
-
Fixed
-
irmin-unix:
-
irmin-git:
-
irmin-http:
-
irmin: