@mastra/mcp-docs-server 1.0.0-beta.25 → 1.0.0-beta.27

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 (36) hide show
  1. package/.docs/organized/changelogs/%40internal%2Fplayground.md +20 -0
  2. package/.docs/organized/changelogs/%40mastra%2Fclickhouse.md +59 -59
  3. package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +17 -17
  4. package/.docs/organized/changelogs/%40mastra%2Fcloudflare-d1.md +34 -34
  5. package/.docs/organized/changelogs/%40mastra%2Fcloudflare.md +34 -34
  6. package/.docs/organized/changelogs/%40mastra%2Fcodemod.md +6 -0
  7. package/.docs/organized/changelogs/%40mastra%2Fconvex.md +42 -42
  8. package/.docs/organized/changelogs/%40mastra%2Fcore.md +41 -41
  9. package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +17 -17
  10. package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +17 -17
  11. package/.docs/organized/changelogs/%40mastra%2Fdynamodb.md +34 -34
  12. package/.docs/organized/changelogs/%40mastra%2Flance.md +34 -34
  13. package/.docs/organized/changelogs/%40mastra%2Flibsql.md +59 -59
  14. package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +15 -15
  15. package/.docs/organized/changelogs/%40mastra%2Fmongodb.md +59 -59
  16. package/.docs/organized/changelogs/%40mastra%2Fmssql.md +59 -59
  17. package/.docs/organized/changelogs/%40mastra%2Fpg.md +59 -59
  18. package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +22 -22
  19. package/.docs/organized/changelogs/%40mastra%2Freact.md +18 -18
  20. package/.docs/organized/changelogs/%40mastra%2Fserver.md +17 -17
  21. package/.docs/organized/changelogs/%40mastra%2Fupstash.md +34 -34
  22. package/.docs/organized/changelogs/create-mastra.md +5 -5
  23. package/.docs/organized/changelogs/mastra.md +35 -35
  24. package/.docs/raw/guides/migrations/upgrade-to-v1/cli.mdx +15 -1
  25. package/.docs/raw/guides/migrations/upgrade-to-v1/storage.mdx +88 -4
  26. package/.docs/raw/memory/storage.mdx +3 -3
  27. package/.docs/raw/reference/cli/mastra.mdx +20 -4
  28. package/.docs/raw/reference/configuration.mdx +1 -1
  29. package/.docs/raw/reference/core/getStorage.mdx +1 -1
  30. package/.docs/raw/reference/core/mastra-class.mdx +1 -1
  31. package/.docs/raw/reference/core/setStorage.mdx +2 -2
  32. package/.docs/raw/reference/memory/memory-class.mdx +1 -1
  33. package/.docs/raw/reference/storage/composite.mdx +16 -16
  34. package/CHANGELOG.md +14 -0
  35. package/dist/stdio.js +2 -2
  36. package/package.json +3 -3
@@ -1,5 +1,25 @@
1
1
  # @internal/playground
2
2
 
