Skip to content

Releases: braintrustdata/braintrust-sdk-javascript

py-sdk-v0.4.3

15 Jan 20:05
d734e8f

Choose a tag to compare

Changelog

  • New Facet typespecs (#1244)
  • Rename agents to workflows (#1219)

js-sdk-v2.0.2

15 Jan 01:31
8e50db3

Choose a tag to compare

Changelog

  • ai-sdk: fix input output objects serialization and cover v5 and v6 testing (#1255)
  • Anthropic SDK: Log tool use output when streaming (#1266)
  • Update docs links (#1256)
  • New Facet typespecs (#1244)
  • Rename agents to workflows (#1219)
  • Improve tags (#1227)

py-sdk-v0.4.2

08 Jan 21:38
3ca420e

Choose a tag to compare

Changelog

  • otel: Add an optional propagator to allow parsing other header formats (#1246)
  • Improve span tags (#1227)
  • verify we use configured org in links before login. (#1235)
  • ensure none scorer works with no-send-logs (#1241)
  • patch_litellm() now patches responses and aresponses (#1231)
  • otel: remove restriction to always keep root span (#1196)

js-sdk-v2.0.1

08 Jan 00:29
6f303be

Choose a tag to compare

Changelog

  • bump js to patch version (#1245)
  • Revert "Facet typespecs (#1216)" (#1243)
  • JS api compatibility test improvements (#1240)
  • Facet typespecs (#1216)
  • verify we use configured org in links before login. (#1235)
  • update otel tests (#1239)
  • claude md and permissions (#1236)
  • Improve serialization in SDK Python (#1225)
  • Forward claude-agent-sdk Query properties (like interrupt) through wrapped generator (#1224)

py-sdk-v0.4.1

07 Jan 00:52
d9c624e

Choose a tag to compare

Changelog

  • Pydantic ai wrapper context loss (#1234)
  • Improve serialization in SDK Python (#1225)
  • Forward claude-agent-sdk Query properties (like interrupt) through wrapped generator (#1224)
  • Add span purpose to all scorer subspans (#1220)

js-sdk-v2.0.0

05 Jan 19:26
52a8fa6

Choose a tag to compare

Changelog

  • mark braintrust middleware as deprecated in favor of wrapAISDK (#1222)
  • Add span purpose to all scorer subspans (#1220)
  • Fix missing structured output on generate spans (#1217)
  • Fix global scoping (generated types update) (#1213)
  • Make zod a peer dependency in the sdk (#1212)

Breaking Change:

  • Zod is required to be installed separately

py-sdk-v0.4.0

01 Jan 01:39
8ab13f3

Choose a tag to compare

Changelog

  • Fix global scoping (generated types update) (#1213)
  • py sdk and integrations now require a min. of Python 3.10 (#1194)

js-sdk-v1.1.1

27 Dec 19:42
ca2eb28

Choose a tag to compare

Changelog

  • Fix improper handling of async generator as execute input (#1203)

py-sdk-v0.3.15

22 Dec 23:30
dcd4f5a

Choose a tag to compare

Changelog

  • wrap_openai now sends smaller logs with braintrust attachments (#1180)
  • New Pydantic AI integration setup_pydantic_ai (#1192)
  • Small improvement to function invocation context (#1167)

js-sdk-v1.1.0

22 Dec 23:31
dcd4f5a

Choose a tag to compare

Changelog

  • wrapOpenAI now produces smaller logs with braintrust attachments (#1180)
  • Support AI SDK v6 new metrics objects (#1182)
  • Improve function invocation context (#1167)
  • Add ability to create prompts with nunjucks template format (#1193, #1075)
  • Use Vercel's AI Gateway's cost, if available, in AI SDK (#1166)