Skip to content

v0.21.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 23:18
· 9 commits to main since this release
Immutable release. Only release title and notes can be modified.
0764f01

One port is enough: opt-in single-port mode serves the gRPC API on the web
port next to the web UI, REST API and MCP, so a deployment exposes and
proxies one port. /api/ready no longer answers ready in the middle of a
first build, and the dependencies flagged by new security advisories are
updated (chrono replaced by jiff, url 2.5.9, pulldown-cmark 0.13.6).
Search results, ranking and the index format are unchanged.

Upgrading: no config change and no index rebuild (the index format is
still v13). Single-port mode is off unless you set single_port = true
under [server] or pass --single-port. Diagnostics captures now write
captured_at ending in Z instead of +00:00; fcs diagnose reads both,
but your own scripts that parse the field may need to accept Z.

Added

  • Single-port mode: single_port = true under [server] (or
    --single-port) serves the gRPC API on web_address, next to the web
    UI, REST API and MCP, so a deployment exposes and proxies one port.
    Off by default; the two-port setup is unchanged. gRPC calls are told
    apart by their application/grpc content type. Setting address and
    web_address to the same value without it is still an error, now one
    that names the setting. The web port also accepts cleartext HTTP/2 in
    either mode (needed for gRPC on the shared port).

Fixed

  • /api/ready no longer answers ready in the middle of a first build.
    When the indexer held the progress lock at the moment of the request,
    readiness read the status as idle and answered ready as soon as some
    files were indexed; it now uses the last status it saw. The nightly
    scale scoreboard caught it: ready after 23 s of a 200,000-file build,
    with 145,201 files still to index (#234).

Changed

  • Timestamps in diagnostics are formatted with jiff instead of the
    unmaintained chrono (RUSTSEC-2026-0543). A capture's captured_at now
    ends in Z rather than +00:00; fcs diagnose reads both.

  • The scale scoreboard reports the server's own memory (peak_anon_mb:
    heap and stacks, without the mapped index file's page cache) next to
    peak RSS, and its memory targets apply to the server's own memory.
    Since v0.20.0 RSS also counts mapped index pages the kernel can drop,
    which failed the nightly's branch-switch target without the server
    holding more memory (#234).

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.21.0-x86_64-unknown-linux-gnu.tar.gz
Linux x86_64 (static, musl) fast_code_search-v0.21.0-x86_64-unknown-linux-musl.tar.gz
macOS Apple silicon fast_code_search-v0.21.0-aarch64-apple-darwin.tar.gz
macOS Intel fast_code_search-v0.21.0-x86_64-apple-darwin.tar.gz
Windows x86_64 fast_code_search-v0.21.0-x86_64-pc-windows-msvc.zip

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

cosign verify-blob --bundle fast_code_search-v0.21.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.21.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.21.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