Skip to content

Releases: braintrustdata/braintrust-sdk-javascript

py-sdk-v0.4.0

Choose a tag to compare

@github-actions github-actions released this 01 Jan 01:39
8ab13f3

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

Choose a tag to compare

@github-actions github-actions released this 27 Dec 19:42
ca2eb28

Changelog

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

py-sdk-v0.3.15

Choose a tag to compare

@github-actions github-actions released this 22 Dec 23:30
dcd4f5a

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

Choose a tag to compare

@github-actions github-actions released this 22 Dec 23:31
dcd4f5a

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)

py-sdk-v0.3.14

Choose a tag to compare

@github-actions github-actions released this 18 Dec 21:27
dbbc189

Changelog

  • Fix UTF-8 encoding for non-ASCII log data with orjson + urllib3 1.x (#1183)
  • Fix Score.as_dict() to include name field (#1103)
  • Make sure ancestor commits never exceed the specified limit (#952)

js-sdk-v1.0.3

Choose a tag to compare

@github-actions github-actions released this 16 Dec 21:11
39cc289

Changelog

  • Evals called directly (outside of using the CLI) will now return plain text (no color, etc.). This avoids additional dependencies that break specific builds/environments. (#1165)
  • browser entrypoint has 1:1 parity with main (nodejs). This adds Eval and a few SDK integrations that were not previously included due to non-isometric reasons. (#1165)
  • The cli entrypoint is now cjs only. Imports attempts from the main SDK code to the CLI code will be denied to prevent coupling.
  • We now prevent public interfaces/types from regressing within major versions. (#1172)
  • Make sure ancestor commits never exceed the specified limit (#952)
  • New Jest smoke test to prevent regressing code tested that has tracing instrumented. (#1160)
  • CVE dependency update. (#1164)
  • CVE dependency update. (#1162)

py-sdk-v0.3.13

Choose a tag to compare

@github-actions github-actions released this 10 Dec 22:43
cef88a0

Changelog

  • Fetching datasets now support an optional batch size (#1150)
  • Improve serialization performance, if orjson is available (#1100)

js-sdk-v1.0.2

Choose a tag to compare

@github-actions github-actions released this 10 Dec 22:43
cef88a0

Changelog

  • Add automatic tracing to OpenAI's streaming structured output (#1158)
  • Fetching datasets now have an optional batch size (#1150)
  • Add automatic tracing for AI SDK's doGenerate and doStream (#1144)
  • Add Agent (and AgentTool) automatic tracing for AI SDK (#1065)
  • Fix withResponse() on wrapped OpenAI responses API (#1145)

py-sdk-v0.3.12

Choose a tag to compare

@github-actions github-actions released this 06 Dec 02:03
8c2b299

Changelog

  • Allow and use project id header in remote evals for project-level ai secrets (#1143)
  • New Braintrust SDK 1.x (#1112)
  • Replace mock unit test with real OpenRouter integration tests (#1136)

js-sdk-v1.0.1

Choose a tag to compare

@github-actions github-actions released this 06 Dec 02:02
8c2b299

Changelog

  • Allow and use project id header in remote evals for project-level ai secrets (#1143)
  • Allow links to be clicked in supported terminals (#1139)
  • Update package-locks to resolve dependabot issues (#1141)