@mastra/deployer breaking changes
Updated December 4, 2026
On this page
Latest version 1.87.0, released December 2, 2026. Source repository
Its 1.0.0-beta.0 release requires Node.js 22.13.0 or later. Node.js end of life dates.
@mastra/deployer 1.82.0 breaking changes
- Behavior changed
Workspace packages loaded at runtime without a static import are no longer installed by default. Add them to bundler.dynamicPackages so the build output still includes them. github.com - Signature changed
build:getWatcherInputOptions
Was function getInputOptions(entryFile: string, platform: BundlerPlatform, env?: Record<string, string>, {sourcemap, bundlerOptions, analysisEntries}?: {sourcemap?: boolean; bundlerOptions?: BundlerOptions; analysisEntries?: string[];})... npmjs.com - Signature changed
server:createNodeServer
Was function createNodeServer(mastra: Mastra, options?: ServerBundleOptions): Promise<import("../_types/@hono_node-server/dist/index.mjs").ServerType>; now function createNodeServer(mastra: Mastra, options?: ServerBundleOptions)... npmjs.com
@mastra/deployer 1.81.0 breaking changes
- Behavior changed
bundler.sourcemap
Stack traces now point at source files; a --enable-source-maps setting in NODE_OPTIONS or --custom-args takes precedence. github.com - Signature changed
analyze:analyzeBundle
Was function analyzeBundle(entries: string[], mastraEntry: string, {outputDir, projectRoot, platform, isDev, bundlerOptions, env}: {outputDir: string; projectRoot: string; platform: BundlerPlatform; isDev?: boolean; bundlerOptions?... npmjs.com - Signature changed
build:getBundlerOptions
Was function getBundlerOptions(entryFile: string, outputDir: string, logger?: IMastraLogger): Promise<Config['bundler'] | null>; now function getBundlerOptions(entryFile: string, outputDir: string, logger?: IMastraLogger)... npmjs.com - Signature changed
bundler:Bundler
Was abstract class Bundler extends MastraBundler; now abstract class Bundler extends MastraBase implements IBundler. npmjs.com - Signature changed
bundler:Bundler.analyze
Was protected analyze(entry: string | string[], mastraFile: string, outputDirectory: string): Promise<{projectType?: string | undefined; externalDependencies: Map<string, ExternalDependencyInfo>; depsToOptimize: Map<string... npmjs.com - Signature changed
bundler:Bundler.getUserBundlerOptions
Was protected getUserBundlerOptions(mastraEntryFile: string, outputDirectory: string): Promise<NonNullable<Config['bundler']>>; now protected getUserBundlerOptions(mastraEntryFile: string, outputDirectory: string): Promise<BundlerConfig>. npmjs.com - Signature changed
bundler:Bundler.installDependencies
Was protected installDependencies(outputDirectory: string, rootDir?: string, pnpmOverrides?: Record<string, string>, pnpmWorkspaceSettings?: NonNullable<Config['bundler']>['pnpmWorkspaceSettings']): Promise<void>; now protected... npmjs.com
@mastra/deployer 1.81.0-alpha.0 breaking changes
- Behavior changed
Some literal types use single quotes and union members appear in a different order; the types themselves are unchanged. github.com - Behavior changed
deployer instanceof MastraBundler
Checks against core's classes no longer match these deployers. Use the structural IDeployer contract from @mastra/core/deployer instead. github.com - Configuration changed
Upgrade @mastra/core to 1.81.0 or later alongside this version of @mastra/deployer. github.com - Signature changed
getDeployer
getDeployer() now resolves to IDeployer | undefined | null. Code that checks deployer instanceof MastraBundler or MastraBase no longer matches; type deployer variables as IDeployer from @mastra/core/deployer instead. npmjs.com
@mastra/deployer 1.80.0-alpha.5 breaking changes
- Configuration changed
Older @mastra/core pairings, such as 1.78, are now refused at install time instead of installing and failing at runtime. Upgrade @mastra/core to ^1.80.0 before upgrading this package. github.com
@mastra/deployer 1.79.0 breaking changes
- Behavior changed
browser.:agentId.stream
Browser stream, session probe and close requests without a valid credential are now denied with 401. Clients must send a valid credential, or use the new upgrade ticket flow for WebSocket connections. github.com - Signature changed
bundler:Bundler.installDependencies
Was protected installDependencies(outputDirectory: string, rootDir?: string, pnpmOverrides?: Record<string, string>): Promise<void>; now protected installDependencies(outputDirectory: string, rootDir?: string, pnpmOverrides?... npmjs.com - Signature changed
Deps.install
Was install({dir, architecture, pnpmOverrides, pnpmNodeLinker}?: {dir?: string; architecture?: ArchitectureOptions; pnpmOverrides?: Record<string, string>; pnpmNodeLinker?: 'hoisted';}): Promise<unknown>; now install({dir, architecture... npmjs.com - Signature changed
services:DepsService.install
Was install({dir, architecture, pnpmOverrides, pnpmNodeLinker}?: {dir?: string; architecture?: ArchitectureOptions; pnpmOverrides?: Record<string, string>; pnpmNodeLinker?: 'hoisted';}): Promise<unknown>; now install({dir, architecture... npmjs.com - Signature changed
setupBrowserStream
Direct callers of setupBrowserStream must pass the mastra instance in the config so browser routes can be authenticated. github.com
@mastra/deployer 1.79.0-alpha.3 breaking changes
- Behavior changed
setupBrowserStream
The browser WebSocket stream, session probe and close endpoints now require the server's auth credentials and deny unauthenticated requests with 401. Clients using a header must request an upgrade ticket first. github.com - Signature changed
setupBrowserStream
Direct callers of setupBrowserStream must pass the mastra instance in the config so browser routes can be authenticated. github.com
Older versions
36 older versions, each with its first changes. Sign up to see every change
Show 36 older versions
@mastra/deployer 1.76.0 breaking changes
- Behavior changed
Durable agent recovery now runs without waiting for the workflow sweep to finish, which changes the order of recovery on server boot. github.com - Behavior changed
Active workflow runs now restart concurrently, up to 5 at a time by default. To keep the old one-at-a-time behavior, set recovery.workflowConcurrency to 1. github.com
And 1 more in this version.
@mastra/deployer 1.75.0 breaking changes
- Signature changed
Deps.pack
Was pack({dir, destination, sanitizedName}: {dir: string; destination: string; sanitizedName: string;}): Promise<unknown>; now pack({dir, destination, sanitizedName, version}: {dir: string; destination: string; sanitizedName: string... npmjs.com - Signature changed
services:DepsService.pack
Was pack({dir, destination, sanitizedName}: {dir: string; destination: string; sanitizedName: string;}): Promise<unknown>; now pack({dir, destination, sanitizedName, version}: {dir: string; destination: string; sanitizedName: string... npmjs.com
@mastra/deployer 1.73.0 breaking changes
- Signature changed
analyze:analyzeBundle
Was function analyzeBundle(entries: string[], mastraEntry: string, {outputDir, projectRoot, platform, isDev, bundlerOptions, env}: {outputDir: string; projectRoot: string; platform: BundlerPlatform; isDev?: boolean; bundlerOptions?... npmjs.com - Signature changed
build:getBundlerInputOptions
Was function getInputOptions(entryFile: string, analyzedBundleInfo: {dependencies: Map<string, string>; externalDependencies: Map<string, ExternalDependencyInfo>; workspaceMap: Map<string, WorkspacePackageInfo>; projectType?: string;}... npmjs.com
And 2 more in this version.
@mastra/deployer 1.72.0 breaking changes
- Signature changed
analyze:analyzeBundle
Was function analyzeBundle(entries: string[], mastraEntry: string, {outputDir, projectRoot, platform, isDev, bundlerOptions, env}: {outputDir: string; projectRoot: string; platform: BundlerPlatform; isDev?: boolean; bundlerOptions?... npmjs.com - Signature changed
build:getBundlerInputOptions
Was function getInputOptions(entryFile: string, analyzedBundleInfo: {dependencies: Map<string, string>; externalDependencies: Map<string, ExternalDependencyInfo>; workspaceMap: Map<string, WorkspacePackageInfo>; projectType?: string;}... npmjs.com
And 1 more in this version.
@mastra/deployer 1.71.0 breaking changes
- Signature changed
bundler:Bundler.getBundlerOptions
Was protected getBundlerOptions(serverFile: string, mastraEntryFile: string, analyzedBundleInfo: Awaited<ReturnType<typeof analyzeBundle>>, toolsPaths: (string | string[])[], {enableSourcemap, enableMinify, enableEsmShim, externals}... npmjs.com
@mastra/deployer 1.69.0 breaking changes
- Configuration changed
The package now requires @mastra/core 1.58.0 or newer, where older versions advertised support. If your package manager reports a peer conflict, upgrade @mastra/core to 1.58.0 or newer. github.com
@mastra/deployer 1.68.0 breaking changes
- Signature changed
analyze:analyzeBundle
Was function analyzeBundle(entries: string[], mastraEntry: string, {outputDir, projectRoot, platform, isDev, bundlerOptions}: {outputDir: string; projectRoot: string; platform: BundlerPlatform; isDev?: boolean; bundlerOptions?... npmjs.com - Signature changed
bundler:Bundler.getBundlerOptions
Was protected getBundlerOptions(serverFile: string, mastraEntryFile: string, analyzedBundleInfo: Awaited<ReturnType<typeof analyzeBundle>>, toolsPaths: (string | string[])[], {enableSourcemap, enableMinify, enableEsmShim, externals}... npmjs.com
And 1 more in this version.
@mastra/deployer 1.67.0 breaking changes
- Signature changed
bundler:Bundler.getBundlerOptions
Was protected getBundlerOptions(serverFile: string, mastraEntryFile: string, analyzedBundleInfo: Awaited<ReturnType<typeof analyzeBundle>>, toolsPaths: (string | string[])[], {enableSourcemap, enableMinify, enableEsmShim, externals}... npmjs.com - Signature changed
bundler:Bundler.lint
Was lint(_entryFile: string, _outputDirectory: string, toolsPaths: (string | string[])[]): Promise<void>; now lint(_entryFile: string, outputDirectory: string, toolsPaths: (string | string[])[]): Promise<void>. npmjs.com
And 1 more in this version.
@mastra/deployer 1.66.0 breaking changes
- Behavior changed
Bundled Studio refresh endpoints now need configured server authentication in production; development hot reload still works. Callers without credentials will be refused. github.com - Behavior changed
mastra deploy
New environments now prompt for a United States or Europe region unless --region or --yes is passed, so non-interactive scripts must add one of these flags. github.com
@mastra/deployer 1.63.0 breaking changes
- Signature changed
bundler:Bundler.getBundlerOptions
Was protected getBundlerOptions(serverFile: string, mastraEntryFile: string, analyzedBundleInfo: Awaited<ReturnType<typeof analyzeBundle>>, toolsPaths: (string | string[])[], {enableSourcemap, enableMinify, enableEsmShim, externals}... npmjs.com
@mastra/deployer 1.60.0-alpha.2 breaking changes
- Behavior changed
Deployer analysis now uses one fixed external dependency set, so nodemailer, jsdom, sqlite3 and fastembed are declared and installed at runtime rather than bundled. Affected projects may see a one-time experiment-worker digest and... github.com
@mastra/deployer 1.58.0 breaking changes
- Behavior changed
Any existing instructions.ts inside an agent directory is now read as the agent's prompt, and the build fails if it has no default export. Rename unrelated helper files that sit in an agent directory. github.com - Signature changed
build:getBundlerInputOptions
Was function getInputOptions(entryFile: string, analyzedBundleInfo: {dependencies: Map<string, string>; externalDependencies: Map<string, ExternalDependencyInfo>; workspaceMap: Map<string, WorkspacePackageInfo>; projectType?: string;}... npmjs.com
And 4 more in this version.
@mastra/deployer 1.58.0-alpha.8 breaking changes
- Behavior changed
bundler.minify
Build output is unminified by default and is unchanged unless bundler.minify is set to true. github.com
@mastra/deployer 1.58.0-alpha.0 breaking changes
- Behavior changed
Declaring a schedule file in an agent's schedules/ directory is now enough to start the scheduler. Schedules under subagents/ fail the build. github.com
@mastra/deployer 1.56.0 breaking changes
- Signature changed
analyze:analyzeBundle
Was function analyzeBundle(entries: string[], mastraEntry: string, {outputDir, projectRoot, platform, isDev, bundlerOptions}: {outputDir: string; projectRoot: string; platform: BundlerPlatform; isDev?: boolean; bundlerOptions?... npmjs.com - Signature changed
build:getBundlerInputOptions
Was function getInputOptions(entryFile: string, analyzedBundleInfo: Awaited<ReturnType<typeof analyzeBundle>>, platform: BundlerPlatform, env: Record<string, string> | undefined, {sourcemap, isDev, projectRoot, workspaceRoot... npmjs.com
And 4 more in this version.
@mastra/deployer 1.54.0 breaking changes
- Signature changed
ServerBundleOptions
Was type ServerBundleOptions = {studio?: boolean; isDev?: boolean; tools: Record<string, Tool>;}; now type ServerBundleOptions = {studio?: boolean; isDev?: boolean; tools: Record<string, Tool>; browserStream?: boolean;}. npmjs.com
@mastra/deployer 1.52.0 breaking changes
- Signature changed
analyze:analyzeBundle
Was function analyzeBundle(entries: string[], mastraEntry: string, {outputDir, projectRoot, platform, isDev, bundlerOptions}: {outputDir: string; projectRoot: string; platform: BundlerPlatform; isDev?: boolean; bundlerOptions?... npmjs.com - Signature changed
bundler:Bundler.analyze
Was protected analyze(entry: string | string[], mastraFile: string, outputDirectory: string): Promise<{externalDependencies: Map<string, ExternalDependencyInfo>; dependencies: Map<string, string>; workspaceMap: Map<string... npmjs.com
@mastra/deployer 1.52.0-alpha.8 breaking changes
- Behavior changed
Build-time transforms now use Babel 8 packages; the @types/babel__traverse dependency was removed. Projects relying on the Babel 7 toolchain may need to check their setup. github.com
@mastra/deployer 1.51.0 breaking changes
- Behavior changed
Snapshot rows are deleted once a durable run reaches a non-suspended terminal status, so code that reads a finished run's snapshot will no longer find it. Suspended runs keep their snapshots. github.com - Signature changed
build:generateFsAgentsModule
Was function generateFsAgentsModule(userEntry: string | undefined, agents: DiscoveredFsAgent[], options?: {workflows?: DiscoveredFsWorkflow[]; storage?: DiscoveredFsSingleton; observability?: DiscoveredFsSingleton; server?... npmjs.com
@mastra/deployer 1.50.0 breaking changes
- Signature changed
build:generateFsAgentsModule
Was function generateFsAgentsModule(userEntry: string, agents: DiscoveredFsAgent[]): Promise<string>; now function generateFsAgentsModule(userEntry: string | undefined, agents: DiscoveredFsAgent[], options?: {workflows?... npmjs.com - Signature changed
build:prepareFsAgentsEntry
Was function prepareFsAgentsEntry(mastraDir: string, entryFile: string, outputDirectory: string): Promise<PrepareFsAgentsEntryResult>; now function prepareFsAgentsEntry(mastraDir: string, entryFile: string | undefined, outputDirectory... npmjs.com
@mastra/deployer 1.49.0 breaking changes
- Behavior changed
Package installs and codemod runs now pass arguments as arrays, and the deployer's shared child-process logger rejects arguments containing shell metacharacters. Code that passes such arguments through this logger will now be rejected. github.com - Signature changed
build:getWatcherInputOptions
Was function getInputOptions(entryFile: string, platform: BundlerPlatform, env?: Record<string, string>, {sourcemap, bundlerOptions}?: {sourcemap?: boolean; bundlerOptions?: BundlerOptions;}): Promise<InputOptions>; now function... npmjs.com
And 2 more in this version.
@mastra/deployer 1.47.0 breaking changes
- Removed
harness
The controller session API is served only under /agent-controller/. The legacy /harness routes and harness:* permissions are gone, and List responses and path params use new key names. github.com - Removed
HarnessSession
The Harness and HarnessSession client classes are removed. Use AgentController and AgentControllerSession instead. github.com
And 4 more in this version.
@mastra/deployer 1.39.0 breaking changes
- Behavior changed
Hono is no longer a runtime dependency of @mastra/core and the auth packages. Auth providers now receive framework-agnostic request types, so code that depends on Hono-specific request context may need to adapt. github.com
@mastra/deployer 1.38.0 breaking changes
- Behavior changed
Studio via the CLI and deployers now use agent signal subscriptions by default. Users who want the old behavior must opt out with MASTRA_AGENT_SIGNALS=false, enableThreadSignals: false, or explicit legacy Stream. github.com - Behavior changed
The server installs SIGINT/SIGTERM handlers and calls mastra.shutdown() before exiting, so apps with their own signal handling may see different exit behavior. github.com
@mastra/deployer 1.37.0 breaking changes
- Signature changed
server:createNodeServer
Was function createNodeServer(mastra: Mastra, options?: ServerBundleOptions): Promise<import("@hono/node-server").ServerType>; now function createNodeServer(mastra: Mastra, options?: ServerBundleOptions)... npmjs.com
@mastra/deployer 1.36.0 breaking changes
- Configuration changed
The @mastra/core peer dependency floor moved from >=1.32.0-0 to >=1.34.0-0. Projects using an older @mastra/core must upgrade it to install this version cleanly. github.com
@mastra/deployer 1.33.1 breaking changes
- Configuration changed
The Studio chat runtime only uses the agent-signals streaming path (sendSignal and subscribeToThread) when the MASTRA_AGENT_SIGNALS environment variable is set. Users who relied on the signals path must set that variable to keep it. github.com
@mastra/deployer 1.23.0 breaking changes
- Signature changed
createPinoStream
Was const createPinoStream: (logger: IMastraLogger) => Transform; now const createPinoStream: (logger: IMastraLogger) => Writable. npmjs.com
@mastra/deployer 1.0.0 breaking changes
- Removed
build:writeTelemetryConfig
writeTelemetryConfig was removed in @mastra/deployer 1.0.0 npmjs.com - Signature changed
analyze:analyzeBundle
Was function analyzeBundle(entries: string[], mastraEntry: string, {outputDir, projectRoot, isDev, bundlerOptions: _bundlerOptions}: {outputDir: string; projectRoot: string; platform: 'node' | 'browser'; isDev?: boolean; bundlerOptions?... npmjs.com
And 5 more in this version.
@mastra/deployer 1.0.0-beta.22 breaking changes
- Renamed
createNodeServer
The playground option passed to createNodeServer() was renamed to studio. Pass studio instead of playground in the options object. github.com
@mastra/deployer 1.0.0-beta.14 breaking changes
- Default changed
externals
externals now defaults to true for mastra build and cloud-deployer. To keep the old bundling, set externals to false explicitly. github.com
@mastra/deployer 1.0.0-beta.10 breaking changes
- Removed
isDev
The isDev option no longer exists on server adapter constructors and context variables. github.com - Removed
ServerBundleOptions.playground
The playground option no longer exists on server adapter constructors and context variables. npmjs.com
@mastra/deployer 1.0.0-beta.6 breaking changes
- Behavior changed
Pass server adapter configuration to the constructor rather than calling separate setup methods. github.com
@mastra/deployer 1.0.0-beta.5 breaking changes
- Renamed
Playground
The Playground UI is now called Studio. Update any references to the old name. github.com
@mastra/deployer 1.0.0-beta.1 breaking changes
- Behavior changed
registerApiRoute
Custom route handling now honors requiresAuth set directly by registerApiRoute, so routes marked public no longer need their returned object mutated. github.com
@mastra/deployer 1.0.0-beta.0 breaking changes
- Removed
getMessagesPaginated
The deprecated getMessagesPaginated method is gone. Call listMessages instead, which accepts page and perPage, and perPage: false to fetch all records. github.com - Removed
getThreadsByResourceId
The storage methods getThreadsByResourceId and getThreadsByResourceIdPaginated are removed. Use listThreadsByResourceId with offset/limit or page/perPage pagination. github.com
And 11 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.