Skip to content

Latest commit

 

History

History
285 lines (178 loc) · 12 KB

CHANGELOG.md

File metadata and controls

285 lines (178 loc) · 12 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.

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 tests/pkgs (effd591)
  • update imports in all pkgs (5fa2b6f)
    • add .js suffix for all relative imports

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 color attrib resolution/conversion (5415760)
  • update fcolor() (resolveAsCss()) (f58ca90)

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

  • update ff() formatter (int check) (609d278)
    • add integer check and use as is if true (improves result filesize)
  • 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)
  • allow child elements in shapes (7447ee1)
    • update all shape functions to allow optional child elements (e.g. required for adding , <title>, etc.)
  • fix #194, add baseline support (f8d4a38)
    • add BASE_LINE value mappings
    • update convertAttrib()

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 points(), extract buildShape() (e01fae3)
  • update convertAttribs (9cc6849)
  • update fcolor(), extract buildTransform() (101bb94)
    • re-use resolveAsCSS()

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

  • 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.
  • rename svgdoc => svg (396faec)
  • BREAKING CHANGE: rename svgdoc => svg

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