Skip to content

v0.22.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 07:04
· 4 commits to main since this release
Immutable release. Only release title and notes can be modified.
77697a9

Dependency upgrades: file watching moves to notify 9, which brings upstream
fixes for large recursive watches on Linux, and symbol extraction moves to
tree-sitter 0.27 with newer grammars. Rust dependencies are refreshed and
every npm audit advisory in the build tools is cleared. Search results,
ranking and the index format are unchanged, and the same-machine A/B found
no metric slower.

Upgrading: no config change and no index rebuild (the index format is
still v13). Building from source now needs Rust 1.91 or later (was 1.89).

Changed

  • Minimum supported Rust is now 1.91 (was 1.89), needed by notify 9 and
    tree-sitter 0.27. The pinned toolchain (1.98.1) is unchanged.

  • File watching uses notify 9 (was 8). It brings upstream watcher fixes:
    on Linux, large recursive watches no longer overflow the inotify queue
    with directory access events, renames of subdirectories no longer send
    extra events, and removing or renaming a watched folder costs time in
    proportion to that folder rather than to every watch.

  • Symbol extraction uses tree-sitter 0.27 (was 0.26), with newer grammars
    for Bash (0.25), C (0.24), C# (0.24), Go (0.25) and PHP (0.25).

  • Rust dependencies refreshed to their latest compatible releases (hyper,
    regex, memchr, rayon, tonic, prost, clap, serde and others). The
    semantic feature's ort is pinned to 2.0.0-rc.10, since later release
    candidates change its API.

  • Security: updated the web UI's CSS build tools and the VS Code
    extension's build and lint tools to clear every npm audit advisory
    (postcss, picomatch, nanoid, source-map-js, postcss-selector-parser,
    brace-expansion, flatted, js-yaml, minimatch, esbuild). esbuild goes from
    0.20 to 0.28 and typescript-eslint from 7 to 8. These are build-time
    tools only: the shipped static/tailwind.css is byte-for-byte the same
    and the server binary is unaffected.

Install

Download the archive for your platform below, unpack it, and put fast_code_search_server and fcs on your PATH.
Each archive also contains config.toml.example, the startup unit files (deploy/) and the CLI and startup guides.

Platform Archive
Linux x86_64 (glibc) fast_code_search-v0.22.0-x86_64-unknown-linux-gnu.tar.gz
Linux x86_64 (static, musl) fast_code_search-v0.22.0-x86_64-unknown-linux-musl.tar.gz
macOS Apple silicon fast_code_search-v0.22.0-aarch64-apple-darwin.tar.gz
macOS Intel fast_code_search-v0.22.0-x86_64-apple-darwin.tar.gz
Windows x86_64 fast_code_search-v0.22.0-x86_64-pc-windows-msvc.zip

Verify a download with the .sha256 file next to it: sha256sum -c fast_code_search-v0.22.0-<target>.tar.gz.sha256.
Each archive is also signed through Sigstore; with cosign installed:

cosign verify-blob --bundle fast_code_search-v0.22.0-<target>.tar.gz.sigstore.json \
  --certificate-identity-regexp '^https://github.com/jburrow/fast_code_search/' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  fast_code_search-v0.22.0-<target>.tar.gz

Other ways to install: cargo binstall fast_code_search (downloads these archives), cargo install fast_code_search (builds from crates.io), or the container image ghcr.io/jburrow/fast_code_search:0.22.0.

First run: fast_code_search_server --init config.toml, add your paths, start the server, then fcs 'fn main'.
Full changelog: https://github.com/jburrow/fast_code_search/blob/main/CHANGELOG.md