• 1.11.6 612f345f3d

    1.11.6
    All checks were successful
    Unit Tests / Check Unit Tests (push) Successful in 35s
    Stable

    michi released this 2026-08-13 11:34:00 +02:00 | 1 commits to main since this release

    • feat: allow accessing the key path to a context with [$KEYS]
    • fix: readme format
    Downloads
  • 1.11.5 2258da9e47

    1.11.5
    All checks were successful
    Unit Tests / Check Unit Tests (push) Successful in 42s
    Stable

    michi released this 2026-08-12 13:58:19 +02:00 | 6 commits to main since this release

    • fix: test which failed after bundling
    Downloads
  • 1.11.4 bcf72f9568

    1.11.4
    Some checks failed
    Unit Tests / Check Unit Tests (push) Has been cancelled
    Stable

    michi released this 2026-08-12 13:10:12 +02:00 | 9 commits to main since this release

    • refactor: rename styleObject to normalizeStyle to better reflect the resulting object
    • build: upgrade to typescript 7.0.2
    Downloads
  • 1.11.3 00910b7007

    1.11.3
    All checks were successful
    Unit Tests / Check Unit Tests (push) Successful in 1m4s
    Stable

    michi released this 2026-08-10 13:13:57 +02:00 | 15 commits to main since this release

    • feat: add styleObject() to convert from any StyleProp to a css record
    • feat: allow context() to operate on any plain JavaScript object
    • feat: set [$KEYS]: string[] on any context to update the internal target path
    • refine: simplify typing around (Patchable)State
    • refine: generic type of tag()
    Downloads
  • 1.11.2 d7a1088ec2

    1.11.2
    All checks were successful
    Unit Tests / Check Unit Tests (push) Successful in 1m45s
    Stable

    michi released this 2026-08-08 02:03:02 +02:00 | 22 commits to main since this release

    • refine: generic type of defuse()
    Downloads
  • 1.11.1 f3c775ff90

    1.11.1
    All checks were successful
    Unit Tests / Check Unit Tests (push) Successful in 1m22s
    Stable

    michi released this 2026-08-07 13:29:38 +02:00 | 25 commits to main since this release

    • fix: prevent common type of prototype pollution with render patches
    • update documentation (fix typos)
    • chore: npm audit fix
    • refine: exclude tests from dist output to reduce downloaded package size
    Downloads
  • 1.11.0 e15316716c

    1.11.0
    All checks were successful
    Unit Tests / Check Unit Tests (push) Successful in 45s
    Stable

    michi released this 2026-07-03 01:31:48 +02:00 | 41 commits to main since this release

    • feat: add keyed() helper for DOM node reconciliation by stable key
      const state = {
        items: [
          { id: "1", label: "item 1" },
          { id: "2", label: "item 2" },
          { id: "3", label: "item 3" },
        ],
      }
      
      app(container, state, (s) => [DIV,
        keyed([UL, { class: "todos" },
          ...s.items.map(it => [LI, { key: it.id }, it.label]),
        ]),
      ]);
      
    • feat: add reconciled to Props which allows you to set a callback when DOM nodes are assinged (reconciled)
      [DIV, {
        reconciled: (state, newVode, oldVode) => {
          const currentNode = newVode[$NODE];
          const previousNode = oldVode?.[$NODE];
          // previousNode will be undefined in first render
          // if children inside the parent are swapped/removed -> currentNode != previousNode
        }
      }]
      
    • refactor!: internal Vode properties encapsulate behind exported Symbols
    • refactor!: expose rendering stats on the state object via state[$STATS] (also still on appNode[$VODE].stats)
    • feat: add missing HTML and MathML tags
    Downloads
  • 1.10.2 d456cff8ab

    1.10.2
    All checks were successful
    Unit Tests / Check Unit Tests (push) Successful in 40s
    Stable

    michi released this 2026-06-21 23:22:51 +02:00 | 55 commits to main since this release

    • feat: improve SSR compatibility
    Downloads
  • 1.10.1 2f7f1ceaed

    1.10.1
    All checks were successful
    Unit Tests / Check Unit Tests (push) Successful in 54s
    Stable

    michi released this 2026-06-19 18:16:13 +02:00 | 56 commits to main since this release

    • refine(catch): ensure correct lifecycle hooks for error boundaries
    • chore: upgrade to babel 8 & support node 26
    Downloads
  • 1.10.0 3114b56752

    1.10.0
    All checks were successful
    Unit Tests / Check Unit Tests (push) Successful in 46s
    Stable

    michi released this 2026-06-16 03:27:25 +02:00 | 60 commits to main since this release

    • feat: preserve identity of class instances (Date, RegExp, etc.) during state merges
    • feat: improve app() state type inference and event handler typings
    • fix: standardize mergeClass behavior for strings and objects
    • fix: handle string as 2nd argument to vode(tag, string) correctly
    • fix: style property clearing
    • fix: ensure async rendering only proceeds if asyncRenderer is explicitly available
    • fix: correctly skip bigint child nodes
    • refactor(mergeStyle): normalize return types and improve string merging
    • refactor(state-context): refine put() input type
    • feat: add fallback for mergeStyle() in non-browser environments
    Downloads