Liking cljdoc? Tell your friends :D

Change Log

All notable changes to this project will be documented in this file. This change log follows the conventions of keepachangelog.com.

Unreleased

0.1.0 - 2026-04-13

Added

  • Cross-reference database for Clojure code, built on clj-kondo 2026.01.19 static analysis.
  • Leiningen plugin (lein xref) and deps.edn tool (clj -T:xref generate) for generating EDN xref databases.
  • Incremental analysis: :only flag in both lein plugin and deps.edn tool for re-analyzing specific files without a full rebuild.
  • Query API: who-calls, calls-who, who-references, who-macroexpands, who-implements, who-dispatches, ns-vars, ns-deps, ns-dependents.
  • Derived queries: unused-vars, call-graph (transitive, depth-limited, bidirectional), apropos (regex search).
  • clj-xref.graph namespace: DOT/Graphviz output for namespace dependency graphs (ns-dep-dot) and call graphs (call-graph-dot).
  • Xref entry kinds: :call, :reference, :macroexpand, :dispatch, :implement.
  • Protocol implementation type inference from enclosing defrecord/deftype.
  • Validation: from-kondo-analysis throws on missing analysis data instead of producing empty databases.
  • LLM token savings benchmark (lein measure-improvement): compares whole-tree vs xref-guided context selection using the Claude API.
  • Warning to stderr when clj-kondo reports analysis errors; generation aborted on errors to prevent writing partial databases.
  • Atomic EDN writes via temp file + rename to prevent corruption on interrupted writes.
  • Deep-merge of :analysis kondo config so caller additions don't clobber built-in defaults.
  • Comprehensive test suite: unit, adversarial, stress, generative (test.check), and integration tests.
  • GitHub Actions CI workflow (Temurin JDK 25, lein + clojure CLI).

Can you improve this documentation?Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close