@mastra/mcp-docs-server 1.0.0-beta.15 → 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 +41 -41
- package/.docs/organized/changelogs/%40mastra%2Fclickhouse.md +41 -41
- package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +18 -18
- package/.docs/organized/changelogs/%40mastra%2Fcloudflare-d1.md +41 -41
- package/.docs/organized/changelogs/%40mastra%2Fcloudflare.md +41 -41
- package/.docs/organized/changelogs/%40mastra%2Fconvex.md +40 -0
- package/.docs/organized/changelogs/%40mastra%2Fcore.md +179 -179
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +49 -49
- package/.docs/organized/changelogs/%40mastra%2Fdynamodb.md +41 -41
- package/.docs/organized/changelogs/%40mastra%2Flance.md +41 -41
- package/.docs/organized/changelogs/%40mastra%2Flibsql.md +41 -41
- package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +16 -16
- package/.docs/organized/changelogs/%40mastra%2Fmcp.md +30 -30
- package/.docs/organized/changelogs/%40mastra%2Fmemory.md +49 -49
- package/.docs/organized/changelogs/%40mastra%2Fmongodb.md +41 -41
- package/.docs/organized/changelogs/%40mastra%2Fmssql.md +41 -41
- package/.docs/organized/changelogs/%40mastra%2Fpg.md +45 -45
- package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +38 -38
- package/.docs/organized/changelogs/%40mastra%2Freact.md +15 -15
- package/.docs/organized/changelogs/%40mastra%2Fschema-compat.md +10 -0
- package/.docs/organized/changelogs/%40mastra%2Fserver.md +63 -63
- package/.docs/organized/changelogs/%40mastra%2Fupstash.md +41 -41
- package/.docs/raw/guides/migrations/upgrade-to-v1/storage.mdx +27 -0
- package/.docs/raw/reference/client-js/workflows.mdx +15 -0
- package/.docs/raw/reference/storage/composite.mdx +223 -0
- package/.docs/raw/reference/tools/mcp-server.mdx +9 -0
- package/.docs/raw/reference/workflows/run-methods/cancel.mdx +51 -3
- package/.docs/raw/reference/workflows/run.mdx +8 -2
- package/CHANGELOG.md +15 -0
- package/package.json +4 -4
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# @mastra/lance
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Add storage composition to MastraStorage ([#11401](https://github.com/mastra-ai/mastra/pull/11401))
|
|
8
|
+
|
|
9
|
+
`MastraStorage` can now compose storage domains from different adapters. Use it when you need different databases for different purposes - for example, PostgreSQL for memory and workflows, but a different database for observability.
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import { MastraStorage } from '@mastra/core/storage';
|
|
13
|
+
import { MemoryPG, WorkflowsPG, ScoresPG } from '@mastra/pg';
|
|
14
|
+
import { MemoryLibSQL } from '@mastra/libsql';
|
|
15
|
+
|
|
16
|
+
// Compose domains from different stores
|
|
17
|
+
const storage = new MastraStorage({
|
|
18
|
+
id: 'composite',
|
|
19
|
+
domains: {
|
|
20
|
+
memory: new MemoryLibSQL({ url: 'file:./local.db' }),
|
|
21
|
+
workflows: new WorkflowsPG({ connectionString: process.env.DATABASE_URL }),
|
|
22
|
+
scores: new ScoresPG({ connectionString: process.env.DATABASE_URL }),
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**Breaking changes:**
|
|
28
|
+
- `storage.supports` property no longer exists
|
|
29
|
+
- `StorageSupports` type is no longer exported from `@mastra/core/storage`
|
|
30
|
+
|
|
31
|
+
All stores now support the same features. For domain availability, use `getStore()`:
|
|
32
|
+
|
|
33
|
+
```typescript
|
|
34
|
+
const store = await storage.getStore('memory');
|
|
35
|
+
if (store) {
|
|
36
|
+
// domain is available
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
- Updated dependencies [[`3d93a15`](https://github.com/mastra-ai/mastra/commit/3d93a15796b158c617461c8b98bede476ebb43e2), [`efe406a`](https://github.com/mastra-ai/mastra/commit/efe406a1353c24993280ebc2ed61dd9f65b84b26), [`119e5c6`](https://github.com/mastra-ai/mastra/commit/119e5c65008f3e5cfca954eefc2eb85e3bf40da4), [`74e504a`](https://github.com/mastra-ai/mastra/commit/74e504a3b584eafd2f198001c6a113bbec589fd3), [`e33fdbd`](https://github.com/mastra-ai/mastra/commit/e33fdbd07b33920d81e823122331b0c0bee0bb59), [`929f69c`](https://github.com/mastra-ai/mastra/commit/929f69c3436fa20dd0f0e2f7ebe8270bd82a1529), [`8a73529`](https://github.com/mastra-ai/mastra/commit/8a73529ca01187f604b1f3019d0a725ac63ae55f)]:
|
|
41
|
+
- @mastra/core@1.0.0-beta.16
|
|
42
|
+
|
|
3
43
|
## 1.0.0-beta.8
|
|
4
44
|
|
|
5
45
|
### Minor Changes
|
|
@@ -458,45 +498,5 @@
|
|
|
458
498
|
|
|
459
499
|
- Add new list methods to storage API: `listMessages`, `listMessagesById`, `listThreadsByResourceId`, and `listWorkflowRuns`. Most methods are currently wrappers around existing methods. Full implementations will be added when migrating away from legacy methods. ([#9489](https://github.com/mastra-ai/mastra/pull/9489))
|
|
460
500
|
|
|
461
|
-
- Rename RuntimeContext to RequestContext ([#9511](https://github.com/mastra-ai/mastra/pull/9511))
|
|
462
|
-
|
|
463
|
-
- Implement listMessages API for replacing previous methods ([#9531](https://github.com/mastra-ai/mastra/pull/9531))
|
|
464
|
-
|
|
465
|
-
- Remove `getThreadsByResourceId` and `getThreadsByResourceIdPaginated` methods from storage interfaces in favor of `listThreadsByResourceId`. The new method uses `offset`/`limit` pagination and a nested `orderBy` object structure (`{ field, direction }`). ([#9536](https://github.com/mastra-ai/mastra/pull/9536))
|
|
466
|
-
|
|
467
|
-
- Remove `getMessagesById` method from storage interfaces in favor of `listMessagesById`. The new method only returns V2-format messages and removes the format parameter, simplifying the API surface. Users should migrate from `getMessagesById({ messageIds, format })` to `listMessagesById({ messageIds })`. ([#9534](https://github.com/mastra-ai/mastra/pull/9534))
|
|
468
|
-
|
|
469
|
-
- **BREAKING CHANGE**: Pagination APIs now use `page`/`perPage` instead of `offset`/`limit` ([#9592](https://github.com/mastra-ai/mastra/pull/9592))
|
|
470
|
-
|
|
471
|
-
All storage and memory pagination APIs have been updated to use `page` (0-indexed) and `perPage` instead of `offset` and `limit`, aligning with standard REST API patterns.
|
|
472
|
-
|
|
473
|
-
**Affected APIs:**
|
|
474
|
-
- `Memory.listThreadsByResourceId()`
|
|
475
|
-
- `Memory.listMessages()`
|
|
476
|
-
- `Storage.listWorkflowRuns()`
|
|
477
|
-
|
|
478
|
-
**Migration:**
|
|
479
|
-
|
|
480
|
-
```typescript
|
|
481
|
-
// Before
|
|
482
|
-
await memory.listThreadsByResourceId({
|
|
483
|
-
resourceId: 'user-123',
|
|
484
|
-
offset: 20,
|
|
485
|
-
limit: 10,
|
|
486
|
-
});
|
|
487
|
-
|
|
488
|
-
// After
|
|
489
|
-
await memory.listThreadsByResourceId({
|
|
490
|
-
resourceId: 'user-123',
|
|
491
|
-
page: 2, // page = Math.floor(offset / limit)
|
|
492
|
-
perPage: 10,
|
|
493
|
-
});
|
|
494
|
-
|
|
495
|
-
// Before
|
|
496
|
-
await memory.listMessages({
|
|
497
|
-
threadId: 'thread-456',
|
|
498
|
-
offset: 20,
|
|
499
|
-
limit: 10,
|
|
500
|
-
});
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 769 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# @mastra/libsql
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Add storage composition to MastraStorage ([#11401](https://github.com/mastra-ai/mastra/pull/11401))
|
|
8
|
+
|
|
9
|
+
`MastraStorage` can now compose storage domains from different adapters. Use it when you need different databases for different purposes - for example, PostgreSQL for memory and workflows, but a different database for observability.
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import { MastraStorage } from '@mastra/core/storage';
|
|
13
|
+
import { MemoryPG, WorkflowsPG, ScoresPG } from '@mastra/pg';
|
|
14
|
+
import { MemoryLibSQL } from '@mastra/libsql';
|
|
15
|
+
|
|
16
|
+
// Compose domains from different stores
|
|
17
|
+
const storage = new MastraStorage({
|
|
18
|
+
id: 'composite',
|
|
19
|
+
domains: {
|
|
20
|
+
memory: new MemoryLibSQL({ url: 'file:./local.db' }),
|
|
21
|
+
workflows: new WorkflowsPG({ connectionString: process.env.DATABASE_URL }),
|
|
22
|
+
scores: new ScoresPG({ connectionString: process.env.DATABASE_URL }),
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**Breaking changes:**
|
|
28
|
+
- `storage.supports` property no longer exists
|
|
29
|
+
- `StorageSupports` type is no longer exported from `@mastra/core/storage`
|
|
30
|
+
|
|
31
|
+
All stores now support the same features. For domain availability, use `getStore()`:
|
|
32
|
+
|
|
33
|
+
```typescript
|
|
34
|
+
const store = await storage.getStore('memory');
|
|
35
|
+
if (store) {
|
|
36
|
+
// domain is available
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
- Updated dependencies [[`3d93a15`](https://github.com/mastra-ai/mastra/commit/3d93a15796b158c617461c8b98bede476ebb43e2), [`efe406a`](https://github.com/mastra-ai/mastra/commit/efe406a1353c24993280ebc2ed61dd9f65b84b26), [`119e5c6`](https://github.com/mastra-ai/mastra/commit/119e5c65008f3e5cfca954eefc2eb85e3bf40da4), [`74e504a`](https://github.com/mastra-ai/mastra/commit/74e504a3b584eafd2f198001c6a113bbec589fd3), [`e33fdbd`](https://github.com/mastra-ai/mastra/commit/e33fdbd07b33920d81e823122331b0c0bee0bb59), [`929f69c`](https://github.com/mastra-ai/mastra/commit/929f69c3436fa20dd0f0e2f7ebe8270bd82a1529), [`8a73529`](https://github.com/mastra-ai/mastra/commit/8a73529ca01187f604b1f3019d0a725ac63ae55f)]:
|
|
41
|
+
- @mastra/core@1.0.0-beta.16
|
|
42
|
+
|
|
3
43
|
## 1.0.0-beta.9
|
|
4
44
|
|
|
5
45
|
### Minor Changes
|
|
@@ -458,45 +498,5 @@
|
|
|
458
498
|
const messages = result.messages; // Access messages array
|
|
459
499
|
console.log(result.total); // Total count
|
|
460
500
|
console.log(result.hasMore); // Whether more pages exist
|
|
461
|
-
```
|
|
462
|
-
|
|
463
|
-
### Message ordering default
|
|
464
|
-
|
|
465
|
-
`listMessages()` defaults to ASC (oldest first) ordering by `createdAt`, matching the previous `getMessages()` behavior.
|
|
466
|
-
|
|
467
|
-
**To use DESC ordering (newest first):**
|
|
468
|
-
|
|
469
|
-
```typescript
|
|
470
|
-
const result = await storage.listMessages({
|
|
471
|
-
threadId: 'thread-1',
|
|
472
|
-
orderBy: { field: 'createdAt', direction: 'DESC' },
|
|
473
|
-
});
|
|
474
|
-
```
|
|
475
|
-
|
|
476
|
-
## Client SDK
|
|
477
|
-
|
|
478
|
-
### BREAKING: Renamed `client.getThreadMessages()` → `client.listThreadMessages()`
|
|
479
|
-
|
|
480
|
-
**Migration:**
|
|
481
|
-
|
|
482
|
-
```typescript
|
|
483
|
-
// Before
|
|
484
|
-
const response = await client.getThreadMessages(threadId, { agentId });
|
|
485
|
-
|
|
486
|
-
// After
|
|
487
|
-
const response = await client.listThreadMessages(threadId, { agentId });
|
|
488
|
-
```
|
|
489
|
-
|
|
490
|
-
The response format remains the same.
|
|
491
|
-
|
|
492
|
-
## Type Changes
|
|
493
|
-
|
|
494
|
-
### BREAKING: Removed `StorageGetMessagesArg` type
|
|
495
|
-
|
|
496
|
-
Use `StorageListMessagesInput` instead:
|
|
497
|
-
|
|
498
|
-
```typescript
|
|
499
|
-
// Before
|
|
500
|
-
import type { StorageGetMessagesArg } from '@mastra/core';
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 1494 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,20 @@
|
|
|
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
|
+
|
|
10
|
+
## 1.0.0-beta.16
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`3d93a15`](https://github.com/mastra-ai/mastra/commit/3d93a15796b158c617461c8b98bede476ebb43e2), [`efe406a`](https://github.com/mastra-ai/mastra/commit/efe406a1353c24993280ebc2ed61dd9f65b84b26), [`119e5c6`](https://github.com/mastra-ai/mastra/commit/119e5c65008f3e5cfca954eefc2eb85e3bf40da4), [`74e504a`](https://github.com/mastra-ai/mastra/commit/74e504a3b584eafd2f198001c6a113bbec589fd3), [`e33fdbd`](https://github.com/mastra-ai/mastra/commit/e33fdbd07b33920d81e823122331b0c0bee0bb59), [`929f69c`](https://github.com/mastra-ai/mastra/commit/929f69c3436fa20dd0f0e2f7ebe8270bd82a1529), [`8a73529`](https://github.com/mastra-ai/mastra/commit/8a73529ca01187f604b1f3019d0a725ac63ae55f)]:
|
|
15
|
+
- @mastra/core@1.0.0-beta.16
|
|
16
|
+
- @mastra/mcp@1.0.0-beta.7
|
|
17
|
+
|
|
3
18
|
## 1.0.0-beta.15
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -483,20 +498,5 @@
|
|
|
483
498
|
|
|
484
499
|
## 0.13.23-alpha.0
|
|
485
500
|
|
|
486
|
-
### Patch Changes
|
|
487
|
-
|
|
488
|
-
- 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)]:
|
|
489
|
-
- @mastra/core@0.17.1-alpha.0
|
|
490
|
-
|
|
491
|
-
## 0.13.22
|
|
492
|
-
|
|
493
|
-
### Patch Changes
|
|
494
|
-
|
|
495
|
-
- dependencies updates: ([#7907](https://github.com/mastra-ai/mastra/pull/7907))
|
|
496
|
-
- Updated dependency [`turndown@^7.2.1` ↗︎](https://www.npmjs.com/package/turndown/v/7.2.1) (from `^7.2.0`, in `dependencies`)
|
|
497
|
-
|
|
498
|
-
- Update peerdep of @mastra/core ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
|
|
499
|
-
|
|
500
|
-
- Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`a1bb887`](https://github.com/mastra-ai/mastra/commit/a1bb887e8bfae44230f487648da72e96ef824561), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`fb84c21`](https://github.com/mastra-ai/mastra/commit/fb84c21859d09bdc8f158bd5412bdc4b5835a61c), [`5802bf5`](https://github.com/mastra-ai/mastra/commit/5802bf57f6182e4b67c28d7d91abed349a8d14f3), [`5bda53a`](https://github.com/mastra-ai/mastra/commit/5bda53a9747bfa7d876d754fc92c83a06e503f62), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`f26a8fd`](https://github.com/mastra-ai/mastra/commit/f26a8fd99fcb0497a5d86c28324430d7f6a5fb83), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`6047778`](https://github.com/mastra-ai/mastra/commit/6047778e501df460648f31decddf8e443f36e373), [`a0f5f1c`](https://github.com/mastra-ai/mastra/commit/a0f5f1ca39c3c5c6d26202e9fcab986b4fe14568), [`9d4fc09`](https://github.com/mastra-ai/mastra/commit/9d4fc09b2ad55caa7738c7ceb3a905e454f74cdd), [`05c7abf`](https://github.com/mastra-ai/mastra/commit/05c7abfe105a015b7760c9bf33ff4419727502a0), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`d75ccf0`](https://github.com/mastra-ai/mastra/commit/d75ccf06dfd2582b916aa12624e3cd61b279edf1), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`b356f5f`](https://github.com/mastra-ai/mastra/commit/b356f5f7566cb3edb755d91f00b72fc1420b2a37), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`f5ce05f`](https://github.com/mastra-ai/mastra/commit/f5ce05f831d42c69559bf4c0fdb46ccb920fc3a3), [`60c9cec`](https://github.com/mastra-ai/mastra/commit/60c9cec7048a79a87440f7840c383875bd710d93), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`aee4f00`](https://github.com/mastra-ai/mastra/commit/aee4f00e61e1a42e81a6d74ff149dbe69e32695a), [`9f6f30f`](https://github.com/mastra-ai/mastra/commit/9f6f30f04ec6648bbca798ea8aad59317c40d8db), [`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4), [`897995e`](https://github.com/mastra-ai/mastra/commit/897995e630d572fe2891e7ede817938cabb43251), [`0fed8f2`](https://github.com/mastra-ai/mastra/commit/0fed8f2aa84b167b3415ea6f8f70755775132c8d), [`4f9ea8c`](https://github.com/mastra-ai/mastra/commit/4f9ea8c95ea74ba9abbf3b2ab6106c7d7bc45689), [`1a1fbe6`](https://github.com/mastra-ai/mastra/commit/1a1fbe66efb7d94abc373ed0dd9676adb8122454), [`d706fad`](https://github.com/mastra-ai/mastra/commit/d706fad6e6e4b72357b18d229ba38e6c913c0e70), [`87fd07f`](https://github.com/mastra-ai/mastra/commit/87fd07ff35387a38728967163460231b5d33ae3b), [`5c3768f`](https://github.com/mastra-ai/mastra/commit/5c3768fa959454232ad76715c381f4aac00c6881), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`36f39c0`](https://github.com/mastra-ai/mastra/commit/36f39c00dc794952dc3c11aab91c2fa8bca74b11), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382)]:
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 2112 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @mastra/mcp
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Add support for `instructions` field in MCPServer ([#11421](https://github.com/mastra-ai/mastra/pull/11421))
|
|
8
|
+
|
|
9
|
+
Implements the official MCP specification's `instructions` field, which allows MCP servers to provide system-wide prompts that are automatically sent to clients during initialization. This eliminates the need for per-project configuration files (like AGENTS.md) by centralizing the system prompt in the server definition.
|
|
10
|
+
|
|
11
|
+
**What's New:**
|
|
12
|
+
- Added `instructions` optional field to `MCPServerConfig` type
|
|
13
|
+
- Instructions are passed to the underlying MCP SDK Server during initialization
|
|
14
|
+
- Instructions are sent to clients in the `InitializeResult` response
|
|
15
|
+
- Fully compatible with all MCP clients (Cursor, Windsurf, Claude Desktop, etc.)
|
|
16
|
+
|
|
17
|
+
**Example Usage:**
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
const server = new MCPServer({
|
|
21
|
+
name: 'GitHub MCP Server',
|
|
22
|
+
version: '1.0.0',
|
|
23
|
+
instructions:
|
|
24
|
+
'Use the available tools to help users manage GitHub repositories, issues, and pull requests. Always search before creating to avoid duplicates.',
|
|
25
|
+
tools: { searchIssues, createIssue, listPRs },
|
|
26
|
+
});
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
- Updated dependencies [[`3d93a15`](https://github.com/mastra-ai/mastra/commit/3d93a15796b158c617461c8b98bede476ebb43e2), [`efe406a`](https://github.com/mastra-ai/mastra/commit/efe406a1353c24993280ebc2ed61dd9f65b84b26), [`119e5c6`](https://github.com/mastra-ai/mastra/commit/119e5c65008f3e5cfca954eefc2eb85e3bf40da4), [`74e504a`](https://github.com/mastra-ai/mastra/commit/74e504a3b584eafd2f198001c6a113bbec589fd3), [`e33fdbd`](https://github.com/mastra-ai/mastra/commit/e33fdbd07b33920d81e823122331b0c0bee0bb59), [`929f69c`](https://github.com/mastra-ai/mastra/commit/929f69c3436fa20dd0f0e2f7ebe8270bd82a1529), [`8a73529`](https://github.com/mastra-ai/mastra/commit/8a73529ca01187f604b1f3019d0a725ac63ae55f)]:
|
|
30
|
+
- @mastra/core@1.0.0-beta.16
|
|
31
|
+
|
|
3
32
|
## 1.0.0-beta.6
|
|
4
33
|
|
|
5
34
|
### Patch Changes
|
|
@@ -470,33 +499,4 @@
|
|
|
470
499
|
|
|
471
500
|
- Update core peerdeps ([#7535](https://github.com/mastra-ai/mastra/pull/7535))
|
|
472
501
|
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
- Revert "feat(mcp): add createMCPTool helper for proper execute types" ([#7513](https://github.com/mastra-ai/mastra/pull/7513))
|
|
476
|
-
|
|
477
|
-
- Updated dependencies [[`0662d02`](https://github.com/mastra-ai/mastra/commit/0662d02ef16916e67531890639fcd72c69cfb6e2), [`6189844`](https://github.com/mastra-ai/mastra/commit/61898448e65bda02bb814fb15801a89dc6476938), [`d7a8f59`](https://github.com/mastra-ai/mastra/commit/d7a8f59154b0621aec4f41a6b2ea2b3882f03cb7), [`4dda259`](https://github.com/mastra-ai/mastra/commit/4dda2593b6343f9258671de5fb237aeba3ef6bb7), [`defed1c`](https://github.com/mastra-ai/mastra/commit/defed1ca8040cc8d42e645c5a50a1bc52a4918d7), [`6991ced`](https://github.com/mastra-ai/mastra/commit/6991cedcb5a44a49d9fe58ef67926e1f96ba55b1), [`9cb9c42`](https://github.com/mastra-ai/mastra/commit/9cb9c422854ee81074989dd2d8dccc0500ba8d3e), [`8334859`](https://github.com/mastra-ai/mastra/commit/83348594d4f37b311ba4a94d679c5f8721d796d4)]:
|
|
478
|
-
- @mastra/core@0.16.1-alpha.0
|
|
479
|
-
|
|
480
|
-
## 0.11.4
|
|
481
|
-
|
|
482
|
-
### Patch Changes
|
|
483
|
-
|
|
484
|
-
- 376913a: Update peerdeps
|
|
485
|
-
- Updated dependencies [8fbf79e]
|
|
486
|
-
- Updated dependencies [fd83526]
|
|
487
|
-
- Updated dependencies [d0b90ab]
|
|
488
|
-
- Updated dependencies [6f5eb7a]
|
|
489
|
-
- Updated dependencies [a01cf14]
|
|
490
|
-
- Updated dependencies [a9e50ee]
|
|
491
|
-
- Updated dependencies [5397eb4]
|
|
492
|
-
- Updated dependencies [c9f4e4a]
|
|
493
|
-
- Updated dependencies [0acbc80]
|
|
494
|
-
- @mastra/core@0.16.0
|
|
495
|
-
|
|
496
|
-
## 0.11.4-alpha.0
|
|
497
|
-
|
|
498
|
-
### Patch Changes
|
|
499
|
-
|
|
500
|
-
- 376913a: Update peerdeps
|
|
501
|
-
|
|
502
|
-
... 2548 more lines hidden. See full changelog in package directory.
|
|
502
|
+
... 2577 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,53 @@
|
|
|
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
|
+
|
|
11
|
+
## 1.0.0-beta.8
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Add storage composition to MastraStorage ([#11401](https://github.com/mastra-ai/mastra/pull/11401))
|
|
16
|
+
|
|
17
|
+
`MastraStorage` can now compose storage domains from different adapters. Use it when you need different databases for different purposes - for example, PostgreSQL for memory and workflows, but a different database for observability.
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { MastraStorage } from '@mastra/core/storage';
|
|
21
|
+
import { MemoryPG, WorkflowsPG, ScoresPG } from '@mastra/pg';
|
|
22
|
+
import { MemoryLibSQL } from '@mastra/libsql';
|
|
23
|
+
|
|
24
|
+
// Compose domains from different stores
|
|
25
|
+
const storage = new MastraStorage({
|
|
26
|
+
id: 'composite',
|
|
27
|
+
domains: {
|
|
28
|
+
memory: new MemoryLibSQL({ url: 'file:./local.db' }),
|
|
29
|
+
workflows: new WorkflowsPG({ connectionString: process.env.DATABASE_URL }),
|
|
30
|
+
scores: new ScoresPG({ connectionString: process.env.DATABASE_URL }),
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
**Breaking changes:**
|
|
36
|
+
- `storage.supports` property no longer exists
|
|
37
|
+
- `StorageSupports` type is no longer exported from `@mastra/core/storage`
|
|
38
|
+
|
|
39
|
+
All stores now support the same features. For domain availability, use `getStore()`:
|
|
40
|
+
|
|
41
|
+
```typescript
|
|
42
|
+
const store = await storage.getStore('memory');
|
|
43
|
+
if (store) {
|
|
44
|
+
// domain is available
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
- Updated dependencies [[`3d93a15`](https://github.com/mastra-ai/mastra/commit/3d93a15796b158c617461c8b98bede476ebb43e2), [`efe406a`](https://github.com/mastra-ai/mastra/commit/efe406a1353c24993280ebc2ed61dd9f65b84b26), [`119e5c6`](https://github.com/mastra-ai/mastra/commit/119e5c65008f3e5cfca954eefc2eb85e3bf40da4), [`74e504a`](https://github.com/mastra-ai/mastra/commit/74e504a3b584eafd2f198001c6a113bbec589fd3), [`e33fdbd`](https://github.com/mastra-ai/mastra/commit/e33fdbd07b33920d81e823122331b0c0bee0bb59), [`929f69c`](https://github.com/mastra-ai/mastra/commit/929f69c3436fa20dd0f0e2f7ebe8270bd82a1529), [`8a73529`](https://github.com/mastra-ai/mastra/commit/8a73529ca01187f604b1f3019d0a725ac63ae55f)]:
|
|
49
|
+
- @mastra/core@1.0.0-beta.16
|
|
50
|
+
|
|
3
51
|
## 1.0.0-beta.7
|
|
4
52
|
|
|
5
53
|
### Patch Changes
|
|
@@ -450,53 +498,5 @@
|
|
|
450
498
|
|
|
451
499
|
- **BREAKING CHANGE**: Memory scope defaults changed from 'thread' to 'resource' ([#8983](https://github.com/mastra-ai/mastra/pull/8983))
|
|
452
500
|
|
|
453
|
-
Both `workingMemory.scope` and `semanticRecall.scope` now default to `'resource'` instead of `'thread'`. This means:
|
|
454
|
-
- Working memory persists across all conversations for the same user/resource
|
|
455
|
-
- Semantic recall searches across all threads for the same user/resource
|
|
456
|
-
|
|
457
|
-
**Migration**: To maintain the previous thread-scoped behavior, explicitly set `scope: 'thread'`:
|
|
458
|
-
|
|
459
|
-
```typescript
|
|
460
|
-
memory: new Memory({
|
|
461
|
-
storage,
|
|
462
|
-
workingMemory: {
|
|
463
|
-
enabled: true,
|
|
464
|
-
scope: 'thread', // Explicitly set for thread-scoped behavior
|
|
465
|
-
},
|
|
466
|
-
semanticRecall: {
|
|
467
|
-
scope: 'thread', // Explicitly set for thread-scoped behavior
|
|
468
|
-
},
|
|
469
|
-
}),
|
|
470
|
-
```
|
|
471
|
-
|
|
472
|
-
See the [migration guide](https://mastra.ai/docs/guides/migrations/memory-scope-defaults) for more details.
|
|
473
|
-
|
|
474
|
-
Also fixed issues where playground semantic recall search could show missing or incorrect results in certain cases.
|
|
475
|
-
|
|
476
|
-
- Update peer dependencies to match core package version bump (1.0.0) ([#9495](https://github.com/mastra-ai/mastra/pull/9495))
|
|
477
|
-
|
|
478
|
-
- Update peer dependencies to match core package version bump (0.22.0) ([#8983](https://github.com/mastra-ai/mastra/pull/8983))
|
|
479
|
-
|
|
480
|
-
### Patch Changes
|
|
481
|
-
|
|
482
|
-
- Update peer dependencies to match core package version bump (1.0.0) ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
|
|
483
|
-
|
|
484
|
-
- Update tool execution signature ([#9587](https://github.com/mastra-ai/mastra/pull/9587))
|
|
485
|
-
|
|
486
|
-
Consolidated the 3 different execution contexts to one
|
|
487
|
-
|
|
488
|
-
```typescript
|
|
489
|
-
// before depending on the context the tool was executed in
|
|
490
|
-
tool.execute({ context: data });
|
|
491
|
-
tool.execute({ context: { inputData: data } });
|
|
492
|
-
tool.execute(data);
|
|
493
|
-
|
|
494
|
-
// now, for all contexts
|
|
495
|
-
tool.execute(data, context);
|
|
496
|
-
```
|
|
497
|
-
|
|
498
|
-
**Before:**
|
|
499
|
-
|
|
500
|
-
```typescript
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 3604 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# @mastra/mongodb
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Add storage composition to MastraStorage ([#11401](https://github.com/mastra-ai/mastra/pull/11401))
|
|
8
|
+
|
|
9
|
+
`MastraStorage` can now compose storage domains from different adapters. Use it when you need different databases for different purposes - for example, PostgreSQL for memory and workflows, but a different database for observability.
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import { MastraStorage } from '@mastra/core/storage';
|
|
13
|
+
import { MemoryPG, WorkflowsPG, ScoresPG } from '@mastra/pg';
|
|
14
|
+
import { MemoryLibSQL } from '@mastra/libsql';
|
|
15
|
+
|
|
16
|
+
// Compose domains from different stores
|
|
17
|
+
const storage = new MastraStorage({
|
|
18
|
+
id: 'composite',
|
|
19
|
+
domains: {
|
|
20
|
+
memory: new MemoryLibSQL({ url: 'file:./local.db' }),
|
|
21
|
+
workflows: new WorkflowsPG({ connectionString: process.env.DATABASE_URL }),
|
|
22
|
+
scores: new ScoresPG({ connectionString: process.env.DATABASE_URL }),
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**Breaking changes:**
|
|
28
|
+
- `storage.supports` property no longer exists
|
|
29
|
+
- `StorageSupports` type is no longer exported from `@mastra/core/storage`
|
|
30
|
+
|
|
31
|
+
All stores now support the same features. For domain availability, use `getStore()`:
|
|
32
|
+
|
|
33
|
+
```typescript
|
|
34
|
+
const store = await storage.getStore('memory');
|
|
35
|
+
if (store) {
|
|
36
|
+
// domain is available
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
- Updated dependencies [[`3d93a15`](https://github.com/mastra-ai/mastra/commit/3d93a15796b158c617461c8b98bede476ebb43e2), [`efe406a`](https://github.com/mastra-ai/mastra/commit/efe406a1353c24993280ebc2ed61dd9f65b84b26), [`119e5c6`](https://github.com/mastra-ai/mastra/commit/119e5c65008f3e5cfca954eefc2eb85e3bf40da4), [`74e504a`](https://github.com/mastra-ai/mastra/commit/74e504a3b584eafd2f198001c6a113bbec589fd3), [`e33fdbd`](https://github.com/mastra-ai/mastra/commit/e33fdbd07b33920d81e823122331b0c0bee0bb59), [`929f69c`](https://github.com/mastra-ai/mastra/commit/929f69c3436fa20dd0f0e2f7ebe8270bd82a1529), [`8a73529`](https://github.com/mastra-ai/mastra/commit/8a73529ca01187f604b1f3019d0a725ac63ae55f)]:
|
|
41
|
+
- @mastra/core@1.0.0-beta.16
|
|
42
|
+
|
|
3
43
|
## 1.0.0-beta.8
|
|
4
44
|
|
|
5
45
|
### Minor Changes
|
|
@@ -459,44 +499,4 @@
|
|
|
459
499
|
const response = await client.listThreadMessages(threadId, { agentId });
|
|
460
500
|
```
|
|
461
501
|
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
## Type Changes
|
|
465
|
-
|
|
466
|
-
### BREAKING: Removed `StorageGetMessagesArg` type
|
|
467
|
-
|
|
468
|
-
Use `StorageListMessagesInput` instead:
|
|
469
|
-
|
|
470
|
-
```typescript
|
|
471
|
-
// Before
|
|
472
|
-
import type { StorageGetMessagesArg } from '@mastra/core';
|
|
473
|
-
|
|
474
|
-
// After
|
|
475
|
-
import type { StorageListMessagesInput } from '@mastra/core';
|
|
476
|
-
```
|
|
477
|
-
|
|
478
|
-
- Bump minimum required Node.js version to 22.13.0 ([#9706](https://github.com/mastra-ai/mastra/pull/9706))
|
|
479
|
-
|
|
480
|
-
- Add new list methods to storage API: `listMessages`, `listMessagesById`, `listThreadsByResourceId`, and `listWorkflowRuns`. Most methods are currently wrappers around existing methods. Full implementations will be added when migrating away from legacy methods. ([#9489](https://github.com/mastra-ai/mastra/pull/9489))
|
|
481
|
-
|
|
482
|
-
- Rename RuntimeContext to RequestContext ([#9511](https://github.com/mastra-ai/mastra/pull/9511))
|
|
483
|
-
|
|
484
|
-
- Implement listMessages API for replacing previous methods ([#9531](https://github.com/mastra-ai/mastra/pull/9531))
|
|
485
|
-
|
|
486
|
-
- Remove `getThreadsByResourceId` and `getThreadsByResourceIdPaginated` methods from storage interfaces in favor of `listThreadsByResourceId`. The new method uses `offset`/`limit` pagination and a nested `orderBy` object structure (`{ field, direction }`). ([#9536](https://github.com/mastra-ai/mastra/pull/9536))
|
|
487
|
-
|
|
488
|
-
- Remove `getMessagesById` method from storage interfaces in favor of `listMessagesById`. The new method only returns V2-format messages and removes the format parameter, simplifying the API surface. Users should migrate from `getMessagesById({ messageIds, format })` to `listMessagesById({ messageIds })`. ([#9534](https://github.com/mastra-ai/mastra/pull/9534))
|
|
489
|
-
|
|
490
|
-
- Renamed a bunch of observability/tracing-related things to drop the AI prefix. ([#9744](https://github.com/mastra-ai/mastra/pull/9744))
|
|
491
|
-
|
|
492
|
-
- **BREAKING CHANGE**: Pagination APIs now use `page`/`perPage` instead of `offset`/`limit` ([#9592](https://github.com/mastra-ai/mastra/pull/9592))
|
|
493
|
-
|
|
494
|
-
All storage and memory pagination APIs have been updated to use `page` (0-indexed) and `perPage` instead of `offset` and `limit`, aligning with standard REST API patterns.
|
|
495
|
-
|
|
496
|
-
**Affected APIs:**
|
|
497
|
-
- `Memory.listThreadsByResourceId()`
|
|
498
|
-
- `Memory.listMessages()`
|
|
499
|
-
- `Storage.listWorkflowRuns()`
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
... 1313 more lines hidden. See full changelog in package directory.
|
|
502
|
+
... 1353 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# @mastra/mssql
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Add storage composition to MastraStorage ([#11401](https://github.com/mastra-ai/mastra/pull/11401))
|
|
8
|
+
|
|
9
|
+
`MastraStorage` can now compose storage domains from different adapters. Use it when you need different databases for different purposes - for example, PostgreSQL for memory and workflows, but a different database for observability.
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import { MastraStorage } from '@mastra/core/storage';
|
|
13
|
+
import { MemoryPG, WorkflowsPG, ScoresPG } from '@mastra/pg';
|
|
14
|
+
import { MemoryLibSQL } from '@mastra/libsql';
|
|
15
|
+
|
|
16
|
+
// Compose domains from different stores
|
|
17
|
+
const storage = new MastraStorage({
|
|
18
|
+
id: 'composite',
|
|
19
|
+
domains: {
|
|
20
|
+
memory: new MemoryLibSQL({ url: 'file:./local.db' }),
|
|
21
|
+
workflows: new WorkflowsPG({ connectionString: process.env.DATABASE_URL }),
|
|
22
|
+
scores: new ScoresPG({ connectionString: process.env.DATABASE_URL }),
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**Breaking changes:**
|
|
28
|
+
- `storage.supports` property no longer exists
|
|
29
|
+
- `StorageSupports` type is no longer exported from `@mastra/core/storage`
|
|
30
|
+
|
|
31
|
+
All stores now support the same features. For domain availability, use `getStore()`:
|
|
32
|
+
|
|
33
|
+
```typescript
|
|
34
|
+
const store = await storage.getStore('memory');
|
|
35
|
+
if (store) {
|
|
36
|
+
// domain is available
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
- Updated dependencies [[`3d93a15`](https://github.com/mastra-ai/mastra/commit/3d93a15796b158c617461c8b98bede476ebb43e2), [`efe406a`](https://github.com/mastra-ai/mastra/commit/efe406a1353c24993280ebc2ed61dd9f65b84b26), [`119e5c6`](https://github.com/mastra-ai/mastra/commit/119e5c65008f3e5cfca954eefc2eb85e3bf40da4), [`74e504a`](https://github.com/mastra-ai/mastra/commit/74e504a3b584eafd2f198001c6a113bbec589fd3), [`e33fdbd`](https://github.com/mastra-ai/mastra/commit/e33fdbd07b33920d81e823122331b0c0bee0bb59), [`929f69c`](https://github.com/mastra-ai/mastra/commit/929f69c3436fa20dd0f0e2f7ebe8270bd82a1529), [`8a73529`](https://github.com/mastra-ai/mastra/commit/8a73529ca01187f604b1f3019d0a725ac63ae55f)]:
|
|
41
|
+
- @mastra/core@1.0.0-beta.16
|
|
42
|
+
|
|
3
43
|
## 1.0.0-beta.8
|
|
4
44
|
|
|
5
45
|
### Minor Changes
|
|
@@ -458,45 +498,5 @@
|
|
|
458
498
|
const response = await client.getThreadMessages(threadId, { agentId });
|
|
459
499
|
|
|
460
500
|
// After
|
|
461
|
-
const response = await client.listThreadMessages(threadId, { agentId });
|
|
462
|
-
```
|
|
463
|
-
|
|
464
|
-
The response format remains the same.
|
|
465
|
-
|
|
466
|
-
## Type Changes
|
|
467
|
-
|
|
468
|
-
### BREAKING: Removed `StorageGetMessagesArg` type
|
|
469
|
-
|
|
470
|
-
Use `StorageListMessagesInput` instead:
|
|
471
|
-
|
|
472
|
-
```typescript
|
|
473
|
-
// Before
|
|
474
|
-
import type { StorageGetMessagesArg } from '@mastra/core';
|
|
475
|
-
|
|
476
|
-
// After
|
|
477
|
-
import type { StorageListMessagesInput } from '@mastra/core';
|
|
478
|
-
```
|
|
479
|
-
|
|
480
|
-
- Bump minimum required Node.js version to 22.13.0 ([#9706](https://github.com/mastra-ai/mastra/pull/9706))
|
|
481
|
-
|
|
482
|
-
- Add new list methods to storage API: `listMessages`, `listMessagesById`, `listThreadsByResourceId`, and `listWorkflowRuns`. Most methods are currently wrappers around existing methods. Full implementations will be added when migrating away from legacy methods. ([#9489](https://github.com/mastra-ai/mastra/pull/9489))
|
|
483
|
-
|
|
484
|
-
- Rename RuntimeContext to RequestContext ([#9511](https://github.com/mastra-ai/mastra/pull/9511))
|
|
485
|
-
|
|
486
|
-
- Implement listMessages API for replacing previous methods ([#9531](https://github.com/mastra-ai/mastra/pull/9531))
|
|
487
|
-
|
|
488
|
-
- Remove `getThreadsByResourceId` and `getThreadsByResourceIdPaginated` methods from storage interfaces in favor of `listThreadsByResourceId`. The new method uses `offset`/`limit` pagination and a nested `orderBy` object structure (`{ field, direction }`). ([#9536](https://github.com/mastra-ai/mastra/pull/9536))
|
|
489
|
-
|
|
490
|
-
- Remove `getMessagesById` method from storage interfaces in favor of `listMessagesById`. The new method only returns V2-format messages and removes the format parameter, simplifying the API surface. Users should migrate from `getMessagesById({ messageIds, format })` to `listMessagesById({ messageIds })`. ([#9534](https://github.com/mastra-ai/mastra/pull/9534))
|
|
491
|
-
|
|
492
|
-
- Renamed a bunch of observability/tracing-related things to drop the AI prefix. ([#9744](https://github.com/mastra-ai/mastra/pull/9744))
|
|
493
|
-
|
|
494
|
-
- **BREAKING CHANGE**: Pagination APIs now use `page`/`perPage` instead of `offset`/`limit` ([#9592](https://github.com/mastra-ai/mastra/pull/9592))
|
|
495
|
-
|
|
496
|
-
All storage and memory pagination APIs have been updated to use `page` (0-indexed) and `perPage` instead of `offset` and `limit`, aligning with standard REST API patterns.
|
|
497
|
-
|
|
498
|
-
**Affected APIs:**
|
|
499
|
-
- `Memory.listThreadsByResourceId()`
|
|
500
|
-
- `Memory.listMessages()`
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 709 more lines hidden. See full changelog in package directory.
|