2.2.0
CHANGES:
Added
-
irmin:
-
ppx_irmin
Changed
-
irmin:
-
Add sanity checks when creating
Irmin.Typerecords, variants and enums
(#956 and #966, @liautaud):Irmin.Type.{sealr,sealv,enum}will now raiseInvalid_argumentif two
components have the same name;Irmin.Type.{field,case0,case1}will now raiseInvalid_argumentif
the component name is not a valid UTF-8 string.
-
Changed the JSON encoding of options and unit to avoid ambiguous cases
(#967, @liautaud):()is now encoded as{};Noneis now encoded asnull;Some xis now encoded as{"some": x};- Fields of records which have value
Noneare still omitted; - Fields of records which have value
Some xare still unboxed intox.
-
Changed pretty-printing of Irmin types to more closely resemble OCaml types.
e.g.pair int stringprints asint * string. (#997, @craigfe) -
The type
Irmin.S.treeis now abstract. The previous form can be coerced
to/from the abstract representation with the new functions
Irmin.S.Tree.{v,destruct}respectively. (#990, @craigfe)
-
irmin-mem