Repository navigation
Model v1.16.11 — Clearer diagrams and component ownership
Model v1.16.11 improves the diagrams drawn by the editor, static embeds, and
mdl svg. It also shows the owning container around selected components,
making component views easier to read without changing the architecture DSL.
Clearer diagrams that preserve authored styles
Diagram text now uses the same Inter font for nodes, relationships, and
boundaries. SVG exports include the existing local font files and their license,
so a standalone SVG uses the font that Model measured without downloading it.
Default nodes have no shadow, thinner borders, and darker text; boundary lines
and relationship labels use a lighter visual treatment. Explicit author colors,
shapes, and dimensions remain supported.
Existing style inputs now reach the drawn content:
Icondisplays an author's image with space reserved above the text.- Element metadata and description visibility values control their respective
text blocks; ordinary diagrams continue to show both. - A relationship's technology appears below its description, and relationship
Widthcontrols the label's wrapping width in pixels. - Authored deployment-boundary background, stroke, and text colors override
the defaults.
In the browser preservation test, a 420 × 300 Cylinder keeps its requested
shape, size, fill, stroke, and text color; a separate Box displays an image icon
without the hidden metadata and description. The same test opens the exported
SVG in a fresh browser and checks the embedded font, license, boundary colors,
and relationship wrapping. See the renderer change.
Embedding all four existing Inter faces and their license adds about 136 KB to
each exported SVG. In the basic example, the SVG grew from 4,502 to 140,499 bytes;
the all-shapes example grew from 31,930 to 168,883 bytes.
Component views show who owns each component
A component view now draws a boundary for its owning container. For example,
the component-boundary test puts Handler and Store inside Application,
while a neighboring Worker remains outside. ContainerBoundariesVisible()
also draws the neighboring component's Jobs boundary. An explicitly selected
container remains a node with its relationships rather than being replaced by
a boundary. These cases run through both the editor and mdl svg.
See the component ownership change
and the example.
Build requirements and dependencies
The module now requires Go 1.27.3 or later, up from Go 1.26 in v1.16.10.
The shipped dependency updates include Goa 3.35.0, golang.org/x/tools 0.52.0,
and Chi 5.5.0, with their corresponding supporting Go modules.
Upgrade actions
Install the CLI with Go 1.27.3 or later:
go install goa.design/model/cmd/mdl@v1.16.11Library users can update their module with:
go get goa.design/model@v1.16.11Regenerate SVGs with the updated CLI to adopt the typography, icons,
relationship labels, and component boundaries. Review the resulting diagram
diffs: changed text measurements and boundary sizes can change automatic
positions. Existing SVGs remain files you can keep and display; upgrading the
CLI does not rewrite them automatically.
No Model DSL or saved-data migration is required. There is no service deployment
order or mixed-version protocol change. Older and newer CLI installations can
coexist, but they produce different diagram styling; use one CLI version when
regenerating a shared diagram set. To roll back, reinstall v1.16.10 (or restore
that library version) and restore the previous generated SVGs from source
control if you want their previous appearance.
See the diagram documentation
and complete release diff.