@mastra/mcp-docs-server 1.0.0-beta.16 → 1.0.0-beta.17
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.
- package/.docs/organized/changelogs/%40mastra%2Fagent-builder.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fcore.md +14 -14
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +8 -8
- package/.docs/organized/changelogs/%40mastra%2Fmemory.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Freact.md +8 -8
- package/.docs/organized/changelogs/%40mastra%2Fschema-compat.md +10 -0
- package/.docs/organized/changelogs/%40mastra%2Fserver.md +8 -8
- package/CHANGELOG.md +7 -0
- package/package.json +5 -5
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/agent-builder
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`b5dc973`](https://github.com/mastra-ai/mastra/commit/b5dc9733a5158850298dfb103acb3babdba8a318)]:
|
|
8
|
+
- @mastra/core@1.0.0-beta.17
|
|
9
|
+
- @mastra/memory@1.0.0-beta.9
|
|
10
|
+
|
|
3
11
|
## 1.0.0-beta.8
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -491,12 +499,4 @@
|
|
|
491
499
|
|
|
492
500
|
### Patch Changes
|
|
493
501
|
|
|
494
|
-
|
|
495
|
-
- Updated dependencies [8fbf79e]
|
|
496
|
-
- Updated dependencies [376913a]
|
|
497
|
-
- Updated dependencies [38020d5]
|
|
498
|
-
- @mastra/core@0.16.0-alpha.1
|
|
499
|
-
- @mastra/memory@0.14.4-alpha.0
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
... 132 more lines hidden. See full changelog in package directory.
|
|
502
|
+
... 140 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`b5dc973`](https://github.com/mastra-ai/mastra/commit/b5dc9733a5158850298dfb103acb3babdba8a318), [`af56599`](https://github.com/mastra-ai/mastra/commit/af56599d73244ae3bf0d7bcade656410f8ded37b)]:
|
|
8
|
+
- @mastra/core@1.0.0-beta.17
|
|
9
|
+
- @mastra/schema-compat@1.0.0-beta.4
|
|
10
|
+
|
|
3
11
|
## 1.0.0-beta.16
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -491,12 +499,4 @@
|
|
|
491
499
|
- Scores: `listScoresBySpan()`, `listScoresByRunId()`, `listScoresByExecutionId()`
|
|
492
500
|
- HTTP query parser accepts `"false"` string (e.g., `?perPage=false`)
|
|
493
501
|
|
|
494
|
-
|
|
495
|
-
- `memory.query()` parameter type changed from `StorageGetMessagesArg` to `StorageListMessagesInput`
|
|
496
|
-
- Uses flat parameters (`page`, `perPage`, `include`, `filter`, `vectorSearchString`) instead of `selectBy` object
|
|
497
|
-
|
|
498
|
-
**Stricter validation:**
|
|
499
|
-
- `listMessages()` requires non-empty, non-whitespace `threadId` (throws error instead of returning empty results)
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
... 3556 more lines hidden. See full changelog in package directory.
|
|
502
|
+
... 3564 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @mastra/core
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix Zod 4 compatibility for storage schema detection ([#11431](https://github.com/mastra-ai/mastra/pull/11431))
|
|
8
|
+
|
|
9
|
+
If you're using Zod 4, `buildStorageSchema` was failing to detect nullable and optional fields correctly. This caused `NOT NULL constraint failed` errors when storing observability spans and other data.
|
|
10
|
+
|
|
11
|
+
This fix enables proper schema detection for Zod 4 users, ensuring nullable fields like `parentSpanId` are correctly identified and don't cause database constraint violations.
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`af56599`](https://github.com/mastra-ai/mastra/commit/af56599d73244ae3bf0d7bcade656410f8ded37b)]:
|
|
14
|
+
- @mastra/schema-compat@1.0.0-beta.4
|
|
15
|
+
|
|
3
16
|
## 1.0.0-beta.16
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
|
@@ -485,18 +498,5 @@
|
|
|
485
498
|
|
|
486
499
|
**Backward compatible:** All existing V1 and V2 models continue to work unchanged.
|
|
487
500
|
|
|
488
|
-
### Patch Changes
|
|
489
|
-
|
|
490
|
-
- Fix model-level and runtime header support for LLM calls ([#11275](https://github.com/mastra-ai/mastra/pull/11275))
|
|
491
|
-
|
|
492
|
-
This fixes a bug where custom headers configured on models (like `anthropic-beta`) were not being passed through to the underlying AI SDK calls. The fix properly handles headers from multiple sources with correct priority:
|
|
493
|
-
|
|
494
|
-
**Header Priority (low to high):**
|
|
495
|
-
1. Model config headers - Headers set in model configuration
|
|
496
|
-
2. ModelSettings headers - Runtime headers that override model config
|
|
497
|
-
3. Provider-level headers - Headers baked into AI SDK providers (not overridden)
|
|
498
|
-
|
|
499
|
-
**Examples that now work:**
|
|
500
|
-
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 6974 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/deployer-cloud
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`b5dc973`](https://github.com/mastra-ai/mastra/commit/b5dc9733a5158850298dfb103acb3babdba8a318)]:
|
|
8
|
+
- @mastra/core@1.0.0-beta.17
|
|
9
|
+
- @mastra/deployer@1.0.0-beta.17
|
|
10
|
+
|
|
3
11
|
## 1.0.0-beta.16
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -490,13 +498,5 @@
|
|
|
490
498
|
- @mastra/core@0.19.0
|
|
491
499
|
- @mastra/loggers@0.10.14
|
|
492
500
|
|
|
493
|
-
## 0.19.0-alpha.1
|
|
494
|
-
|
|
495
|
-
### Patch Changes
|
|
496
|
-
|
|
497
|
-
- Update peer deps ([#8154](https://github.com/mastra-ai/mastra/pull/8154))
|
|
498
|
-
|
|
499
|
-
- Fix peer deps ([#8134](https://github.com/mastra-ai/mastra/pull/8134))
|
|
500
|
-
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 559 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/deployer
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`b5dc973`](https://github.com/mastra-ai/mastra/commit/b5dc9733a5158850298dfb103acb3babdba8a318)]:
|
|
8
|
+
- @mastra/core@1.0.0-beta.17
|
|
9
|
+
- @mastra/server@1.0.0-beta.17
|
|
10
|
+
|
|
3
11
|
## 1.0.0-beta.16
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -490,13 +498,5 @@
|
|
|
490
498
|
// After
|
|
491
499
|
await memory.listMessages({
|
|
492
500
|
threadId: 'thread-456',
|
|
493
|
-
page: 2,
|
|
494
|
-
perPage: 10,
|
|
495
|
-
});
|
|
496
|
-
|
|
497
|
-
// Before
|
|
498
|
-
await storage.listWorkflowRuns({
|
|
499
|
-
workflowName: 'my-workflow',
|
|
500
|
-
offset: 20,
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 5262 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`b5dc973`](https://github.com/mastra-ai/mastra/commit/b5dc9733a5158850298dfb103acb3babdba8a318)]:
|
|
8
|
+
- @mastra/core@1.0.0-beta.17
|
|
9
|
+
|
|
3
10
|
## 1.0.0-beta.16
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -491,12 +498,5 @@
|
|
|
491
498
|
|
|
492
499
|
## 0.13.23-alpha.0
|
|
493
500
|
|
|
494
|
-
### Patch Changes
|
|
495
|
-
|
|
496
|
-
- Updated dependencies [[`fd00e63`](https://github.com/mastra-ai/mastra/commit/fd00e63759cbcca3473c40cac9843280b0557cff), [`ab610f6`](https://github.com/mastra-ai/mastra/commit/ab610f6f41dbfe6c9502368671485ca7a0aac09b), [`e6bda5f`](https://github.com/mastra-ai/mastra/commit/e6bda5f954ee8493ea18adc1a883f0a5b785ad9b)]:
|
|
497
|
-
- @mastra/core@0.17.1-alpha.0
|
|
498
|
-
|
|
499
|
-
## 0.13.22
|
|
500
|
-
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 2112 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/memory
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`b5dc973`](https://github.com/mastra-ai/mastra/commit/b5dc9733a5158850298dfb103acb3babdba8a318), [`af56599`](https://github.com/mastra-ai/mastra/commit/af56599d73244ae3bf0d7bcade656410f8ded37b)]:
|
|
8
|
+
- @mastra/core@1.0.0-beta.17
|
|
9
|
+
- @mastra/schema-compat@1.0.0-beta.4
|
|
10
|
+
|
|
3
11
|
## 1.0.0-beta.8
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -490,13 +498,5 @@
|
|
|
490
498
|
|
|
491
499
|
- **BREAKING CHANGE**: Memory scope defaults changed from 'thread' to 'resource' ([#8983](https://github.com/mastra-ai/mastra/pull/8983))
|
|
492
500
|
|
|
493
|
-
Both `workingMemory.scope` and `semanticRecall.scope` now default to `'resource'` instead of `'thread'`. This means:
|
|
494
|
-
- Working memory persists across all conversations for the same user/resource
|
|
495
|
-
- Semantic recall searches across all threads for the same user/resource
|
|
496
|
-
|
|
497
|
-
**Migration**: To maintain the previous thread-scoped behavior, explicitly set `scope: 'thread'`:
|
|
498
|
-
|
|
499
|
-
```typescript
|
|
500
|
-
memory: new Memory({
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 3604 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
+
## 7.0.0-beta.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`b5dc973`](https://github.com/mastra-ai/mastra/commit/b5dc9733a5158850298dfb103acb3babdba8a318), [`af56599`](https://github.com/mastra-ai/mastra/commit/af56599d73244ae3bf0d7bcade656410f8ded37b)]:
|
|
8
|
+
- @mastra/core@1.0.0-beta.17
|
|
9
|
+
- @mastra/schema-compat@1.0.0-beta.4
|
|
10
|
+
- @mastra/client-js@1.0.0-beta.17
|
|
11
|
+
- @mastra/react@0.1.0-beta.17
|
|
12
|
+
|
|
3
13
|
## 7.0.0-beta.16
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -489,14 +499,4 @@
|
|
|
489
499
|
|
|
490
500
|
## Storage Layer
|
|
491
501
|
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
The `getMessages()` method has been removed from all storage implementations. Use `listMessages()` instead, which provides pagination support.
|
|
495
|
-
|
|
496
|
-
**Migration:**
|
|
497
|
-
|
|
498
|
-
```typescript
|
|
499
|
-
// Before
|
|
500
|
-
const messages = await storage.getMessages({ threadId: 'thread-1' });
|
|
501
|
-
|
|
502
|
-
... 4418 more lines hidden. See full changelog in package directory.
|
|
502
|
+
... 4428 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/react-hooks
|
|
2
2
|
|
|
3
|
+
## 0.1.0-beta.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies:
|
|
8
|
+
- @mastra/client-js@1.0.0-beta.17
|
|
9
|
+
|
|
3
10
|
## 0.1.0-beta.16
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -491,12 +498,5 @@
|
|
|
491
498
|
|
|
492
499
|
### Patch Changes
|
|
493
500
|
|
|
494
|
-
- Mutable shared workflow run state ([#8545](https://github.com/mastra-ai/mastra/pull/8545))
|
|
495
|
-
|
|
496
|
-
- add tripwire reason in playground ([#8568](https://github.com/mastra-ai/mastra/pull/8568))
|
|
497
|
-
|
|
498
|
-
- type fixes and missing changeset ([#8545](https://github.com/mastra-ai/mastra/pull/8545))
|
|
499
|
-
|
|
500
|
-
- Convert WorkflowWatchResult to WorkflowResult in workflow graph ([#8541](https://github.com/mastra-ai/mastra/pull/8541))
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 86 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @mastra/schema-compat
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix OpenAI structured output compatibility for fields with `.default()` values ([#11434](https://github.com/mastra-ai/mastra/pull/11434))
|
|
8
|
+
|
|
9
|
+
When using Zod schemas with `.default()` fields (e.g., `z.number().default(1)`), OpenAI's structured output API was failing with errors like `Missing '<field>' in required`. This happened because `zod-to-json-schema` doesn't include fields with defaults in the `required` array, but OpenAI requires all properties to be required.
|
|
10
|
+
|
|
11
|
+
This fix converts `.default()` fields to `.nullable()` with a transform that returns the default value when `null` is received, ensuring compatibility with OpenAI's strict mode while preserving the original default value semantics.
|
|
12
|
+
|
|
3
13
|
## 1.0.0-beta.3
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/server
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`b5dc973`](https://github.com/mastra-ai/mastra/commit/b5dc9733a5158850298dfb103acb3babdba8a318)]:
|
|
8
|
+
- @mastra/core@1.0.0-beta.17
|
|
9
|
+
|
|
3
10
|
## 1.0.0-beta.16
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -492,11 +499,4 @@
|
|
|
492
499
|
- Added `express.json()` middleware compatibility for MCP routes
|
|
493
500
|
- Moved authentication helpers from deployer to `@mastra/server/auth`
|
|
494
501
|
|
|
495
|
-
|
|
496
|
-
- Added shared MCP route and transport test suites in `@internal/server-adapter-test-utils`
|
|
497
|
-
- Added comprehensive MCP endpoint tests for both Hono and Express adapters
|
|
498
|
-
- Added GitHub Actions workflow for server adapter CI testing
|
|
499
|
-
|
|
500
|
-
- Allow direct access to server app handle directly from Mastra instance. ([#10598](https://github.com/mastra-ai/mastra/pull/10598))
|
|
501
|
-
|
|
502
|
-
... 4589 more lines hidden. See full changelog in package directory.
|
|
502
|
+
... 4596 more lines hidden. See full changelog in package directory.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`b5dc973`](https://github.com/mastra-ai/mastra/commit/b5dc9733a5158850298dfb103acb3babdba8a318)]:
|
|
8
|
+
- @mastra/core@1.0.0-beta.17
|
|
9
|
+
|
|
3
10
|
## 1.0.0-beta.16
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/mcp-docs-server",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.17",
|
|
4
4
|
"description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"@modelcontextprotocol/sdk": "^1.17.5",
|
|
29
29
|
"jsdom": "^26.1.0",
|
|
30
30
|
"zod": "^3.25.76",
|
|
31
|
-
"@mastra/
|
|
32
|
-
"@mastra/
|
|
31
|
+
"@mastra/mcp": "^1.0.0-beta.7",
|
|
32
|
+
"@mastra/core": "1.0.0-beta.17"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@hono/node-server": "^1.19.6",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"tsx": "^4.19.4",
|
|
46
46
|
"typescript": "^5.8.3",
|
|
47
47
|
"vitest": "4.0.12",
|
|
48
|
-
"@
|
|
49
|
-
"@
|
|
48
|
+
"@internal/lint": "0.0.53",
|
|
49
|
+
"@mastra/core": "1.0.0-beta.17"
|
|
50
50
|
},
|
|
51
51
|
"homepage": "https://mastra.ai",
|
|
52
52
|
"repository": {
|