Skip to content

v0.8.0 — PathFilter, file_path scoping, include_tests, C++ parser

Latest

Choose a tag to compare

@Codeturion Codeturion released this 28 Apr 21:30

Most of this release is contributed by @michael-howell-island. Big thanks!

New features

  • PathFilter with .codesurfaceignore, --exclude globs, and worktree/submodule skipping
  • file_path scoping on search, get_signature, get_class tools
  • include_tests parameter to filter test files (default: exclude). Detects __tests__/, tests/, test/, *.test.*, *.spec.*, *_test.*, test_*
  • Progress reporting during indexing (stderr, percentage and file count)
  • --include-submodules CLI flag
  • Tilde expansion in --project paths (e.g. ~/work/repo)
  • TypeScript parser now indexes .js and .jsx files
  • C++ parser (headers: .h, .hpp, .hxx, .h++)

Performance

  • Consolidated directory walks (3 down to 2 in _index_full)
  • String-based path operations in walk loops (no Path() per dir, no relative_to() per file)
  • Per-parser file walking applied consistently in incremental reindex
  • --language flag honored in incremental walks (polyglot codebases no longer re-parse off-language files on every reindex)

Fixes

  • Progress count matches parser exclusion rules
  • Parse failures still emit progress callbacks
  • Polyglot codebase reindex no longer reports false "added" files
  • Constructor multi-line parameters captured correctly across all parsers