From 21a3626038601c5be338bcdae58fdf33fdf8f2b9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 13 Jul 2026 18:33:25 +0000 Subject: [PATCH 1/2] chore: Prepare release --- .changeset/mastra-logfeedback-row-id.md | 5 ----- .changeset/sparkly-pets-report.md | 5 ----- js/CHANGELOG.md | 10 ++++++++++ js/package.json | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 .changeset/mastra-logfeedback-row-id.md delete mode 100644 .changeset/sparkly-pets-report.md diff --git a/.changeset/mastra-logfeedback-row-id.md b/.changeset/mastra-logfeedback-row-id.md deleted file mode 100644 index 0f5230ca1..000000000 --- a/.changeset/mastra-logfeedback-row-id.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"braintrust": patch ---- - -fix(mastra): Use the Mastra span id as the Braintrust row id so `logFeedback` attaches to the right row instead of landing as a stray. Matches the upstream `@mastra/braintrust` fix (mastra-ai/mastra#11927). diff --git a/.changeset/sparkly-pets-report.md b/.changeset/sparkly-pets-report.md deleted file mode 100644 index 648203999..000000000 --- a/.changeset/sparkly-pets-report.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"braintrust": minor ---- - -feat: Add first party eve instrumentation diff --git a/js/CHANGELOG.md b/js/CHANGELOG.md index 2a2dad5bc..04aa7fd22 100644 --- a/js/CHANGELOG.md +++ b/js/CHANGELOG.md @@ -1,5 +1,15 @@ # braintrust +## 3.22.0 + +### Minor Changes + +- feat: Add first party eve instrumentation (https://github.com/braintrustdata/braintrust-sdk-javascript/pull/2203) + +### Patch Changes + +- fix(mastra): Use the Mastra span id as the Braintrust row id so `logFeedback` attaches to the right row instead of landing as a stray. Matches the upstream `@mastra/braintrust` fix (mastra-ai/mastra#11927). Thanks @viadezo1er! (https://github.com/braintrustdata/braintrust-sdk-javascript/pull/2211) + ## 3.21.0 ### Minor Changes diff --git a/js/package.json b/js/package.json index 63066c3b0..aee87cd9c 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "braintrust", - "version": "3.21.0", + "version": "3.22.0", "description": "SDK for integrating Braintrust", "repository": { "type": "git", From 64212c3ed83dc2394e8bc6413f5b067e8a2ec26b Mon Sep 17 00:00:00 2001 From: Luca Forstner Date: Mon, 13 Jul 2026 20:52:05 +0200 Subject: [PATCH 2/2] update changelog --- js/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/CHANGELOG.md b/js/CHANGELOG.md index 04aa7fd22..a48d34f19 100644 --- a/js/CHANGELOG.md +++ b/js/CHANGELOG.md @@ -8,7 +8,7 @@ ### Patch Changes -- fix(mastra): Use the Mastra span id as the Braintrust row id so `logFeedback` attaches to the right row instead of landing as a stray. Matches the upstream `@mastra/braintrust` fix (mastra-ai/mastra#11927). Thanks @viadezo1er! (https://github.com/braintrustdata/braintrust-sdk-javascript/pull/2211) +- fix(mastra): Use the Mastra span id as the Braintrust row id so `logFeedback` attaches to the right row instead of landing as a stray (https://github.com/braintrustdata/braintrust-sdk-javascript/pull/2211) ## 3.21.0