All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.3.0] - 2026-09-21
Added
dynamic_inline_svg/1: same behaviour and options asinline_svg/1, but without the compile-timevalues:constraint on:path. Use for interpolated paths where the SVG name is only known at runtime; still raisesArgumentErrorfor unknown names.
[0.2.0] - 2026-09-21
Added
- Compile-time validation of the
:pathattribute. Every SVG name is registered as a:valuesentry on the generatedattr :path, so literal paths in HEEx are checked at compile time. Unknown names emit a compiler warning; compile with--warnings-as-errorsto make them fatal.
[0.1.0] - 2026-09-20
Added
Stencil.Component;use Stencil.Componentmacro that compiles SVGs from a directory into a Phoenixinline_svg/1component.:diroption (defaults to"priv/svg").- Optional
strip_stylingbehavior to removeclass,fill,stroke,stroke-width, andstyleattributes from the embedded SVG so page CSS can control the visual. data-inline-svg/data-inline-svg-styledmarker attributes for CSS targeting.- Automatic re-compilation when SVGs are added, removed, or changed.