Skip to content

Releases: braintrustdata/braintrust-sdk-javascript

braintrust@3.21.0

Choose a tag to compare

@github-actions github-actions released this 07 Jul 14:29

braintrust

3.21.0

Minor Changes

  • feat: Add inject/extract APIs for distributed tracing across service boundaries (#2141)
  • fix(ai-sdk): Don't capture message history in tool spans (#2179)
  • feat: Expose flag for toggling realtime mode in span fetcher (#2187)
  • feat: Add scorer that exposes helpers to evaluate agents (#2146)
  • feat(evals): Forward/pick up bt eval <...> --sample N flag (#2165)
  • feat(ai-sdk): Add Workflow Agent instrumentation (#2177)

Patch Changes

  • fix: Synthesize AI SDK total token metrics from prompt and completion counts (#2174)
  • fix(ai-sdk): Close braintrustAISDKTelemetry() parent spans with AI SDK 7 onEnd callbacks (#2172)
  • fix(ai-sdk): Keep wrapAISDK model child spans correctly parented for concurrent calls sharing a model instance (#2194)
  • fix: Fix function invocations by stripping /v1/proxy from functions endpoint (#2180)
  • ref: Fork orchestrion-js, import-in-the-middle and require-in-the-middle (#2154)
  • chore: Update platform types (#2196)
  • fix: Properly anchor preview domain CORS regex (#2162)

braintrust@3.20.0

Choose a tag to compare

@github-actions github-actions released this 23 Jun 15:59

braintrust

3.20.0

Minor Changes

  • feat: Make flue manual instrumentation slightly cleaner with braintrustFlueInstrumentation() (#2159)

braintrust@3.19.0

Choose a tag to compare

@github-actions github-actions released this 23 Jun 14:05

braintrust

3.19.0

Minor Changes

  • feat: Add reporter for vitest-evals (#2142)
  • feat: Add support for @anthropic-ai/bedrock-sdk (#2143)
  • feat: Add support for @aws-sdk/client-bedrock-runtime (#2145)
  • feat: Add support for @strands-agents/sdk (#2144)
  • feat(flue): Remove AsyncLocalStorage.enterWith() usage from flue and add support for manual instrumentation for flue v1 (#2152)

Patch Changes

braintrust@3.18.0

Choose a tag to compare

@github-actions github-actions released this 18 Jun 16:22

braintrust

3.18.0

Minor Changes

  • feat(ai-sdk): Add AI SDK v7 support (#2121)
  • feat: Add @earendil-works/pi-coding-agent instrumentation (#2118)
  • feat(google-genai): Add instrumentation for interactions API (#2122)
  • deps: Update bt to v0.12.0 (#2111)
  • feat: Allow inline eval cases to carry explicit origin metadata (#2104)
  • feat: Add project-level classifier builder support for function push (#2095)

Patch Changes

  • fix(claude-agent-sdk): Fix subagents span nesting and input (#2119)
  • fix: Fix TTFT in AI SDK v6 (#2120)
  • fix(flue): Fix span nesting (#2098)
  • fix: Validate inline row origin for evals (#2136)
  • fix: Fix eval summaries to compare against the experiment’s explicit base experiment ID (#2124)

@braintrust/otel@0.2.1

Choose a tag to compare

@braintrust/otel

0.2.1

Patch Changes

  • fix(otel): Transform v1 spans into v2 compatible format before exporting (#2086)

braintrust@3.17.0

Choose a tag to compare

@github-actions github-actions released this 05 Jun 19:29
72b2d49

braintrust

3.17.0

Minor Changes

  • feat: ship the bt CLI with the SDK. Installing braintrust now exposes a bt command in node_modules/.bin that runs the prebuilt native binary for your platform (delivered via @braintrust/bt-* optional dependencies). If optional dependencies are skipped (e.g. --no-optional / --omit=optional), a postinstall script downloads the matching binary from the npm registry as a fallback. (#2067)

braintrust@3.16.0

Choose a tag to compare

@github-actions github-actions released this 03 Jun 17:00

braintrust

3.16.0

Minor Changes

  • feat: Export LocalTrace (#2088)
  • feat(invoke): Allow passing overrides to invoke() (#2087)

Patch Changes

  • fix(stream): Preserve multi-byte UTF-8 split across chunk boundaries (#2091)
  • fix: Don't have output in dataset pipeline row type definition (#2089)

braintrust@3.15.0

Choose a tag to compare

@github-actions github-actions released this 01 Jun 16:10

braintrust

3.15.0

Attention: This release is technically a breaking change because it removes the wrapFlueContext, and wrapFlueSession exports for @flue/runtime. This release was still deemed as a minor because of the experimental state of flue and limited adoption of @flue/runtime instrumentation.

  • feat(flue): Update flue instrumentation to use new observe hooks (#2070)

braintrust@3.14.0

Choose a tag to compare

@github-actions github-actions released this 29 May 14:41

braintrust

3.14.0

Minor Changes

  • feat(mastra): Add Mastra auto-instrumentation (#1901)
  • feat: Add BRAINTRUST_CACHE_LOCATION env var to control caching location (#2061)

braintrust@3.13.0

Choose a tag to compare

@github-actions github-actions released this 27 May 22:08

braintrust

3.13.0

Minor Changes

  • feat: Upwards-recursively read .env.braintrust containing BRAINTRUST_API_KEY on login in Node.js (#2049)
  • feat: Add Dataset pipelines (experimental) (#1933)
  • feat: Include span id in dataset pipeline argument (#2055)