@mastra/mcp-docs-server 1.0.0-beta.14 → 1.0.0-beta.16

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 (63) hide show
  1. package/.docs/organized/changelogs/%40mastra%2Fagent-builder.md +41 -41
  2. package/.docs/organized/changelogs/%40mastra%2Fai-sdk.md +51 -51
  3. package/.docs/organized/changelogs/%40mastra%2Fclickhouse.md +235 -235
  4. package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +85 -85
  5. package/.docs/organized/changelogs/%40mastra%2Fcloudflare-d1.md +235 -235
  6. package/.docs/organized/changelogs/%40mastra%2Fcloudflare.md +235 -235
  7. package/.docs/organized/changelogs/%40mastra%2Fconvex.md +258 -0
  8. package/.docs/organized/changelogs/%40mastra%2Fcore.md +338 -338
  9. package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +27 -27
  10. package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +67 -67
  11. package/.docs/organized/changelogs/%40mastra%2Fdynamodb.md +235 -235
  12. package/.docs/organized/changelogs/%40mastra%2Fevals.md +10 -10
  13. package/.docs/organized/changelogs/%40mastra%2Ffastembed.md +6 -0
  14. package/.docs/organized/changelogs/%40mastra%2Flance.md +235 -235
  15. package/.docs/organized/changelogs/%40mastra%2Flibsql.md +235 -235
  16. package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +16 -16
  17. package/.docs/organized/changelogs/%40mastra%2Fmcp.md +30 -30
  18. package/.docs/organized/changelogs/%40mastra%2Fmemory.md +168 -168
  19. package/.docs/organized/changelogs/%40mastra%2Fmongodb.md +259 -259
  20. package/.docs/organized/changelogs/%40mastra%2Fmssql.md +259 -259
  21. package/.docs/organized/changelogs/%40mastra%2Fpg.md +279 -279
  22. package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +108 -108
  23. package/.docs/organized/changelogs/%40mastra%2Freact.md +77 -77
  24. package/.docs/organized/changelogs/%40mastra%2Fserver.md +180 -180
  25. package/.docs/organized/changelogs/%40mastra%2Fupstash.md +235 -235
  26. package/.docs/organized/changelogs/create-mastra.md +11 -11
  27. package/.docs/organized/changelogs/mastra.md +40 -40
  28. package/.docs/organized/code-examples/agent-v6.md +70 -11
  29. package/.docs/organized/code-examples/client-side-tools.md +1 -1
  30. package/.docs/raw/agents/adding-voice.mdx +8 -3
  31. package/.docs/raw/deployment/overview.mdx +3 -4
  32. package/.docs/raw/deployment/workflow-runners.mdx +14 -0
  33. package/.docs/raw/getting-started/studio.mdx +1 -1
  34. package/.docs/raw/guides/deployment/inngest.mdx +198 -140
  35. package/.docs/raw/guides/migrations/upgrade-to-v1/memory.mdx +11 -3
  36. package/.docs/raw/guides/migrations/upgrade-to-v1/processors.mdx +11 -0
  37. package/.docs/raw/guides/migrations/upgrade-to-v1/storage.mdx +68 -0
  38. package/.docs/raw/mastra-cloud/deployment.mdx +39 -0
  39. package/.docs/raw/mastra-cloud/observability.mdx +9 -15
  40. package/.docs/raw/mastra-cloud/overview.mdx +14 -44
  41. package/.docs/raw/mastra-cloud/setup.mdx +64 -0
  42. package/.docs/raw/mastra-cloud/studio.mdx +35 -0
  43. package/.docs/raw/reference/client-js/workflows.mdx +15 -0
  44. package/.docs/raw/reference/logging/pino-logger.mdx +1 -1
  45. package/.docs/raw/reference/processors/token-limiter-processor.mdx +39 -18
  46. package/.docs/raw/reference/storage/cloudflare-d1.mdx +4 -2
  47. package/.docs/raw/reference/storage/composite.mdx +223 -0
  48. package/.docs/raw/reference/storage/lance.mdx +3 -2
  49. package/.docs/raw/reference/storage/libsql.mdx +5 -2
  50. package/.docs/raw/reference/storage/mongodb.mdx +4 -2
  51. package/.docs/raw/reference/storage/mssql.mdx +4 -2
  52. package/.docs/raw/reference/storage/postgresql.mdx +4 -2
  53. package/.docs/raw/reference/tools/mcp-server.mdx +9 -0
  54. package/.docs/raw/reference/workflows/run-methods/cancel.mdx +51 -3
  55. package/.docs/raw/reference/workflows/run.mdx +8 -2
  56. package/.docs/raw/voice/overview.mdx +1 -1
  57. package/.docs/raw/workflows/overview.mdx +1 -1
  58. package/.docs/raw/workflows/snapshots.mdx +2 -1
  59. package/CHANGELOG.md +15 -0
  60. package/package.json +5 -5
  61. package/.docs/raw/mastra-cloud/dashboard.mdx +0 -96
  62. package/.docs/raw/mastra-cloud/setting-up.mdx +0 -106
  63. package/.docs/raw/workflows/inngest-workflow.mdx +0 -362
@@ -1,5 +1,283 @@
1
1
  # @mastra/pg
2
2
 
