@mastra/core 0.18.0-alpha.3 → 0.18.0

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 +42 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,47 @@
1
1
  # @mastra/core
2
2
 
3
+ ## 0.18.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Allow agent instructions to accept SystemMessage types ([#7987](https://github.com/mastra-ai/mastra/pull/7987))
8
+
9
+ Agents can now use rich instruction formats beyond simple strings:
10
+ - CoreSystemMessage and SystemModelMessage objects with provider-specific options
11
+ - Arrays of strings or system messages
12
+ - Dynamic instructions returning any SystemMessage type
13
+
14
+ ### Patch Changes
15
+
16
+ - Agent type fixes ([#8072](https://github.com/mastra-ai/mastra/pull/8072))
17
+
18
+ - Fixes for `getStepResult` in workflow steps ([#8065](https://github.com/mastra-ai/mastra/pull/8065))
19
+
20
+ - fix: result object type inference when using structuredOutput and unify output/structuredOutput types with single OUTPUT generic ([#7969](https://github.com/mastra-ai/mastra/pull/7969))
21
+
22
+ - feat: implement trace scoring with batch processing capabilities ([#8033](https://github.com/mastra-ai/mastra/pull/8033))
23
+
24
+ - Fix selection of agent method based on model version ([#8001](https://github.com/mastra-ai/mastra/pull/8001))
25
+
26
+ - show the tool-output stream in the playground for streamVNext ([#7983](https://github.com/mastra-ai/mastra/pull/7983))
27
+
28
+ - Add scorer type, for automatic type inferrence when creating scorers for agents ([#8032](https://github.com/mastra-ai/mastra/pull/8032))
29
+
30
+ - Get rid off swr one for all ([#7931](https://github.com/mastra-ai/mastra/pull/7931))
31
+
32
+ - Fix PostgreSQL vector index recreation issue and add optional index configuration ([#8020](https://github.com/mastra-ai/mastra/pull/8020))
33
+ - Fixed critical bug where memory vector indexes were unnecessarily recreated on every operation
34
+ - Added support for configuring vector index types (HNSW, IVFFlat, flat) and parameters
35
+
36
+ - Fix navigating between scores and entity types ([#8129](https://github.com/mastra-ai/mastra/pull/8129))
37
+
38
+ - Delayed streamVNext breaking change notice by 1 week ([#8121](https://github.com/mastra-ai/mastra/pull/8121))
39
+
40
+ - Tool hitl ([#8084](https://github.com/mastra-ai/mastra/pull/8084))
41
+
42
+ - Updated dependencies [[`b61b8e0`](https://github.com/mastra-ai/mastra/commit/b61b8e0b0e93a7e6e9d82e6f0b620bb919a20bdb)]:
43
+ - @mastra/schema-compat@0.11.4
44
+
3
45
  ## 0.18.0-alpha.3
4
46
 
5
47
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/core",
3
- "version": "0.18.0-alpha.3",
3
+ "version": "0.18.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -212,7 +212,7 @@
212
212
  "sift": "^17.1.3",
213
213
  "xstate": "^5.20.1",
214
214
  "zod-to-json-schema": "^3.24.6",
215
- "@mastra/schema-compat": "0.11.4-alpha.0"
215
+ "@mastra/schema-compat": "0.11.4"
216
216
  },
217
217
  "peerDependencies": {
218
218
  "zod": "^3.25.0 || ^4.0.0"
@@ -239,8 +239,8 @@
239
239
  "typescript": "^5.8.3",
240
240
  "vitest": "^3.2.4",
241
241
  "zod": "^3.25.76",
242
- "@internal/types-builder": "0.0.16",
243
- "@internal/lint": "0.0.41"
242
+ "@internal/lint": "0.0.42",
243
+ "@internal/types-builder": "0.0.17"
244
244
  },
245
245
  "engines": {
246
246
  "node": ">=20"