Releases: braintrustdata/braintrust-sdk-javascript
Releases · braintrustdata/braintrust-sdk-javascript
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)
braintrust@3.14.0
braintrust@3.13.0
braintrust@3.12.0
braintrust
3.12.0
Minor Changes
- feat: Add
@flue/runtimeinstrumentation (#2037) - feat: Add
braintrust/apply-auto-instrumentationentrypoint for CJS/TS patching (#2038) - feat(nextjs): Add
wrapNextjsConfigWithBraintrustas canonical setup utility instead of webpack loader/plugin (#2033) - feat(bundler-plugins): Add
braintrustVitePlugin,braintrustWebpackPlugin,braintrustEsbuildPlugin,braintrustRollupPluginaliases for bundler plugins and deprecate old ones (#2032)
Patch Changes
- feat: Add OpenAI Agents SDK auto-instrumentation (#1891)
- feat: Add LangChain and LangGraph auto-instrumentation (#1897)
- fix(security): reject
__proto__,constructor, andprototypekeys inmergeDicts/mergeDictsWithPathsto prevent prototype pollution from untrusted merge sources (#2026) - feat: Allow for multi project tracing by removing parent project ID restriction (#2044)
- feat: Do not collect git metadata by default when organization-level git metadata settings are absent (#2045)
- Add exponential backoff between existing
get_jsonretry attempts (#1965)
@braintrust/langchain-js@0.2.4
@braintrust/langchain-js
0.2.4
Patch Changes
- feat: Add LangChain and LangGraph auto-instrumentation (#1897)
- Updated dependencies: braintrust@3.12.0
braintrust@3.11.0
3.11.0
Minor Changes
- feat: Add instrumentation for
@github/copilot-sdk(#1932) - feat: Add
@openai/codex-sdkinstrumentation (#1945) - feat: Add Firebase
genkitinstrumentation (#1948) - feat(vitest): Support
projectIdinwrapVitest(#1993) - feat(mistral): Instrument classification and moderation APIs (#1947)
Patch Changes
- fix(openrouter): Capture reasoning (#1944)
- fix(openai): Prevent reading body more than once (#1969)
- fix(cohere): Wrap v2 subclient (#1943)
- fix: Prevent duplicate LLM spans when multiple SDK instances are loaded in the same process (#1973)
- fix(openrouter): Mark callModel parent spans as tasks and avoid double-counting metrics (#2005)
- deps: Upgrade minimatch from v9 to v10. (#2000)
- fix(groq): Capture reasoning for groq reasoning models (#1942)
- fix(google-adk): Fix google adk agent naming (#1950)
- fix: Cancel body consumption immediately for object store upload (#2001)
- fix(deps): Upgrade Express to remove vulnerable transitive dependencies (#2002)
- fix(google-genai): Capture multi-turn message APIs with wrapper (#1946)