2.12.0
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 toNone
in Python. (#332) - (BREAKING) atdgen: revert default encoding of int64 values as string (#330)
- atdgen: Support
<json repr="string">
forint
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)