v0.2.0 — Polish release
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 craftedmodels.pyfrom opening arbitrary local files. - Hover markdown sanitization — parser-derived strings are escaped and the trusted-command scope is narrowed to
djangoOrmLens.jumpToModelonly. Blocks command-URI injection through crafted names.
Install
- Marketplace: https://marketplace.visualstudio.com/items?itemName=frowningdev.django-orm-lens
- CLI:
code --install-extension frowningdev.django-orm-lens - Direct VSIX: attached below.