Releases: braintrustdata/braintrust-sdk-javascript
Releases · braintrustdata/braintrust-sdk-javascript
Release list
braintrust@3.21.0
braintrust
3.21.0
Minor Changes
- feat: Add
inject/extractAPIs 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 Nflag (#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 7onEndcallbacks (#2172) - fix(ai-sdk): Keep
wrapAISDKmodel child spans correctly parented for concurrent calls sharing a model instance (#2194) - fix: Fix function invocations by stripping
/v1/proxyfrom functions endpoint (#2180) - ref: Fork
orchestrion-js,import-in-the-middleandrequire-in-the-middle(#2154) - chore: Update platform types (#2196)
- fix: Properly anchor preview domain CORS regex (#2162)
braintrust@3.20.0
braintrust
3.20.0
Minor Changes
- feat: Make flue manual instrumentation slightly cleaner with
braintrustFlueInstrumentation()(#2159)
braintrust@3.19.0
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
- fix: Fix dataset row origin for evals and playgrounds (#2140)
- fix(anthropic): Log Anthropic system message first in span input Thanks Joshua Tjhin (@joshua-tj)! (#2109)
braintrust@3.18.0
braintrust
3.18.0
Minor Changes
- feat(ai-sdk): Add AI SDK v7 support (#2121)
- feat: Add
@earendil-works/pi-coding-agentinstrumentation (#2118) - feat(google-genai): Add instrumentation for interactions API (#2122)
- deps: Update
btto 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
@braintrust/otel@0.2.1
@braintrust/otel
0.2.1
Patch Changes
- fix(otel): Transform v1 spans into v2 compatible format before exporting (#2086)
braintrust@3.17.0
braintrust
3.17.0
Minor Changes
- feat: ship the
btCLI with the SDK. Installingbraintrustnow exposes abtcommand innode_modules/.binthat 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
braintrust@3.15.0
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)