@mastra/core 0.23.0-alpha.0 → 0.23.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 +37 -0
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,42 @@
1
1
  # @mastra/core
2
2
 
3
+ ## 0.23.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`eb7c1c8`](https://github.com/mastra-ai/mastra/commit/eb7c1c8c592d8fb16dfd250e337d9cdc73c8d5de)]:
8
+ - @mastra/schema-compat@0.11.5
9
+
10
+ ## 0.23.0
11
+
12
+ ### Minor Changes
13
+
14
+ - Rename LLM span types and attributes to use Model prefix ([#9105](https://github.com/mastra-ai/mastra/pull/9105))
15
+
16
+ BREAKING CHANGE: This release renames AI tracing span types and attribute interfaces to use the "Model" prefix instead of "LLM":
17
+ - `AISpanType.LLM_GENERATION` → `AISpanType.MODEL_GENERATION`
18
+ - `AISpanType.LLM_STEP` → `AISpanType.MODEL_STEP`
19
+ - `AISpanType.LLM_CHUNK` → `AISpanType.MODEL_CHUNK`
20
+ - `LLMGenerationAttributes` → `ModelGenerationAttributes`
21
+ - `LLMStepAttributes` → `ModelStepAttributes`
22
+ - `LLMChunkAttributes` → `ModelChunkAttributes`
23
+ - `InternalSpans.LLM` → `InternalSpans.MODEL`
24
+
25
+ This change better reflects that these span types apply to all AI models, not just Large Language Models.
26
+
27
+ Migration guide:
28
+ - Update all imports: `import { ModelGenerationAttributes } from '@mastra/core/ai-tracing'`
29
+ - Update span type references: `AISpanType.MODEL_GENERATION`
30
+ - Update InternalSpans usage: `InternalSpans.MODEL`
31
+
32
+ ### Patch Changes
33
+
34
+ - Update provider registry and model documentation with latest models and providers ([`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394))
35
+
36
+ - Add tool call approval ([#8649](https://github.com/mastra-ai/mastra/pull/8649))
37
+
38
+ - Fix error handling and serialization in agent streaming to ensure errors are consistently exposed and preserved. ([#9192](https://github.com/mastra-ai/mastra/pull/9192))
39
+
3
40
  ## 0.23.0-alpha.0
4
41
 
5
42
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/core",
3
- "version": "0.23.0-alpha.0",
3
+ "version": "0.23.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -219,7 +219,7 @@
219
219
  "sift": "^17.1.3",
220
220
  "xstate": "^5.20.1",
221
221
  "zod-to-json-schema": "^3.24.6",
222
- "@mastra/schema-compat": "0.11.4"
222
+ "@mastra/schema-compat": "0.11.5"
223
223
  },
224
224
  "peerDependencies": {
225
225
  "zod": "^3.25.0 || ^4.0.0"
@@ -245,9 +245,9 @@
245
245
  "typescript": "^5.8.3",
246
246
  "vitest": "^3.2.4",
247
247
  "zod": "^3.25.76",
248
- "@internal/lint": "0.0.53",
249
- "@internal/types-builder": "0.0.28",
250
- "@internal/external-types": "0.0.3"
248
+ "@internal/lint": "0.0.55",
249
+ "@internal/types-builder": "0.0.30",
250
+ "@internal/external-types": "0.0.5"
251
251
  },
252
252
  "engines": {
253
253
  "node": ">=20"