Repository navigation
Releases
Releases · ZhuchkaTriplesix/mkdocs-dbml
v1.2.0
Added
heightplugin option for the diagram viewport.- Zoom in / zoom out / fit-to-view buttons, Ctrl/⌘+wheel zoom with a hint, keyboard control (arrows move a table,
+/-/0zoom). - Tooltips for table notes and indexes; double-click copies a field name.
- Accessibility: roles, labels and focusable tables; reduced-motion support.
- Playwright end-to-end test suite and CI job.
Changed
- Minimum supported dependencies raised to
mkdocs>=1.5.0andpydbml>=1.0.10(older versions did not work). - Darker theme gradients for WCAG AA contrast; dark-mode controls follow the palette.
- Table width fits the longest column type; layers are spaced by the tallest table.
- Syntax errors in DBML are reported as
syntax error at line L, column Cwithout a traceback.
Fixed
- Non-deterministic layout across runs (
PYTHONHASHSEED). - Tall tables overlapping the next layer.
- Drag moving tables by the wrong distance when the view is scaled.
- Clicks on a relationship line not selecting it; double-click copy retargeting.
- Auto-fit computed before layout/fonts settled; Material theme overriding the diagram height.
- Duplicate SVG ids with several diagrams per page; CRLF and indented
```dbmlfences; path traversal in file includes.
v1.1.0 - Modern Cubic Bézier Curves & UI/UX Overhaul
What's Changed in v1.1.0
🚀 Smooth Cubic Bézier Curves & Adaptive Routing
- Smooth Cubic Bézier Curves: Modern, fluid relationship curves (
M sx sy C cp1x cp1y, cp2x cp2y, ex ey) matching dbdiagram.io and React Flow industry standards. - Adaptive Port Selection: Automatic facing side selection ( \to L$ or \to R$) for horizontally positioned tables, and graceful C-bracket loops for vertically stacked tables.
- Concentric Multi-Lane Curves: Parallel connections between same tables scale control point offsets with
lane_offsetfor non-overlapping concentric ribbons. - Multi-Inbound Port Balancing: Distributes inbound connections to opposing sides of target tables to prevent T-junction collisions on primary keys.
- Strict Interior Collision Protection: Segments are validated against all table bounding boxes to prevent lines from cutting through table cards or entering through top/bottom edges.
🎨 UI & UX Modernization
- MkDocs Material Dynamic Dark Theme: Real-time palette synchronization supporting
[data-md-color-scheme="slate"],[data-theme="dark"], and.darkclasses without page reloads. - Unified Toolbar: Standardized 36x36px action buttons with rounded corners, translucent backdrop, accessible focus rings, and responsive mobile legend layout.
- Multi-Touch Gestures: Fluid two-finger pinch-to-zoom and two-finger panning for mobile and tablet devices.
- Scoped Styles: CSS selectors scoped to prevent dark-mode text fill bleeding into document body.
⚡ Performance
-
Silky 60 FPS Drag Performance: Instant
$O(1)$ Bézier evaluation indbml.jsfor smooth drag-and-drop animations without browser stutter. - 33/33 Automated Unit Tests Passed across all routing, layout, and rendering subsystems.
v1.0.6
v1.0.5
v1.0.2
Init release
Full Changelog: v1.0.0...v1.0.1