Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.05 KB

CHANGELOG.md

File metadata and controls

51 lines (37 loc) · 1.05 KB

Changelog

3.0

  • Use Result.result in generated code.
  • Compatibility with statically linked ppx drivers.
  • OCaml 4.03 compatibility.

2.3

  • Adapt to syntactic changes in 4.02.2.
  • Improve compatibility with libraries that shadow modules from standard library, such as Core.
  • Allow deserializing float values that appear as integer literals in the input JSON.
  • Suppress some warnings.

2.2

  • Add support for open types.

2.1

  • Handle inheriting from a parametric polymorphic variant type.
  • Don't leak type variables.

2.0

  • Update to accomodate syntactic changes in deriving 1.0.
  • Common helper functions have been extracted into ppx_deriving_yojson.runtime, reducing code size.
  • Add support for [@@deriving to_yojson, of_yojson] and [%to_yojson:], [%of_yojson:] shortcuts.
  • Add support for [@@deriving yojson { strict = false }].

1.1

  • Add [@key], [@name] and [@default] attributes.
  • Add support for Yojson.Safe.json values.

1.0

  • Initial release.