@mastra/braintrust 0.2.0-alpha.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,41 @@
1
1
  # @mastra/braintrust
2
2
 
3
+ ## 0.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix peerdependencies ([`eb7c1c8`](https://github.com/mastra-ai/mastra/commit/eb7c1c8c592d8fb16dfd250e337d9cdc73c8d5de))
8
+
9
+ - Updated dependencies []:
10
+ - @mastra/core@0.23.1
11
+
12
+ ## 0.2.0
13
+
14
+ ### Minor Changes
15
+
16
+ - Rename LLM span types and attributes to use Model prefix ([#9105](https://github.com/mastra-ai/mastra/pull/9105))
17
+
18
+ BREAKING CHANGE: This release renames AI tracing span types and attribute interfaces to use the "Model" prefix instead of "LLM":
19
+ - `AISpanType.LLM_GENERATION` → `AISpanType.MODEL_GENERATION`
20
+ - `AISpanType.LLM_STEP` → `AISpanType.MODEL_STEP`
21
+ - `AISpanType.LLM_CHUNK` → `AISpanType.MODEL_CHUNK`
22
+ - `LLMGenerationAttributes` → `ModelGenerationAttributes`
23
+ - `LLMStepAttributes` → `ModelStepAttributes`
24
+ - `LLMChunkAttributes` → `ModelChunkAttributes`
25
+ - `InternalSpans.LLM` → `InternalSpans.MODEL`
26
+
27
+ This change better reflects that these span types apply to all AI models, not just Large Language Models.
28
+
29
+ Migration guide:
30
+ - Update all imports: `import { ModelGenerationAttributes } from '@mastra/core/ai-tracing'`
31
+ - Update span type references: `AISpanType.MODEL_GENERATION`
32
+ - Update InternalSpans usage: `InternalSpans.MODEL`
33
+
34
+ ### Patch Changes
35
+
36
+ - Updated dependencies [[`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`2060766`](https://github.com/mastra-ai/mastra/commit/20607667bf78ea104cca3e15dfb93ae0b62c9d18), [`2c4438b`](https://github.com/mastra-ai/mastra/commit/2c4438b87817ab7eed818c7990fef010475af1a3)]:
37
+ - @mastra/core@0.23.0
38
+
3
39
  ## 0.2.0-alpha.0
4
40
 
5
41
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/braintrust",
3
- "version": "0.2.0-alpha.0",
3
+ "version": "0.2.1",
4
4
  "description": "Braintrust observability provider for Mastra - includes AI tracing and future observability features",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -33,9 +33,9 @@
33
33
  "tsup": "^8.5.0",
34
34
  "typescript": "^5.8.3",
35
35
  "vitest": "^3.2.4",
36
- "@internal/lint": "0.0.53",
37
- "@internal/types-builder": "0.0.28",
38
- "@mastra/core": "0.23.0-alpha.0"
36
+ "@internal/lint": "0.0.55",
37
+ "@mastra/core": "0.23.1",
38
+ "@internal/types-builder": "0.0.30"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@mastra/core": ">=0.18.1-0 <0.24.0-0"