Skip to content

2.12.0

Compare
Choose a tag to compare
@mjambon mjambon released this 12 May 21:37
· 143 commits to master since this release

CHANGES:

  • atdgen: Annotate generated code with types to disambiguate OCaml
    classic variants (#331)
  • atdpy: Support the option type more correctly so that it follows
    ATD's convention for JSON encoding. This allows compatibility with
    JSON produced by other tools of the ATD suite. The Python type,
    however, is still a nullable (Optional) to make things simpler for
    Python programmers. This prevents distinguishing ["Some", "None"]
    from "None" which both translate to None in Python. (#332)
  • (BREAKING) atdgen: revert default encoding of int64 values as string (#330)
  • atdgen: Support <json repr="string"> for int values (#330)
  • atdpy: Treat default field values as expressions to evaluate each time
    they're assigned to a field. This allows the use of mutable defaults such as
    lists (#339)