# Change Log - **Last updated**: 2026-07-02T14:22:51Z - **Generator**: [thi.ng/monopub](https://thi.ng/monopub) All notable changes to this project will be documented in this file. Only versions published since **2023-01-01** are listed here. Please consult the Git history for older version information. See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines. **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies. ## [5.6.0](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/hiccup-svg@5.6.0/packages/hiccup-svg) (2026-03-02) #### ๐Ÿš€ Features - add `__prec` attrib support for `svg()` root element ([fa33c1e](https://codeberg.org/thi.ng/umbrella/commit/fa33c1e)) - add tests #### ๐Ÿฉน Bug fixes - update `__prec` attrib checks in `convertTree()` ([c3893b8](https://codeberg.org/thi.ng/umbrella/commit/c3893b8)) - check against nullish values to also support `__prec: 0` (i.e. integer coordinates) ### [5.5.20](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/hiccup-svg@5.5.20/packages/hiccup-svg) (2025-12-03) #### โ™ป๏ธ Refactoring - update for-loops (use const where possible) ([5ceaf1a](https://codeberg.org/thi.ng/umbrella/commit/5ceaf1a)) ## [5.5.0](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/hiccup-svg@5.5.0/packages/hiccup-svg) (2025-07-26) #### ๐Ÿš€ Features - add branch-level support for `__convert: false` ([a51d634](https://codeberg.org/thi.ng/umbrella/commit/a51d634)) - update `convertTree()` to allow branch-local disabling of conversion - add tests ### [5.4.13](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/hiccup-svg@5.4.13/packages/hiccup-svg) (2025-01-14) #### โ™ป๏ธ Refactoring - use optional chaining & nullish coalescing ([c5a0a13](https://codeberg.org/thi.ng/umbrella/commit/c5a0a13)) ## [5.4.0](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/hiccup-svg@5.4.0/packages/hiccup-svg) (2024-09-16) #### ๐Ÿš€ Features - add pattern(), add/use Attribs type alias ([4c40840](https://codeberg.org/thi.ng/umbrella/commit/4c40840)) ## [5.3.0](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/hiccup-svg@5.3.0/packages/hiccup-svg) (2024-06-21) #### ๐Ÿš€ Features - add fillRule attrib conversion support ([9277417](https://codeberg.org/thi.ng/umbrella/commit/9277417)) #### โ™ป๏ธ Refactoring - rename various rest args to be more semantically meaningful ([8088a56](https://codeberg.org/thi.ng/umbrella/commit/8088a56)) - enforce uniform naming convention of internal functions ([56992b2](https://codeberg.org/thi.ng/umbrella/commit/56992b2)) ### [5.2.34](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/hiccup-svg@5.2.34/packages/hiccup-svg) (2024-04-20) #### โ™ป๏ธ Refactoring - update type usage ([dc07fdd](https://codeberg.org/thi.ng/umbrella/commit/dc07fdd)) ### [5.2.11](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/hiccup-svg@5.2.11/packages/hiccup-svg) (2024-02-16) #### ๐Ÿฉน Bug fixes - update scale attrib ([7e797d1](https://codeberg.org/thi.ng/umbrella/commit/7e797d1)) handling (if zero) - update path() attrib overrides ([7b25d0d](https://codeberg.org/thi.ng/umbrella/commit/7b25d0d)) ## [5.2.0](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/hiccup-svg@5.2.0/packages/hiccup-svg) (2023-12-26) #### ๐Ÿš€ Features - include Inkscape xmlns in `` root ([997850b](https://codeberg.org/thi.ng/umbrella/commit/997850b)) - add `__inkscapeLayer` group attrib handling ([79a3932](https://codeberg.org/thi.ng/umbrella/commit/79a3932)) ## [5.1.0](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/hiccup-svg@5.1.0/packages/hiccup-svg) (2023-12-18) #### ๐Ÿš€ Features - update convertTree() rounded rect handling ([6115a50](https://codeberg.org/thi.ng/umbrella/commit/6115a50)) - use `r` attrib to derive rounded rect radius ### [5.0.32](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/hiccup-svg@5.0.32/packages/hiccup-svg) (2023-11-09) #### โ™ป๏ธ Refactoring - update all tests (packages A-S) ([e3085e4](https://codeberg.org/thi.ng/umbrella/commit/e3085e4)) #### ๐Ÿงช Tests - update/refactor tests to use bun test runner ([8f6edb1](https://codeberg.org/thi.ng/umbrella/commit/8f6edb1)) - update/rename test files/imports (still many broken) ([1cb3c49](https://codeberg.org/thi.ng/umbrella/commit/1cb3c49)) # [5.0.0](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/hiccup-svg@5.0.0/packages/hiccup-svg) (2023-04-08) #### ๐Ÿ›‘ Breaking changes - update svgDoc() conversion handling ([f0e9092](https://codeberg.org/thi.ng/umbrella/commit/f0e9092)) - BREAKING CHANGE: update svgDoc(), rename `convert` attrib => `__convert` - for consistency, keep all control attribs prefixed as `__xxx` #### ๐Ÿš€ Features - add support for precision attribute ([f81d0d8](https://codeberg.org/thi.ng/umbrella/commit/f81d0d8)) - update convertTree() to allow dynamic floating point precision handling via `__prec` control attrib - update docs - add tests #### ๐Ÿฉน Bug fixes - update ff() to always return string ([ae1d844](https://codeberg.org/thi.ng/umbrella/commit/ae1d844))