Skip to content

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 09:39
· 11 commits to main since this release
d6eff11

Highlights

  • Quoted phrases: a search for "too large" (straight or curly quotes) returns only text with those words next to each other, in that order, in every retrieval mode and on every index backend. Unquoted queries rank as before. (#705)
  • exactdocs move-to-postgresql URL moves a stopped SQLite instance into an empty PostgreSQL database without re-importing anything: accounts, API tokens, repository credentials, versions, vectors (with pgvector) and history come along. (#721)
  • exactdocs sources export writes a sources file from an instance's libraries, so a setup made in the UI can be kept in version control and re-applied. (#719)
  • Large repositories such as elastic/kibana and nodejs/node preview and import with the default limits. The limits are settings now: EXACTDOCS_MAX_TREE_LISTING_BYTES (64 MiB), EXACTDOCS_MAX_FETCH_FILES (250,000) and EXACTDOCS_MAX_FETCH_BYTES (2 GiB), and every repository_too_large message names the one that tripped. (#702)
  • New deployment guidance: a "SQLite or PostgreSQL" page with measured numbers from two new benchmarks, the write-turn benchmark (just write-turn-bench, with exactdocs.write_turn.wait/.hold metrics and a database.write_turn span) and the search load benchmark (just load-bench). (#697, #718, #720)

Upgrading

Start the new version on the same data directory: the database is migrated on start. One migration, 38424919f102, widens the AI spend counters to 64 bits and rewrites only retrieval_ai_spend.

No reindex needed.

Every process on a SQLite database now holds a shared lock on exactdocs.db-instance.lock next to the database file; it needs nothing from you, and it lets move-to-postgresql refuse while the instance runs. Cached agentic answers are recomputed once, because the answer cache format moved to 5.

Fixes

  • AI spend counters no longer stop at about $2,147 or 2^31 tokens per window on PostgreSQL. (#723)
  • A job resumed after a failed step reports its own error instead of unexpected TypeError: every domain error survives pickling. (#716)
  • Images referenced from outside the selected paths are bounded by their budget, not by the size of .git; the skip reason names the limit that tripped, and a fetch setting tripping before any image no longer costs about 2n fetches. (#714, #724)
  • On external index backends, a quoted phrase the backend misses is still found through the database's own index. (#713)
  • The library-row end-to-end test waits for the page transition, so the Integration workflow passes again. (#715)