Skip to content

Releases: drivendataorg/erdantic

v1.2.1

15 Feb 23:56
db4eeaa

Choose a tag to compare

v1.2.1 (2026-02-15)

  • Added official support for Python 3.14. (PR #164)
    • Note: The pydantic_v1 plugin is disabled when running on Python 3.14+, as Pydantic has dropped support for its V1 legacy module.
    • Note: Python 3.14's internal representation of typing.Union and typing.Optional have changed, such that they will always render using the | operator.

v1.2.0

15 Sep 18:07
879e976

Choose a tag to compare

v1.2.0 (2025-09-15)

  • Added support for the D2 diagramming language for class diagrams. Use EntityRelationshipDiagram.to_d2() to get the D2 representation programmatically, or the CLI flag --d2 to print it to stdout. The --dot and --d2 options are mutually exclusive, and -o/--out is ignored when --d2 is used. (PR #152 and PR #162, contribution thanks to @Else00)

v1.1.1

20 Jul 02:47
8112dcf

Choose a tag to compare

v1.1.1 (2025-07-19)

  • Changed plugins.pydantic.get_fields_from_pydantic_model to force model rebuild. This helps address cases of unresolved forward references where Pydantic mistakenly skips rebuilding. Fixes #153. (PR #154)
  • [Examples] Changed Party class in all example modules to use list instead of typing.List for the type annotation for the members field.

v1.1.0.post1

13 Apr 03:48
f1b64be

Choose a tag to compare

v1.1.0 (2025-04-12)

  • Removed support for Python 3.8.
  • Added Python 3.13 to supported Python versions.
  • Added support for msgspec structs. (Issue #139, PR #142)
  • Added --list-plugins CLI flag to print information on active plugins. (PR #144)

v1.1.0.post1 (2025-04-12)

  • Fixed broken tests badge in README.
  • Fixed broken image in README.

v1.1.0

12 Apr 19:52
b09dc96

Choose a tag to compare

v1.1.0 (2025-04-12)

  • Removed support for Python 3.8.
  • Added Python 3.13 to supported Python versions.
  • Added support for msgspec structs. (Issue #139, PR #142)
  • Added --list-plugins CLI flag to print information on active plugins. (PR #144)

v1.0.5

19 Sep 23:30
1d2399a

Choose a tag to compare

  • Fixed runtime AttributeError that occurred when creating a diagram that includes a model with a field that uses a type annotation with the ellipsis literal (e.g., tuple[int, ...]). (Issue #124, PR #127)

v1.0.4

16 Jul 21:30
2db369b

Choose a tag to compare

  • Fixed handling of typing.Annotated in cases where it's not the outermost generic type. (Issue #122, PR #123)

v1.0.3

10 May 04:29
664a3f7

Choose a tag to compare

  • Fixed StopIteration error when rendering a model that has no fields. (Issue #120, PR #121)

v1.0.2

11 Apr 16:38
c687b03

Choose a tag to compare

  • Fixed AttributeError when adding a model that has a field annotated with certain typing special forms like Any, Literal, or TypeVar instances. (Issue #114, PR #115)

v1.0.1

10 Apr 15:32
e712754

Choose a tag to compare

  • Fixed ModuleNotFoundError when importing from erdantic.examples without attrs installed.