[new release] atdts, atds, atdpy, atdj, atdgen, atdgen-runtime, atdgen-codec-runtime and atd (2.12.0) #23785
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Project page: https://github.com/ahrefs/atd
CHANGES:
classic variants (Annotate generated code with types to disambiguate OCaml classic variants ahrefs/atd#331)
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 forPython programmers. This prevents distinguishing
["Some", "None"]
from
"None"
which both translate toNone
in Python. (atdpy treats option as nullable ahrefs/atd#332)<json repr="string">
for int types ahrefs/atd#330)<json repr="string">
forint
values (Allow<json repr="string">
for int types ahrefs/atd#330)they're assigned to a field. This allows the use of mutable defaults such as
lists (atdpy: fix handling of fields defaulting to the empty list ahrefs/atd#339)