- Last updated: 2024-12-12T10:11:58Z
- Generator: thi.ng/monopub
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
Note: Unlisted patch versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies.
5.4.0 (2024-09-16)
- add pattern(), add/use Attribs type alias (4c40840)
5.3.0 (2024-06-21)
- add fillRule attrib conversion support (9277417)
- rename various rest args to be more semantically meaningful (8088a56)
- enforce uniform naming convention of internal functions (56992b2)
5.2.34 (2024-04-20)
- update type usage (dc07fdd)
5.2.11 (2024-02-16)
5.2.0 (2023-12-26)
5.1.0 (2023-12-18)
- update convertTree() rounded rect handling (6115a50)
- use
r
attrib to derive rounded rect radius
- use
5.0.32 (2023-11-09)
- update all tests (packages A-S) (e3085e4)
5.0.0 (2023-04-08)
- update svgDoc() conversion handling (f0e9092)
- BREAKING CHANGE: update svgDoc(), rename
convert
attrib =>__convert
- for consistency, keep all control attribs prefixed as
__xxx
- for consistency, keep all control attribs prefixed as
- add support for precision attribute (f81d0d8)
- update convertTree() to allow dynamic floating point precision
handling via
__prec
control attrib - update docs
- add tests
- update convertTree() to allow dynamic floating point precision
handling via
- update ff() to always return string (ae1d844)
4.3.0 (2022-06-20)
- update default precision to .001 (4e62c9d)
4.2.13 (2022-06-09)
4.2.9 (2022-04-07)
- replace deprecated .substr() w/ .substring() (0710509)
4.2.0 (2021-11-17)
- Using workspaces for local tools (bf7a404)
Improving the overall build ergonomics
- introduced a tools workspaces
- imported it in all needed packages/examples
- inclusive project root
- testrunner to binary (4ebbbb2) this commit reverts (partly) changes made in: ef346d7a8753590dc9094108a3d861a8dbd5dd2c overall purpose is better testament ergonomics: instead of having to pass NODE_OPTIONS with every invocation having a binary to handle this for us.
4.1.6 (2021-11-10)
- update all countdown loops (a5f374b)
4.1.1 (2021-10-27)
- re-enable
filter
attrib in conversion (7c75fbe)- update convertAttrib() to treat filter attrib as normal attrib
4.1.0 (2021-10-25)
- update numericAttribs() (bf06b65)
- add
DEFAULT_NUMERIC_IDS
to always include in numericAttribs() - now called automatically by fattribs(), no more explicit calls needed
- add
4.0.1 (2021-10-13)
- update imports in all pkgs (5fa2b6f)
- add .js suffix for all relative imports
- update imports in all tests/pkgs (effd591)
4.0.0 (2021-10-12)
- major update of ALL pkgs (export maps, ESM only) (0d1d6ea)
- BREAKING CHANGE: discontinue CommonJS & UMD versions
- only ESM modules will be published from now on
- CJS obsolete due to ESM support in recent versions of node:
- i.e. launch NodeJS via:
node --experimental-specifier-resolution=node --experimental-repl-await
- in the node REPL use
await import(...)
instead ofrequire()
- UMD obsolete due to widespread browser support for ESM Also:
- normalize/restructure/reorg all package.json files
- cleanup all build scripts, remove obsolete
- switch from mocha to @thi.ng/testament for all tests
- check values passed to numericAttribs are actually numeric (dbd51c3)
- update all tests in all pkgs (8b582bc)
- update all to use @thi.ng/testament
- update all test stubs (f2d6d53)
- update imports (138571a)
3.8.0 (2021-08-22)
- add numericAttribs(), fix svg() (d6cb992)
- update svg() to format some attribs using ff()
3.7.31 (2021-08-17)
- single return in svg() (a770847)
3.7.6 (2021-02-20)
3.7.0 (2021-01-02)
- update svg(), add convert attrib (cd67a09)
- update attrib handling and call convertTree() if requested
- update docstrings
3.6.5 (2020-12-07)
- update type-only imports in various tests/pkgs (3fd9c24)
3.6.0 (2020-09-13)
- fix #194, add
baseline
support (f8d4a38)- add BASE_LINE value mappings
- update convertAttrib()
- allow child elements in shapes (7447ee1)
- update all shape functions to allow optional child elements (e.g. required for adding , <title>, etc.)
- fix/update convertTree() (997dbf6)
- add support for child elements within shapes (do not traverse!)
- treat as group-like element (do traverse children!)
- add support for nullish elements in shape tree (skip)
- update ff() formatter (int check) (609d278)
- add integer check and use as is if true (improves result filesize)
3.5.0 (2020-07-02)
- update deps, update xmlns import (aab66bb)
- update XML ns imports (32bd8d7)
3.4.2 (2020-02-25)
3.4.0 (2020-01-24)
- add packedPoints(), update convertTree() (67be25e)
3.3.2 (2019-11-09)
3.3.0 (2019-08-21)
- update polyline(), add fill: none default (cff9e30)
- convertAttrib() arg order (8b48a27)
- update fcolor(), extract buildTransform() (101bb94)
- re-use resolveAsCSS()
- update convertAttribs (9cc6849)
- update points(), extract buildShape() (e01fae3)
3.2.2 (2019-07-12)
- update points(), use centered rects (c7d6aaa)
3.2.0 (2019-07-07)
- enable TS strict compiler flags (refactor) (3143141)
- address TS strictNullChecks flag (9a1b92e)
3.1.7 (2019-02-27)
- update convert() image (new arg order in hdom-canvas) (b206cff)
3.1.0 (2019-01-22)
- add color dep, add attrib conversion for all elements (7f6011e)
- fix "rect" size handling in convertTree(), revert back to individual width/height values
- add @thi.ng/color dependency
- add fattrib() & fcolor() helpers
- update & move convertTransforms => ftransforms()
- update attrib handling for all elements
3.0.0 (2019-01-21)
- update package build scripts & outputs, imports in ~50 packages (b54b703)
- BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
- build scripts now first build ES6 modules in package root, then call
scripts/bundle-module
to build minified CJS & UMD bundles in/lib
- all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.
- build scripts now first build ES6 modules in package root, then call
- add ellipse shape type, update convert() (a39811c)
- convert path arc segment axis theta to degrees (370f928)
2.0.5 (2018-11-06)
- add toHiccup() support in convertTree() (e197f90)
- update convertTransforms(), update formatting (3713c02)
2.0.4 (2018-10-21)
- fix arc segment handling (85426d9)
1.0.0 (2018-05-13)
- rename svgdoc => svg (396faec)
- BREAKING CHANGE: rename svgdoc => svg
- resolve #19, update readme, add invocation notes (dc77540)
- BREAKING CHANGE: technically identical to previous version, however due to breaking changes and new context support in @thi.ng/hiccup, SVG functions MUST be invoked directly now and do not support lazy evaluation anymore. see notice in readme.
0.2.11 (2018-05-10)
- update deps & imports in all packages due to @thi.ng/api split (bc45636)
0.2.1 (2018-04-09)
- path(), update add null check for points() (b9d9a49)
0.2.0 (2018-04-08)
- re-add svg fns as new @thi.ng/hiccup-svg package (afccabd)
- split existing source file into (mostly) single-fn modules
- minor refactoring