Skip to content

Latest commit

 

History

History
378 lines (235 loc) · 15 KB

CHANGELOG.md

File metadata and controls

378 lines (235 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.

5.2.11 (2024-08-23)

🩹 Bug fixes

  • update mergeClasses() arg types (eaca539)
    • add support for SVGAnimatedString as existing arg to enable full support for SVG elements
  • update SVGAnimatedString handling in mergeClasses() (540cc70)

5.2.2 (2024-06-21)

♻️ Refactoring

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

5.2.0 (2024-04-25)

🚀 Features

  • add SerializeOpts.xml, update serializeAttrib (8fdcab9)

5.1.29 (2024-04-20)

♻️ Refactoring

5.1.23 (2024-03-18)

♻️ Refactoring

5.1.0 (2023-12-09)

🚀 Features

  • allow class attrib as string array (448edd0)
    • update mergeClasses()
    • update docs & tests

🩹 Bug fixes

  • fix mergeClasses(), add tests (c734794)

5.0.6 (2023-11-09)

♻️ Refactoring

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

5.0.0 (2023-09-19)

🛑 Breaking changes

  • add SerializeOpts, update serialize() (442d777)
  • BREAKING CHANGE: update serialize() args, replace with options object
    • only a breaking change for "advanced" use cases
    • add SerializeOpts to simplify serialize() args
    • add customizable entity escaping (via new opts)
    • add/update tests

🩹 Bug fixes

  • update entity escapes in serialize() (369d83e)
    • use @thi.ng/strings escapeEntitiesNum() for better XML/SVG compatibility
    • add tests

♻️ Refactoring

4.3.0 (2023-08-27)

🚀 Features

  • add XML_PROC & DOCTYPE_HTML constants (4ec98fd)
    • update tests

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.0 (2021-10-25)

🚀 Features

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

♻️ Refactoring

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

3.6.4 (2020-12-07)

♻️ Refactoring

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

3.6.1 (2020-09-22)

♻️ Refactoring

  • extract mergeEmmetAttribs() (0c965c9)
    • simplify normalize() and improve external re-use in hdom/rdom
  • update/split serialization fns (32ac755)
    • extract serializeTag()
  • update/split serializeAttribs() (cdf483b)

3.6.0 (2020-09-13)

🚀 Features

  • add CDATA support, update void tag handling (5989427)
    • add CDATA tag constant
    • add serializeCData()
    • update VOID_TAGS, extract NO_CLOSE_EMPTY

3.5.0 (2020-07-02)

🚀 Features

  • remove obsolete SVG/XLINK urls (aa34be7)
  • add RDFa prefix attrib handling, add tests (24a7748)
    • add formatPrefixes() helper
    • update serializeAttribs()

3.4.0 (2020-06-28)

🚀 Features

  • update deps & attrib handling (09ba171)
    • add @thi.ng/api dep
    • add support for IDeref attrib vals
    • add support for class attrib obj vals
    • add mergeClasses() helper
    • add IDeref support inside class & style attribs
    • add support for nested data attribs

3.3.0 (2020-06-24)

🚀 Features

  • support array attrib values, add tests (1c4ef8a)
  • update accept attrib handling (fabf447)

3.2.4 (2019-08-21)

🩹 Bug fixes

  • update/rename regexes & tag maps (6dba80d)

♻️ Refactoring

  • split serialize(), move normalize() to own file (fa56951)

3.2.0 (2019-07-07)

🚀 Features

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

♻️ Refactoring

  • address TS strictNullChecks flag (c73b207)

3.1.0 (2019-02-18)

🚀 Features

  • add support for XML/DTD proc tags, update readme, tests (ede2842)

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.

2.7.2 (2018-12-20)

♻️ Refactoring

2.7.0 (2018-12-13)

🚀 Features

  • add __skip support, add test, update readme (d3500df)

2.6.0 (2018-11-07)

🚀 Features

  • update derefContext() to only apply to selected keys (749925f)

2.5.0 (2018-11-06)

🚀 Features

  • add support for dynamic user context values (a947873)
    • add derefContext() helper to auto-deref any IDeref vals
    • update serialize()

2.4.0 (2018-09-23)

🚀 Features

  • emmet class & class attrib merging in normalize() (1d8eeb4)
    • now same behavior as hdom's normalizeElement()
    • update tests

2.3.0 (2018-09-22)

🚀 Features

  • add control attrib handling, add comment support (363c241)
    • skip serialize() for elements w/ __serialize: false attrib
    • omit output of any control attribs
    • add COMMENT const and comment serialization
    • update imports
    • update docstring

2.1.0 (2018-08-31)

🚀 Features

  • add optional support for spans & auto keying (#39) (1b0deb2)

🩹 Bug fixes

  • disable spans for certain element types (1b97a25)
    • re-add NO_SPANS (moved from hdom)
    • update _serialize()
  • serialize() args (1e8b4ef)

2.0.0 (2018-05-13)

🛑 Breaking changes

  • fix #19, add support for context object (feca566)
  • BREAKING CHANGE: component functions now take a global context object as first argument (like w/ @thi.ng/hdom)
    • update serialize() to accept & pass optional context
    • add support for component objects
    • add/update tests

⏱ Performance improvements

  • update css() (b1cb7d9)
    • use string concat (~2.5x faster)
    • skip null values

1.3.14 (2018-05-10)

♻️ Refactoring

1.3.4 (2018-04-08)

♻️ Refactoring

  • remove obsolete deref check (fcf1404)

1.3.0 (2018-03-21)

🚀 Features

1.2.0 (2018-03-14)

🚀 Features

  • add auto deref() support (0d2c16f)
  • support fn values in style objects (93343d6)

♻️ Refactoring

  • disable deref() for attrib objects (de839e8)

1.1.1 (2018-02-26)

♻️ Refactoring

1.1.0 (2018-02-24)

🚀 Features

  • add support for more SVG tags (66 total) (44f33df)

1.0.0 (2018-02-03)

🛑 Breaking changes

  • skip fn exec for event attribs, update tests, readme (7ae706e)
  • BREAKING CHANGE: event attribs w/ function values will be omitted, see readme for details/examples

0.1.6 (2018-02-01)

♻️ Refactoring

  • update/add deps, restructure/split into sub-modules (0439d24)

0.1.2 (2018-01-24)

🚀 Features

  • initial re-import as monorepo, update readme files, cleanup imports (04ff6e9)