Skip to content

Latest commit

 

History

History
153 lines (91 loc) · 6.92 KB

File metadata and controls

153 lines (91 loc) · 6.92 KB

Change Log

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 for commit guidelines.

Note: Unlisted patch versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies.

3.2.3 (2025-12-03)

♻️ Refactoring

  • update for-loops (use const where possible) (5ceaf1a)

3.2.0 (2025-11-19)

🚀 Features

  • #554, add __dpr root attrib support (74e4618)
    • add support for __dpr control attrib in root shape/group to set/adjust canvas pixel size (and scale context) to given devicePixelRatio (see @thi.ng/canvas adaptDPI() for details)
    • minor update handling of other control attribs
    • add @thi.ng/canvas dependency

♻️ Refactoring

3.1.31 (2025-01-14)

♻️ Refactoring

  • use optional chaining & nullish coalescing (c5a0a13)

3.1.0 (2024-06-21)

🚀 Features

  • add fillRule attrib support (9acb563)

♻️ Refactoring

  • enforce uniform naming convention of internal functions (56992b2)

3.0.1 (2024-05-09)

♻️ Refactoring

  • minor update draw() arc handling (e82077e)

3.0.0 (2024-05-08)

🛑 Breaking changes

  • fix #69 add elliptic arc path segment support, rename circular arc segments (7f82cb2)
  • BREAKING CHANGE: add elliptic arc path segment support, rename circular arc segments
    • update path() arc segment handling
      • use standard A and a path segment types for SVG-compatible elliptic arc segments
      • use R and r for canvas-only circular arc segments
    • update deps

⏱ Performance improvements

  • update rect(), use native rounded rect drawing (5540510)

2.5.36 (2024-04-20)

♻️ Refactoring

2.5.17 (2024-02-22)

♻️ Refactoring

  • update object destructuring in all pkgs & examples (f36aeb0)

2.5.14 (2024-02-19)

🩹 Bug fixes

  • fix #448, pass vertex layout opts to packedPolyline()/packedPolygon() (eb2bdc0)
    • update args for packedPolyline()/packedPolygon()
    • update draw() delegation call sites

2.5.2 (2023-12-19)

🩹 Bug fixes

  • fix rounded rect attrib handling (ee79d01)

2.5.0 (2023-12-18)

🚀 Features

  • fix #433, support rounded rects via r attrib (573245e)
    • update draw() to update rect handling

2.4.6 (2023-11-09)

♻️ Refactoring

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

🧪 Tests

  • update/refactor tests to use bun test runner (8f6edb1)
  • update/rename test files/imports (still many broken) (1cb3c49)

2.4.0 (2023-10-23)

🚀 Features

  • add/update packed shape support (14ce2f8)
    • add packedPolyline() / packedPolygon() fns
    • update draw() to add support for new shape types

2.3.24 (2023-10-11)

🩹 Bug fixes

  • fix "ellipse" shape handling (off-by-one error) (d1985c4)
    • update draw() to include last (CCW flag) shape arg
    • also related to #418
  • update circular arc handling in draw() (18173c5)
    • actually use CCW shape arg
    • add issue references for upcoming fixes

2.3.0 (2023-04-08)

🚀 Features

  • add support for __clear ctrl attrib (2f3de82)

2.2.1 (2023-02-05)

🩹 Bug fixes

  • add null check for __skip attrib (416b7bb)

2.2.0 (2023-01-10)

🚀 Features

  • add __background attrib support (a33a58d)
    • update __mergeState() to fill bg if attrib given
    • refactor attrib handling in main draw() fn