github mastra-ai/mastra @mastra/core@1.45.0
June 19, 2026

5 hours ago

Highlights

Faster long-thread resume via improved state signal restoration

@mastra/core now restores state signals without scanning every message, making it significantly cheaper and faster to resume very long threads.

More reliable signal turn handling in agents

Fixes to agent signal drains ensure pending signals are recorded through the canonical signal transcript path and response message IDs rotate consistently—preventing follow-up signal turns from attaching to the wrong assistant response.

Clearer system guidance around automatic state signals

New system guidance clarifies that browser and task-list state signals are automatic context updates rather than user instructions, reducing prompt confusion and accidental instruction-following.

Redesigned Studio panel & code-surface UI primitives in @mastra/playground-ui

Adds reusable UI support for revamped Studio panels, including true resizable panels with smooth open/close, mobile drawer behavior via PanelDrawer, a new useIsMobile hook, and CodeBlock.actions for header controls; plus new popover collision-avoidance alignment controls.

WorkOS OAuth login fix (PKCE verifier cookie missing)

@mastra/auth-workos fixes an OAuth/SSO login failure affecting both single-auth and dual-auth setups, restoring reliable WorkOS sign-in flows.

Breaking Changes

  • None called out in this changelog.

Changelog

@mastra/core@1.45.0

Minor Changes

