Skip to content

Kudzu 0.8.34 - Session-local module cache

Choose a tag to compare

@bunzzeok bunzzeok released this 11 Aug 05:53
· 2 commits to main since this release

Kudzu 0.8.34 completes P0.7 with ProjectSession-local parsed-module and export-summary caching.

Highlights

  • Parses and summarizes each unchanged source module once per ProjectSession.
  • Reuses canonical read-only trees across graph, style, static collection, Zustand, client-helper, diagnostic, and Worker consumers.
  • Deep-clones every transformer input with independent parent links so mutable AST cannot leak across importers or projects.
  • Invalidates parsed trees and summaries together when source text changes.
  • Keeps existing supported export forms, source syntax, generated output, and browser runtime behavior unchanged.

Validation

  • 100 importers: 103 unique parses, 103 export summaries, 200 independent clones
  • Identical 382,603-byte source-result graph and SHA-256 digest
  • npm run check: 149 pages built
  • npm test: 193/193 passing
  • npm run test:package
  • npm pack --dry-run: 66 files

The paired performance run establishes bounded work and identical output but no material timing claim. See RELEASES.md and PERFORMANCE.md for raw arrays, cross-framework whole-build context, and limitations.