Skip to content

1.23.0

Choose a tag to compare

@github-actions github-actions released this 22 Jun 13:34

Release Notes

Added

  • LLM cassettes — record/replay for deterministic, keyless testing & demos. A new
    sema-llm::cassette layer records real LLM responses to an NDJSON tape once, then
    replays them deterministically forever — no API key, no network. llm/complete,
    llm/chat, llm/extract, agent loops (agent/run, each turn keyed
    independently), streaming (llm/stream, the chunk sequence is recorded and
    replayed in order) and embeddings (llm/embed, vectors recorded and replayed)
    are all covered. Modes
    :auto / :replay / :record; a :replay miss is a hard error that surfaces
    prompt drift. Surface: (llm/with-cassette path opts thunk),
    llm/cassette-load/-save/-eject, and SEMA_LLM_CASSETTE /
    SEMA_LLM_CASSETTE_MODE for CI. Folds with the rest of the runtime: it sits below
    the OpenTelemetry span + response cache + cost accounting and above the provider, so
    a replay still emits its chat span and reports its recorded usage (distinct
    from a cache hit's zero usage), and with-cassette disables the response cache for
    its scope. The tape stores only the response keyed by a request hash — no prompt
    text, key, or header touches disk (redaction by construction). Docs:
    website/docs/llm/cassettes.md.

CI

  • Publish-list guard. scripts/check-publish-list.sh (run in the release
    verify gate + make check-publish-list) fails if a publishable workspace crate is
    missing from publish.yml's order — preventing the half-published release that hit
    1.22.0 when the new sema-otel crate wasn't in the list.
  • The two publishes now share a single verify gate (was one full suite per
    registry), CI uses Swatinem/rust-cache, and the per-crate publish sleeps are
    trimmed (cargo already waits for index propagation).

Install sema-lang 1.23.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/HelgeSverre/sema/releases/download/v1.23.0/sema-lang-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/HelgeSverre/sema/releases/download/v1.23.0/sema-lang-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install helgesverre/tap/sema-lang

Download sema-lang 1.23.0

File Platform Checksum
sema-lang-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
sema-lang-x86_64-apple-darwin.tar.xz Intel macOS checksum
sema-lang-x86_64-pc-windows-msvc.zip x64 Windows checksum
sema-lang-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
sema-lang-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum