modal breaking changes
modal 0.11.0 (September 29, 2026) is its newest release with breaking changes, 5 of them. The first: Renamed FunctionStats. Every breaking API change we have recorded in modal on npm: 79 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.2.0, released November 13, 2015. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
modal 0.11.0 breaking changes
- Renamed
FunctionStats
Use FunctionCurrentStats instead. npmjs.com - Signature changed
Function_.getCurrentStats
Was getCurrentStats(): Promise<FunctionStats>; now getCurrentStats(): Promise<FunctionCurrentStats>. npmjs.com - Signature changed
SandboxCreateParams
Was type SandboxCreateParams = {cpu?: number; cpuLimit?: number; memoryMiB?: number; memoryLimitMiB?: number; gpu?: string; timeoutMs?: number; idleTimeoutMs?: number; workdir?: string; command?: string[]; env?: Record<string, string>... npmjs.com - Signature changed
Secret.constructor
Was constructor(secretId: string, name?: string, hydrator?: SecretHydrator); now constructor(secretId: string, name?: string, hydrator?: SecretHydrator, keys?: readonly string[]). npmjs.com - Signature changed
SidecarCreateParams
Was type SidecarCreateParams = {command?: string[]; env?: Record<string, string>; secrets?: Secret[]; workdir?: string; outboundCidrAllowlist?: string[]; outboundDomainAllowlist?: string[]; pty?: boolean;}; now type SidecarCreateParams =... npmjs.com
modal 0.10.0 breaking changes
- Signature changed
Function_.updateAutoscaler
Was updateAutoscaler(params: FunctionUpdateAutoscalerParams): Promise<void>; now updateAutoscaler(params: FunctionUpdateAutoscalerParams): Promise<FunctionAutoscalerSettings>. npmjs.com - Signature changed
FunctionCall.constructor
Was constructor(client: ModalClient, functionCallId: string); now constructor(client: ModalClient, functionCallId: string, appId: string, functionId: string). npmjs.com - Signature changed
Sandbox.constructor
Was constructor(client: ModalClient, sandboxId: string, params?: {isV2?: boolean; taskId?: string; tunnels?: Record<number, Tunnel>;}); now constructor(client: ModalClient, sandboxId: string, params?: {taskId?: string; tunnels?... npmjs.com - Signature changed
SandboxCreateParams
Was type SandboxCreateParams = {cpu?: number; cpuLimit?: number; memoryMiB?: number; memoryLimitMiB?: number; gpu?: string; timeoutMs?: number; idleTimeoutMs?: number; workdir?: string; command?: string[]; env?: Record<string, string>... npmjs.com - Signature changed
SandboxExperimentalListParams
Was type SandboxExperimentalListParams = {appId: string; tags?: Record<string, string>;}; now type SandboxExperimentalListParams = {appId?: string; tags?: Record<string, string>; environment?: string;}. npmjs.com - Signature changed
SandboxExperimentalListParams.appId
Was appId: string; now appId?: string. npmjs.com - Signature changed
SandboxService.experimentalList
Was experimentalList(params: SandboxExperimentalListParams): AsyncGenerator<Sandbox, void, unknown>; now experimentalList(params?: SandboxExperimentalListParams): AsyncGenerator<Sandbox, void, unknown>. npmjs.com - Signature changed
SidecarCreateParams
Was type SidecarCreateParams = {command?: string[]; env?: Record<string, string>; secrets?: Secret[]; workdir?: string;}; now type SidecarCreateParams = {command?: string[]; env?: Record<string, string>; secrets?: Secret[]; workdir?... npmjs.com
modal 0.9.0 breaking changes
- Removed
ClsFromNameParams.createIfMissing
ClsFromNameParams.createIfMissing was removed in modal 0.9.0 npmjs.com - Removed
FunctionFromNameParams.createIfMissing
FunctionFromNameParams.createIfMissing was removed in modal 0.9.0 npmjs.com - Renamed
VolumeMountOptions
Use VolumeMountOptionsParams instead. npmjs.com - Signature changed
ClsFromNameParams
Was type ClsFromNameParams = {environment?: string; createIfMissing?: boolean;}; now type ClsFromNameParams = {environment?: string; version?: number;}. npmjs.com - Signature changed
FunctionFromNameParams
Was type FunctionFromNameParams = {environment?: string; createIfMissing?: boolean;}; now type FunctionFromNameParams = {environment?: string; version?: number;}. npmjs.com - Signature changed
FunctionWithOptionsParams
Was type FunctionWithOptionsParams = {cpu?: number; cpuLimit?: number; memoryMiB?: number; memoryLimitMiB?: number; gpu?: string; env?: Record<string, string>; secrets?: Secret[]; volumes?: Record<string, Volume>; retries?: number |... npmjs.com - Signature changed
Image.constructor
Was constructor(client: ModalClient, imageId: string, tag: string, imageRegistryConfig?: ImageRegistryConfig, layers?: Layer[], baseImageId?: string); now constructor(client: ModalClient, imageId: string, tag: string, buildRegistryConfig?... npmjs.com - Signature changed
Sandbox.reloadVolumes
Was reloadVolumes(): Promise<void>; now reloadVolumes(params?: SandboxReloadVolumesParams): Promise<void>. npmjs.com - Signature changed
SandboxExperimentalListParams
Was type SandboxExperimentalListParams = {appId: string;}; now type SandboxExperimentalListParams = {appId: string; tags?: Record<string, string>;}. npmjs.com - Signature changed
Secret.constructor
Was constructor(secretId: string, name?: string); now constructor(secretId: string, name?: string, hydrator?: SecretHydrator). npmjs.com
And 1 more in this version. Sign up to see every change
modal 0.8.0 breaking changes
- Removed
App.createSandbox
Use SandboxService.create instead. npmjs.com - Removed
App.imageFromAwsEcr
Use ImageService.fromAwsEcr instead. npmjs.com - Removed
App.imageFromGcpArtifactRegistry
Use ImageService.fromGcpArtifactRegistry instead. npmjs.com - Removed
App.imageFromRegistry
Use ImageService.fromRegistry instead. npmjs.com - Removed
App.lookup
Use AppService.fromName instead. npmjs.com - Removed
ClientOptions
Use ModalClient instead. npmjs.com - Removed
close
Use ModalClient.close instead. npmjs.com - Removed
Cls.lookup
Use ClsService.fromName instead. npmjs.com - Removed
DeleteOptions
DeleteOptions was removed in modal 0.8.0 npmjs.com - Removed
EphemeralOptions
EphemeralOptions was removed in modal 0.8.0 npmjs.com
And 40 more in this version. Sign up to see every change
modal 0.7.0 breaking changes
- Removed
ContainerProcess.returncode
ContainerProcess.returncode was removed in modal 0.7.0 npmjs.com - Behavior changed
Sandbox.terminate
Calling terminate in JS now detaches the client from the sandbox. To keep interacting with a running sandbox, create a new Sandbox object with sandboxes.fromId. github.com - Signature changed
ContainerProcess.constructor
Was constructor(client: ModalClient, execId: string, params?: SandboxExecParams); now constructor(taskId: string, execId: string, commandRouterClient: TaskCommandRouterClientImpl, params?: SandboxExecParams, deadline?: number | null). npmjs.com
modal 0.6.0 breaking changes
- Default changed
Sandbox.create
The JS SDK now defaults the Sandbox timeout to 5 minutes instead of 10. Code that relies on the old default must pass an explicit timeout. github.com - Signature changed
SandboxCreateParams
Was type SandboxCreateParams = {cpu?: number; cpuLimit?: number; memoryMiB?: number; memoryLimitMiB?: number; gpu?: string; timeoutMs?: number; idleTimeoutMs?: number; workdir?: string; command?: string[]; env?: Record<string, string>... npmjs.com
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.