Repository navigation
·
5 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
erdify 0.14.1 — a fix for django-ninja ModelSchema, and the new documentation image.
Fixed
- erdify now recognises ninja-style
ModelSchemaclasses — those taking their
fields from a Django model via an innerMeta(django-ninja) orConfig
(ninja-schema) — and skips them with an explanatory warning instead of
drawing an entity with no fields. NamingModelSchemavia--base-classes
previously produced an empty box beside the real table, which was worse than
no support at all. Detection is narrow: only an innerMeta/Configthat
assignsmodelcounts, so an ordinary Pydantic model with a nested config
class and Django's ownclass Metaare both untouched. Resolving those
schemas properly remains open in
#171. docs/examples/frameworks.svgis well-formed XML again. Its header comment
contained a command-line flag, and XML comments may not contain a double
hyphen, so the file failed to parse — harmless for the site, which serves the
PNG, but the file documented as "the editable source" would not open in a
browser or vector editor.- The image footer reads "and raw SQL DDL" rather than listing it as a sixth
bullet. The headline counts five frameworks; SQL DDL is an input format, and
the flat list made the two numbers look like they disagreed.
Changed
- The README and the documentation home page now open with a "five frameworks,
one diagram" image — the sameUser/Orderschema written in SQLModel,
SQLAlchemy, Django, Pydantic and dataclasses, converging on the ERD they all
produce. The previous image was the bare ERD under a caption claiming five
frameworks, which the picture itself never showed. The snippets are taken
from the runnable examples indocs/examples/, and it is drawn in the devsuit
brand palette.docs/examples/frameworks.svgis the editable source; the
now-unreferenceddocs/examples/erd.pngis removed.
Install: pip install erdify · Docs: https://erdify.devsuit.io/ · Full diff: v0.14.0...v0.14.1