Ocaml Decoders Versions Save

Elm-inspired decoders for Ocaml

v1.0.0

1 year ago

CHANGES:

  • Extract and expose Decoder.t, useful for "decoding" things outside of the JSON family (#40, @mattjbray).
  • Add Decoders.Xml.S to decoders, create decoders-ezxmlm, and add Decoders_bs_xml to bs-decoders (#49, @mattjbray).
  • BREAKING: namespace bs-decoders modules under Decoders. To upgrade, replace Decoders_bs with Decoders.Bs_json (#49, @mattjbray).
  • Add decoders-jsonaf (#50, @dvmitrv).

v0.7.0

1 year ago

CHANGES:

  • Add Decode.field_opt_or (#43, @c-cube)
  • Add Decode.pick (#43, @c-cube)
  • Add Decode.decode_sub (#45, @c-cube)

bs-decoders

  • Improve int decoder (@actionshrimp)

decoders-yojson

  • Move away from deprecated Yojson.json to Yojson.t (#37, @idkjs)

v0.6.0

3 years ago

CHANGES:

  • Add Decode.of_of_string and Encode.of_to_string (@mattjbray)
  • Add Decode.array with bs-specific impl (#28, #30, @actionshrimp)

v0.5.0

3 years ago

CHANGES:

  • Add Decoders_msgpck (#26, @c-cube)
  • Add let operators (#24, @c-cube)
  • Alias Decode.map as <$> (#21, @hamza0867)

v0.4.0

3 years ago

CHANGES:

  • Expose null decoder (#18, @mattjbray)
  • Rename Encode.option to Encode.nullable (#19, @mattjbray)
  • Add Decoders_jsonm (#20, @mattjbray)

v0.3.0

4 years ago

CHANGES:

  • Add uncons primitive (#7, @mattjbray)
  • Add Decoders_sexplib (#7, @mattjbray)
  • Add Decoders_cbor (#9, @mattjbray)
  • Add Decoders_bencode (#14, @c-cube)
  • Remove containers dependency (#16, @c-cube)

v0.2.0

4 years ago

CHANGES:

  • Add field_opt decoder (#5, @actionshrimp)
  • Add list_fold_left decoder (#8, @ewenmaclean)

0.1.2

5 years ago

CHANGES:

  • Upgrade from jbuilder to dune
  • Remove cppo build dependency (#4)

0.1.1

5 years ago

CHANGES:

  • Fix some non-tail-recursive stuff.
  • Add stringlit encoder and decoder for Decoders_yojson.Raw

0.1.0

5 years ago

CHANGES:

Initial release.