# mastra/release
Mastra @mastra/core@1.65.0
September 9, 2026
importance: highbreakingfeature
This release introduces advanced trace querying and tenant-scoped trace deletion, along with workflow graph metadata and agent channel actions. It also includes breaking changes for `@mastra/factory` and `@mastra/playground-ui`.
affected
Developers using `@mastra/factory` and `@mastra/playground-ui` are affected by breaking changes, while those using advanced trace querying or tenant-scoped trace deletion will benefit from new features.
action
Review breaking changes for `@mastra/factory` and `@mastra/playground-ui` and update your code accordingly.
release_signals
-`@mastra/factory`: `defineBoard()` phases must add `kind`, working phases must add `role`, and `initialPhase` must be `resting`.
-`@mastra/factory`: global rules object removed (`FactoryRules`, defaults/merge/assert helpers, `new MastraFactory({ rules })`); tool-result rules move onto `defineBoard({ tools })` and `configVersion` replaces `rules.version`.
-`@mastra/factory`: `GET /web/factory/projects/:id/attention` response shape changed (tier removed; counts/latest fields moved under `kinds[kind]...`).
-`@mastra/playground-ui`: `TraceDataPanelView` replaces `partialThreadTabSlot` with `messagesPanelSlot`; `TracesLayout` replaces `sidePanelWide` with `sidePanelWidth: 'half' | 'wide' | 'full'`.
+Advanced trace querying with bounded time ranges, recursive predicates, thread grouping, and deterministic cursor pagination.
+Tenant-scoped trace deletion with cascade cleanup for spans and trace-linked signals.
code_snippet
await storage.batchDeleteTraces({ traceIds: ['trace-1'], organizationId: 'org-1' });# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.