3
+ ## 1.0.0-beta.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix missing timezone columns during PostgreSQL spans table migration ([#11419](https://github.com/mastra-ai/mastra/pull/11419))
8
+
9
+ Fixes issue #11410 where users upgrading to observability beta.7 encountered errors about missing `startedAtZ`, `endedAtZ`, `createdAtZ`, and `updatedAtZ` columns. The migration now properly adds timezone-aware columns for all timestamp fields when upgrading existing databases, ensuring compatibility with the new observability implementation that requires these columns for batch operations.
10
+
11
+ - Add storage composition to MastraStorage ([#11401](https://github.com/mastra-ai/mastra/pull/11401))
12
+
13
+ `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.
14
+
15
+ ```typescript
16
+ import { MastraStorage } from '@mastra/core/storage';
17
+ import { MemoryPG, WorkflowsPG, ScoresPG } from '@mastra/pg';
18
+ import { MemoryLibSQL } from '@mastra/libsql';
19
+
20
+ // Compose domains from different stores
21
+ const storage = new MastraStorage({
22
+ id: 'composite',
23
+ domains: {
24
+ memory: new MemoryLibSQL({ url: 'file:./local.db' }),
25
+ workflows: new WorkflowsPG({ connectionString: process.env.DATABASE_URL }),
26
+ scores: new ScoresPG({ connectionString: process.env.DATABASE_URL }),
27
+ },
28
+ });
29
+ ```
30
+
31
+ **Breaking changes:**
32
+ - `storage.supports` property no longer exists
33
+ - `StorageSupports` type is no longer exported from `@mastra/core/storage`
34
+
35
+ All stores now support the same features. For domain availability, use `getStore()`:
36
+
37
+ ```typescript
38
+ const store = await storage.getStore('memory');
39
+ if (store) {
40
+ // domain is available
41
+ }
42
+ ```
43
+
44
+ - 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)]:
45
+ - @mastra/core@1.0.0-beta.16
46
+
47
+ ## 1.0.0-beta.9
48
+
49
+ ### Minor Changes
50
+
51
+ - Introduce StorageDomain base class for composite storage support ([#11249](https://github.com/mastra-ai/mastra/pull/11249))
52
+
53
+ Storage adapters now use a domain-based architecture where each domain (memory, workflows, scores, observability, agents) extends a `StorageDomain` base class with `init()` and `dangerouslyClearAll()` methods.
54
+
55
+ **Key changes:**
56
+ - Add `StorageDomain` abstract base class that all domain storage classes extend
57
+ - Add `InMemoryDB` class for shared state across in-memory domain implementations
58
+ - All storage domains now implement `dangerouslyClearAll()` for test cleanup
59
+ - Remove `operations` from public `StorageDomains` type (now internal to each adapter)
60
+ - Add flexible client/config patterns - domains accept either an existing database client or config to create one internally
61
+
62
+ **Why this matters:**
63
+
64
+ This enables composite storage where you can use different database adapters per domain:
65
+
66
+ ```typescript
67
+ import { Mastra } from '@mastra/core';
68
+ import { PostgresStore } from '@mastra/pg';
69
+ import { ClickhouseStore } from '@mastra/clickhouse';
70
+
71
+ // Use Postgres for most domains but Clickhouse for observability
72
+ const mastra = new Mastra({
73
+ storage: new PostgresStore({
74
+ connectionString: 'postgres://...',
75
+ }),
76
+ // Future: override specific domains
77
+ // observability: new ClickhouseStore({ ... }).getStore('observability'),
78
+ });
79
+ ```
80
+
81
+ **Standalone domain usage:**
82
+
83
+ Domains can now be used independently with flexible configuration:
84
+
85
+ ```typescript
86
+ import { MemoryLibSQL } from '@mastra/libsql/memory';
87
+
88
+ // Option 1: Pass config to create client internally
89
+ const memory = new MemoryLibSQL({
90
+ url: 'file:./local.db',
91
+ });
92
+
93
+ // Option 2: Pass existing client for shared connections
94
+ import { createClient } from '@libsql/client';
95
+ const client = createClient({ url: 'file:./local.db' });
96
+ const memory = new MemoryLibSQL({ client });
97
+ ```
98
+
99
+ **Breaking changes:**
100
+ - `StorageDomains` type no longer includes `operations` - access via `getStore()` instead
101
+ - Domain base classes now require implementing `dangerouslyClearAll()` method
102
+
103
+ - Refactor storage architecture to use domain-specific stores via `getStore()` pattern ([#11361](https://github.com/mastra-ai/mastra/pull/11361))
104
+
105
+ ### Summary
106
+
107
+ This release introduces a new storage architecture that replaces passthrough methods on `MastraStorage` with domain-specific storage interfaces accessed via `getStore()`. This change reduces code duplication across storage adapters and provides a cleaner, more modular API.
108
+
109
+ ### Migration Guide
110
+
111
+ All direct method calls on storage instances should be updated to use `getStore()`:
112
+
113
+ ```typescript
114
+ // Before
115
+ const thread = await storage.getThreadById({ threadId });
116
+ await storage.persistWorkflowSnapshot({ workflowName, runId, snapshot });
117
+ await storage.createSpan(span);
118
+
119
+ // After
120
+ const memory = await storage.getStore('memory');
121
+ const thread = await memory?.getThreadById({ threadId });
122
+
123
+ const workflows = await storage.getStore('workflows');
124
+ await workflows?.persistWorkflowSnapshot({ workflowName, runId, snapshot });
125
+
126
+ const observability = await storage.getStore('observability');
127
+ await observability?.createSpan(span);
128
+ ```
129
+
130
+ ### Available Domains
131
+ - **`memory`**: Thread and message operations (`getThreadById`, `saveThread`, `saveMessages`, etc.)
132
+ - **`workflows`**: Workflow state persistence (`persistWorkflowSnapshot`, `loadWorkflowSnapshot`, `getWorkflowRunById`, etc.)
133
+ - **`scores`**: Evaluation scores (`saveScore`, `listScoresByScorerId`, etc.)
134
+ - **`observability`**: Tracing and spans (`createSpan`, `updateSpan`, `getTrace`, etc.)
135
+ - **`agents`**: Stored agent configurations (`createAgent`, `getAgentById`, `listAgents`, etc.)
136
+
137
+ ### Breaking Changes
138
+ - Passthrough methods have been removed from `MastraStorage` base class
139
+ - All storage adapters now require accessing domains via `getStore()`
140
+ - The `stores` property on storage instances is now the canonical way to access domain storage
141
+
142
+ ### Internal Changes
143
+ - Each storage adapter now initializes domain-specific stores in its constructor
144
+ - Domain stores share database connections and handle their own table initialization
145
+
146
+ - Unified observability schema with entity-based span identification ([#11132](https://github.com/mastra-ai/mastra/pull/11132))
147
+
148
+ ## What changed
149
+
150
+ Spans now use a unified identification model with `entityId`, `entityType`, and `entityName` instead of separate `agentId`, `toolId`, `workflowId` fields.
151
+
152
+ **Before:**
153
+
154
+ ```typescript
155
+ // Old span structure
156
+ span.agentId; // 'my-agent'
157
+ span.toolId; // undefined
158
+ span.workflowId; // undefined
159
+ ```
160
+
161
+ **After:**
162
+
163
+ ```typescript
164
+ // New span structure
165
+ span.entityType; // EntityType.AGENT
166
+ span.entityId; // 'my-agent'
167
+ span.entityName; // 'My Agent'
168
+ ```
169
+
170
+ ## New `listTraces()` API
171
+
172
+ Query traces with filtering, pagination, and sorting:
173
+
174
+ ```typescript
175
+ const { spans, pagination } = await storage.listTraces({
176
+ filters: {
177
+ entityType: EntityType.AGENT,
178
+ entityId: 'my-agent',
179
+ userId: 'user-123',
180
+ environment: 'production',
181
+ status: TraceStatus.SUCCESS,
182
+ startedAt: { start: new Date('2024-01-01'), end: new Date('2024-01-31') },
183
+ },
184
+ pagination: { page: 0, perPage: 50 },
185
+ orderBy: { field: 'startedAt', direction: 'DESC' },
186
+ });
187
+ ```
188
+
189
+ **Available filters:** date ranges (`startedAt`, `endedAt`), entity (`entityType`, `entityId`, `entityName`), identity (`userId`, `organizationId`), correlation IDs (`runId`, `sessionId`, `threadId`), deployment (`environment`, `source`, `serviceName`), `tags`, `metadata`, and `status`.
190
+
191
+ ## New retrieval methods
192
+ - `getSpan({ traceId, spanId })` - Get a single span
193
+ - `getRootSpan({ traceId })` - Get the root span of a trace
194
+ - `getTrace({ traceId })` - Get all spans for a trace
195
+
196
+ ## Backward compatibility
197
+
198
+ The legacy `getTraces()` method continues to work. When you pass `name: "agent run: my-agent"`, it automatically transforms to `entityId: "my-agent", entityType: AGENT`.
199
+
200
+ ## Migration
201
+
202
+ **Automatic:** SQL-based stores (PostgreSQL, LibSQL, MSSQL) automatically add new columns to existing `spans` tables on initialization. Existing data is preserved with new columns set to `NULL`.
203
+
204
+ **No action required:** Your existing code continues to work. Adopt the new fields and `listTraces()` API at your convenience.
205
+
206
+ ### Patch Changes
207
+
208
+ - Fix severe performance issue with semantic recall on large message tables ([#11365](https://github.com/mastra-ai/mastra/pull/11365))
209
+
210
+ The `_getIncludedMessages` method was using `ROW_NUMBER() OVER (ORDER BY createdAt)` which scanned all messages in a thread to assign row numbers. On tables with 1M+ rows, this caused 5-10 minute query times.
211
+
212
+ Replaced with cursor-based pagination using the existing `(thread_id, createdAt)` index:
213
+
214
+ ```sql
215
+ -- Before: scans entire thread
216
+ ROW_NUMBER() OVER (ORDER BY "createdAt" ASC)
217
+
218
+ -- After: uses index, fetches only needed rows
219
+ WHERE createdAt <= (target) ORDER BY createdAt DESC LIMIT N
220
+ ```
221
+
222
+ Performance improvement: ~49x faster (832ms → 17ms) for typical semantic recall queries.
223
+
224
+ - Added pre-configured client support for all storage adapters. ([#11302](https://github.com/mastra-ai/mastra/pull/11302))
225
+
226
+ **What changed**
227
+
228
+ All storage adapters now accept pre-configured database clients in addition to connection credentials. This allows you to customize client settings (connection pools, timeouts, interceptors) before passing them to Mastra.
229
+
230
+ **Example**
231
+
232
+ ```typescript
233
+ import { createClient } from '@clickhouse/client';
234
+ import { ClickhouseStore } from '@mastra/clickhouse';
235
+
236
+ // Create and configure client with custom settings
237
+ const client = createClient({
238
+ url: 'http://localhost:8123',
239
+ username: 'default',
240
+ password: '',
241
+ request_timeout: 60000,
242
+ });
243
+
244
+ // Pass pre-configured client to store
245
+ const store = new ClickhouseStore({
246
+ id: 'my-store',
247
+ client,
248
+ });
249
+ ```
250
+
251
+ **Additional improvements**
252
+ - Added input validation for required connection parameters (URL, credentials) with clear error messages
253
+
254
+ - Add index configuration options to storage stores ([#11311](https://github.com/mastra-ai/mastra/pull/11311))
255
+
256
+ Storage stores now support two new configuration options for index management:
257
+ - `skipDefaultIndexes`: When `true`, default performance indexes are not created during `init()`. Useful for custom index strategies or reducing initialization time.
258
+ - `indexes`: Array of custom index definitions to create during `init()`. Indexes are routed to the appropriate domain based on table/collection name.
259
+
260
+ ```typescript
261
+ // Skip default indexes and use custom ones
262
+ const store = new PostgresStore({
263
+ connectionString: '...',
264
+ skipDefaultIndexes: true,
265
+ indexes: [{ name: 'threads_type_idx', table: 'mastra_threads', columns: ["metadata->>'type'"] }],
266
+ });
267
+
268
+ // MongoDB equivalent
269
+ const mongoStore = new MongoDBStore({
270
+ url: 'mongodb://...',
271
+ skipDefaultIndexes: true,
272
+ indexes: [{ collection: 'mastra_threads', keys: { 'metadata.type': 1 }, options: { name: 'threads_type_idx' } }],
273
+ });
274
+ ```
275
+
276
+ Domain classes (e.g., `MemoryPG`, `MemoryStorageMongoDB`) also accept these options for standalone usage.
277
+
278
+ - Updated dependencies [[`33a4d2e`](https://github.com/mastra-ai/mastra/commit/33a4d2e4ed8af51f69256232f00c34d6b6b51d48), [`4aaa844`](https://github.com/mastra-ai/mastra/commit/4aaa844a4f19d054490f43638a990cc57bda8d2f), [`4a1a6cb`](https://github.com/mastra-ai/mastra/commit/4a1a6cb3facad54b2bb6780b00ce91d6de1edc08), [`31d13d5`](https://github.com/mastra-ai/mastra/commit/31d13d5fdc2e2380e2e3ee3ec9fb29d2a00f265d), [`4c62166`](https://github.com/mastra-ai/mastra/commit/4c621669f4a29b1f443eca3ba70b814afa286266), [`7bcbf10`](https://github.com/mastra-ai/mastra/commit/7bcbf10133516e03df964b941f9a34e9e4ab4177), [`4353600`](https://github.com/mastra-ai/mastra/commit/43536005a65988a8eede236f69122e7f5a284ba2), [`6986fb0`](https://github.com/mastra-ai/mastra/commit/6986fb064f5db6ecc24aa655e1d26529087b43b3), [`053e979`](https://github.com/mastra-ai/mastra/commit/053e9793b28e970086b0507f7f3b76ea32c1e838), [`e26dc9c`](https://github.com/mastra-ai/mastra/commit/e26dc9c3ccfec54ae3dc3e2b2589f741f9ae60a6), [`55edf73`](https://github.com/mastra-ai/mastra/commit/55edf7302149d6c964fbb7908b43babfc2b52145), [`27c0009`](https://github.com/mastra-ai/mastra/commit/27c0009777a6073d7631b0eb7b481d94e165b5ca), [`dee388d`](https://github.com/mastra-ai/mastra/commit/dee388dde02f2e63c53385ae69252a47ab6825cc), [`3f3fc30`](https://github.com/mastra-ai/mastra/commit/3f3fc3096f24c4a26cffeecfe73085928f72aa63), [`d90ea65`](https://github.com/mastra-ai/mastra/commit/d90ea6536f7aa51c6545a4e9215b55858e98e16d), [`d171e55`](https://github.com/mastra-ai/mastra/commit/d171e559ead9f52ec728d424844c8f7b164c4510), [`10c2735`](https://github.com/mastra-ai/mastra/commit/10c27355edfdad1ee2b826b897df74125eb81fb8), [`1924cf0`](https://github.com/mastra-ai/mastra/commit/1924cf06816e5e4d4d5333065ec0f4bb02a97799), [`b339816`](https://github.com/mastra-ai/mastra/commit/b339816df0984d0243d944ac2655d6ba5f809cde)]:
279
+ - @mastra/core@1.0.0-beta.15
280
+
3
281
  ## 1.0.0-beta.8
4
282
 
5
283
  ### Patch Changes
@@ -221,282 +499,4 @@
221
499
 
222
500
  ### Major Changes
223
501
 
224
- - Moving scorers under the eval domain, api method consistency, prebuilt evals, scorers require ids. ([#9589](https://github.com/mastra-ai/mastra/pull/9589))
225
-
226
- - Every Mastra primitive (agent, MCPServer, workflow, tool, processor, scorer, and vector) now has a get, list, and add method associated with it. Each primitive also now requires an id to be set. ([#9675](https://github.com/mastra-ai/mastra/pull/9675))
227
-
228
- Primitives that are added to other primitives are also automatically added to the Mastra instance
229
-
230
- - Update handlers to use `listWorkflowRuns` instead of `getWorkflowRuns`. Fix type names from `StoragelistThreadsByResourceIdInput/Output` to `StorageListThreadsByResourceIdInput/Output`. ([#9507](https://github.com/mastra-ai/mastra/pull/9507))
231
-
232
- - **BREAKING:** Remove `getMessagesPaginated()` and add `perPage: false` support ([#9670](https://github.com/mastra-ai/mastra/pull/9670))
233
-
234
- Removes deprecated `getMessagesPaginated()` method. The `listMessages()` API and score handlers now support `perPage: false` to fetch all records without pagination limits.
235
-
236
- **Storage changes:**
237
- - `StoragePagination.perPage` type changed from `number` to `number | false`
238
- - All storage implementations support `perPage: false`:
239
- - Memory: `listMessages()`
240
- - Scores: `listScoresBySpan()`, `listScoresByRunId()`, `listScoresByExecutionId()`
241
- - HTTP query parser accepts `"false"` string (e.g., `?perPage=false`)
242
-
243
- **Memory changes:**
244
- - `memory.query()` parameter type changed from `StorageGetMessagesArg` to `StorageListMessagesInput`
245
- - Uses flat parameters (`page`, `perPage`, `include`, `filter`, `vectorSearchString`) instead of `selectBy` object
246
-
247
- **Stricter validation:**
248
- - `listMessages()` requires non-empty, non-whitespace `threadId` (throws error instead of returning empty results)
249
-
250
- **Migration:**
251
-
252
- ```typescript
253
- // Storage/Memory: Replace getMessagesPaginated with listMessages
254
- - storage.getMessagesPaginated({ threadId, selectBy: { pagination: { page: 0, perPage: 20 } } })
255
- + storage.listMessages({ threadId, page: 0, perPage: 20 })
256
- + storage.listMessages({ threadId, page: 0, perPage: false }) // Fetch all
257
-
258
- // Memory: Replace selectBy with flat parameters
259
- - memory.query({ threadId, selectBy: { last: 20, include: [...] } })
260
- + memory.query({ threadId, perPage: 20, include: [...] })
261
-
262
- // Client SDK
263
- - thread.getMessagesPaginated({ selectBy: { pagination: { page: 0 } } })
264
- + thread.listMessages({ page: 0, perPage: 20 })
265
- ```
266
-
267
- - # Major Changes ([#9695](https://github.com/mastra-ai/mastra/pull/9695))
268
-
269
- ## Storage Layer
270
-
271
- ### BREAKING: Removed `storage.getMessages()`
272
-
273
- The `getMessages()` method has been removed from all storage implementations. Use `listMessages()` instead, which provides pagination support.
274
-
275
- **Migration:**
276
-
277
- ```typescript
278
- // Before
279
- const messages = await storage.getMessages({ threadId: 'thread-1' });
280
-
281
- // After
282
- const result = await storage.listMessages({
283
- threadId: 'thread-1',
284
- page: 0,
285
- perPage: 50,
286
- });
287
- const messages = result.messages; // Access messages array
288
- console.log(result.total); // Total count
289
- console.log(result.hasMore); // Whether more pages exist
290
- ```
291
-
292
- ### Message ordering default
293
-
294
- `listMessages()` defaults to ASC (oldest first) ordering by `createdAt`, matching the previous `getMessages()` behavior.
295
-
296
- **To use DESC ordering (newest first):**
297
-
298
- ```typescript
299
- const result = await storage.listMessages({
300
- threadId: 'thread-1',
301
- orderBy: { field: 'createdAt', direction: 'DESC' },
302
- });
303
- ```
304
-
305
- ## Client SDK
306
-
307
- ### BREAKING: Renamed `client.getThreadMessages()` → `client.listThreadMessages()`
308
-
309
- **Migration:**
310
-
311
- ```typescript
312
- // Before
313
- const response = await client.getThreadMessages(threadId, { agentId });
314
-
315
- // After
316
- const response = await client.listThreadMessages(threadId, { agentId });
317
- ```
318
-
319
- The response format remains the same.
320
-
321
- ## Type Changes
322
-
323
- ### BREAKING: Removed `StorageGetMessagesArg` type
324
-
325
- Use `StorageListMessagesInput` instead:
326
-
327
- ```typescript
328
- // Before
329
- import type { StorageGetMessagesArg } from '@mastra/core';
330
-
331
- // After
332
- import type { StorageListMessagesInput } from '@mastra/core';
333
- ```
334
-
335
- - Bump minimum required Node.js version to 22.13.0 ([#9706](https://github.com/mastra-ai/mastra/pull/9706))
336
-
337
- - 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))
338
-
339
- - Rename RuntimeContext to RequestContext ([#9511](https://github.com/mastra-ai/mastra/pull/9511))
340
-
341
- - Implement listMessages API for replacing previous methods ([#9531](https://github.com/mastra-ai/mastra/pull/9531))
342
-
343
- - 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))
344
-
345
- - 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))
346
-
347
- - Renamed a bunch of observability/tracing-related things to drop the AI prefix. ([#9744](https://github.com/mastra-ai/mastra/pull/9744))
348
-
349
- - **BREAKING CHANGE**: Pagination APIs now use `page`/`perPage` instead of `offset`/`limit` ([#9592](https://github.com/mastra-ai/mastra/pull/9592))
350
-
351
- 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.
352
-
353
- **Affected APIs:**
354
- - `Memory.listThreadsByResourceId()`
355
- - `Memory.listMessages()`
356
- - `Storage.listWorkflowRuns()`
357
-
358
- **Migration:**
359
-
360
- ```typescript
361
- // Before
362
- await memory.listThreadsByResourceId({
363
- resourceId: 'user-123',
364
- offset: 20,
365
- limit: 10,
366
- });
367
-
368
- // After
369
- await memory.listThreadsByResourceId({
370
- resourceId: 'user-123',
371
- page: 2, // page = Math.floor(offset / limit)
372
- perPage: 10,
373
- });
374
-
375
- // Before
376
- await memory.listMessages({
377
- threadId: 'thread-456',
378
- offset: 20,
379
- limit: 10,
380
- });
381
-
382
- // After
383
- await memory.listMessages({
384
- threadId: 'thread-456',
385
- page: 2,
386
- perPage: 10,
387
- });
388
-
389
- // Before
390
- await storage.listWorkflowRuns({
391
- workflowName: 'my-workflow',
392
- offset: 20,
393
- limit: 10,
394
- });
395
-
396
- // After
397
- await storage.listWorkflowRuns({
398
- workflowName: 'my-workflow',
399
- page: 2,
400
- perPage: 10,
401
- });
402
- ```
403
-
404
- **Additional improvements:**
405
- - Added validation for negative `page` values in all storage implementations
406
- - Improved `perPage` validation to handle edge cases (negative values, `0`, `false`)
407
- - Added reusable query parser utilities for consistent validation in handlers
408
-
409
- - ```([#9709](https://github.com/mastra-ai/mastra/pull/9709))
410
- import { Mastra } from '@mastra/core';
411
- import { Observability } from '@mastra/observability'; // Explicit import
412
-
413
- const mastra = new Mastra({
414
- ...other_config,
415
- observability: new Observability({
416
- default: { enabled: true }
417
- }) // Instance
418
- });
419
- ```
420
-
421
- Instead of:
422
-
423
- ```
424
- import { Mastra } from '@mastra/core';
425
- import '@mastra/observability/init'; // Explicit import
426
-
427
- const mastra = new Mastra({
428
- ...other_config,
429
- observability: {
430
- default: { enabled: true }
431
- }
432
- });
433
- ```
434
-
435
- Also renamed a bunch of:
436
- - `Tracing` things to `Observability` things.
437
- - `AI-` things to just things.
438
-
439
- - Removed old tracing code based on OpenTelemetry ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
440
-
441
- - Mark as stable ([`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc))
442
-
443
- - Renamed `MastraMessageV2` to `MastraDBMessage` ([#9255](https://github.com/mastra-ai/mastra/pull/9255))
444
- Made the return format of all methods that return db messages consistent. It's always `{ messages: MastraDBMessage[] }` now, and messages can be converted after that using `@mastra/ai-sdk/ui`'s `toAISdkV4/5Messages()` function
445
-
446
- - moved ai-tracing code into @mastra/observability ([#9661](https://github.com/mastra-ai/mastra/pull/9661))
447
-
448
- - Remove legacy evals from Mastra ([#9491](https://github.com/mastra-ai/mastra/pull/9491))
449
-
450
- ### Minor Changes
451
-
452
- - Update peer dependencies to match core package version bump (1.0.0) ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
453
-
454
- ### Patch Changes
455
-
456
- - Fix pg listThreadsByResourceId page number validation ([#9671](https://github.com/mastra-ai/mastra/pull/9671))
457
-
458
- - Fixes "invalid input syntax for type json" error in tracing with PostgreSQL. ([#9154](https://github.com/mastra-ai/mastra/pull/9154))
459
-
460
- - Updated dependencies [[`39c9743`](https://github.com/mastra-ai/mastra/commit/39c97432d084294f8ba85fbf3ef28098ff21459e), [`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394), [`fec5129`](https://github.com/mastra-ai/mastra/commit/fec5129de7fc64423ea03661a56cef31dc747a0d), [`0491e7c`](https://github.com/mastra-ai/mastra/commit/0491e7c9b714cb0ba22187ee062147ec2dd7c712), [`f6f4903`](https://github.com/mastra-ai/mastra/commit/f6f4903397314f73362061dc5a3e8e7c61ea34aa), [`0e8ed46`](https://github.com/mastra-ai/mastra/commit/0e8ed467c54d6901a6a365f270ec15d6faadb36c), [`6c049d9`](https://github.com/mastra-ai/mastra/commit/6c049d94063fdcbd5b81c4912a2bf82a92c9cc0b), [`2f897df`](https://github.com/mastra-ai/mastra/commit/2f897df208508f46f51b7625e5dd20c37f93e0e3), [`3443770`](https://github.com/mastra-ai/mastra/commit/3443770662df8eb24c9df3589b2792d78cfcb811), [`f0a07e0`](https://github.com/mastra-ai/mastra/commit/f0a07e0111b3307c5fabfa4094c5c2cfb734fbe6), [`aaa40e7`](https://github.com/mastra-ai/mastra/commit/aaa40e788628b319baa8e889407d11ad626547fa), [`1521d71`](https://github.com/mastra-ai/mastra/commit/1521d716e5daedc74690c983fbd961123c56756b), [`9e1911d`](https://github.com/mastra-ai/mastra/commit/9e1911db2b4db85e0e768c3f15e0d61e319869f6), [`ebac155`](https://github.com/mastra-ai/mastra/commit/ebac15564a590117db7078233f927a7e28a85106), [`dd1c38d`](https://github.com/mastra-ai/mastra/commit/dd1c38d1b75f1b695c27b40d8d9d6ed00d5e0f6f), [`5948e6a`](https://github.com/mastra-ai/mastra/commit/5948e6a5146c83666ba3f294b2be576c82a513fb), [`8940859`](https://github.com/mastra-ai/mastra/commit/89408593658199b4ad67f7b65e888f344e64a442), [`e629310`](https://github.com/mastra-ai/mastra/commit/e629310f1a73fa236d49ec7a1d1cceb6229dc7cc), [`4c6b492`](https://github.com/mastra-ai/mastra/commit/4c6b492c4dd591c6a592520c1f6855d6e936d71f), [`dff01d8`](https://github.com/mastra-ai/mastra/commit/dff01d81ce1f4e4087cfac20fa868e6db138dd14), [`9d819d5`](https://github.com/mastra-ai/mastra/commit/9d819d54b61481639f4008e4694791bddf187edd), [`71c8d6c`](https://github.com/mastra-ai/mastra/commit/71c8d6c161253207b2b9588bdadb7eed604f7253), [`6179a9b`](https://github.com/mastra-ai/mastra/commit/6179a9ba36ffac326de3cc3c43cdc8028d37c251), [`00f4921`](https://github.com/mastra-ai/mastra/commit/00f4921dd2c91a1e5446799599ef7116a8214a1a), [`ca8041c`](https://github.com/mastra-ai/mastra/commit/ca8041cce0379fda22ed293a565bcb5b6ddca68a), [`7051bf3`](https://github.com/mastra-ai/mastra/commit/7051bf38b3b122a069008f861f7bfc004a6d9f6e), [`a8f1494`](https://github.com/mastra-ai/mastra/commit/a8f1494f4bbdc2770bcf327d4c7d869e332183f1), [`0793497`](https://github.com/mastra-ai/mastra/commit/079349753620c40246ffd673e3f9d7d9820beff3), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`a854ede`](https://github.com/mastra-ai/mastra/commit/a854ede62bf5ac0945a624ac48913dd69c73aabf), [`c576fc0`](https://github.com/mastra-ai/mastra/commit/c576fc0b100b2085afded91a37c97a0ea0ec09c7), [`3defc80`](https://github.com/mastra-ai/mastra/commit/3defc80cf2b88a1b7fc1cc4ddcb91e982a614609), [`16153fe`](https://github.com/mastra-ai/mastra/commit/16153fe7eb13c99401f48e6ca32707c965ee28b9), [`9f4a683`](https://github.com/mastra-ai/mastra/commit/9f4a6833e88b52574665c028fd5508ad5c2f6004), [`bc94344`](https://github.com/mastra-ai/mastra/commit/bc943444a1342d8a662151b7bce1df7dae32f59c), [`57d157f`](https://github.com/mastra-ai/mastra/commit/57d157f0b163a95c3e6c9eae31bdb11d1bfc64f9), [`903f67d`](https://github.com/mastra-ai/mastra/commit/903f67d184504a273893818c02b961f5423a79ad), [`2a90c55`](https://github.com/mastra-ai/mastra/commit/2a90c55a86a9210697d5adaab5ee94584b079adc), [`eb09742`](https://github.com/mastra-ai/mastra/commit/eb09742197f66c4c38154c3beec78313e69760b2), [`96d35f6`](https://github.com/mastra-ai/mastra/commit/96d35f61376bc2b1bf148648a2c1985bd51bef55), [`5cbe88a`](https://github.com/mastra-ai/mastra/commit/5cbe88aefbd9f933bca669fd371ea36bf939ac6d), [`a1bd7b8`](https://github.com/mastra-ai/mastra/commit/a1bd7b8571db16b94eb01588f451a74758c96d65), [`d78b38d`](https://github.com/mastra-ai/mastra/commit/d78b38d898fce285260d3bbb4befade54331617f), [`0633100`](https://github.com/mastra-ai/mastra/commit/0633100a911ad22f5256471bdf753da21c104742), [`c710c16`](https://github.com/mastra-ai/mastra/commit/c710c1652dccfdc4111c8412bca7a6bb1d48b441), [`354ad0b`](https://github.com/mastra-ai/mastra/commit/354ad0b7b1b8183ac567f236a884fc7ede6d7138), [`cfae733`](https://github.com/mastra-ai/mastra/commit/cfae73394f4920635e6c919c8e95ff9a0788e2e5), [`e3dfda7`](https://github.com/mastra-ai/mastra/commit/e3dfda7b11bf3b8c4bb55637028befb5f387fc74), [`844ea5d`](https://github.com/mastra-ai/mastra/commit/844ea5dc0c248961e7bf73629ae7dcff503e853c), [`398fde3`](https://github.com/mastra-ai/mastra/commit/398fde3f39e707cda79372cdae8f9870e3b57c8d), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`0d7618b`](https://github.com/mastra-ai/mastra/commit/0d7618bc650bf2800934b243eca5648f4aeed9c2), [`7b763e5`](https://github.com/mastra-ai/mastra/commit/7b763e52fc3eaf699c2a99f2adf418dd46e4e9a5), [`d36cfbb`](https://github.com/mastra-ai/mastra/commit/d36cfbbb6565ba5f827883cc9bb648eb14befdc1), [`3697853`](https://github.com/mastra-ai/mastra/commit/3697853deeb72017d90e0f38a93c1e29221aeca0), [`b2e45ec`](https://github.com/mastra-ai/mastra/commit/b2e45eca727a8db01a81ba93f1a5219c7183c839), [`d6d49f7`](https://github.com/mastra-ai/mastra/commit/d6d49f7b8714fa19a52ff9c7cf7fb7e73751901e), [`a534e95`](https://github.com/mastra-ai/mastra/commit/a534e9591f83b3cc1ebff99c67edf4cda7bf81d3), [`9d0e7fe`](https://github.com/mastra-ai/mastra/commit/9d0e7feca8ed98de959f53476ee1456073673348), [`53d927c`](https://github.com/mastra-ai/mastra/commit/53d927cc6f03bff33655b7e2b788da445a08731d), [`3f2faf2`](https://github.com/mastra-ai/mastra/commit/3f2faf2e2d685d6c053cc5af1bf9fedf267b2ce5), [`22f64bc`](https://github.com/mastra-ai/mastra/commit/22f64bc1d37149480b58bf2fefe35b79a1e3e7d5), [`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc), [`b7959e6`](https://github.com/mastra-ai/mastra/commit/b7959e6e25a46b480f9ea2217c4c6c588c423791), [`bda6370`](https://github.com/mastra-ai/mastra/commit/bda637009360649aaf579919e7873e33553c273e), [`d7acd8e`](https://github.com/mastra-ai/mastra/commit/d7acd8e987b5d7eff4fd98b0906c17c06a2e83d5), [`c7f1f7d`](https://github.com/mastra-ai/mastra/commit/c7f1f7d24f61f247f018cc2d1f33bf63212959a7), [`0bddc6d`](https://github.com/mastra-ai/mastra/commit/0bddc6d8dbd6f6008c0cba2e4960a2da75a55af1), [`735d8c1`](https://github.com/mastra-ai/mastra/commit/735d8c1c0d19fbc09e6f8b66cf41bc7655993838), [`acf322e`](https://github.com/mastra-ai/mastra/commit/acf322e0f1fd0189684cf529d91c694bea918a45), [`c942802`](https://github.com/mastra-ai/mastra/commit/c942802a477a925b01859a7b8688d4355715caaa), [`a0c8c1b`](https://github.com/mastra-ai/mastra/commit/a0c8c1b87d4fee252aebda73e8637fbe01d761c9), [`cc34739`](https://github.com/mastra-ai/mastra/commit/cc34739c34b6266a91bea561119240a7acf47887), [`c218bd3`](https://github.com/mastra-ai/mastra/commit/c218bd3759e32423735b04843a09404572631014), [`2c4438b`](https://github.com/mastra-ai/mastra/commit/2c4438b87817ab7eed818c7990fef010475af1a3), [`2b8893c`](https://github.com/mastra-ai/mastra/commit/2b8893cb108ef9acb72ee7835cd625610d2c1a4a), [`8e5c75b`](https://github.com/mastra-ai/mastra/commit/8e5c75bdb1d08a42d45309a4c72def4b6890230f), [`e59e0d3`](https://github.com/mastra-ai/mastra/commit/e59e0d32afb5fcf2c9f3c00c8f81f6c21d3a63fa), [`fa8409b`](https://github.com/mastra-ai/mastra/commit/fa8409bc39cfd8ba6643b9db5269b90b22e2a2f7), [`173c535`](https://github.com/mastra-ai/mastra/commit/173c535c0645b0da404fe09f003778f0b0d4e019)]:
461
- - @mastra/core@1.0.0-beta.0
462
-
463
- ## 0.17.5
464
-
465
- ### Patch Changes
466
-
467
- - Use the tz version of the timestamp column in when fetching messages. ([#8944](https://github.com/mastra-ai/mastra/pull/8944))
468
-
469
- - Avoid conflicts in pg fn naming when creating new tables on storage.init() ([#8946](https://github.com/mastra-ai/mastra/pull/8946))
470
-
471
- - Update peerdeps to 0.23.0-0 ([#9043](https://github.com/mastra-ai/mastra/pull/9043))
472
-
473
- - Updated dependencies [[`c67ca32`](https://github.com/mastra-ai/mastra/commit/c67ca32e3c2cf69bfc146580770c720220ca44ac), [`efb5ed9`](https://github.com/mastra-ai/mastra/commit/efb5ed946ae7f410bc68c9430beb4b010afd25ec), [`dbc9e12`](https://github.com/mastra-ai/mastra/commit/dbc9e1216ba575ba59ead4afb727a01215f7de4f), [`99e41b9`](https://github.com/mastra-ai/mastra/commit/99e41b94957cdd25137d3ac12e94e8b21aa01b68), [`c28833c`](https://github.com/mastra-ai/mastra/commit/c28833c5b6d8e10eeffd7f7d39129d53b8bca240), [`8ea07b4`](https://github.com/mastra-ai/mastra/commit/8ea07b4bdc73e4218437dbb6dcb0f4b23e745a44), [`ba201b8`](https://github.com/mastra-ai/mastra/commit/ba201b8f8feac4c72350f2dbd52c13c7297ba7b0), [`f053e89`](https://github.com/mastra-ai/mastra/commit/f053e89160dbd0bd3333fc3492f68231b5c7c349), [`4fc4136`](https://github.com/mastra-ai/mastra/commit/4fc413652866a8d2240694fddb2562e9edbb70df), [`b78e04d`](https://github.com/mastra-ai/mastra/commit/b78e04d935a16ecb1e59c5c96e564903527edddd), [`d10baf5`](https://github.com/mastra-ai/mastra/commit/d10baf5a3c924f2a6654e23a3e318ed03f189b76), [`038c55a`](https://github.com/mastra-ai/mastra/commit/038c55a7090fc1b1513a966386d3072617f836ac), [`182f045`](https://github.com/mastra-ai/mastra/commit/182f0458f25bd70aa774e64fd923c8a483eddbf1), [`9a1a485`](https://github.com/mastra-ai/mastra/commit/9a1a4859b855e37239f652bf14b1ecd1029b8c4e), [`9257233`](https://github.com/mastra-ai/mastra/commit/9257233c4ffce09b2bedc2a9adbd70d7a83fa8e2), [`7620d2b`](https://github.com/mastra-ai/mastra/commit/7620d2bddeb4fae4c3c0a0b4e672969795fca11a), [`b2365f0`](https://github.com/mastra-ai/mastra/commit/b2365f038dd4c5f06400428b224af963f399ad50), [`0f1a4c9`](https://github.com/mastra-ai/mastra/commit/0f1a4c984fb4b104b2f0b63ba18c9fa77f567700), [`9029ba3`](https://github.com/mastra-ai/mastra/commit/9029ba34459c8859fed4c6b73efd8e2d0021e7ba), [`426cc56`](https://github.com/mastra-ai/mastra/commit/426cc561c85ae76a112ded2385532a91f9f9f074), [`00931fb`](https://github.com/mastra-ai/mastra/commit/00931fb1a21aa42c4fbc20c2c40dd62466b8fc8f), [`e473bfe`](https://github.com/mastra-ai/mastra/commit/e473bfe416c0b8e876973c2b6a6f13c394b7a93f), [`b78e04d`](https://github.com/mastra-ai/mastra/commit/b78e04d935a16ecb1e59c5c96e564903527edddd), [`2db6160`](https://github.com/mastra-ai/mastra/commit/2db6160e2022ff8827c15d30157e684683b934b5), [`8aeea37`](https://github.com/mastra-ai/mastra/commit/8aeea37efdde347c635a67fed56794943b7f74ec), [`02fe153`](https://github.com/mastra-ai/mastra/commit/02fe15351d6021d214da48ec982a0e9e4150bcee), [`648e2ca`](https://github.com/mastra-ai/mastra/commit/648e2ca42da54838c6ccbdaadc6fadd808fa6b86), [`74567b3`](https://github.com/mastra-ai/mastra/commit/74567b3d237ae3915cd0bca3cf55fa0a64e4e4a4), [`b65c5e0`](https://github.com/mastra-ai/mastra/commit/b65c5e0fe6f3c390a9a8bbcf69304d972c3a4afb), [`15a1733`](https://github.com/mastra-ai/mastra/commit/15a1733074cee8bd37370e1af34cd818e89fa7ac), [`fc2a774`](https://github.com/mastra-ai/mastra/commit/fc2a77468981aaddc3e77f83f0c4ad4a4af140da), [`4e08933`](https://github.com/mastra-ai/mastra/commit/4e08933625464dfde178347af5b6278fcf34188e)]:
474
- - @mastra/core@0.22.0
475
-
476
- ## 0.17.5-alpha.1
477
-
478
- ### Patch Changes
479
-
480
- - Update peerdeps to 0.23.0-0 ([#9043](https://github.com/mastra-ai/mastra/pull/9043))
481
-
482
- - Updated dependencies [[`efb5ed9`](https://github.com/mastra-ai/mastra/commit/efb5ed946ae7f410bc68c9430beb4b010afd25ec), [`8ea07b4`](https://github.com/mastra-ai/mastra/commit/8ea07b4bdc73e4218437dbb6dcb0f4b23e745a44), [`ba201b8`](https://github.com/mastra-ai/mastra/commit/ba201b8f8feac4c72350f2dbd52c13c7297ba7b0), [`4fc4136`](https://github.com/mastra-ai/mastra/commit/4fc413652866a8d2240694fddb2562e9edbb70df), [`b78e04d`](https://github.com/mastra-ai/mastra/commit/b78e04d935a16ecb1e59c5c96e564903527edddd), [`d10baf5`](https://github.com/mastra-ai/mastra/commit/d10baf5a3c924f2a6654e23a3e318ed03f189b76), [`038c55a`](https://github.com/mastra-ai/mastra/commit/038c55a7090fc1b1513a966386d3072617f836ac), [`182f045`](https://github.com/mastra-ai/mastra/commit/182f0458f25bd70aa774e64fd923c8a483eddbf1), [`7620d2b`](https://github.com/mastra-ai/mastra/commit/7620d2bddeb4fae4c3c0a0b4e672969795fca11a), [`b2365f0`](https://github.com/mastra-ai/mastra/commit/b2365f038dd4c5f06400428b224af963f399ad50), [`9029ba3`](https://github.com/mastra-ai/mastra/commit/9029ba34459c8859fed4c6b73efd8e2d0021e7ba), [`426cc56`](https://github.com/mastra-ai/mastra/commit/426cc561c85ae76a112ded2385532a91f9f9f074), [`00931fb`](https://github.com/mastra-ai/mastra/commit/00931fb1a21aa42c4fbc20c2c40dd62466b8fc8f), [`e473bfe`](https://github.com/mastra-ai/mastra/commit/e473bfe416c0b8e876973c2b6a6f13c394b7a93f), [`b78e04d`](https://github.com/mastra-ai/mastra/commit/b78e04d935a16ecb1e59c5c96e564903527edddd), [`648e2ca`](https://github.com/mastra-ai/mastra/commit/648e2ca42da54838c6ccbdaadc6fadd808fa6b86), [`b65c5e0`](https://github.com/mastra-ai/mastra/commit/b65c5e0fe6f3c390a9a8bbcf69304d972c3a4afb)]:
483
- - @mastra/core@0.22.0-alpha.1
484
-
485
- ## 0.17.5-alpha.0
486
-
487
- ### Patch Changes
488
-
489
- - Use the tz version of the timestamp column in when fetching messages. ([#8944](https://github.com/mastra-ai/mastra/pull/8944))
490
-
491
- - Avoid conflicts in pg fn naming when creating new tables on storage.init() ([#8946](https://github.com/mastra-ai/mastra/pull/8946))
492
-
493
- - Updated dependencies [[`c67ca32`](https://github.com/mastra-ai/mastra/commit/c67ca32e3c2cf69bfc146580770c720220ca44ac), [`dbc9e12`](https://github.com/mastra-ai/mastra/commit/dbc9e1216ba575ba59ead4afb727a01215f7de4f), [`99e41b9`](https://github.com/mastra-ai/mastra/commit/99e41b94957cdd25137d3ac12e94e8b21aa01b68), [`c28833c`](https://github.com/mastra-ai/mastra/commit/c28833c5b6d8e10eeffd7f7d39129d53b8bca240), [`f053e89`](https://github.com/mastra-ai/mastra/commit/f053e89160dbd0bd3333fc3492f68231b5c7c349), [`9a1a485`](https://github.com/mastra-ai/mastra/commit/9a1a4859b855e37239f652bf14b1ecd1029b8c4e), [`9257233`](https://github.com/mastra-ai/mastra/commit/9257233c4ffce09b2bedc2a9adbd70d7a83fa8e2), [`0f1a4c9`](https://github.com/mastra-ai/mastra/commit/0f1a4c984fb4b104b2f0b63ba18c9fa77f567700), [`2db6160`](https://github.com/mastra-ai/mastra/commit/2db6160e2022ff8827c15d30157e684683b934b5), [`8aeea37`](https://github.com/mastra-ai/mastra/commit/8aeea37efdde347c635a67fed56794943b7f74ec), [`02fe153`](https://github.com/mastra-ai/mastra/commit/02fe15351d6021d214da48ec982a0e9e4150bcee), [`74567b3`](https://github.com/mastra-ai/mastra/commit/74567b3d237ae3915cd0bca3cf55fa0a64e4e4a4), [`15a1733`](https://github.com/mastra-ai/mastra/commit/15a1733074cee8bd37370e1af34cd818e89fa7ac), [`fc2a774`](https://github.com/mastra-ai/mastra/commit/fc2a77468981aaddc3e77f83f0c4ad4a4af140da), [`4e08933`](https://github.com/mastra-ai/mastra/commit/4e08933625464dfde178347af5b6278fcf34188e)]:
494
- - @mastra/core@0.21.2-alpha.0
495
-
496
- ## 0.17.4
497
-
498
- ### Patch Changes
499
-
500
- - Add configuration documentation and tests for PgVector and PostgresStore, including examples for connection methods, SSL configuration, and pool options ([#8723](https://github.com/mastra-ai/mastra/pull/8723))
501
-
502
- ... 2827 more lines hidden. See full changelog in package directory.
502
+ ... 3105 more lines hidden. See full changelog in package directory.