Skip to content

Upgrade TypeGraph to 0.65.0 - #51

Merged
pdlug merged 4 commits into
mainfrom
upgrade-typegraph-0.62
Sep 17, 2026
Merged

pdlug merged 4 commits into
mainfrom
upgrade-typegraph-0.62

Conversation

@pdlug

@pdlug pdlug commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor
  • Bump @nicia-ai/typegraph 0.56 → 0.65; repoint typegraph-prev at 0.64.0 so test/graph-schema-upgrade.test.ts exercises this hop.
  • Adopt 0.59–0.61 read APIs on GraphHandle: batchOnce + project() for corpus membership, count() / first() for version aggregates and usage, optional Traverse for root scans, recursive folder_child for ancestors, subtrees, and liveDocumentPaths.
  • 0.63: latestCollectionVersions uses topPerPartition instead of hydrate-then-max. Record collect() not adopted (batchOnce + project() already returns typed rows).
  • 0.62 / 0.64 / 0.65 are no-ops for Corpus (canonicalGraph is static; no updateWhere, candidate-write, cursor-page, arrayContains, or bulkUpsertById callers). Evaluations in notes/typegraph.md.
  • Also refresh remaining patch/minors (Better Auth 1.7.5, wrangler 4.132, React 19.3, Vite 8.3, …). Better Auth 1.7.3 restored the 1.6 account key — 0005 drops account.issuer. TypeScript stays on 6 (typescript-eslint 8.70 still refuses 7).

Bump `@nicia-ai/typegraph` 0.56 → 0.62 and repoint `typegraph-prev` at
0.61.0 so the schema-upgrade keeper exercises this hop.

Adopt the 0.59–0.61 read APIs now that they exist on GraphHandle
(store and transaction): batchOnce + project() for corpus membership,
count()/first() for version aggregates and usage, optionalTraverse for
root scans, recursive folder_child for ancestors, subtrees, and
liveDocumentPaths. 0.62's planEvolution / withEvolvedTransaction is a
no-op — canonicalGraph is static.
Bump `@nicia-ai/typegraph` to 0.63.0 and repoint `typegraph-prev` at
0.62.0. Rank latest collection versions with `topPerPartition` instead
of hydrating every snapshot.

Fold `ordered()` into `entries()`, share `toCollectionVersionRow`, and
hydrate expanded corpus members via `bulkFindByIndex`.
@pdlug pdlug changed the title Upgrade TypeGraph to 0.62.0 Upgrade TypeGraph to 0.63.0 Sep 16, 2026
TypeGraph 0.64 is a no-op for Corpus. Better Auth 1.7.5 restores the
1.6 account key, so drop account.issuer (0005). TypeScript stays on 6.
@pdlug pdlug changed the title Upgrade TypeGraph to 0.63.0 Upgrade TypeGraph to 0.64.0 Sep 16, 2026
No Corpus code change: evolution-aware candidate writes, cursor pages,
arrayContains, and bulkUpsertById have no callers. typegraph-prev is 0.64.0.
@pdlug pdlug changed the title Upgrade TypeGraph to 0.64.0 Upgrade TypeGraph to 0.65.0 Sep 17, 2026
@pdlug
pdlug merged commit dc220d1 into main Sep 17, 2026
1 check passed
@pdlug
pdlug deleted the upgrade-typegraph-0.62 branch September 17, 2026 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant