Skip to content

v0.2.0

Latest

Choose a tag to compare

@frostybee frostybee released this 01 Aug 15:56
· 7 commits to main since this release

Fixed

  • Submodules were uninstallable (lucide, goldmark, CLI): their go.mod files required core v0.0.0 with a replace directive, which consumer builds ignore, so go get github.com/frostybee/go-swarm-icons/lucide failed with unknown revision v0.0.0 and go install .../cmd/swarm-icons@latest was rejected outright. Submodules now require a released core version; local development uses a Go workspace instead of replace directives.

Changed

  • Breaking (core): SVG parsing and sanitization moved to an internal package. ParseSVG, ParseSVGFile, and SanitizeContent are no longer exported; sanitization still runs automatically inside FromFile, FromString, and every provider path.
  • Breaking (core): the IconifyData type and FromIconifyData constructor are unexported. Icons from Iconify JSON entries are constructed internally by the JSON collection and Iconify providers.

Added

  • Documentation website built with Sarde, deployed to GitHub Pages, with a live Markdown icon showcase page rendered by the library itself.
  • Brand assets and a README feature showcase.

Documentation

  • Expanded the Hugo integration guide with hugo-swarm-icons module examples covering every parameter.
  • New guides: web integration (net/http + html/template), icon set licensing and attribution, and a changelog.
  • Repaired the API reference after the internal-parsing refactor: removed entries for the unexported symbols and rewrote sanitization as automatic behavior.