@kudzujs/core 0.17.7 → 0.17.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -14,7 +14,7 @@ Kudzu compiles ordinary React-shaped TypeScript and TSX into complete static HTM
14
14
 
15
15
  > Experimental `0.17.x`: the compiler API and supported TSX surface may change.
16
16
 
17
- **Current release: [0.17.7](https://github.com/kudzujs/kudzu/releases/tag/v0.17.7).** Route and runtime-family artifact reports now omit the style helper when specialization does not emit it, while retaining required styled binding/list dependencies. All 13 artifact fixtures pass with byte-identical deploy output. Generator `create-kudzu@0.1.168` targets core `^0.17.7`. This is a reporting correction, not a speed improvement; startup, restoration and AI-cost/1.0 gates remain unresolved.
17
+ **Current release: [0.17.8](https://github.com/kudzujs/kudzu/releases/tag/v0.17.8).** Delayed keyed rows now keep parent-only text and attributes reactive, including `disabled={busy}`. The compiler reuses existing keyed expression ownership; runtime sources are unchanged. A real Actual Budget Worker/SQLite reduction verifies creation, error recovery, reload persistence and cleanup. Existing 13 artifact fixtures retain identical deploy output. Generator `create-kudzu@0.1.169` targets core `^0.17.8`. No speed or whole-application migration claim is made; startup, restoration and AI-cost/1.0 gates remain unresolved.
18
18
 
19
19
  - [Documentation](https://kudzujs.cloud/docs)
20
20
  - [Installation guide](https://kudzujs.cloud/docs#install)
@@ -2843,9 +2843,9 @@ function validateKeyedList(parts, sourceFile, setters, rowStates, componentSpeci
2843
2843
  analysis.values.push({ node: node.expression, value: { field } })
2844
2844
  return
2845
2845
  }
2846
- if (referencesIdentifier(expression, item) || parts.index && referencesIdentifier(expression, parts.index)) {
2847
- const states = referencedStateNames(expression, setters, expression, bindingIndex)
2848
- for (const rowState of rowStates) states.delete(rowState.state)
2846
+ const states = referencedStateNames(expression, setters, expression, bindingIndex)
2847
+ for (const rowState of parts.rowStates ?? rowStates) states.delete(rowState.state)
2848
+ if (referencesIdentifier(expression, item) || parts.index && referencesIdentifier(expression, parts.index) || states.size) {
2849
2849
  if (parts.nested && states.size) fail(node, "Nested keyed list item expressions cannot read parent state")
2850
2850
  validateListExpression(expression, item, node, fail, parts.index, states)
2851
2851
  if (ts.isJsxAttribute(node.parent) && ["ref", "dangerouslysetinnerhtml"].includes(node.parent.name.text.toLowerCase())) fail(node, `Keyed list item ${node.parent.name.text} is not supported`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kudzujs/core",
3
- "version": "0.17.7",
3
+ "version": "0.17.8",
4
4
  "description": "HTML-first TSX framework with synchronous state semantics and no virtual DOM",
5
5
  "type": "module",
6
6
  "license": "MIT",