Skip to content

Latest commit

 

History

History
365 lines (228 loc) · 15 KB

CHANGELOG.md

File metadata and controls

365 lines (228 loc) · 15 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.

1.7.5 (2024-10-03)

⏱ Performance improvements

  • internal update __setAttrib() (15ed31d)
    • only lookup property setters if value non-nullish

1.7.4 (2024-09-22)

🩹 Bug fixes

  • further fix __updateValueAttrib() (378441c)
    • also skip cursor pos update for readonly elements
    • fix textarea handling

1.7.3 (2024-09-19)

🩹 Bug fixes

  • fix selection update in __updateValueAttrib() (dada2de)
    • don't update selection (cursor pos) when updating disabled elements
      • workaround for Safari focus issue

1.7.0 (2024-08-28)

🚀 Features

  • support setting CSS vars via $style() (81169ee)

1.6.0 (2024-08-10)

🚀 Features

  • add $inputToggle() HOF event handler (50e0c29)

1.5.1 (2024-07-06)

🩹 Bug fixes

  • update $compile() handling of embedded functions (#477) (5ac2831)
    • add fn checks & branches to call embedded fn and compile its result
    • update docs

1.5.0 (2024-07-03)

🚀 Features

  • add support for no-arg fns in child positions (6327fd3)
    • update $tree() to support no-arg functions in child positions

1.4.1 (2024-06-21)

🩹 Bug fixes

♻️ Refactoring

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

1.4.0 (2024-05-08)

🚀 Features

  • add rdom-klist example project, update readmes (cd458ac)
  • add rdom-klist example project, update readmes (531437f)

1.3.3 (2024-04-26)

🩹 Bug fixes

  • update $compile() async-iterable attrib handling (f977556)

1.3.0 (2024-04-20)

🚀 Features

  • add support for async iterables (742e0db)
    • add $async() component wrapper
    • add $asyncA() attribute wrapper
    • update $compile() to support embedded AsyncIterable values
  • update wrapper() to support reactive/async attribs (96ea779)
    • internally switch from $el() => $compile()

♻️ Refactoring

1.2.0 (2024-04-11)

🚀 Features

  • update setAttrib() property vs. attrib handling (52cfe72)
    • add/build cache of property setters
    • update setAttrib() to prioritize setters and only fallback to attributes

1.1.0 (2024-02-10)

🚀 Features

  • add $toggleClasses() DOM util (31d19b1)

1.0.0 (2024-01-23)

🛑 Breaking changes

  • remove scheduler, update IComponent signatures (3728c9b)
  • BREAKING CHANGE: remove scheduler, update IComponent and various DOM update fn signatures
    • remove scheduler support since never used (other than default/dummy NullScheduler) and RAFScheduler logic is better handled via synRAF() or similar (also see #402)
    • update IComponent.mount() signature to use ParentNode as type for parentarg, e.g. to support use w/ShadowRoot`
    • update various DOM update fns with same parent arg type
    • update all utility components/wrappers

0.14.0 (2023-12-28)

🚀 Features

  • add $lazy() component wrapper (5ad3856)

0.13.4 (2023-12-11)

♻️ Refactoring

  • update boolean attrib handling in setAttrib() (96a21ab)

0.13.3 (2023-12-09)

🩹 Bug fixes

  • fix updateValueAttrib() for some input types (81facee)

0.13.0 (2023-11-12)

🚀 Features

  • add $wrapEl() DOM element component wrapper (298e9a1)
  • update $compile() to support existing DOM elements (859521a)
  • update $attribs() to return element (1f82021)

0.12.21 (2023-11-09)

♻️ Refactoring

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

0.12.13 (2023-10-18)

🩹 Bug fixes

  • update $text() to set el.textContent, simplify (7cd6cc0)

0.12.0 (2023-08-22)

🚀 Features

  • update $text() handling of undefined values (55faa71)

0.11.0 (2023-04-08)

🚀 Features

  • add null check for $remove() (db9d2a1)
  • add stream IDs for $list/$klist/$Sub/$SubA (bfd4058)
  • add $subWithID(), add IDs for various constructs (404eacb)

0.10.0 (2022-11-30)

🚀 Features

  • add DOM comment support (#367), other refactorings (3fd5f8e)
    • add $comment(), isComment()
    • add Component.$comment() syntax sugar
    • add comment check/branch in $tree()
    • update args for $addChild(), $remove(), $moveTo()
    • update $text(), $html() to support SVG elements
    • add doc strings

0.9.0 (2022-07-12)

🚀 Features

  • update $input() generics (6be320a)
    • allow any string-derived stream types

0.8.7 (2022-04-07)

♻️ Refactoring

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

0.8.1 (2021-11-19)

🩹 Bug fixes

  • $text() handling for SVG (631b5fb)

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

0.7.9 (2021-11-10)

♻️ Refactoring

  • update all countdown loops (a5f374b)

0.7.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)

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

🚀 Features

  • add $replace() control/wrapper (6096357)

♻️ 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
  • update imports in various pkgs (rstream) (342cf54)

0.6.9 (2021-09-03)

♻️ Refactoring

0.6.0 (2021-08-04)

🚀 Features

  • add $inputFile/Files() handlers (7f8888b)

0.5.0 (2021-07-27)

🚀 Features

  • relax return types for $switch() (71c334b)
    • update return types for $switch/$refresh component factories (any)
    • add/update docs

🩹 Bug fixes

  • fix #304, update Switch.update() (a2899c0)
    • remove extraneous & wrong same-value check which was causing component to unmount if same value is received in succession

0.4.5 (2021-03-12)

♻️ Refactoring

0.4.0 (2021-02-24)

🚀 Features

  • add $inputCheckbox, $inputTrigger (99c569e)

0.3.9 (2021-02-22)

🩹 Bug fixes

  • add stream IDs for $Sub/$SubA (e8b8fd4)

0.3.0 (2020-12-07)

🚀 Features

  • add $subObject() wrapper, add docs (cd5cf08)

0.2.12 (2020-09-22)

♻️ Refactoring

  • simplify $el() attrib handling (b777cf1)
  • split $tree() (de159e0)
  • split $compile() (45156b2)
    • extract complexComponent(), basicComponent()

0.2.0 (2020-07-08)

🚀 Features

  • add $input, $inputNum event listeners (c29fb49)
  • add $promise() wrapper (53f9688)

0.1.0 (2020-07-02)

🚀 Features

  • rename hdom2020 => rdom, update pkg (1224706)
  • update $tree() span handling, update $moveTo() (6d90187)
  • add support for namespaced el/attribs (9d16ef0)
    • add deps (@thi.ng/prefixes)
    • add registerPrefix() helper
    • update $el() and setAttrib() to check for prefixed names
  • add RDFa prefix attrib support, update prefix handling (b589da5)
    • add XML_XMLNS to default prefixes
    • update registerPrefixes() to error if attempting to overwrite prefix

♻️ Refactoring

  • update IMountWith, $SubA (c93efad)