Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
[skip ci] Release new versions
github-actions[bot]d0b26850b683
diff --git a/.changeset/azure-template-upload-headers.md b/.changeset/azure-template-upload-headers.mddeleted file mode 100644index 2295a0b46..000000000--- a/.changeset/azure-template-upload-headers.md+++ /dev/null@@ -1,6 +0,0 @@-----"e2b": patch-"@e2b/python-sdk": patch------Apply the request headers the API returns with a template layer-file upload link. Azure Blob Storage requires `x-ms-blob-type` on the upload request, which its signed URL cannot carry, so `COPY` instructions failed on Azure-backed clusters. GCS- and S3-backed clusters return no headers and are unaffected.diff --git a/.changeset/connectrpc-minor-bump.md b/.changeset/connectrpc-minor-bump.mddeleted file mode 100644index b36ca4bc5..000000000--- a/.changeset/connectrpc-minor-bump.md+++ /dev/null@@ -1,5 +0,0 @@-----'e2b': patch------Bump `@connectrpc/connect` and `@connectrpc/connect-web` to 2.2.0 (fixes `Http2SessionManager.verify()` hanging when the connection closes mid-verification and stops delivering stream messages after cancellation).diff --git a/.changeset/olive-jars-tap.md b/.changeset/olive-jars-tap.mddeleted file mode 100644index 61108f9ba..000000000--- a/.changeset/olive-jars-tap.md+++ /dev/null@@ -1,5 +0,0 @@-----'e2b': patch------Fix uploads of non-native `ReadableStream`s in the browser silently sending the text `[object ReadableStream]` instead of the data. Buffering a stream drained it with `new Response(stream)`, which accepts any async iterable on Node (an undici extension) but only its own stream class in a browser, stringifying anything else. Streams are now drained through the reader, which every implementation supports.diff --git a/.changeset/remove-template-build-v1-clients.md b/.changeset/remove-template-build-v1-clients.mddeleted file mode 100644index f72a4ea02..000000000--- a/.changeset/remove-template-build-v1-clients.md+++ /dev/null@@ -1,10 +0,0 @@-----'e2b': minor-'@e2b/python-sdk': minor------Removed the V1 template build operations and schemas from the generated API clients. The API no longer serves them (runtime `87968fc1e1fa`); control planes carrying that change answer `410 Gone`. Template builds go through the Template SDK.--Visible removal, classified minor: the JS `paths` namespace loses `POST /templates`, `POST /templates/{templateID}`, `POST /templates/{templateID}/builds/{buildID}` and `POST /v2/templates`, and `components['schemas']` loses `TemplateLegacy`, `TemplateBuildRequest` and `TemplateBuildRequestV2`; the Python `e2b.api.client.models` package loses `TemplateLegacy`, `TemplateBuildRequest` and `TemplateBuildRequestV2`, and `e2b.api.client.api.templates` loses the `post_templates`, `post_templates_template_id`, `post_templates_template_id_builds_build_id` and `post_v2_templates` modules. No SDK method accepted or returned them; code that imported these names directly must drop the import.--The regenerated clients also pick up a documented `429` on most operations, a `409` on template create (v3), the upload-request `headers` on the build file-upload link, `minLength: 1` on the v2 build source fields, and a deprecation marker on the always-empty `logs` field of the build status.diff --git a/.changeset/remove-template-build-v1-command.md b/.changeset/remove-template-build-v1-command.mddeleted file mode 100644index fa5b4c763..000000000--- a/.changeset/remove-template-build-v1-command.md+++ /dev/null@@ -1,5 +0,0 @@-----'@e2b/cli': patch------Removed the hidden `e2b template build` command (alias `bd`). It printed a V1 deprecation notice and exited 1; the V1 build system it fronted is gone from the API. A script still calling it now gets commander's unknown-command error with the same exit code. Build templates with `e2b template create` or the Template SDK; `e2b template migrate` still converts a V1 project (see https://e2b.dev/docs/template/migration-v2).diff --git a/.changeset/soft-moons-repeat.md b/.changeset/soft-moons-repeat.mddeleted file mode 100644index ab6668326..000000000--- a/.changeset/soft-moons-repeat.md+++ /dev/null@@ -1,5 +0,0 @@-----'e2b': patch------Report a sandbox killed mid-request as an actionable `TimeoutError` in the browser. When the connection to a sandbox drops mid-request the SDK probes the sandbox's health to tell a killed sandbox apart from a transient network blip, but the probe only ran for connection-dropped wordings it recognized, and the browser's (`network error`) was missing — so killing a sandbox while a command was running surfaced a generic `SandboxError: [unknown] network error` instead of `TimeoutError: ... The sandbox was killed or reached its end of life while the request was in flight.`diff --git a/.changeset/undici-security-patch.md b/.changeset/undici-security-patch.mddeleted file mode 100644index c672fa26a..000000000--- a/.changeset/undici-security-patch.md+++ /dev/null@@ -1,5 +0,0 @@-----'e2b': patch------Bump `undici` to 7.29.1 and the optional `undici8` fallback to 8.10.2 to pick up the September 2026 security fixes.diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.mdindex 8e9671025..60675546b 100644--- a/packages/cli/CHANGELOG.md+++ b/packages/cli/CHANGELOG.md@@ -1,5 +1,18 @@# @e2b/cli+## 2.19.1++### Patch Changes++- 5b015ad: Removed the hidden `e2b template build` command (alias `bd`). It printed a V1 deprecation notice and exited 1; the V1 build system it fronted is gone from the API. A script still calling it now gets commander's unknown-command error with the same exit code. Build templates with `e2b template create` or the Template SDK; `e2b template migrate` still converts a V1 project (see https://e2b.dev/docs/template/migration-v2).+- Updated dependencies [956e3ab]+- Updated dependencies [e1fbe86]+- Updated dependencies [80496c0]+- Updated dependencies [5b015ad]+- Updated dependencies [80496c0]+- Updated dependencies [e1fbe86]+## 2.19.0### Minor Changesdiff --git a/packages/cli/package.json b/packages/cli/package.jsonindex 6c42bb92f..0a9a6d723 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,6 +1,6 @@{"name": "@e2b/cli",- "version": "2.19.0",+ "version": "2.19.1","description": "CLI for managing e2b sandbox templates","homepage": "https://e2b.dev/?utm_source=npm&utm_medium=referral&utm_campaign=package_homepage&utm_content=e2b-cli","license": "MIT",diff --git a/packages/code-interpreter-python/uv.lock b/packages/code-interpreter-python/uv.lockindex f3d85dd12..d98e8a6e6 100644--- a/packages/code-interpreter-python/uv.lock+++ b/packages/code-interpreter-python/uv.lock@@ -358,7 +358,7 @@ wheels = [[[package]]name = "e2b"-version = "2.49.1"+version = "2.50.0"source = { editable = "../python-sdk" }dependencies = [{ name = "attrs" },diff --git a/packages/desktop-python/uv.lock b/packages/desktop-python/uv.lockindex 94e41b30e..df75b3752 100644--- a/packages/desktop-python/uv.lock+++ b/packages/desktop-python/uv.lock@@ -352,7 +352,7 @@ wheels = [[[package]]name = "e2b"-version = "2.49.1"+version = "2.50.0"source = { editable = "../python-sdk" }dependencies = [{ name = "attrs" },diff --git a/packages/js-sdk/CHANGELOG.md b/packages/js-sdk/CHANGELOG.mdindex a702779df..3efd64289 100644--- a/packages/js-sdk/CHANGELOG.md+++ b/packages/js-sdk/CHANGELOG.md@@ -1,5 +1,23 @@# e2b+## 2.50.0++### Minor Changes++- 5b015ad: Removed the V1 template build operations and schemas from the generated API clients. The API no longer serves them (runtime `87968fc1e1fa`); control planes carrying that change answer `410 Gone`. Template builds go through the Template SDK.++ Visible removal, classified minor: the JS `paths` namespace loses `POST /templates`, `POST /templates/{templateID}`, `POST /templates/{templateID}/builds/{buildID}` and `POST /v2/templates`, and `components['schemas']` loses `TemplateLegacy`, `TemplateBuildRequest` and `TemplateBuildRequestV2`; the Python `e2b.api.client.models` package loses `TemplateLegacy`, `TemplateBuildRequest` and `TemplateBuildRequestV2`, and `e2b.api.client.api.templates` loses the `post_templates`, `post_templates_template_id`, `post_templates_template_id_builds_build_id` and `post_v2_templates` modules. No SDK method accepted or returned them; code that imported these names directly must drop the import.++ The regenerated clients also pick up a documented `429` on most operations, a `409` on template create (v3), the upload-request `headers` on the build file-upload link, `minLength: 1` on the v2 build source fields, and a deprecation marker on the always-empty `logs` field of the build status.++### Patch Changes++- 956e3ab: Apply the request headers the API returns with a template layer-file upload link. Azure Blob Storage requires `x-ms-blob-type` on the upload request, which its signed URL cannot carry, so `COPY` instructions failed on Azure-backed clusters. GCS- and S3-backed clusters return no headers and are unaffected.+- e1fbe86: Bump `@connectrpc/connect` and `@connectrpc/connect-web` to 2.2.0 (fixes `Http2SessionManager.verify()` hanging when the connection closes mid-verification and stops delivering stream messages after cancellation).+- 80496c0: Fix uploads of non-native `ReadableStream`s in the browser silently sending the text `[object ReadableStream]` instead of the data. Buffering a stream drained it with `new Response(stream)`, which accepts any async iterable on Node (an undici extension) but only its own stream class in a browser, stringifying anything else. Streams are now drained through the reader, which every implementation supports.+- 80496c0: Report a sandbox killed mid-request as an actionable `TimeoutError` in the browser. When the connection to a sandbox drops mid-request the SDK probes the sandbox's health to tell a killed sandbox apart from a transient network blip, but the probe only ran for connection-dropped wordings it recognized, and the browser's (`network error`) was missing — so killing a sandbox while a command was running surfaced a generic `SandboxError: [unknown] network error` instead of `TimeoutError: ... The sandbox was killed or reached its end of life while the request was in flight.`+- e1fbe86: Bump `undici` to 7.29.1 and the optional `undici8` fallback to 8.10.2 to pick up the September 2026 security fixes.+## 2.49.1### Patch Changesdiff --git a/packages/js-sdk/package.json b/packages/js-sdk/package.jsonindex 1e5e8a386..44cfda8ee 100644--- a/packages/js-sdk/package.json+++ b/packages/js-sdk/package.json@@ -1,6 +1,6 @@{"name": "e2b",- "version": "2.49.1",+ "version": "2.50.0","description": "E2B SDK that give agents cloud environments","homepage": "https://e2b.dev/?utm_source=npm&utm_medium=referral&utm_campaign=package_homepage&utm_content=e2b","license": "MIT",diff --git a/packages/python-sdk/CHANGELOG.md b/packages/python-sdk/CHANGELOG.mdindex 32f48817b..9fbfa2b50 100644--- a/packages/python-sdk/CHANGELOG.md+++ b/packages/python-sdk/CHANGELOG.md@@ -1,5 +1,19 @@# @e2b/python-sdk+## 2.50.0++### Minor Changes++- 5b015ad: Removed the V1 template build operations and schemas from the generated API clients. The API no longer serves them (runtime `87968fc1e1fa`); control planes carrying that change answer `410 Gone`. Template builds go through the Template SDK.++ Visible removal, classified minor: the JS `paths` namespace loses `POST /templates`, `POST /templates/{templateID}`, `POST /templates/{templateID}/builds/{buildID}` and `POST /v2/templates`, and `components['schemas']` loses `TemplateLegacy`, `TemplateBuildRequest` and `TemplateBuildRequestV2`; the Python `e2b.api.client.models` package loses `TemplateLegacy`, `TemplateBuildRequest` and `TemplateBuildRequestV2`, and `e2b.api.client.api.templates` loses the `post_templates`, `post_templates_template_id`, `post_templates_template_id_builds_build_id` and `post_v2_templates` modules. No SDK method accepted or returned them; code that imported these names directly must drop the import.++ The regenerated clients also pick up a documented `429` on most operations, a `409` on template create (v3), the upload-request `headers` on the build file-upload link, `minLength: 1` on the v2 build source fields, and a deprecation marker on the always-empty `logs` field of the build status.++### Patch Changes++- 956e3ab: Apply the request headers the API returns with a template layer-file upload link. Azure Blob Storage requires `x-ms-blob-type` on the upload request, which its signed URL cannot carry, so `COPY` instructions failed on Azure-backed clusters. GCS- and S3-backed clusters return no headers and are unaffected.+## 2.49.1### Patch Changesdiff --git a/packages/python-sdk/package.json b/packages/python-sdk/package.jsonindex 3bc185759..b5fd60d42 100644--- a/packages/python-sdk/package.json+++ b/packages/python-sdk/package.json@@ -1,7 +1,7 @@{"name": "@e2b/python-sdk","private": true,- "version": "2.49.1",+ "version": "2.50.0","scripts": {"test": "uv run pytest -n 4 --verbose -x","postVersion": "uv version --frozen $(pnpm pkg get version --workspaces=false | tr -d \\\")",diff --git a/packages/python-sdk/pyproject.toml b/packages/python-sdk/pyproject.tomlindex 13d861bcc..65ecf6816 100644--- a/packages/python-sdk/pyproject.toml+++ b/packages/python-sdk/pyproject.toml@@ -1,6 +1,6 @@[project]name = "e2b"-version = "2.49.1"+version = "2.50.0"description = "E2B SDK that give agents cloud environments"authors = [{ name = "e2b", email = "[email protected]" }]license = "MIT"diff --git a/packages/python-sdk/uv.lock b/packages/python-sdk/uv.lockindex 9d682dfaf..c337be901 100644--- a/packages/python-sdk/uv.lock+++ b/packages/python-sdk/uv.lock@@ -180,7 +180,7 @@ wheels = [[[package]]name = "e2b"-version = "2.49.1"+version = "2.50.0"source = { editable = "." }dependencies = [{ name = "attrs" },@@ -278,7 +278,7 @@ name = "exceptiongroup"version = "1.3.1"source = { registry = "https://pypi.org/simple" }dependencies = [- { name = "typing-extensions" },+ { name = "typing-extensions", marker = "python_full_version < '3.13'" },]sdist = { url = "https://files.pythonhosted.org/packages/50/79/66800aadf48771f6b62f7eb014e352e5d06856655206165d775e675a02c9/exceptiongroup-1.3.1.tar.gz", hash = "sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219", size = 30371, upload-time = "2025-11-21T23:01:54.787Z" }wheels = [