3
+ ## 1.0.0-beta.19
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`50fd320`](https://github.com/mastra-ai/mastra/commit/50fd320003d0d93831c230ef531bef41f5ba7b3a)]:
8
+ - @mastra/core@1.0.0-beta.27
9
+ - @mastra/client-js@1.0.0-beta.27
10
+ - @mastra/react@0.1.0-beta.27
11
+ - @mastra/playground-ui@7.0.0-beta.27
12
+
13
+ ## 1.0.0-beta.18
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [[`5c9bfe4`](https://github.com/mastra-ai/mastra/commit/5c9bfe44a5eef79f2885c5af31791ef10b508cbd), [`026b848`](https://github.com/mastra-ai/mastra/commit/026b8483fbf5b6d977be8f7e6aac8d15c75558ac), [`ffa553a`](https://github.com/mastra-ai/mastra/commit/ffa553a3edc1bd17d73669fba66d6b6f4ac10897)]:
18
+ - @mastra/playground-ui@7.0.0-beta.26
19
+ - @mastra/client-js@1.0.0-beta.26
20
+ - @mastra/core@1.0.0-beta.26
21
+ - @mastra/react@0.1.0-beta.26
22
+
3
23
  ## 1.0.0-beta.17
4
24
 
5
25
  ### Patch Changes
@@ -1,5 +1,63 @@
1
1
  # @mastra/clickhouse
2
2
 
3
+ ## 1.0.0-beta.12
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixed duplicate spans migration issue across all storage backends. When upgrading from older versions, existing duplicate (traceId, spanId) combinations in the spans table could prevent the unique constraint from being created. The migration deduplicates spans before adding the constraint. ([#12073](https://github.com/mastra-ai/mastra/pull/12073))
8
+
9
+ **Deduplication rules (in priority order):**
10
+ 1. Keep completed spans (those with `endedAt` set) over incomplete spans
11
+ 2. Among spans with the same completion status, keep the one with the newest `updatedAt`
12
+ 3. Use `createdAt` as the final tiebreaker
13
+
14
+ **What changed:**
15
+ - Added `migrateSpans()` method to observability stores for manual migration
16
+ - Added `checkSpansMigrationStatus()` method to check if migration is needed
17
+ - All stores use optimized single-query deduplication to avoid memory issues on large tables
18
+
19
+ **Usage example:**
20
+
21
+ ```typescript
22
+ const observability = await storage.getStore('observability');
23
+ const status = await observability.checkSpansMigrationStatus();
24
+ if (status.needsMigration) {
25
+ const result = await observability.migrateSpans();
26
+ console.log(`Migration complete: ${result.duplicatesRemoved} duplicates removed`);
27
+ }
28
+ ```
29
+
30
+ Fixes #11840
31
+
32
+ - Renamed MastraStorage to MastraCompositeStore for better clarity. The old MastraStorage name remains available as a deprecated alias for backward compatibility, but will be removed in a future version. ([#12093](https://github.com/mastra-ai/mastra/pull/12093))
33
+
34
+ **Migration:**
35
+
36
+ Update your imports and usage:
37
+
38
+ ```typescript
39
+ // Before
40
+ import { MastraStorage } from '@mastra/core/storage';
41
+
42
+ const storage = new MastraStorage({
43
+ id: 'composite',
44
+ domains: { ... }
45
+ });
46
+
47
+ // After
48
+ import { MastraCompositeStore } from '@mastra/core/storage';
49
+
50
+ const storage = new MastraCompositeStore({
51
+ id: 'composite',
52
+ domains: { ... }
53
+ });
54
+ ```
55
+
56
+ The new name better reflects that this is a composite storage implementation that routes different domains (workflows, traces, messages) to different underlying stores, avoiding confusion with the general "Mastra Storage" concept.
57
+
58
+ - Updated dependencies [[`026b848`](https://github.com/mastra-ai/mastra/commit/026b8483fbf5b6d977be8f7e6aac8d15c75558ac), [`ffa553a`](https://github.com/mastra-ai/mastra/commit/ffa553a3edc1bd17d73669fba66d6b6f4ac10897)]:
59
+ - @mastra/core@1.0.0-beta.26
60
+
3
61
  ## 1.0.0-beta.11
4
62
 
5
63
  ### Patch Changes
@@ -440,63 +498,5 @@
440
498
  **After:**
441
499
 
442
500
  ```typescript
443
- const result = await workflow.execute({ input });
444
- if (result.status === 'failed') {
445
- // Custom properties are preserved
446
- console.log(result.error.message); // "Step execution failed"
447
- console.log(result.error.statusCode); // 429
448
- console.log(result.error.cause?.name); // "RateLimitError"
449
- }
450
- ```
451
-
452
- **Type change:** `WorkflowState.error` and `WorkflowRunState.error` types changed from `string | Error` to `SerializedError`.
453
-
454
- Other changes:
455
- - Added `UpdateWorkflowStateOptions` type for workflow state updates
456
-
457
- - fix: make getSqlType consistent across storage adapters ([#11112](https://github.com/mastra-ai/mastra/pull/11112))
458
- - PostgreSQL: use `getSqlType()` in `createTable` instead of `toUpperCase()`
459
- - LibSQL: use `getSqlType()` in `createTable`, return `JSONB` for jsonb type (matches SQLite 3.45+ support)
460
- - ClickHouse: use `getSqlType()` in `createTable` instead of `COLUMN_TYPES` constant, add missing types (uuid, float, boolean)
461
- - Remove unused `getSqlType()` and `getDefaultValue()` from `MastraStorage` base class (all stores use `StoreOperations` versions)
462
-
463
- - Updated dependencies [[`d5ed981`](https://github.com/mastra-ai/mastra/commit/d5ed981c8701c1b8a27a5f35a9a2f7d9244e695f), [`9650cce`](https://github.com/mastra-ai/mastra/commit/9650cce52a1d917ff9114653398e2a0f5c3ba808), [`932d63d`](https://github.com/mastra-ai/mastra/commit/932d63dd51be9c8bf1e00e3671fe65606c6fb9cd), [`b760b73`](https://github.com/mastra-ai/mastra/commit/b760b731aca7c8a3f041f61d57a7f125ae9cb215), [`695a621`](https://github.com/mastra-ai/mastra/commit/695a621528bdabeb87f83c2277cf2bb084c7f2b4), [`2b459f4`](https://github.com/mastra-ai/mastra/commit/2b459f466fd91688eeb2a44801dc23f7f8a887ab), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`09e4bae`](https://github.com/mastra-ai/mastra/commit/09e4bae18dd5357d2ae078a4a95a2af32168ab08), [`24b76d8`](https://github.com/mastra-ai/mastra/commit/24b76d8e17656269c8ed09a0c038adb9cc2ae95a), [`243a823`](https://github.com/mastra-ai/mastra/commit/243a8239c5906f5c94e4f78b54676793f7510ae3), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`c61fac3`](https://github.com/mastra-ai/mastra/commit/c61fac3add96f0dcce0208c07415279e2537eb62), [`6f14f70`](https://github.com/mastra-ai/mastra/commit/6f14f706ccaaf81b69544b6c1b75ab66a41e5317), [`09e4bae`](https://github.com/mastra-ai/mastra/commit/09e4bae18dd5357d2ae078a4a95a2af32168ab08), [`4524734`](https://github.com/mastra-ai/mastra/commit/45247343e384717a7c8404296275c56201d6470f), [`2a53598`](https://github.com/mastra-ai/mastra/commit/2a53598c6d8cfeb904a7fc74e57e526d751c8fa6), [`c7cd3c7`](https://github.com/mastra-ai/mastra/commit/c7cd3c7a187d7aaf79e2ca139de328bf609a14b4), [`847c212`](https://github.com/mastra-ai/mastra/commit/847c212caba7df0d6f2fc756b494ac3c75c3720d), [`6f941c4`](https://github.com/mastra-ai/mastra/commit/6f941c438ca5f578619788acc7608fc2e23bd176)]:
464
- - @mastra/core@1.0.0-beta.12
465
-
466
- ## 1.0.0-beta.5
467
-
468
- ### Patch Changes
469
-
470
- - Add delete workflow run API ([#10991](https://github.com/mastra-ai/mastra/pull/10991))
471
-
472
- ```typescript
473
- await workflow.deleteWorkflowRunById(runId);
474
- ```
475
-
476
- - Updated dependencies [[`edb07e4`](https://github.com/mastra-ai/mastra/commit/edb07e49283e0c28bd094a60e03439bf6ecf0221), [`b7e17d3`](https://github.com/mastra-ai/mastra/commit/b7e17d3f5390bb5a71efc112204413656fcdc18d), [`261473a`](https://github.com/mastra-ai/mastra/commit/261473ac637e633064a22076671e2e02b002214d), [`5d7000f`](https://github.com/mastra-ai/mastra/commit/5d7000f757cd65ea9dc5b05e662fd83dfd44e932), [`4f0331a`](https://github.com/mastra-ai/mastra/commit/4f0331a79bf6eb5ee598a5086e55de4b5a0ada03), [`8a000da`](https://github.com/mastra-ai/mastra/commit/8a000da0c09c679a2312f6b3aa05b2ca78ca7393)]:
477
- - @mastra/core@1.0.0-beta.10
478
-
479
- ## 1.0.0-beta.4
480
-
481
- ### Patch Changes
482
-
483
- - Fix saveScore not persisting ID correctly, breaking getScoreById retrieval ([#10915](https://github.com/mastra-ai/mastra/pull/10915))
484
-
485
- **What Changed**
486
- - saveScore now correctly returns scores that can be retrieved with getScoreById
487
- - Validation errors now include contextual information (scorer, entity, trace details) for easier debugging
488
-
489
- **Impact**
490
- Previously, calling getScoreById after saveScore would return null because the generated ID wasn't persisted to the database. This is now fixed across all store implementations, ensuring consistent behavior and data integrity.
491
-
492
- - Updated dependencies [[`0d41fe2`](https://github.com/mastra-ai/mastra/commit/0d41fe245355dfc66d61a0d9c85d9400aac351ff), [`6b3ba91`](https://github.com/mastra-ai/mastra/commit/6b3ba91494cc10394df96782f349a4f7b1e152cc), [`7907fd1`](https://github.com/mastra-ai/mastra/commit/7907fd1c5059813b7b870b81ca71041dc807331b)]:
493
- - @mastra/core@1.0.0-beta.8
494
-
495
- ## 1.0.0-beta.3
496
-
497
- ### Minor Changes
498
-
499
- - Add `disableInit` option to all storage adapters ([#10851](https://github.com/mastra-ai/mastra/pull/10851))
500
-
501
501
 
502
- ... 1736 more lines hidden. See full changelog in package directory.
502
+ ... 1794 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,21 @@
1
1
  # @mastra/client-js
2
2
 
3
+ ## 1.0.0-beta.27
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`50fd320`](https://github.com/mastra-ai/mastra/commit/50fd320003d0d93831c230ef531bef41f5ba7b3a)]:
8
+ - @mastra/core@1.0.0-beta.27
9
+
10
+ ## 1.0.0-beta.26
11
+
12
+ ### Patch Changes
13
+
14
+ - Improve type handling with Zod ([#12091](https://github.com/mastra-ai/mastra/pull/12091))
15
+
16
+ - Updated dependencies [[`026b848`](https://github.com/mastra-ai/mastra/commit/026b8483fbf5b6d977be8f7e6aac8d15c75558ac), [`ffa553a`](https://github.com/mastra-ai/mastra/commit/ffa553a3edc1bd17d73669fba66d6b6f4ac10897)]:
17
+ - @mastra/core@1.0.0-beta.26
18
+
3
19
  ## 1.0.0-beta.25
4
20
 
5
21
  ### Minor Changes
@@ -482,21 +498,5 @@
482
498
  GET /api/workflows/:workflowId/runs/:runId/execution-result
483
499
  ```
484
500
 
485
- ## Client SDK Usage
486
-
487
- ```typescript
488
- import { MastraClient } from '@mastra/client-js';
489
-
490
- const client = new MastraClient({ baseUrl: 'http://localhost:4111' });
491
- const workflow = client.getWorkflow('myWorkflow');
492
-
493
- // Get only status (minimal payload - fastest)
494
- const statusOnly = await workflow.runExecutionResult(runId, {
495
- fields: ['status'],
496
- });
497
- console.log(statusOnly.status); // 'success' | 'failed' | 'running' | etc.
498
-
499
- // Get status and result
500
- const statusAndResult = await workflow.runExecutionResult(runId, {
501
501
 
502
- ... 3923 more lines hidden. See full changelog in package directory.
502
+ ... 3939 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,38 @@
1
1
  # @mastra/cloudflare-d1
2
2
 
3
+ ## 1.0.0-beta.12
4
+
5
+ ### Patch Changes
6
+
7
+ - Renamed MastraStorage to MastraCompositeStore for better clarity. The old MastraStorage name remains available as a deprecated alias for backward compatibility, but will be removed in a future version. ([#12093](https://github.com/mastra-ai/mastra/pull/12093))
8
+
9
+ **Migration:**
10
+
11
+ Update your imports and usage:
12
+
13
+ ```typescript
14
+ // Before
15
+ import { MastraStorage } from '@mastra/core/storage';
16
+
17
+ const storage = new MastraStorage({
18
+ id: 'composite',
19
+ domains: { ... }
20
+ });
21
+
22
+ // After
23
+ import { MastraCompositeStore } from '@mastra/core/storage';
24
+
25
+ const storage = new MastraCompositeStore({
26
+ id: 'composite',
27
+ domains: { ... }
28
+ });
29
+ ```
30
+
31
+ The new name better reflects that this is a composite storage implementation that routes different domains (workflows, traces, messages) to different underlying stores, avoiding confusion with the general "Mastra Storage" concept.
32
+
33
+ - Updated dependencies [[`026b848`](https://github.com/mastra-ai/mastra/commit/026b8483fbf5b6d977be8f7e6aac8d15c75558ac), [`ffa553a`](https://github.com/mastra-ai/mastra/commit/ffa553a3edc1bd17d73669fba66d6b6f4ac10897)]:
34
+ - @mastra/core@1.0.0-beta.26
35
+
3
36
  ## 1.0.0-beta.11
4
37
 
5
38
  ### Patch Changes
@@ -465,38 +498,5 @@
465
498
  **Impact**
466
499
  Previously, calling getScoreById after saveScore would return null because the generated ID wasn't persisted to the database. This is now fixed across all store implementations, ensuring consistent behavior and data integrity.
467
500
 
468
- - Updated dependencies [[`0d41fe2`](https://github.com/mastra-ai/mastra/commit/0d41fe245355dfc66d61a0d9c85d9400aac351ff), [`6b3ba91`](https://github.com/mastra-ai/mastra/commit/6b3ba91494cc10394df96782f349a4f7b1e152cc), [`7907fd1`](https://github.com/mastra-ai/mastra/commit/7907fd1c5059813b7b870b81ca71041dc807331b)]:
469
- - @mastra/core@1.0.0-beta.8
470
-
471
- ## 1.0.0-beta.3
472
-
473
- ### Minor Changes
474
-
475
- - Add `disableInit` option to all storage adapters ([#10851](https://github.com/mastra-ai/mastra/pull/10851))
476
-
477
- Adds a new `disableInit` config option to all storage providers that allows users to disable automatic table creation/migrations at runtime. This is useful for CI/CD pipelines where you want to run migrations during deployment with elevated credentials, then run the application with `disableInit: true` so it doesn't attempt schema changes at runtime.
478
-
479
- ```typescript
480
- // CI/CD script - run migrations
481
- const storage = new PostgresStore({
482
- connectionString: DATABASE_URL,
483
- id: 'pg-storage',
484
- });
485
- await storage.init();
486
-
487
- // Runtime - skip auto-init
488
- const storage = new PostgresStore({
489
- connectionString: DATABASE_URL,
490
- id: 'pg-storage',
491
- disableInit: true,
492
- });
493
- ```
494
-
495
- ### Patch Changes
496
-
497
- - Standardize error IDs across all storage and vector stores using centralized helper functions (`createStorageErrorId` and `createVectorErrorId`). This ensures consistent error ID patterns (`MASTRA_STORAGE_{STORE}_{OPERATION}_{STATUS}` and `MASTRA_VECTOR_{STORE}_{OPERATION}_{STATUS}`) across the codebase for better error tracking and debugging. ([#10913](https://github.com/mastra-ai/mastra/pull/10913))
498
-
499
- - Updated dependencies [[`3076c67`](https://github.com/mastra-ai/mastra/commit/3076c6778b18988ae7d5c4c5c466366974b2d63f), [`85d7ee1`](https://github.com/mastra-ai/mastra/commit/85d7ee18ff4e14d625a8a30ec6656bb49804989b), [`c6c1092`](https://github.com/mastra-ai/mastra/commit/c6c1092f8fbf76109303f69e000e96fd1960c4ce), [`81dc110`](https://github.com/mastra-ai/mastra/commit/81dc11008d147cf5bdc8996ead1aa61dbdebb6fc), [`7aedb74`](https://github.com/mastra-ai/mastra/commit/7aedb74883adf66af38e270e4068fd42e7a37036), [`8f02d80`](https://github.com/mastra-ai/mastra/commit/8f02d800777397e4b45d7f1ad041988a8b0c6630), [`d7aad50`](https://github.com/mastra-ai/mastra/commit/d7aad501ce61646b76b4b511e558ac4eea9884d0), [`ce0a73a`](https://github.com/mastra-ai/mastra/commit/ce0a73abeaa75b10ca38f9e40a255a645d50ebfb), [`a02e542`](https://github.com/mastra-ai/mastra/commit/a02e542d23179bad250b044b17ff023caa61739f), [`a372c64`](https://github.com/mastra-ai/mastra/commit/a372c640ad1fd12e8f0613cebdc682fc156b4d95), [`8846867`](https://github.com/mastra-ai/mastra/commit/8846867ffa9a3746767618e314bebac08eb77d87), [`42a42cf`](https://github.com/mastra-ai/mastra/commit/42a42cf3132b9786feecbb8c13c583dce5b0e198), [`ae08bf0`](https://github.com/mastra-ai/mastra/commit/ae08bf0ebc6a4e4da992b711c4a389c32ba84cf4), [`21735a7`](https://github.com/mastra-ai/mastra/commit/21735a7ef306963554a69a89b44f06c3bcd85141), [`1d877b8`](https://github.com/mastra-ai/mastra/commit/1d877b8d7b536a251c1a7a18db7ddcf4f68d6f8b)]:
500
- - @mastra/core@1.0.0-beta.7
501
501
 
502
- ... 1453 more lines hidden. See full changelog in package directory.
502
+ ... 1486 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,38 @@
1
1
  # @mastra/cloudflare
2
2
 
3
+ ## 1.0.0-beta.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Renamed MastraStorage to MastraCompositeStore for better clarity. The old MastraStorage name remains available as a deprecated alias for backward compatibility, but will be removed in a future version. ([#12093](https://github.com/mastra-ai/mastra/pull/12093))
8
+
9
+ **Migration:**
10
+
11
+ Update your imports and usage:
12
+
13
+ ```typescript
14
+ // Before
15
+ import { MastraStorage } from '@mastra/core/storage';
16
+
17
+ const storage = new MastraStorage({
18
+ id: 'composite',
19
+ domains: { ... }
20
+ });
21
+
22
+ // After
23
+ import { MastraCompositeStore } from '@mastra/core/storage';
24
+
25
+ const storage = new MastraCompositeStore({
26
+ id: 'composite',
27
+ domains: { ... }
28
+ });
29
+ ```
30
+
31
+ The new name better reflects that this is a composite storage implementation that routes different domains (workflows, traces, messages) to different underlying stores, avoiding confusion with the general "Mastra Storage" concept.
32
+
33
+ - Updated dependencies [[`026b848`](https://github.com/mastra-ai/mastra/commit/026b8483fbf5b6d977be8f7e6aac8d15c75558ac), [`ffa553a`](https://github.com/mastra-ai/mastra/commit/ffa553a3edc1bd17d73669fba66d6b6f4ac10897)]:
34
+ - @mastra/core@1.0.0-beta.26
35
+
3
36
  ## 1.0.0-beta.12
4
37
 
5
38
  ### Patch Changes
@@ -465,38 +498,5 @@
465
498
  **Impact**
466
499
  Previously, calling getScoreById after saveScore would return null because the generated ID wasn't persisted to the database. This is now fixed across all store implementations, ensuring consistent behavior and data integrity.
467
500
 
468
- - Updated dependencies [[`0d41fe2`](https://github.com/mastra-ai/mastra/commit/0d41fe245355dfc66d61a0d9c85d9400aac351ff), [`6b3ba91`](https://github.com/mastra-ai/mastra/commit/6b3ba91494cc10394df96782f349a4f7b1e152cc), [`7907fd1`](https://github.com/mastra-ai/mastra/commit/7907fd1c5059813b7b870b81ca71041dc807331b)]:
469
- - @mastra/core@1.0.0-beta.8
470
-
471
- ## 1.0.0-beta.4
472
-
473
- ### Minor Changes
474
-
475
- - Add `disableInit` option to all storage adapters ([#10851](https://github.com/mastra-ai/mastra/pull/10851))
476
-
477
- Adds a new `disableInit` config option to all storage providers that allows users to disable automatic table creation/migrations at runtime. This is useful for CI/CD pipelines where you want to run migrations during deployment with elevated credentials, then run the application with `disableInit: true` so it doesn't attempt schema changes at runtime.
478
-
479
- ```typescript
480
- // CI/CD script - run migrations
481
- const storage = new PostgresStore({
482
- connectionString: DATABASE_URL,
483
- id: 'pg-storage',
484
- });
485
- await storage.init();
486
-
487
- // Runtime - skip auto-init
488
- const storage = new PostgresStore({
489
- connectionString: DATABASE_URL,
490
- id: 'pg-storage',
491
- disableInit: true,
492
- });
493
- ```
494
-
495
- ### Patch Changes
496
-
497
- - Standardize error IDs across all storage and vector stores using centralized helper functions (`createStorageErrorId` and `createVectorErrorId`). This ensures consistent error ID patterns (`MASTRA_STORAGE_{STORE}_{OPERATION}_{STATUS}` and `MASTRA_VECTOR_{STORE}_{OPERATION}_{STATUS}`) across the codebase for better error tracking and debugging. ([#10913](https://github.com/mastra-ai/mastra/pull/10913))
498
-
499
- - Updated dependencies [[`3076c67`](https://github.com/mastra-ai/mastra/commit/3076c6778b18988ae7d5c4c5c466366974b2d63f), [`85d7ee1`](https://github.com/mastra-ai/mastra/commit/85d7ee18ff4e14d625a8a30ec6656bb49804989b), [`c6c1092`](https://github.com/mastra-ai/mastra/commit/c6c1092f8fbf76109303f69e000e96fd1960c4ce), [`81dc110`](https://github.com/mastra-ai/mastra/commit/81dc11008d147cf5bdc8996ead1aa61dbdebb6fc), [`7aedb74`](https://github.com/mastra-ai/mastra/commit/7aedb74883adf66af38e270e4068fd42e7a37036), [`8f02d80`](https://github.com/mastra-ai/mastra/commit/8f02d800777397e4b45d7f1ad041988a8b0c6630), [`d7aad50`](https://github.com/mastra-ai/mastra/commit/d7aad501ce61646b76b4b511e558ac4eea9884d0), [`ce0a73a`](https://github.com/mastra-ai/mastra/commit/ce0a73abeaa75b10ca38f9e40a255a645d50ebfb), [`a02e542`](https://github.com/mastra-ai/mastra/commit/a02e542d23179bad250b044b17ff023caa61739f), [`a372c64`](https://github.com/mastra-ai/mastra/commit/a372c640ad1fd12e8f0613cebdc682fc156b4d95), [`8846867`](https://github.com/mastra-ai/mastra/commit/8846867ffa9a3746767618e314bebac08eb77d87), [`42a42cf`](https://github.com/mastra-ai/mastra/commit/42a42cf3132b9786feecbb8c13c583dce5b0e198), [`ae08bf0`](https://github.com/mastra-ai/mastra/commit/ae08bf0ebc6a4e4da992b711c4a389c32ba84cf4), [`21735a7`](https://github.com/mastra-ai/mastra/commit/21735a7ef306963554a69a89b44f06c3bcd85141), [`1d877b8`](https://github.com/mastra-ai/mastra/commit/1d877b8d7b536a251c1a7a18db7ddcf4f68d6f8b)]:
500
- - @mastra/core@1.0.0-beta.7
501
501
 
502
- ... 1682 more lines hidden. See full changelog in package directory.
502
+ ... 1715 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,11 @@
1
1
  # @mastra/codemod
2
2
 
3
+ ## 1.0.0-beta.8
4
+
5
+ ### Major Changes
6
+
7
+ - Mark as stable ([#12096](https://github.com/mastra-ai/mastra/pull/12096))
8
+
3
9
  ## 0.1.0-beta.7
4
10
 
5
11
  ### Patch Changes
@@ -1,5 +1,46 @@
1
1
  # @mastra/convex
2
2
 
3
+ ## 1.0.0-beta.10
4
+
5
+ ### Major Changes
6
+
7
+ - Mark as stable ([#12096](https://github.com/mastra-ai/mastra/pull/12096))
8
+
9
+ ### Patch Changes
10
+
11
+ - Fixed ConvexStore so storage.getStore(domain) works properly, preventing runtime errors in flows that access domain stores. ([#12065](https://github.com/mastra-ai/mastra/pull/12065))
12
+ Added no-op schema methods (createTable, alterTable) to keep storage migrations compatible with Convex's declarative schema.
13
+ Relates to `#11361`.
14
+
15
+ - Renamed MastraStorage to MastraCompositeStore for better clarity. The old MastraStorage name remains available as a deprecated alias for backward compatibility, but will be removed in a future version. ([#12093](https://github.com/mastra-ai/mastra/pull/12093))
16
+
17
+ **Migration:**
18
+
19
+ Update your imports and usage:
20
+
21
+ ```typescript
22
+ // Before
23
+ import { MastraStorage } from '@mastra/core/storage';
24
+
25
+ const storage = new MastraStorage({
26
+ id: 'composite',
27
+ domains: { ... }
28
+ });
29
+
30
+ // After
31
+ import { MastraCompositeStore } from '@mastra/core/storage';
32
+
33
+ const storage = new MastraCompositeStore({
34
+ id: 'composite',
35
+ domains: { ... }
36
+ });
37
+ ```
38
+
39
+ The new name better reflects that this is a composite storage implementation that routes different domains (workflows, traces, messages) to different underlying stores, avoiding confusion with the general "Mastra Storage" concept.
40
+
41
+ - Updated dependencies [[`026b848`](https://github.com/mastra-ai/mastra/commit/026b8483fbf5b6d977be8f7e6aac8d15c75558ac), [`ffa553a`](https://github.com/mastra-ai/mastra/commit/ffa553a3edc1bd17d73669fba66d6b6f4ac10897)]:
42
+ - @mastra/core@1.0.0-beta.26
43
+
3
44
  ## 0.1.0-beta.9
4
45
 
5
46
  ### Patch Changes
@@ -458,45 +499,4 @@
458
499
 
459
500
  Adds a new `disableInit` config option to all storage providers that allows users to disable automatic table creation/migrations at runtime. This is useful for CI/CD pipelines where you want to run migrations during deployment with elevated credentials, then run the application with `disableInit: true` so it doesn't attempt schema changes at runtime.
460
501
 
461
- ```typescript
462
- // CI/CD script - run migrations
463
- const storage = new PostgresStore({
464
- connectionString: DATABASE_URL,
465
- id: 'pg-storage',
466
- });
467
- await storage.init();
468
-
469
- // Runtime - skip auto-init
470
- const storage = new PostgresStore({
471
- connectionString: DATABASE_URL,
472
- id: 'pg-storage',
473
- disableInit: true,
474
- });
475
- ```
476
-
477
- ### Patch Changes
478
-
479
- - Standardize error IDs across all storage and vector stores using centralized helper functions (`createStorageErrorId` and `createVectorErrorId`). This ensures consistent error ID patterns (`MASTRA_STORAGE_{STORE}_{OPERATION}_{STATUS}` and `MASTRA_VECTOR_{STORE}_{OPERATION}_{STATUS}`) across the codebase for better error tracking and debugging. ([#10913](https://github.com/mastra-ai/mastra/pull/10913))
480
-
481
- - Updated dependencies [[`3076c67`](https://github.com/mastra-ai/mastra/commit/3076c6778b18988ae7d5c4c5c466366974b2d63f), [`85d7ee1`](https://github.com/mastra-ai/mastra/commit/85d7ee18ff4e14d625a8a30ec6656bb49804989b), [`c6c1092`](https://github.com/mastra-ai/mastra/commit/c6c1092f8fbf76109303f69e000e96fd1960c4ce), [`81dc110`](https://github.com/mastra-ai/mastra/commit/81dc11008d147cf5bdc8996ead1aa61dbdebb6fc), [`7aedb74`](https://github.com/mastra-ai/mastra/commit/7aedb74883adf66af38e270e4068fd42e7a37036), [`8f02d80`](https://github.com/mastra-ai/mastra/commit/8f02d800777397e4b45d7f1ad041988a8b0c6630), [`d7aad50`](https://github.com/mastra-ai/mastra/commit/d7aad501ce61646b76b4b511e558ac4eea9884d0), [`ce0a73a`](https://github.com/mastra-ai/mastra/commit/ce0a73abeaa75b10ca38f9e40a255a645d50ebfb), [`a02e542`](https://github.com/mastra-ai/mastra/commit/a02e542d23179bad250b044b17ff023caa61739f), [`a372c64`](https://github.com/mastra-ai/mastra/commit/a372c640ad1fd12e8f0613cebdc682fc156b4d95), [`8846867`](https://github.com/mastra-ai/mastra/commit/8846867ffa9a3746767618e314bebac08eb77d87), [`42a42cf`](https://github.com/mastra-ai/mastra/commit/42a42cf3132b9786feecbb8c13c583dce5b0e198), [`ae08bf0`](https://github.com/mastra-ai/mastra/commit/ae08bf0ebc6a4e4da992b711c4a389c32ba84cf4), [`21735a7`](https://github.com/mastra-ai/mastra/commit/21735a7ef306963554a69a89b44f06c3bcd85141), [`1d877b8`](https://github.com/mastra-ai/mastra/commit/1d877b8d7b536a251c1a7a18db7ddcf4f68d6f8b)]:
482
- - @mastra/core@1.0.0-beta.7
483
-
484
- ## 0.0.2-beta.0
485
-
486
- ### Patch Changes
487
-
488
- - feat(storage): support querying messages from multiple threads ([#10663](https://github.com/mastra-ai/mastra/pull/10663))
489
- - Fixed TypeScript errors where `threadId: string | string[]` was being passed to places expecting `Scalar` type
490
- - Added proper multi-thread support for `listMessages` across all adapters when `threadId` is an array
491
- - Updated `_getIncludedMessages` to look up message threadId by ID (since message IDs are globally unique)
492
- - **upstash**: Added `msg-idx:{messageId}` index for O(1) message lookups (backwards compatible with fallback to scan for old messages, with automatic backfill)
493
-
494
- - Convex storage and vector adapter improvements: ([#10421](https://github.com/mastra-ai/mastra/pull/10421))
495
- - Refactored to use typed Convex tables for each Mastra domain (threads, messages, resources, workflows, scorers, vectors)
496
- - All tables now include `id` field for Mastra record ID and `by_record_id` index for efficient lookups
497
- - Fixed 32k document limit issues by using batched operations and indexed queries
498
- - Updated `saveMessages` and `updateMessages` to automatically update thread `updatedAt` timestamps
499
- - Fixed `listMessages` to properly fetch messages from different threads when using `include`
500
- - Fixed `saveResource` to preserve `undefined` metadata instead of converting to empty object
501
-
502
- ... 11 more lines hidden. See full changelog in package directory.
502
+ ... 52 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,45 @@
1
1
  # @mastra/core
2
2
 
3
+ ## 1.0.0-beta.27
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixed migration CLI failing with MIGRATION_REQUIRED error during Mastra import. Added MASTRA_DISABLE_STORAGE_INIT environment variable to skip auto-initialization of storage, allowing the migration command to import user's Mastra config without triggering the migration check. Also improved the migration prompt display to show warning messages before the confirmation dialog. ([#12100](https://github.com/mastra-ai/mastra/pull/12100))
8
+
9
+ ## 1.0.0-beta.26
10
+
11
+ ### Major Changes
12
+
13
+ - Renamed MastraStorage to MastraCompositeStore for better clarity. The old MastraStorage name remains available as a deprecated alias for backward compatibility, but will be removed in a future version. ([#12093](https://github.com/mastra-ai/mastra/pull/12093))
14
+
15
+ **Migration:**
16
+
17
+ Update your imports and usage:
18
+
19
+ ```typescript
20
+ // Before
21
+ import { MastraStorage } from '@mastra/core/storage';
22
+
23
+ const storage = new MastraStorage({
24
+ id: 'composite',
25
+ domains: { ... }
26
+ });
27
+
28
+ // After
29
+ import { MastraCompositeStore } from '@mastra/core/storage';
30
+
31
+ const storage = new MastraCompositeStore({
32
+ id: 'composite',
33
+ domains: { ... }
34
+ });
35
+ ```
36
+
37
+ The new name better reflects that this is a composite storage implementation that routes different domains (workflows, traces, messages) to different underlying stores, avoiding confusion with the general "Mastra Storage" concept.
38
+
39
+ ### Patch Changes
40
+
41
+ - Improve type handling with Zod ([#12091](https://github.com/mastra-ai/mastra/pull/12091))
42
+
3
43
  ## 1.0.0-beta.25
4
44
 
5
45
  ### Minor Changes
@@ -458,45 +498,5 @@
458
498
  - Accounts for system messages in the token budget
459
499
  - Filters older messages to prioritize recent conversation context
460
500
 
461
- Fixes #11902
462
-
463
- - Fix crash in `mastraDBMessageToAIV4UIMessage` when `content.parts` is undefined or null. ([#11550](https://github.com/mastra-ai/mastra/pull/11550))
464
-
465
- This resolves an issue where `ModerationProcessor` (and other code paths using `MessageList.get.*.ui()`) would throw `TypeError: Cannot read properties of undefined (reading 'length')` when processing messages with missing `parts` array. This commonly occurred when using AI SDK v4 (LanguageModelV1) models with input/output processors.
466
-
467
- The fix adds null coalescing (`?? []`) to safely handle undefined/null `parts` in the message conversion method.
468
-
469
- - Improved TypeScript type inference for workflow steps. ([#11953](https://github.com/mastra-ai/mastra/pull/11953))
470
-
471
- **What changed:**
472
- - Step input/output type mismatches are now caught at compile time when chaining steps with `.then()`
473
- - The `execute` function now properly infers types from `inputSchema`, `outputSchema`, `stateSchema`, and other schema parameters
474
- - Clearer error messages when step types don't match workflow requirements
475
-
476
- **Why:**
477
- Previously, type errors in workflow step chains would only surface at runtime. Now TypeScript validates that each step's input requirements are satisfied by the previous step's output, helping you catch integration issues earlier in development.
478
-
479
- - Add `response` to finish chunk payload for output processor metadata access ([#11549](https://github.com/mastra-ai/mastra/pull/11549))
480
-
481
- When using output processors with streaming, metadata added via `processOutputResult` is now accessible in the finish chunk's `payload.response.uiMessages`. This allows clients consuming streams over HTTP (e.g., via `/stream/ui`) to access processor-added metadata.
482
-
483
- ```typescript
484
- for await (const chunk of stream.fullStream) {
485
- if (chunk.type === 'finish') {
486
- const uiMessages = chunk.payload.response?.uiMessages;
487
- const metadata = uiMessages?.find(m => m.role === 'assistant')?.metadata;
488
- }
489
- }
490
- ```
491
-
492
- Fixes #11454
493
-
494
- - Fixed formatting of model_step, model_chunk, and tool_call spans in Arize Exporter. ([#11922](https://github.com/mastra-ai/mastra/pull/11922))
495
-
496
- Also removed `tools` output from `model_step` spans for all exporters.
497
-
498
- - Improved tracing by filtering infrastructure chunks from model streams and adding success attribute to tool spans. ([#11943](https://github.com/mastra-ai/mastra/pull/11943))
499
-
500
- Added generic input/output attribute mapping for additional span types in Arize exporter.
501
501
 
502
- ... 8098 more lines hidden. See full changelog in package directory.
502
+ ... 8138 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,21 @@
1
1
  # @mastra/deployer-cloud
2
2
 
3
+ ## 1.0.0-beta.27
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`50fd320`](https://github.com/mastra-ai/mastra/commit/50fd320003d0d93831c230ef531bef41f5ba7b3a)]:
8
+ - @mastra/core@1.0.0-beta.27
9
+ - @mastra/deployer@1.0.0-beta.27
10
+
11
+ ## 1.0.0-beta.26
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [[`026b848`](https://github.com/mastra-ai/mastra/commit/026b8483fbf5b6d977be8f7e6aac8d15c75558ac), [`ffa553a`](https://github.com/mastra-ai/mastra/commit/ffa553a3edc1bd17d73669fba66d6b6f4ac10897)]:
16
+ - @mastra/core@1.0.0-beta.26
17
+ - @mastra/deployer@1.0.0-beta.26
18
+
3
19
  ## 1.0.0-beta.25
4
20
 
5
21
  ### Patch Changes
@@ -482,21 +498,5 @@
482
498
 
483
499
  - Updated dependencies [[`0fb6616`](https://github.com/mastra-ai/mastra/commit/0fb66169600ed2a3dc1297b1bfa8a7693ebb6e3c), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`1dbd76a`](https://github.com/mastra-ai/mastra/commit/1dbd76aff29cc764d3a1ac7bb01172fe59cb5992), [`2ddb851`](https://github.com/mastra-ai/mastra/commit/2ddb8519c4b6f1d31be10ffd33b41d2b649a04ff), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`ee68e82`](https://github.com/mastra-ai/mastra/commit/ee68e8289ea4408d29849e899bc6e78b3bd4e843), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`ea33930`](https://github.com/mastra-ai/mastra/commit/ea339301e82d6318257720d811b043014ee44064), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb), [`59d036d`](https://github.com/mastra-ai/mastra/commit/59d036d4c2706b430b0e3f1f1e0ee853ce16ca04)]:
484
500
  - @mastra/deployer@0.21.0-alpha.0
485
- - @mastra/core@0.21.0-alpha.0
486
- - @mastra/loggers@0.10.16-alpha.0
487
-
488
- ## 0.20.2
489
-
490
- ### Patch Changes
491
-
492
- - Updated dependencies [[`07eaf25`](https://github.com/mastra-ai/mastra/commit/07eaf25aada9e42235dbf905854de53da4d8121b), [`0d71771`](https://github.com/mastra-ai/mastra/commit/0d71771f5711164c79f8e80919bc84d6bffeb6bc), [`0d6e55e`](https://github.com/mastra-ai/mastra/commit/0d6e55ecc5a2e689cd4fc9c86525e0eb54d82372), [`68b1111`](https://github.com/mastra-ai/mastra/commit/68b11118a1303f93e9c0c157850c0751309304c5)]:
493
- - @mastra/core@0.20.2
494
- - @mastra/deployer@0.20.2
495
-
496
- ## 0.20.2-alpha.1
497
-
498
- ### Patch Changes
499
-
500
- - Updated dependencies [[`07eaf25`](https://github.com/mastra-ai/mastra/commit/07eaf25aada9e42235dbf905854de53da4d8121b), [`68b1111`](https://github.com/mastra-ai/mastra/commit/68b11118a1303f93e9c0c157850c0751309304c5)]:
501
501
 
502
- ... 695 more lines hidden. See full changelog in package directory.
502
+ ... 711 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,21 @@
1
1
  # @mastra/deployer
2
2
 
3
+ ## 1.0.0-beta.27
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`50fd320`](https://github.com/mastra-ai/mastra/commit/50fd320003d0d93831c230ef531bef41f5ba7b3a)]:
8
+ - @mastra/core@1.0.0-beta.27
9
+ - @mastra/server@1.0.0-beta.27
10
+
11
+ ## 1.0.0-beta.26
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [[`026b848`](https://github.com/mastra-ai/mastra/commit/026b8483fbf5b6d977be8f7e6aac8d15c75558ac), [`ffa553a`](https://github.com/mastra-ai/mastra/commit/ffa553a3edc1bd17d73669fba66d6b6f4ac10897)]:
16
+ - @mastra/server@1.0.0-beta.26
17
+ - @mastra/core@1.0.0-beta.26
18
+
3
19
  ## 1.0.0-beta.25
4
20
 
5
21
  ### Patch Changes
@@ -482,21 +498,5 @@
482
498
  + thread.listMessages({ page: 0, perPage: 20 })
483
499
  ```
484
500
 
485
- - # Major Changes ([#9695](https://github.com/mastra-ai/mastra/pull/9695))
486
-
487
- ## Storage Layer
488
-
489
- ### BREAKING: Removed `storage.getMessages()`
490
-
491
- The `getMessages()` method has been removed from all storage implementations. Use `listMessages()` instead, which provides pagination support.
492
-
493
- **Migration:**
494
-
495
- ```typescript
496
- // Before
497
- const messages = await storage.getMessages({ threadId: 'thread-1' });
498
-
499
- // After
500
- const result = await storage.listMessages({
501
501
 
502
- ... 5373 more lines hidden. See full changelog in package directory.
502
+ ... 5389 more lines hidden. See full changelog in package directory.