Skip to content

v3.8.15

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Jun 12:42
· 20 commits to main since this release

Fixed

  • The embeddings-free build compiles again — unblocks FreeBSD and other
    non-tier-1 ports (#586).
    The default embeddings feature pulls ort (ONNX
    Runtime), whose load-dynamic dylib resolver only ships a default library name
    for windows/linux/android/macos/ios; on FreeBSD that match is non-exhaustive
    and the build fails inside ort itself. lean-ctx already intends to build
    without ORT (run_inference has a not(embeddings) stub), but the
    ort_environment / ort_execution_providers modules and two embeddings
    helpers (embed_batch's rayon import, run_inference_batch) were not
    feature-gated, so --no-default-features — the configuration such ports must
    use — also failed to compile. Those are now gated, and a build-minimal CI
    job (cargo check --no-default-features) guards the configuration so it can
    never silently regress. Semantic search / embeddings stay unavailable on
    targets ORT does not support, but the rest of lean-ctx builds and runs.

Upgrade

lean-ctx update                 # recommended (auto-downloads + refreshes shell hooks)
cargo install lean-ctx          # or
npm update -g lean-ctx-bin      # or
brew upgrade lean-ctx

Note: After upgrading via cargo/npm/brew, run lean-ctx setup to refresh shell aliases. lean-ctx update does this automatically.

Full Changelog: v3.8.15...v3.8.15