Skip to content

Releases: ahrefs/atd

2.6.0

04 May 03:05
Compare
Choose a tag to compare

CHANGES:

  • atdcat: add option -jsonschema to translate from ATD to JSON
    Schema (#284)

2.5.0

23 Apr 12:18
Compare
Choose a tag to compare

CHANGES:

  • atdpy: make atdpy --version print the version of atdpy itself
    rather than the version of the atd library (#270)
  • atdpy: fix handling of nullable and improve error message on
    option types used without optional fields (#277)
  • Add TypeScript backend called atdts (#274)

2.4.1

25 Mar 23:22
Compare
Choose a tag to compare

CHANGES:

  • atdpy: don't apply the @dataclass decorator twice if explicitly
    added by the user via an ATD annotation such as
    <python decorator="dataclass(frozen=True)"> (#267)

2.4.0

24 Mar 23:53
Compare
Choose a tag to compare

CHANGES:

  • atdpy: allow custom imports and class decorators to be added to the
    generated Python code.

2.3.3

17 Mar 04:15
Compare
Choose a tag to compare

CHANGES:

  • Prevent incorrect validation errors for annotations of the form
    <ocaml field_prefix=...> and a few others (#258)

2.3.2

12 Mar 00:41
Compare
Choose a tag to compare

CHANGES:

  • Fix package dependencies (#257)

2.3.1

11 Mar 08:01
Compare
Choose a tag to compare

CHANGES:

  • Ensure that atdgen reports its own version rather than the version
    of the atd library.
  • Fix version constraint on cmdliner.

2.3.0

11 Mar 07:04
570d270
Compare
Choose a tag to compare

CHANGES:

  • Allow single-quoted strings as an alternative to double-quoted
    strings in ATD files (#239)
  • Add Python backend called atdpy (#235)
  • Add detection of misplaced annotations and misspelled annotation
    field names for atdgen targets and atdpy (#204, #227)
  • atdpy: Downcase Python output files (#251)
  • atdpy: Disable flake8 checks on generated code via a special comment (#252)
  • atdgen: Add support for ppx attributes on individual type
    definitions (#238)
  • (BREAKING) atdgen: change encoding of int64 values to string (#231)
  • other enhancements and fixes (see git log)

2.2.1

14 Apr 07:05
Compare
Choose a tag to compare

CHANGES:

  • Upgrade to dune 2.0

2.2.0

09 Mar 12:07
Compare
Choose a tag to compare

CHANGES:

  • Add support for merging double annotations (<ocaml from="ProtoA"><ocaml predef>)

  • Add tests for annotation merging and target-specific annotations