Skip to content

Releases: FROWNINGdev/django-orm-lens

v0.2.0 — Polish release

Choose a tag to compare

@FROWNINGdev FROWNINGdev released this 12 Jul 20:56

The polish release. Consolidates hover, filter, welcome, security hardening, and diagram export into a single minor bump.

What is new

Added

  • Export ER diagram as SVG — new button in the diagram panel header saves the rendered graph as an SVG file inside your workspace.
  • Welcome view — the sidebar shows a helpful explanation and a Refresh action when no Django models are found, instead of a blank panel.
  • Smart tree expansion — apps auto-expand on small projects (≤ 40 models) and start collapsed on large monorepos. A filter always expands to reveal matches.
  • Multi-line class inheritance support — the parser handles Black-formatted classes where the base list wraps across two or three lines.

Security

  • Path scoping on jumpToModel — rejects any target outside the current workspace folders. Prevents a crafted models.py from opening arbitrary local files.
  • Hover markdown sanitization — parser-derived strings are escaped and the trusted-command scope is narrowed to djangoOrmLens.jumpToModel only. Blocks command-URI injection through crafted names.

Install

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 13 Jul 08:36

What's Changed

  • Support edge labels for one-to-one and through relations 🩷 by @kingrubic in #5

New Contributors

Full Changelog: v0.2.0...v0.3.1

v0.3.0 — CodeLens, edge labels, theme picker, Python CLI + MCP

Choose a tag to compare

@FROWNINGdev FROWNINGdev released this 12 Jul 21:48

Highlights

  • CodeLens above every model class — shows field/relation counts and an "Open ER diagram" action inline. Toggle with djangoOrmLens.showCodeLens.
  • Edge labels on the ER diagram — relation arrows now surface on_delete (CASCADE / SET_NULL / PROTECT) and related_name when present.
  • Theme pickerdjangoOrmLens.diagramTheme (auto / default / dark / forest / neutral); auto follows your VS Code color theme.
  • Python CLI + MCP server — companion package django-orm-lens on PyPI. Zero-dep CLI (scan, describe, hover, list, er) plus an optional MCP stdio server exposing five read-only tools to Cursor, Aider, Continue.dev, Zed, and any MCP client.

Install

code --install-extension frowningdev.django-orm-lens
pip install "django-orm-lens[mcp]"

Fixes

  • CI publish workflow (was silently failing on YAML quoting). Now has parallel Marketplace + PyPI publish jobs.

Links