Skip to content

Tags: avsm/ocaml-yaml

Tags

v3.2.0

Toggle v3.2.0's commit message
Release 3.2.0

CHANGES:

* Fix potential GC corruption when serialising large Yaml
  buffers (#75 @hhugo)

* Add missing `?len` argument to `yaml_of_string` to specify
  buffer size (#74 @hhugo)

* Remove remaining references to Rresult in tests and
  documentation (#62 @sim642)

v3.1.0

Toggle v3.1.0's commit message
Release 3.1.0

CHANGES:

* Support MSVC with .obj and .lib extensions, and defining
  -DDYAML_DECLARE_EXPORT (@jonahbeckford #53)

* Upgrade to dune 2 (@TheLortex, #54)

* Add ocamlformat (@samoht, #55)

* Make yaml compatible with opam-monorepo (@TheLortex, #56)

v3.0.1

Toggle v3.0.1's commit message
Release 3.0.1

CHANGES:

* Remove dependency on Rresult (@maxtori #50).

v3.0.0

Toggle v3.0.0's commit message
Release v3.0.0

CHANGES:

* Support Yaml 1.2, and stop advertising Yaml 1.0 support.
  This also updates the vendored libyaml to 0.2.5 (@favonia #37).

* Add a `Yaml.Util` module with a number of useful combinators
  to manipulate `Yaml.value` types, such as retrieving keys and
  values, finding entries and converting to OCaml native
  types (@patricoferris #43)

* Move the sexpression derivers into a separate `Yaml_sexp`
  package (the `yaml-sexp` opam package). This reduces dependencies
  on the main library.  You can still use `Yaml` types in
  `ppx_sexplib_conv` derivers by simply replacing the
  `Yaml.value` (or other type) with `Yaml_sexp.value` which is
  an alias that also includes the Sexp conversion functions in
  its scope. (@alan-j-hu @avsm #46).

* When outputting values, wrap special values like "true" or
  "1.0" in double quotes, so that `Yaml.of_string` will not
  interpret them as a non-string value (@avsm #47).

* Track anchors and mappings in `Yaml.yaml` (but not in the
  `Yaml.value` JSON representation). This also allows non-scalar
   values to be used as keys. (@favonia #38)

* Bump the internal write buffer for stream emission to
  256k from 64k, as people are writing ever-larger Yaml
  files! In the future, this static buffer will be replaced
  by a dynamically growing output buffer but for now needs
  to be set manually.

* The minimum supported OCaml version is now OCaml 4.05.

v2.1.0

Toggle v2.1.0's commit message
Distribution v2.1.0

v2.0.1

Toggle v2.0.1's commit message
Distribution v2.0.1

v2.0.0

Toggle v2.0.0's commit message
Distribution v2.0.0

v1.0.0

Toggle v1.0.0's commit message
Distribution v1.0.0

v0.2.1

Toggle v0.2.1's commit message
improve doc and remove pkg/pkg as we can use dune-release

v0.2.0

Toggle v0.2.0's commit message
Distribution v0.2.0