Patch Changes

  • Improved state signal restoration so long threads can resume without scanning every message. (#18182)

  • Fix agent signal drains so pending signals are recorded through the canonical signal transcript path and consistently rotate the response message id. This prevents follow-up signal turns from being attached to the previous assistant response and helps the agent see the latest completed step before continuing. (#18105)

  • Add system guidance explaining that browser and task-list state signals are automatic context updates, not user instructions. (#18163)

@mastra/acp@0.3.0

Minor Changes

Patch Changes

@mastra/agent-browser@0.4.0

Minor Changes

Patch Changes

@mastra/agent-builder@1.1.0

Minor Changes

Patch Changes

@mastra/agentcore@0.3.0

Minor Changes

Patch Changes

@mastra/agentfs@0.2.0

Minor Changes

Patch Changes

@mastra/ai-sdk@1.5.0

Minor Changes

Patch Changes

@mastra/arize@1.3.0

Minor Changes

Patch Changes

@mastra/arthur@0.4.0

Minor Changes

Patch Changes

@mastra/astra@1.1.0

Minor Changes

Patch Changes

@mastra/auth@1.1.0

Minor Changes

Patch Changes

@mastra/auth-auth0@1.2.0

Minor Changes

Patch Changes

@mastra/auth-better-auth@1.1.0

Minor Changes

Patch Changes

@mastra/auth-clerk@1.2.0

Minor Changes

Patch Changes

@mastra/auth-cloud@1.2.0

Minor Changes

Patch Changes

@mastra/auth-firebase@1.1.0

Minor Changes

Patch Changes

@mastra/auth-neon@0.3.0

Minor Changes

Patch Changes

@mastra/auth-okta@0.1.0

Minor Changes

Patch Changes

@mastra/auth-studio@1.3.0

Minor Changes

Patch Changes

@mastra/auth-supabase@1.1.0

Minor Changes

Patch Changes

@mastra/auth-workos@1.6.0

Minor Changes

Patch Changes

  • Fix WorkOS OAuth login failing with "PKCE verifier cookie missing" error. SSO login now works correctly for both single auth and dual auth configurations. (#18035)

@mastra/azure@0.3.0

Minor Changes

Patch Changes

@mastra/blaxel@0.5.0

Minor Changes

Patch Changes

@mastra/braintrust@1.2.0

Minor Changes

Patch Changes

@mastra/brightdata@0.3.0

Minor Changes

Patch Changes

@mastra/browser-firecrawl@0.2.0

Minor Changes

Patch Changes

@mastra/browser-viewer@0.2.0

Minor Changes

Patch Changes

@mastra/chroma@1.1.0

Minor Changes

Patch Changes

@mastra/claude@0.3.0

Minor Changes

Patch Changes

@mastra/clickhouse@1.11.0

Minor Changes

Patch Changes

@mastra/client-js@1.26.0

Minor Changes

Patch Changes

@mastra/cloudflare@1.5.0

Minor Changes

Patch Changes

@mastra/cloudflare-d1@1.1.0

Minor Changes

Patch Changes

@mastra/codemod@1.1.0

Minor Changes

@mastra/convex@1.3.0

Minor Changes

Patch Changes

@mastra/couchbase@1.1.0

Minor Changes

Patch Changes

@mastra/cursor@0.3.0

Minor Changes

Patch Changes

@mastra/datadog@1.3.0

Minor Changes

Patch Changes

@mastra/daytona@0.5.0

Minor Changes

Patch Changes

@mastra/deployer@1.45.0

Minor Changes

Patch Changes

@mastra/deployer-cloud@1.45.0

Minor Changes

Patch Changes

@mastra/deployer-cloudflare@1.2.0

Minor Changes

Patch Changes

@mastra/deployer-netlify@1.2.0

Minor Changes

Patch Changes

@mastra/deployer-vercel@1.2.0

Minor Changes

Patch Changes

@mastra/docker@0.4.0

Minor Changes

Patch Changes

@mastra/dsql@1.1.0

Minor Changes

Patch Changes

@mastra/duckdb@1.5.0

Minor Changes

Patch Changes

@mastra/dynamodb@1.1.0

Minor Changes

Patch Changes

@mastra/e2b@0.4.0

Minor Changes

Patch Changes

@mastra/editor@0.13.0

Minor Changes

Patch Changes

@mastra/elasticsearch@1.3.0

Minor Changes

Patch Changes

@mastra/evals@1.4.0

Minor Changes

Patch Changes

@mastra/express@1.4.0

Minor Changes

Patch Changes

@mastra/fastembed@1.2.0

Minor Changes

@mastra/fastify@1.4.0

Minor Changes

Patch Changes

@mastra/files-sdk@0.3.0

Minor Changes

Patch Changes

@mastra/gcs@0.3.0

Minor Changes

Patch Changes

@mastra/github-signals@0.2.0

Minor Changes

Patch Changes

@mastra/google-cloud-pubsub@1.1.0

Minor Changes

Patch Changes

@mastra/google-drive@0.2.0

Minor Changes

Patch Changes

@mastra/hono@1.5.0

Minor Changes

Patch Changes

@mastra/inngest@1.6.0

Minor Changes

Patch Changes

@mastra/koa@1.6.0

Minor Changes

Patch Changes

@mastra/laminar@1.3.0

Minor Changes

Patch Changes

@mastra/lance@1.1.0

Minor Changes

Patch Changes

@mastra/langfuse@1.4.0

Minor Changes

Patch Changes

@mastra/langsmith@1.3.0

Minor Changes

Patch Changes

@mastra/libsql@1.14.0

Minor Changes

Patch Changes

@mastra/loggers@1.2.0

Minor Changes

Patch Changes

@mastra/longmemeval@1.1.0

Minor Changes

Patch Changes

@mastra/mcp@1.11.0

Minor Changes

Patch Changes

@mastra/mcp-docs-server@1.2.0

Minor Changes

Patch Changes

@mastra/mcp-registry-registry@1.1.0

Minor Changes

Patch Changes

@mastra/memory@1.21.0

Minor Changes

Patch Changes

@mastra/modal@0.3.0

Minor Changes

Patch Changes

@mastra/mongodb@1.10.0

Minor Changes

Patch Changes

@mastra/mssql@1.4.0

Minor Changes

Patch Changes

@mastra/mysql@0.2.0

Minor Changes

Patch Changes

@mastra/nestjs@0.2.0

Minor Changes

Patch Changes

@mastra/observability@1.15.0

Minor Changes

Patch Changes

@mastra/openai@1.1.0

Minor Changes

Patch Changes

@mastra/opencode@0.1.0

Minor Changes

Patch Changes

@mastra/opensearch@1.1.0

Minor Changes

Patch Changes

@mastra/otel-bridge@1.3.0

Minor Changes

Patch Changes

@mastra/otel-exporter@1.3.0

Minor Changes

Patch Changes

@mastra/perplexity@0.2.0

Minor Changes

Patch Changes

@mastra/pg@1.14.0

Minor Changes

Patch Changes

@mastra/pinecone@1.1.0

Minor Changes

Patch Changes

@mastra/playground-ui@35.0.0

Minor Changes

  • Random bump (#18178)

  • Added reusable UI support for redesigned Studio panels and code surfaces. (#17970)

    Resizable panels. Collapsing a side panel no longer reserves a wide empty rail with a permanent arrow button: the panel collapses to zero width while its content fades and slides out as one block. A ghost panel icon stays visible at the top of the edge so the panel remains discoverable, and hovering the edge or the resize handle peeks the content back in by a translucent sliver — a hint that clicking the edge opens it.

    Smooth open and close. Expanding animates the panel width so the neighboring layout reflows smoothly instead of jumping, and a panel restored in its collapsed state first paints collapsed instead of loading open and snapping shut. Content holds a minimum width while the panel moves so text never rewraps mid-flight, and stays mounted while collapsed, preserving scroll position and inputs.

    Mobile gets drawers. Below the mobile breakpoint, resizable side panels become near-full-width edge drawers (new PanelDrawer component) opened from the same ghost icon, with content kept mounted so panel state survives open/close. A new useIsMobile hook is exported for viewport-dependent rendering.

    CodeBlock actions. CodeBlock has a new actions prop for controls that belong with the code surface, such as a mode toggle next to language tabs. The slot renders at the inline end of the header row in all three header modes (tabs, select, file name), and gets its own header row when no other header is present.

    Popover alignment. PopoverContent now exposes collision avoidance controls so consumers can keep start-aligned popovers while still avoiding viewport overflow.

    The resize wrapper also preserves the original resize callback arguments from react-resizable-panels, useIsMobile handles environments where media query APIs are unavailable, and the SearchWithDropdown ButtonsGroup story now keeps the segmented control heights aligned.

    Example

    import { PanelDrawer, useIsMobile, CodeBlock } from '@mastra/playground-ui';
    
    function Panel({ code }: { code: string }) {
      const isMobile = useIsMobile();
    
      if (isMobile) {
        return (
          <PanelDrawer direction="left" label="Open panel">
            <CodeBlock code={code} actions={<button type="button">Toggle view</button>} />
          </PanelDrawer>
        );
      }
    
      return <CodeBlock code={code} actions={<button type="button">Toggle view</button>} />;
    }

Patch Changes

  • Improved the mobile sidebar menu to use native drawer interactions. (#18154)

  • Improved mobile breakpoint detection to avoid unnecessary listener updates. (#17970)

@mastra/posthog@1.1.0

Minor Changes

Patch Changes

@mastra/qdrant@1.1.0

Minor Changes

Patch Changes

@mastra/rag@2.3.0

Minor Changes

Patch Changes

@mastra/railway@0.2.0

Minor Changes

Patch Changes

@mastra/react@1.1.0

Minor Changes

Patch Changes

@mastra/redis@1.2.0

Minor Changes

Patch Changes

@mastra/redis-streams@0.1.0

Minor Changes

Patch Changes

@mastra/s3@0.6.0

Minor Changes

Patch Changes

@mastra/s3vectors@1.1.0

Minor Changes

Patch Changes

@mastra/schema-compat@1.3.0

Minor Changes

@mastra/sentry@1.2.0

Minor Changes

Patch Changes

@mastra/server@1.45.0

Minor Changes

Patch Changes

@mastra/slack@1.4.0

Minor Changes

Patch Changes

@mastra/spanner@1.2.0

Minor Changes

Patch Changes

@mastra/stagehand@0.3.0

Minor Changes

Patch Changes

@mastra/tavily@1.1.0

Minor Changes

Patch Changes

@mastra/temporal@0.2.0

Minor Changes

Patch Changes

@mastra/turbopuffer@1.1.0

Minor Changes

Patch Changes

@mastra/upstash@1.2.0

Minor Changes

Patch Changes

@mastra/vectorize@1.1.0

Minor Changes

Patch Changes

@mastra/vercel@1.1.0

Minor Changes

Patch Changes

@mastra/voice-aws-nova-sonic@0.2.0

Minor Changes

@mastra/voice-azure@0.12.0

Minor Changes

@mastra/voice-cloudflare@0.13.0

Minor Changes

@mastra/voice-deepgram@0.13.0

Minor Changes

@mastra/voice-elevenlabs@0.13.0

Minor Changes

@mastra/voice-gladia@0.13.0

Minor Changes

@mastra/voice-google@0.13.0

Minor Changes

@mastra/voice-google-gemini-live@0.13.0

Minor Changes

Patch Changes

@mastra/voice-inworld@0.4.0

Minor Changes

@mastra/voice-modelslab@0.2.0

Minor Changes

@mastra/voice-murf@0.13.0

Minor Changes

@mastra/voice-openai@0.13.0

Minor Changes

@mastra/voice-openai-realtime@0.13.0

Minor Changes

Patch Changes

@mastra/voice-playai@0.13.0

Minor Changes

@mastra/voice-sarvam@1.1.0

Minor Changes

@mastra/voice-speechify@0.13.0

Minor Changes

@mastra/voice-xai-realtime@0.2.0

Minor Changes

Patch Changes

@mastra/voyageai@0.2.0

Minor Changes

Don't miss a new mastra release

NewReleases is sending notifications on new releases.