Skip to content

Latest commit

 

History

History
375 lines (229 loc) · 15.4 KB

CHANGELOG.md

File metadata and controls

375 lines (229 loc) · 15.4 KB

Change Log

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)

🚀 Features

  • add pattern(), add/use Attribs type alias (4c40840)

5.3.0 (2024-06-21)

🚀 Features

  • add fillRule attrib conversion support (9277417)

♻️ Refactoring

  • rename various rest args to be more semantically meaningful (8088a56)
  • enforce uniform naming convention of internal functions (56992b2)

5.2.34 (2024-04-20)

♻️ Refactoring

5.2.11 (2024-02-16)

🩹 Bug fixes

  • update scale attrib (7e797d1) handling (if zero)
  • update path() attrib overrides (7b25d0d)

5.2.0 (2023-12-26)

🚀 Features

  • include Inkscape xmlns in <svg> root (997850b)
  • add __inkscapeLayer group attrib handling (79a3932)

5.1.0 (2023-12-18)

🚀 Features

  • update convertTree() rounded rect handling (6115a50)
    • use r attrib to derive rounded rect radius

5.0.32 (2023-11-09)

♻️ Refactoring

  • update all tests (packages A-S) (e3085e4)

5.0.0 (2023-04-08)

🛑 Breaking changes

  • update svgDoc() conversion handling (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)
    • 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)

4.3.0 (2022-06-20)

🚀 Features

  • update default precision to .001 (4e62c9d)

4.2.13 (2022-06-09)

🩹 Bug fixes

  • fix #351 convertTree() (8dc0e86)
    • update gradientTreansform handling

4.2.9 (2022-04-07)

♻️ Refactoring

  • replace deprecated .substr() w/ .substring() (0710509)

4.2.0 (2021-11-17)

🚀 Features

  • 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

♻️ Refactoring

  • 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)

♻️ Refactoring

  • update all countdown loops (a5f374b)

4.1.1 (2021-10-27)

🩹 Bug fixes

  • re-enable filter attrib in conversion (7c75fbe)
    • update convertAttrib() to treat filter attrib as normal attrib

4.1.0 (2021-10-25)

🚀 Features

  • update numericAttribs() (bf06b65)
    • add DEFAULT_NUMERIC_IDS to always include in numericAttribs()
    • now called automatically by fattribs(), no more explicit calls needed

4.0.1 (2021-10-13)

♻️ Refactoring

  • 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)

🛑 Breaking changes

  • 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 of require()
    • 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

🩹 Bug fixes

  • check values passed to numericAttribs are actually numeric (dbd51c3)

♻️ Refactoring

3.8.0 (2021-08-22)

🚀 Features

  • add numericAttribs(), fix svg() (d6cb992)
    • update svg() to format some attribs using ff()

3.7.31 (2021-08-17)

♻️ Refactoring

3.7.6 (2021-02-20)

♻️ Refactoring

  • update fcolor() (resolveAsCss()) (f58ca90)
  • update color attrib resolution/conversion (5415760)

3.7.0 (2021-01-02)

🚀 Features

  • update svg(), add convert attrib (cd67a09)
    • update attrib handling and call convertTree() if requested
    • update docstrings

3.6.5 (2020-12-07)

♻️ Refactoring

  • update type-only imports in various tests/pkgs (3fd9c24)

3.6.0 (2020-09-13)

🚀 Features

  • 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)

🚀 Features

  • update deps, update xmlns import (aab66bb)

🩹 Bug fixes

3.4.2 (2020-02-25)

♻️ Refactoring

3.4.0 (2020-01-24)

🚀 Features

  • add packedPoints(), update convertTree() (67be25e)

3.3.2 (2019-11-09)

🩹 Bug fixes

  • fix #142, add missing exports (ellipse, image) (1bd7f64)

3.3.0 (2019-08-21)

🚀 Features

  • update polyline(), add fill: none default (cff9e30)

🩹 Bug fixes

  • convertAttrib() arg order (8b48a27)

♻️ Refactoring

  • update fcolor(), extract buildTransform() (101bb94)
    • re-use resolveAsCSS()
  • update convertAttribs (9cc6849)
  • update points(), extract buildShape() (e01fae3)

3.2.2 (2019-07-12)

🩹 Bug fixes

  • update points(), use centered rects (c7d6aaa)

3.2.0 (2019-07-07)

🚀 Features

  • enable TS strict compiler flags (refactor) (3143141)

♻️ Refactoring

  • address TS strictNullChecks flag (9a1b92e)

3.1.7 (2019-02-27)

🩹 Bug fixes

  • update convert() image (new arg order in hdom-canvas) (b206cff)

3.1.0 (2019-01-22)

🚀 Features

  • 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)

🛑 Breaking changes

  • 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.

🚀 Features

  • add ellipse shape type, update convert() (a39811c)

🩹 Bug fixes

  • convert path arc segment axis theta to degrees (370f928)

2.0.5 (2018-11-06)

🚀 Features

  • add toHiccup() support in convertTree() (e197f90)

♻️ Refactoring

  • update convertTransforms(), update formatting (3713c02)

2.0.4 (2018-10-21)

🩹 Bug fixes

  • fix arc segment handling (85426d9)

1.0.0 (2018-05-13)

🛑 Breaking changes

  • 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)

♻️ Refactoring

0.2.1 (2018-04-09)

🩹 Bug fixes

  • path(), update add null check for points() (b9d9a49)

0.2.0 (2018-04-08)

🚀 Features

  • re-add svg fns as new @thi.ng/hiccup-svg package (afccabd)
    • split existing source file into (mostly) single-fn modules
    • minor refactoring