Skip to content

Latest commit

 

History

History
294 lines (200 loc) · 13.3 KB

CHANGELOG.md

File metadata and controls

294 lines (200 loc) · 13.3 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.1.91 (2023-11-09)

♻️ Refactoring

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

4.1.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.0.1 (2021-10-13)

♻️ Refactoring

  • 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

♻️ Refactoring

  • update all tests in all pkgs (8b582bc)
  • update all test stubs (f2d6d53)
  • update imports (138571a)
  • update deps & imports in various pkgs (e1cf29e)
    • largely related to recent updates/restructuring of these packages:
      • api
      • defmulti
      • errors
      • logger

3.0.24 (2020-12-22)

♻️ Refactoring

  • update DiffMode handling (ae8e3cf)

3.0.23 (2020-12-07)

♻️ Refactoring

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

3.0.0 (2020-06-05)

🛑 Breaking changes

  • remove obsolete files (41c8a9d)
  • BREAKING CHANGE: tree traversal & rendering parts extracted to new package @thi.ng/hiccup-canvas From now on, this package only contains the canvas component wrapper & hdom related interface implementations, allowing canvas rendering parts to be used separately.

2.4.4 (2020-02-25)

♻️ Refactoring

2.4.2 (2020-01-24)

🩹 Bug fixes

  • update points() to draw centered rects (43d0aef)

2.4.0 (2019-11-09)

🚀 Features

  • add packedPoints shape type, update readme (292611a)
    • minor refactor point()/drawPoints()

2.3.0 (2019-09-21)

🚀 Features

  • add clip attrib support for paths (2c2909d)

2.2.4 (2019-08-21)

♻️ Refactoring

  • split into sep files, expose direct draw fns (4f0a220)
    • all fns in /draw can be used w/o hdom trees (direct canvas shape drawing)
    • make implicit deps explicit
  • update draw state handling (d5c0738)
  • improve re-use in points(), polygon/polyline() (b1cb63b)
  • update resolveColor to use resolveAsCSS (22ab80e)

2.2.2 (2019-08-16)

🩹 Bug fixes

  • fix attrib default vals, add missing weight val (f09677f)

2.2.0 (2019-07-31)

🚀 Features

  • add setTransform attrib, update docs/readme (eed3de2)
    • delegates to canvas 2D context setTransform() to override current tx (rather than transform which concatenates given matrix with existing one

2.1.0 (2019-07-07)

🚀 Features

  • enable TS strict compiler flags (refactor) (998f5a1)

♻️ Refactoring

2.0.5 (2019-03-10)

♻️ Refactoring

  • update Fn args in various packages (e453ac3)

2.0.0 (2019-02-27)

🛑 Breaking changes

  • update image handling, add image/atlas blitting support (bc59d30)
  • BREAKING CHANGE: new image args/attribs & arg order, see readme

1.1.0 (2019-01-22)

🚀 Features

  • add color dep, update color attrib handling (1d92c8c)
    • add support for non-string color attribs
    • update readme

1.0.0 (2019-01-21)

🛑 Breaking changes

  • update package scripts, outputs, imports in remaining packages (f912a84)
  • BREAKING CHANGE: enable 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() / ellipticArc(), update readme (9a50769)

0.1.15 (2018-12-13)

♻️ Refactoring

  • update HDOMImplementation, add __skip support, reformat (43327c9)

0.1.13 (2018-12-08)

⏱ Performance improvements

  • update diffTree() to compute edit dist only (899941f)

♻️ Refactoring

  • update diffArray call site (a7e9def)

0.1.12 (2018-11-26)

🩹 Bug fixes

  • actually pass maxWidth argument to text function (97965d8)

0.1.7 (2018-10-21)

♻️ Refactoring

  • update points() to accept iterables (b31b480)

0.1.0 (2018-09-22)

♻️ Refactoring

  • add _serialize control attrib to root group (53a1d2c)
  • switch canvas back to lifecycle object form (09a821b)
    • this allows users to augment the component with init & release lifecycle methods if needed...

0.1.0-alpha (2018-09-16)

🚀 Features

  • add more shapes/prims, update transform handling (d3acb70)
    • add line, hline, vline, arc & img prims
    • update beginShape() to support translate, rotate, scale attribs and return boolean if context needs restoring later
    • update endShape()
    • optimize repeated property lookups
    • add @thi.ng/checks dep
  • implement drawing state inheritance & restoration (ccbf53c)
    • add mergeState() & restoreState() to apply & undo only edited attribs
    • add CTX_ATTRIBS alias mappings & DEFAULTS
    • rename beginShape() => applyTransform()
    • rename createTree() => drawTree()
    • remove export flags from shape fns
    • add @thi.ng/api dep
  • add path shape type, embedded fn & iterator handling (82cd938)
  • add canvas-specific normalizeTree() impl (1d24a16)
    • update canvas component hdom control attribs
    • update createTree() (remove fn & iterator checks, moved to normalizeTree())
    • minor refactoring
  • add rounded rect option (as path) (764373a)
    • create path if opt radius arg is given for ["rect"...]
  • fix #43, add gradient support (81fe154)
    • add "linearGradient"/"radialGradient" shape types
    • add defLinearGradient() & defRadialGradient()
    • update mergeState(), restoreState() & setAttrib()
  • add new shape types, add canvas attribs, refactor (6496e47)
    • add points shapetype for optimized point drawing (rects)
    • add arc segment support for path
    • refactor rounded rects to use arc segments
    • add clear boolean attrib to (optionally) disable canvas clearing
    • extract walk() from drawTree()
  • add defs node/group type (de61c21)
    • in preparation for easier conversion to SVG-hiccup
  • update points() to use circle or rect shapes (d412269)
  • add .toHiccup() interface support (8ecdd13)
    • add .toHiccup() type check in normalizeTree() and call w/ user context
  • add warning msg for hydrateTree() impl (adaaa7a)
  • add HDPI auto-adjustment, update docs (5de0255)
    • replace canvas fn with component object w/ life cycle methods
    • if HDPI, inject CSS width/height props and pre-scale drawing ctx
  • update canvas component & diffTree impl, update docs (74547aa)

🩹 Bug fixes

  • update __normalize handling, rename fns (a52f83c)
    • update canvas() component fn
    • rename drawTree() => createTree()
    • update releaseTree() call sites
    • remove warning from hydrateTree() (just do nothing)

⏱ Performance improvements

  • inline type checks, update deps & readme (ae4b621)

♻️ Refactoring

  • update canvas component, add docs (1cfad51)
  • update to reflect hdom api changes (81a39ba)
  • update attrib aliases (5aa9d46)
  • swap img args to be more consistent w/ others (c20b24a)