e2b breaking changes
Updated December 4, 2026
On this page
Latest version 2.67.1, released November 30, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
e2b 2.67.1 breaking changes
- Removed
e2b.envd.api.ENVD_API_FILE_DOWNLOAD_HTTP_VERSION
e2b.envd.api.ENVD_API_FILE_DOWNLOAD_HTTP_VERSION was removed in e2b 2.67.1 pypi.org
e2b 2.66.0 breaking changes
- Signature changed
e2b.api.client.api.secrets.post_secrets.asyncio
Was async def asyncio(*, client: AuthenticatedClient, body: NewSecret) -> Optional[Union[Error, Secret]]; now async def asyncio(*, client: AuthenticatedClient, body: NewSecret, idempotency_key: Union[Unset, str] = UNSET) ->... pypi.org - Signature changed
e2b.api.client.api.secrets.post_secrets.asyncio_detailed
Was async def asyncio_detailed(*, client: AuthenticatedClient, body: NewSecret) -> Response[Union[Error, Secret]]; now async def asyncio_detailed(*, client: AuthenticatedClient, body: NewSecret, idempotency_key: Union[Unset, str] = UNSET)... pypi.org - Signature changed
e2b.api.client.api.secrets.post_secrets.sync
Was def sync(*, client: AuthenticatedClient, body: NewSecret) -> Optional[Union[Error, Secret]]; now def sync(*, client: AuthenticatedClient, body: NewSecret, idempotency_key: Union[Unset, str] = UNSET) -> Optional[Union[Error, Secret]]. pypi.org - Signature changed
e2b.api.client.api.secrets.post_secrets.sync_detailed
Was def sync_detailed(*, client: AuthenticatedClient, body: NewSecret) -> Response[Union[Error, Secret]]; now def sync_detailed(*, client: AuthenticatedClient, body: NewSecret, idempotency_key: Union[Unset, str] = UNSET) ->... pypi.org
e2b 2.65.0 breaking changes
- Signature changed
e2b.api.client.api.sandboxes.post_sandboxes_sandbox_id_snapshots.asyncio
Was async def asyncio(sandbox_id: str, *, client: AuthenticatedClient, body: SandboxSnapshotRequest) -> Optional[Union[Error, SnapshotInfo]]; now async def asyncio(sandbox_id: str, *, client: AuthenticatedClient, body... pypi.org - Signature changed
e2b.api.client.api.sandboxes.post_sandboxes_sandbox_id_snapshots.asyncio_detailed
Was async def asyncio_detailed(sandbox_id: str, *, client: AuthenticatedClient, body: SandboxSnapshotRequest) -> Response[Union[Error, SnapshotInfo]]; now async def asyncio_detailed(sandbox_id: str, *, client: AuthenticatedClient, body... pypi.org - Signature changed
e2b.api.client.api.sandboxes.post_sandboxes_sandbox_id_snapshots.sync
Was def sync(sandbox_id: str, *, client: AuthenticatedClient, body: SandboxSnapshotRequest) -> Optional[Union[Error, SnapshotInfo]]; now def sync(sandbox_id: str, *, client: AuthenticatedClient, body: SandboxSnapshotRequest... pypi.org - Signature changed
e2b.api.client.api.sandboxes.post_sandboxes_sandbox_id_snapshots.sync_detailed
Was def sync_detailed(sandbox_id: str, *, client: AuthenticatedClient, body: SandboxSnapshotRequest) -> Response[Union[Error, SnapshotInfo]]; now def sync_detailed(sandbox_id: str, *, client: AuthenticatedClient, body... pypi.org - Signature changed
e2b.api.client.api.tags.post_templates_tags.asyncio
Was async def asyncio(*, client: AuthenticatedClient, body: AssignTemplateTagsRequest) -> Optional[Union[AssignedTemplateTags, Error]]; now async def asyncio(*, client: AuthenticatedClient, body: AssignTemplateTagsRequest, idempotency_key... pypi.org - Signature changed
e2b.api.client.api.tags.post_templates_tags.asyncio_detailed
Was async def asyncio_detailed(*, client: AuthenticatedClient, body: AssignTemplateTagsRequest) -> Response[Union[AssignedTemplateTags, Error]]; now async def asyncio_detailed(*, client: AuthenticatedClient, body... pypi.org - Signature changed
e2b.api.client.api.tags.post_templates_tags.sync
Was def sync(*, client: AuthenticatedClient, body: AssignTemplateTagsRequest) -> Optional[Union[AssignedTemplateTags, Error]]; now def sync(*, client: AuthenticatedClient, body: AssignTemplateTagsRequest, idempotency_key: Union[Unset, str]... pypi.org - Signature changed
e2b.api.client.api.tags.post_templates_tags.sync_detailed
Was def sync_detailed(*, client: AuthenticatedClient, body: AssignTemplateTagsRequest) -> Response[Union[AssignedTemplateTags, Error]]; now def sync_detailed(*, client: AuthenticatedClient, body: AssignTemplateTagsRequest, idempotency_key... pypi.org - Signature changed
e2b.api.client.api.templates.post_v_2_templates_template_id_builds_build_id.asyncio
Was async def asyncio(template_id: str, build_id: str, *, client: AuthenticatedClient, body: TemplateBuildStartV2) -> Optional[Union[Any, Error]]; now async def asyncio(template_id: str, build_id: str, *, client: AuthenticatedClient, body... pypi.org - Signature changed
e2b.api.client.api.templates.post_v_2_templates_template_id_builds_build_id.asyncio_detailed
Was async def asyncio_detailed(template_id: str, build_id: str, *, client: AuthenticatedClient, body: TemplateBuildStartV2) -> Response[Union[Any, Error]]; now async def asyncio_detailed(template_id: str, build_id: str, *, client... pypi.org
And 6 more in this version. Sign up to see every change
e2b 2.64.0 breaking changes
- Removed
e2b template list
The pretty table output of e2b template list no longer includes the Created by column, because the API deprecated the creator's email. Scripts that read that column must change. github.com - Behavior changed
e2b template list
The JSON output of e2b template list now prints SDK TemplateInfo objects with fields such as templateId and buildId instead of the raw API fields templateID and buildID. Update any scripts that parse it. github.com - Behavior changed
Sandbox.deleteSnapshot
Sandbox.deleteSnapshot and Sandbox.delete_snapshot now share the Template.delete implementation and raise TemplateError or TemplateException on failure. The new classes subclass SandboxError and SandboxException, but code that matches the... github.com
e2b 2.63.0 breaking changes
- Behavior changed
A sandbox marked envdUnresponsiveAtPause now raises GuestUnresponsiveError (Python: GuestUnresponsiveException) on resume unless you pass onResume reboot (on_resume="reboot"). github.com
e2b 2.62.1 breaking changes
- Signature changed
e2b.api.client_async.get_envd_api
Was def get_envd_api(config: ConnectionConfig, base_url: str, *, for_streaming: bool = False, retry_connect: bool = True) -> httpx.AsyncClient; now def get_envd_api(config: ConnectionConfig, base_url: str, *, for_streaming: bool = False... pypi.org - Signature changed
e2b.api.client_sync.get_envd_api
Was def get_envd_api(config: ConnectionConfig, base_url: str, *, for_streaming: bool = False, retry_connect: bool = True) -> httpx.Client; now def get_envd_api(config: ConnectionConfig, base_url: str, *, for_streaming: bool = False... pypi.org
Older versions
33 older versions, each with its first changes. Sign up to see every change
Show 33 older versions
e2b 2.62.0 breaking changes
- Behavior changed
files.write
JS ReadableStream and AsyncIterable data is streamed instead of buffered. Browsers without streaming request bodies now throw, and multipart is refused, so users must pass a Blob in those cases or use octet-stream upload. Python raises... github.com
e2b 2.60.0 breaking changes
- Removed
e2b.retry.is_replayable
e2b.retry.is_replayable was removed in e2b 2.60.0 pypi.org - Removed
e2b.retry.NETWORK_ERRORS
e2b.retry.NETWORK_ERRORS was removed in e2b 2.60.0 pypi.org
And 5 more in this version.
e2b 2.59.0 breaking changes
- Signature changed
e2b.api.client.api.sandboxes.post_v2_sandboxes.asyncio
Was async def asyncio(*, client: AuthenticatedClient, body: NewSandboxV2) -> Optional[Union[Error, Sandbox]]; now async def asyncio(*, client: AuthenticatedClient, body: NewSandboxV2, idempotency_key: Union[Unset, str] = UNSET) ->... pypi.org - Signature changed
e2b.api.client.api.sandboxes.post_v2_sandboxes.asyncio_detailed
Was async def asyncio_detailed(*, client: AuthenticatedClient, body: NewSandboxV2) -> Response[Union[Error, Sandbox]]; now async def asyncio_detailed(*, client: AuthenticatedClient, body: NewSandboxV2, idempotency_key: Union[Unset, str] =... pypi.org
And 2 more in this version.
e2b 2.57.0 breaking changes
- Signature changed
e2b.envd.filesystem.filesystem_connect.Filesystem.create_watcher
Was async def create_watcher(self, request: CreateWatcherRequest, ctx: RequestContext[CreateWatcherRequest, CreateWatcherResponse]) -> CreateWatcherResponse; now async def create_watcher(self, request: CreateWatcherRequest, ctx... pypi.org - Signature changed
e2b.envd.filesystem.filesystem_connect.Filesystem.get_watcher_events
Was async def get_watcher_events(self, request: GetWatcherEventsRequest, ctx: RequestContext[GetWatcherEventsRequest, GetWatcherEventsResponse]) -> GetWatcherEventsResponse; now async def get_watcher_events(self, request... pypi.org
And 36 more in this version.
e2b 2.56.0 breaking changes
- Removed
The release requires Node.js 22 or newer, so Node.js 20 is no longer supported. Users on Node.js 20 must upgrade. github.com - Removed
The release requires Node.js 22.19.0 or newer. Users on older Node.js versions must upgrade their runtime. github.com
And 12 more in this version.
e2b 2.55.1 breaking changes
- Signature changed
e2b.connection_config.ConnectionConfig.get_sandbox_direct_url
Was def get_sandbox_direct_url(self, sandbox_id: str, sandbox_domain: str) -> str; now def get_sandbox_direct_url(self, sandbox_id: str, sandbox_domain: str, port: Optional[int] = None) -> str. pypi.org - Signature changed
e2b.connection_config.ConnectionConfig.get_sandbox_url
Was def get_sandbox_url(self, sandbox_id: str, sandbox_domain: str) -> str; now def get_sandbox_url(self, sandbox_id: str, sandbox_domain: str, port: Optional[int] = None) -> str. pypi.org
And 2 more in this version.
e2b 2.55.0 breaking changes
- Signature changed
e2b.envd.filesystem.filesystem_pb.EntryInfo.__init__
Was def __init__(self, *, name: str = '', type: FileType | None = None, path: str = '', size: int = 0, mode: int = 0, permissions: str = '', owner: str = '', group: str = '', modified_time: Timestamp | None = None, symlink_target: str |... pypi.org
e2b 2.53.1 breaking changes
- Removed
e2b.connection_config.ConnectionConfig.request_source
ConnectionConfig.request_source was removed in e2b 2.53.1 pypi.org - Removed
e2b.ConnectionConfig.request_source
ConnectionConfig.request_source was removed in e2b 2.53.1 pypi.org
And 16 more in this version.
e2b 2.52.1 breaking changes
- Behavior changed
A 502 is now returned instead of retried for sandbox creation, fork, snapshot and other POST operations, and secret updates are no longer replayed after a 502 or dropped connection. Handle these errors in your code. github.com - Behavior changed
Patterns like **.txt now match at any depth, and a negated parent-directory pattern no longer re-includes files. Review .dockerignore rules that relied on the old matching. github.com
e2b 2.52.0 breaking changes
- Removed
e2b.api.client_async.envd_pool_shard
e2b.api.client_async.envd_pool_shard was removed in e2b 2.52.0 pypi.org - Removed
e2b.api.client_async.get_envd_transport
e2b.api.client_async.get_envd_transport was removed in e2b 2.52.0 pypi.org
And 20 more in this version.
e2b 2.51.0 breaking changes
- Behavior changed
Sandbox.create
Create and connect now call the v2 endpoints, which default timeout to 5 minutes and always secure envd access. github.com - Default changed
Sandbox.create
Options omitted from sandbox create, fork, connect, pause and template builds are no longer preset by the SDK, so the API defaults apply (for example timeout defaults to 5 minutes, and allow_internet_access is no longer preset). Pass... github.com
And 1 more in this version.
e2b 2.50.0 breaking changes
- Removed
e2b.api.client.api.templates.post_templates
Code that imported these modules directly must drop the import. Template builds go through the Template SDK. pypi.org - Removed
e2b.api.client.api.templates.post_templates_template_id
Code that imported these modules directly must drop the import. Template builds go through the Template SDK. pypi.org
And 12 more in this version.
e2b 2.49.1 breaking changes
- Behavior changed
Control-plane requests are retried up to three times after a 429 response, using the server's Retry-After delay. Retries can be configured or disabled with the retries option. github.com - Behavior changed
Sandbox.connect
Invalid onResume values passed to Sandbox.connect now raise a validation error before the API key is checked. Code that passed invalid values must fix them. github.com
And 3 more in this version.
e2b 2.48.0 breaking changes
- Removed
e2b.api.client.models.admin_build_cancel_result
e2b.api.client.models.admin_build_cancel_result was removed in e2b 2.48.0 pypi.org - Removed
e2b.api.client.models.admin_sandbox_kill_result
e2b.api.client.models.admin_sandbox_kill_result was removed in e2b 2.48.0 pypi.org
And 43 more in this version.
e2b 2.46.4 breaking changes
- Signature changed
e2b.api.client_async.get_httpx_transport
Was def get_httpx_transport(proxy: Optional[ProxyConfig], read_timeout: Optional[float] = None, http2: bool = True) -> AsyncPyqwestTransport; now def get_httpx_transport(proxy: Optional[ProxyConfig], read_timeout: Optional[float] = None... pypi.org - Signature changed
e2b.api.client_async.get_pyqwest_transport
Was def get_pyqwest_transport(proxy: Optional[ProxyConfig], read_timeout: Optional[float] = None, http2: bool = True) -> ConnectionRetryTransport; now def get_pyqwest_transport(proxy: Optional[ProxyConfig], read_timeout: Optional[float] =... pypi.org
And 10 more in this version.
e2b 2.46.0 breaking changes
- Removed
e2b.api.validate_api_key
e2b.api.validate_api_key was removed in e2b 2.46.0 pypi.org - Configuration changed
The SDK no longer reads the E2B_VALIDATE_API_KEY environment variable, so setting it has no effect. github.com
e2b 2.45.0 breaking changes
- Behavior changed
Sandbox.list
Sandbox.list gains an order option that defaults to 'desc', so results are sorted by start time descending unless 'asc' is passed. Code that depends on the previous result order should pass order explicitly. github.com
e2b 2.44.1 breaking changes
- Behavior changed
Volume.getInfo
Volume.getInfo() now throws VolumePathNotFoundError, which no longer subclasses the deprecated NotFoundError. Code that catches NotFoundError for missing volume paths must catch VolumePathNotFoundError instead. github.com
e2b 2.44.0 breaking changes
- Behavior changed
Template
Template is now the TemplateBase class made callable as a factory; Template(...), its statics and instanceof keep working, so existing code should not break. github.com - Signature changed
e2b.client
Was module e2b.api.client; now module e2b.client. pypi.org
And 20 more in this version.
e2b 2.43.0 breaking changes
- Removed
e2b.secret.SandboxIamToken
e2b.secret.SandboxIamToken was removed in e2b 2.43.0 pypi.org - Removed
e2b.secret.SandboxIamTokenType
e2b.secret.SandboxIamTokenType was removed in e2b 2.43.0 pypi.org
And 18 more in this version.
e2b 2.42.0 breaking changes
- Removed
e2b.envd.client_async.get_transport
e2b.envd.client_async.get_transport was removed in e2b 2.42.0 pypi.org - Removed
e2b.envd.client_async.ProxyConfig
e2b.envd.client_async.ProxyConfig was removed in e2b 2.42.0 pypi.org
And 17 more in this version.
e2b 2.41.0 breaking changes
- Removed
e2b.api.client.models.node_detail.NodeDetail.cached_builds
NodeDetail.cached_builds was removed in e2b 2.41.0 pypi.org - Removed
e2b.api.client.models.NodeDetail.cached_builds
NodeDetail.cached_builds was removed in e2b 2.41.0 pypi.org
e2b 2.40.0 breaking changes
- Removed
access_token
The access_token option and the E2B_ACCESS_TOKEN environment fallback are gone, and requests now authenticate with the API key alone. To send a bearer token to a custom deployment, pass it in api_headers as an Authorization header. github.com - Removed
e2b.connection_config.ConnectionConfig.access_token
ConnectionConfig.access_token was removed in e2b 2.40.0 pypi.org
And 3 more in this version.
e2b 2.39.1 breaking changes
- Signature changed
e2b.api.client_async.get_envd_transport
Was def get_envd_transport(config: ConnectionConfig, *, for_streaming: bool = False) -> AsyncPyqwestTransport; now def get_envd_transport(config: ConnectionConfig, http2: bool = True, *, for_streaming: bool = False) ->... pypi.org - Signature changed
e2b.api.client_async.get_transport
Was def get_transport(config: ConnectionConfig) -> AsyncPyqwestTransport; now def get_transport(config: ConnectionConfig, http2: bool = True) -> AsyncPyqwestTransport. pypi.org
And 6 more in this version.
e2b 2.38.3 breaking changes
- Behavior changed
When MCP gateway startup fails, the newly created sandbox is killed and the error is raised as SandboxError (JS) or SandboxException (Python) instead of a bare command exit error. Code that catches the old command exit error must catch the... github.com
e2b 2.38.0 breaking changes
- Removed
e2b.api.client_async.AsyncEnvdTransportWithLogger
e2b.api.client_async.AsyncEnvdTransportWithLogger was removed in e2b 2.38.0 pypi.org - Removed
e2b.api.client_async.AsyncTransportWithLogger
e2b.api.client_async.AsyncTransportWithLogger was removed in e2b 2.38.0 pypi.org
And 26 more in this version.
e2b 2.37.0 breaking changes
- Default changed
from_alpine_image
When the variant is omitted, from_alpine_image now uses alpine:3.24 instead of alpine:3.22, matching the JS SDK. Pass the tag explicitly if you need the old image. github.com - Default changed
from_fedora_image
When the variant is omitted, from_fedora_image now uses fedora:44 instead of fedora:42, matching the JS SDK. Pass the tag explicitly if you need the old image. github.com
e2b 2.36.0 breaking changes
- Removed
runInNewStackTraceContext
The stack-trace collection helpers made redundant by the SDK-boundary frame selection were removed, so code calling runInNewStackTraceContext must stop using it. github.com - Removed
runInStackTraceOverrideContext
The stack-trace collection helpers made redundant by the SDK-boundary frame selection were removed, so code calling runInStackTraceOverrideContext must stop using it. github.com
And 1 more in this version.
e2b 2.35.0 breaking changes
- Removed
e2b_connect
e2b_connect was removed in e2b 2.35.0 pypi.org - Removed
e2b.api.client.models.post_sandboxes_sandbox_id_refreshes_body
e2b.api.client.models.post_sandboxes_sandbox_id_refreshes_body was removed in e2b 2.35.0 pypi.org
And 20 more in this version.
e2b 2.33.0 breaking changes
- Removed
ConnectionConfig.integration
The integration keyword argument is gone. Integrations should call ConnectionConfig.set_integration() once at startup instead. github.com - Removed
ConnectionConfigOpts.integration
The integration option is gone. Integrations should call ConnectionConfig.setIntegration() once at startup instead. github.com
And 6 more in this version.
e2b 2.32.0 breaking changes
- Removed
Integration user-agent attribution is now only set on ConnectionConfig. Code that passes it through sandbox, template, volume or per-call API options must move it to ConnectionConfig. github.com - Removed
e2b.connection_config.ConnectionConfig.integration
ConnectionConfig.integration was removed in e2b 2.32.0 pypi.org
And 4 more in this version.
e2b 2.0.0 breaking changes
- Removed
e2b.api.client.models.node_detail.Unset
e2b.api.client.models.node_detail.Unset was removed in e2b 2.0.0 pypi.org - Removed
e2b.api.client.models.node_detail.UNSET
e2b.api.client.models.node_detail.UNSET was removed in e2b 2.0.0 pypi.org
And 17 more in this version.
e2b 1.13.1 breaking changes
- Default changed
The default request timeout is now longer. Code that relied on the previous timeout may behave differently. github.com
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.