- New export option "Gerätebilder anzeigen": the SVG is rendered with
include_images and the /media/ image links are replaced by embedded
data URIs, since Word, WeasyPrint and SVG-as-image cannot load
login-protected files. The Pillow PNG renderer draws the front/rear
images too, with the device name on a dark label.
- Custom rack_svg_renderer adapters receive images=..., older adapters
without that parameter keep working.
- The HTML preview now opens in a new browser tab.
Bump version to 0.3.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
RackElevationSVG falls back to RACK_ELEVATION_DEFAULT_* config
parameters, which raise AttributeError on the target NetBox version.
Pass the dimensions explicitly instead.
Add a Pillow-based PNG rack renderer (role colors, unit legend,
full-depth devices shown dimmed from the other side). It is used for
Word when cairosvg is unavailable and replaces a failed SVG in all
formats.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>