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]10235faa2878
diff --git a/.changeset/https-backend-ports.md b/.changeset/https-backend-ports.mddeleted file mode 100644index f7c9a45ae..000000000--- a/.changeset/https-backend-ports.md+++ /dev/null@@ -1,6 +0,0 @@-----"e2b": minor-"@e2b/python-sdk": minor------Add `httpsPorts` (JS) / `https_ports` (Python) to the sandbox network config. Ports listed there have their public URLs proxied to the sandbox over HTTPS — use it when the service listening on the port serves TLS itself. This is not TLS passthrough: traffic is still terminated at the E2B proxy and re-encrypted on the hop to the sandbox, and the backend certificate is not verified, so self-signed certificates work. The configured ports are also returned in the sandbox info network config.diff --git a/.changeset/quiet-nix-notifier.md b/.changeset/quiet-nix-notifier.mddeleted file mode 100644index d991c85fb..000000000--- a/.changeset/quiet-nix-notifier.md+++ /dev/null@@ -1,5 +0,0 @@-----'@e2b/cli': patch------Skip the update check when the `NO_UPDATE_NOTIFIER` environment variable is set, so system package managers (for example Nix) can install the CLI without it suggesting updates they cannot apply. Help output now always names the program `e2b` instead of echoing the entrypoint file name.diff --git a/.changeset/service-busy-error.md b/.changeset/service-busy-error.mddeleted file mode 100644index 35e14401a..000000000--- a/.changeset/service-busy-error.md+++ /dev/null@@ -1,6 +0,0 @@-----'e2b': minor-'@e2b/python-sdk': minor------Add `ServiceBusyError` (JavaScript) / `ServiceBusyException` (Python) for HTTP 503 responses: the API refused the operation because the service or the node running the sandbox is temporarily busy, the sandbox is unchanged, and the call can be retried. A refused `pause()` is the first case. The base `SandboxError` / `SandboxException` also carries the HTTP status as `statusCode` / `status_code` when the error came from an API response, so callers can branch on the status without parsing the message. Like `AuthenticationError` / `AuthenticationException`, the new class does not subclass the sandbox base error: it is raised for every 503 whatever the operation, so catch it explicitly.diff --git a/.changeset/validate-lifecycle-enums.md b/.changeset/validate-lifecycle-enums.mddeleted file mode 100644index 6946097fa..000000000--- a/.changeset/validate-lifecycle-enums.md+++ /dev/null@@ -1,6 +0,0 @@-----'e2b': patch-'@e2b/python-sdk': patch------`onTimeout` / `on_timeout` and `onResume` / `on_resume` now raise `InvalidArgumentError` / `InvalidArgumentException` for a value outside their two literals, instead of silently resolving it to the other one. Both are resolved into a boolean before the request is built, so the value never reaches the API and a typo cannot be rejected server-side: `on_timeout="Pause"` previously resolved to `kill` and deleted the sandbox and its snapshot at timeout, and `on_resume="Reboot"` previously restored the memory the caller asked to skip. A nullish value still means "not configured" and leaves the choice to the API.diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.mdindex 6ce7f0c44..3b061162f 100644--- a/packages/cli/CHANGELOG.md+++ b/packages/cli/CHANGELOG.md@@ -1,5 +1,15 @@# @e2b/cli+## 2.18.2++### Patch Changes++- b8b4323: Skip the update check when the `NO_UPDATE_NOTIFIER` environment variable is set, so system package managers (for example Nix) can install the CLI without it suggesting updates they cannot apply. Help output now always names the program `e2b` instead of echoing the entrypoint file name.+- Updated dependencies [08efa36]+- Updated dependencies [6b759bf]+- Updated dependencies [58c81f1]+## 2.18.1### Patch Changesdiff --git a/packages/cli/package.json b/packages/cli/package.jsonindex f093fecdb..8830fb599 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,6 +1,6 @@{"name": "@e2b/cli",- "version": "2.18.1",+ "version": "2.18.2","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/desktop-python/uv.lock b/packages/desktop-python/uv.lockindex 9950a670b..fdb0e2474 100644--- a/packages/desktop-python/uv.lock+++ b/packages/desktop-python/uv.lock@@ -352,7 +352,7 @@ wheels = [[[package]]name = "e2b"-version = "2.47.0"+version = "2.48.0"source = { editable = "../python-sdk" }dependencies = [{ name = "attrs" },@@ -487,7 +487,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 = [diff --git a/packages/js-sdk/CHANGELOG.md b/packages/js-sdk/CHANGELOG.mdindex 97f145421..375d9f6d9 100644--- a/packages/js-sdk/CHANGELOG.md+++ b/packages/js-sdk/CHANGELOG.md@@ -1,5 +1,16 @@# e2b+## 2.48.0++### Minor Changes++- 08efa36: Add `httpsPorts` (JS) / `https_ports` (Python) to the sandbox network config. Ports listed there have their public URLs proxied to the sandbox over HTTPS — use it when the service listening on the port serves TLS itself. This is not TLS passthrough: traffic is still terminated at the E2B proxy and re-encrypted on the hop to the sandbox, and the backend certificate is not verified, so self-signed certificates work. The configured ports are also returned in the sandbox info network config.+- 6b759bf: Add `ServiceBusyError` (JavaScript) / `ServiceBusyException` (Python) for HTTP 503 responses: the API refused the operation because the service or the node running the sandbox is temporarily busy, the sandbox is unchanged, and the call can be retried. A refused `pause()` is the first case. The base `SandboxError` / `SandboxException` also carries the HTTP status as `statusCode` / `status_code` when the error came from an API response, so callers can branch on the status without parsing the message. Like `AuthenticationError` / `AuthenticationException`, the new class does not subclass the sandbox base error: it is raised for every 503 whatever the operation, so catch it explicitly.++### Patch Changes++- 58c81f1: `onTimeout` / `on_timeout` and `onResume` / `on_resume` now raise `InvalidArgumentError` / `InvalidArgumentException` for a value outside their two literals, instead of silently resolving it to the other one. Both are resolved into a boolean before the request is built, so the value never reaches the API and a typo cannot be rejected server-side: `on_timeout="Pause"` previously resolved to `kill` and deleted the sandbox and its snapshot at timeout, and `on_resume="Reboot"` previously restored the memory the caller asked to skip. A nullish value still means "not configured" and leaves the choice to the API.+## 2.47.0### Minor Changesdiff --git a/packages/js-sdk/package.json b/packages/js-sdk/package.jsonindex 4a02f912d..dfc5f951e 100644--- a/packages/js-sdk/package.json+++ b/packages/js-sdk/package.json@@ -1,6 +1,6 @@{"name": "e2b",- "version": "2.47.0",+ "version": "2.48.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 778b76305..ce941d5ee 100644--- a/packages/python-sdk/CHANGELOG.md+++ b/packages/python-sdk/CHANGELOG.md@@ -1,5 +1,16 @@# @e2b/python-sdk+## 2.48.0++### Minor Changes++- 08efa36: Add `httpsPorts` (JS) / `https_ports` (Python) to the sandbox network config. Ports listed there have their public URLs proxied to the sandbox over HTTPS — use it when the service listening on the port serves TLS itself. This is not TLS passthrough: traffic is still terminated at the E2B proxy and re-encrypted on the hop to the sandbox, and the backend certificate is not verified, so self-signed certificates work. The configured ports are also returned in the sandbox info network config.+- 6b759bf: Add `ServiceBusyError` (JavaScript) / `ServiceBusyException` (Python) for HTTP 503 responses: the API refused the operation because the service or the node running the sandbox is temporarily busy, the sandbox is unchanged, and the call can be retried. A refused `pause()` is the first case. The base `SandboxError` / `SandboxException` also carries the HTTP status as `statusCode` / `status_code` when the error came from an API response, so callers can branch on the status without parsing the message. Like `AuthenticationError` / `AuthenticationException`, the new class does not subclass the sandbox base error: it is raised for every 503 whatever the operation, so catch it explicitly.++### Patch Changes++- 58c81f1: `onTimeout` / `on_timeout` and `onResume` / `on_resume` now raise `InvalidArgumentError` / `InvalidArgumentException` for a value outside their two literals, instead of silently resolving it to the other one. Both are resolved into a boolean before the request is built, so the value never reaches the API and a typo cannot be rejected server-side: `on_timeout="Pause"` previously resolved to `kill` and deleted the sandbox and its snapshot at timeout, and `on_resume="Reboot"` previously restored the memory the caller asked to skip. A nullish value still means "not configured" and leaves the choice to the API.+## 2.47.0### Minor Changesdiff --git a/packages/python-sdk/package.json b/packages/python-sdk/package.jsonindex ec34c6d51..e9cb4f82a 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.47.0",+ "version": "2.48.0","scripts": {"test": "uv run pytest -n 4 --verbose -x","postVersion": "uv version $(pnpm pkg get version --workspaces=false | tr -d \\\")",diff --git a/packages/python-sdk/pyproject.toml b/packages/python-sdk/pyproject.tomlindex 74c755b91..a24687505 100644--- a/packages/python-sdk/pyproject.toml+++ b/packages/python-sdk/pyproject.toml@@ -1,6 +1,6 @@[project]name = "e2b"-version = "2.47.0"+version = "2.48.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 3f5db937c..2ed7610b7 100644--- a/packages/python-sdk/uv.lock+++ b/packages/python-sdk/uv.lock@@ -180,7 +180,7 @@ wheels = [[[package]]name = "e2b"-version = "2.47.0"+version = "2.48.0"source = { editable = "." }dependencies = [{ name = "attrs" },