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]26ca87c3f109
diff --git a/.changeset/command-handle-stdin.md b/.changeset/command-handle-stdin.mddeleted file mode 100644index ecb837bc9..000000000--- a/.changeset/command-handle-stdin.md+++ /dev/null@@ -1,8 +0,0 @@-----"e2b": patch-"@e2b/python-sdk": patch------feat: add `sendStdin`/`send_stdin` and `closeStdin`/`close_stdin` to `CommandHandle`--You can now send and close stdin directly on a background command handle instead of going through `sandbox.commands` with the command's PID.diff --git a/.changeset/deprecate-template-build-cmd.md b/.changeset/deprecate-template-build-cmd.mddeleted file mode 100644index 4a52b4bd8..000000000--- a/.changeset/deprecate-template-build-cmd.md+++ /dev/null@@ -1,5 +0,0 @@-----"@e2b/cli": minor------Fully deprecate `e2b template build` (v1): command now only shows the deprecation notice and exits. Removed all v1 Docker build/push logic and deleted buildWithProxy.ts.diff --git a/.changeset/import-api-types-via-components.md b/.changeset/import-api-types-via-components.mddeleted file mode 100644index 6f9497021..000000000--- a/.changeset/import-api-types-via-components.md+++ /dev/null@@ -1,6 +0,0 @@-----'e2b': patch-'@e2b/cli': patch------Use `components['schemas'][...]` instead of verbose `paths[...]` traversal for OpenAPI-generated type references.diff --git a/.changeset/python-connect-no-envd-headers.md b/.changeset/python-connect-no-envd-headers.mddeleted file mode 100644index 24d8630e4..000000000--- a/.changeset/python-connect-no-envd-headers.md+++ /dev/null@@ -1,7 +0,0 @@-----"@e2b/python-sdk": patch------fix(python-sdk): stop sending `E2b-Sandbox-Id`/`E2b-Sandbox-Port` headers on the control-plane `connect` request--`Sandbox.connect` was attaching the envd data-plane headers (`E2b-Sandbox-Id`, `E2b-Sandbox-Port`) to the `POST /sandboxes/{id}/connect` API call. These headers belong only on data-plane (filesystem/commands/pty) requests, matching the JS SDK behavior.diff --git a/.changeset/python-sdk-py-typed.md b/.changeset/python-sdk-py-typed.mddeleted file mode 100644index 5be2d939c..000000000--- a/.changeset/python-sdk-py-typed.md+++ /dev/null@@ -1,5 +0,0 @@-----'@e2b/python-sdk': patch------Mark the Python SDK as typed (PEP 561). Added `py.typed` markers to the `e2b` and `e2b_connect` packages so type checkers like mypy and Pyright honor the inline annotations on `Sandbox`, `AsyncSandbox`, and other public APIs instead of treating imports as `Any`.diff --git a/.changeset/python-sync-async-alignment.md b/.changeset/python-sync-async-alignment.mddeleted file mode 100644index d41a35cdb..000000000--- a/.changeset/python-sync-async-alignment.md+++ /dev/null@@ -1,7 +0,0 @@-----"@e2b/python-sdk": minor------Align the sync and async Python SDK implementations: consistent parameter ordering (`_create`, `Commands._start`), matching docstrings, keyword arguments in `Filesystem.write`, and a consistent bare `Exception` for the internal "Body of the request is None" guard (matching the volume client).--`Sandbox.pause()` / `AsyncSandbox.pause()` (and `beta_pause`) now return a `bool` — `True` if the sandbox got paused, `False` if it was already paused — matching the JS SDK. Previously the instance method returned `None` and the class-method form returned the sandbox ID.diff --git a/.changeset/python-sync-thread-local-transports.md b/.changeset/python-sync-thread-local-transports.mddeleted file mode 100644index 1c816da78..000000000--- a/.changeset/python-sync-thread-local-transports.md+++ /dev/null@@ -1,5 +0,0 @@-----"@e2b/python-sdk": patch------Use thread-local sync HTTP transports to avoid sharing HTTP/2 connection state across Python threads.diff --git a/.changeset/remove-ensureaccesstoken-template-create.md b/.changeset/remove-ensureaccesstoken-template-create.mddeleted file mode 100644index 861e11360..000000000--- a/.changeset/remove-ensureaccesstoken-template-create.md+++ /dev/null@@ -1,5 +0,0 @@-----"@e2b/cli": patch------Remove `ensureAccessToken` call from `e2b template create`: the command now relies solely on the API key for authentication.diff --git a/packages/cli/package.json b/packages/cli/package.jsonindex b73c51514..23180182c 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,6 +1,6 @@{"name": "@e2b/cli",- "version": "2.10.4",+ "version": "2.11.0","description": "CLI for managing e2b sandbox templates","homepage": "https://e2b.dev","license": "MIT",@@ -81,7 +81,7 @@"commander": "^11.1.0","console-table-printer": "^2.11.2","dockerfile-ast": "^0.6.1",- "e2b": "^2.28.0",+ "e2b": "^2.28.1","handlebars": "^4.7.9","inquirer": "^12.10.0","simple-update-notifier": "^2.0.0",diff --git a/packages/js-sdk/package.json b/packages/js-sdk/package.jsonindex b7f4b6b7a..96105408e 100644--- a/packages/js-sdk/package.json+++ b/packages/js-sdk/package.json@@ -1,6 +1,6 @@{"name": "e2b",- "version": "2.28.0",+ "version": "2.28.1","description": "E2B SDK that give agents cloud environments","homepage": "https://e2b.dev","license": "MIT",diff --git a/packages/python-sdk/package.json b/packages/python-sdk/package.jsonindex 6fefa2cce..e98205069 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.26.0",+ "version": "2.27.0","scripts": {"example": "poetry run python example.py","test": "poetry run pytest -n 4 --verbose -x",diff --git a/packages/python-sdk/pyproject.toml b/packages/python-sdk/pyproject.tomlindex 8db14f03d..65a8e00cc 100644--- a/packages/python-sdk/pyproject.toml+++ b/packages/python-sdk/pyproject.toml@@ -1,6 +1,6 @@[tool.poetry]name = "e2b"-version = "2.26.0"+version = "2.27.0"description = "E2B SDK that give agents cloud environments"authors = ["e2b <[email protected]>"]license = "MIT"diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 642b8f5ad..c77263d3a 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -80,8 +80,8 @@ importers:specifier: ^0.6.1version: 0.6.1e2b:- specifier: ^2.28.0- version: 2.28.0+ specifier: ^2.28.1+ version: 2.28.1handlebars:specifier: ^4.7.9version: 4.7.9@@ -1944,8 +1944,8 @@ packages:resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}engines: {node: '>= 0.4'}- resolution: {integrity: sha512-ptvySeKFFwz+bJbGIT6WGRkLr+Xwo1/oicf82cFuMepPXdRd3CrJoZ8FGnu+XWHRSJlOKBfCWENrDZmg4oKTtQ==}+ resolution: {integrity: sha512-JMkK6FDGgzDWv5FOfmE8xHm/8E8xUHAehNx5MIsOJlytCmUC5QbG5mzowExvTpANX0rMepyuXzSH3GwwDCaang==}engines: {node: '>=20.18.1'}@@ -5472,7 +5472,7 @@ snapshots:es-errors: 1.3.0gopd: 1.2.0dependencies:'@bufbuild/protobuf': 2.6.2'@connectrpc/connect': 2.0.0-rc.3(@bufbuild/[email protected])