Skip to content

v0.6.0

Choose a tag to compare

@IronAdamant IronAdamant released this 22 Mar 05:29
· 93 commits to main since this release

Pluggable Extractors, Batch SQL, Cross-Platform Locks, Shared Reads

Four architectural improvements addressing scale, extensibility, and platform support.

Added

  • Pluggable AST extractors: register_extractor(language, fn) overrides built-in regex extractors with tree-sitter, LSP, or custom backends. Zero new dependencies.
  • Batch SQL queries: 5 new get_*_batch() methods eliminate N+1 pattern in risk_map computation (~5 queries instead of N×5)
  • Process-level read locks: All read tools acquire shared process locks for safe concurrent multi-process reads
  • Cross-platform ProcessLock: fcntl.flock on Unix, LockFileEx via ctypes on Windows — both support shared and exclusive locks
  • 18 new tests (540 total)

Changed

  • impact.get_risk_map() rewritten with batch queries
  • ProcessLock._acquire() uses platform-neutral exclusive: bool parameter

Full Changelog: v0.5.4...v0.6.0