Skip to content

1.26.0

Choose a tag to compare

@github-actions github-actions released this 23 Jun 00:20

Release Notes

Added

  • Sema-native tracing API. New otel/* builtins + with-span / with-session macros
    let your own Sema code emit first-class spans — not just the auto-instrumented llm/* /
    agent/* paths. with-span / otel/span wrap a block in a generic span;
    otel/set-attribute(s), otel/set-status, and otel/event annotate the innermost active
    span; the typed helpers otel/llm-span + otel/llm-usage, otel/tool-span, and
    otel/retrieval-span render a user-built LLM/tool/retrieval step as an LLM/TOOL/RETRIEVER
    span in Phoenix/Traceloop/Langfuse (via the SEMA_OTEL_COMPAT layer) with gen_ai.usage.*
    accounting identical to the built-ins; with-session / otel/with-session groups
    non-agent code into Langfuse Sessions/Users. Every form is a no-op when tracing is off and
    never changes a program's return value. Docs: Tracing & Metrics → Adding your own
    spans
    . Test: crates/sema/tests/otel_native_test.rs.

Install sema-lang 1.26.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/HelgeSverre/sema/releases/download/v1.26.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.26.0/sema-lang-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install helgesverre/tap/sema-lang

Download sema-lang 1.26.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