Release notes · Graph Builder
Graph Builder Release Notes
Changelog for @cognipeer/graph-builder. For usage, see the Graph Builder documentation.
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
[0.2.0] - 2026-08-10
Added
- Added graph timelines, snapshots, latest change sets, and provider
changes(cursor)incremental updates. - Added structured JSON/YAML schema extraction and JS/TS structural call and heritage extraction.
- Added timeline, manifest, DOT, GraphML, and Cypher artifacts.
- Added Node output helpers for writing
graph-builder-outstyle directories and rebuilding on file changes. - Added
loadGraphBuilderResult(input, options)load options:artifactsselects artifact kinds to (re)build while loading (default none), andsanitize: falseskips the sanitize deep-clone for already-sanitized graphs. - Added
applyCommunityAssignments(graph, analysis)for annotating nodes with community ids now thatanalyzeGraphno longer mutates its input. - Added
createQueryContext(graph); query helpers (getNode,queryGraph,shortestPath,getNeighbors) accept either a graph or a prebuilt context so adjacency is built once and reused.
Changed
- Added dual ESM and CJS outputs for root and subpath exports.
- Added VitePress documentation scaffolding, GitHub workflows, and open source project templates.
analyzeGraphis now pure: it no longer assignsnode.communityorstats.communityCounton the input graph. Build/update pipelines apply community assignments explicitly.- Query traversal order is now deterministic: adjacency lists are sorted by neighbor id/relation/source, node scoring ties break on node id, and ordering no longer depends on host locale or node/edge array order.
result.indexis built lazily and adjacency construction is linear instead of quadratic in node degree.- Self-loop edges now appear once (not twice) in adjacency and neighbor listings.
Fixed
createGraphBuilderResultno longer runsanalyzeGraphandbuildArtifactstwice per result. Passingartifacts: []to build/update now genuinely disables artifact generation, and every build/update/load no longer serializes the graph to JSON twice.- Loading a serialized result now reuses its persisted
analysisandartifactsinstead of recomputing them.
[0.1.0] - 2026-05-05
Added
- API-first graph building from text arrays, custom providers, and local filesystem paths.
- Query helpers for node lookup, path finding, neighbors, communities, and seeded graph queries.
- Optional semantic enrichment through an OpenAI-compatible chat-completions adapter.
- Incremental graph updates, graph loading, and JSON/report/wiki/HTML artifact generation.
- Memory-fact and to-markdown adapters for integrating non-file content into the graph pipeline.

