Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

[skip ci] Release new versions

github-actions[bot]d42686d982f7
diff --git a/.changeset/cli-drop-e2b-toml.md b/.changeset/cli-drop-e2b-toml.md
deleted file mode 100644
index 4644e824c..000000000
--- a/.changeset/cli-drop-e2b-toml.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@e2b/cli': minor
----
-
-Stop reading `e2b.toml` in `sandbox create`, `template delete` and `template publish`/`unpublish`, and remove their `--config` and `--path` options. Templates must now be passed as an argument or picked interactively with `-s`. `template migrate` is unchanged and remains the only command that reads `e2b.toml`.
diff --git a/.changeset/cli-exec-passthrough-options.md b/.changeset/cli-exec-passthrough-options.md
deleted file mode 100644
index cb959975b..000000000
--- a/.changeset/cli-exec-passthrough-options.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@e2b/cli': patch
----
-
-Pass flags following the command in `e2b sandbox exec` to the remote command instead of parsing them as CLI options
diff --git a/.changeset/code-interpreting-resolved-path.md b/.changeset/code-interpreting-resolved-path.md
deleted file mode 100644
index 24664a138..000000000
--- a/.changeset/code-interpreting-resolved-path.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'e2b': patch
-'@e2b/python-sdk': patch
----
-
-Point the two Code Interpreter README links at `code-interpreting/analyze-data-with-ai` instead of the `code-interpreting` section index. The index has no landing page and 307s to that article, dropping the query string on the way, so the UTM parameters were lost before the reader arrived. Linking at the resolved path keeps them.
diff --git a/.changeset/dependency-updates.md b/.changeset/dependency-updates.md
deleted file mode 100644
index a9a80213c..000000000
--- a/.changeset/dependency-updates.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@e2b/cli': patch
-'e2b': patch
----
-
-Update runtime dependencies: `tar` 7.5.22 and `@bufbuild/protobuf` 2.14.0 in the JS SDK, `statuses` 2.0.2, `async-listen` 3.1.0 and `yup` 1.7.1 in the CLI. No behavior change.
diff --git a/.changeset/detached-sandbox-create-prints-id.md b/.changeset/detached-sandbox-create-prints-id.md
deleted file mode 100644
index 78b96943a..000000000
--- a/.changeset/detached-sandbox-create-prints-id.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@e2b/cli': patch
----
-
-`e2b sandbox create --detach` now prints only the sandbox ID to stdout; the dashboard inspect link and other informational output go to stderr so the ID is easily parseable (e.g. `SBX=$(e2b sandbox create -d)`).
diff --git a/.changeset/docs-subdomain-links.md b/.changeset/docs-subdomain-links.md
deleted file mode 100644
index 8cebc49f6..000000000
--- a/.changeset/docs-subdomain-links.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'e2b': patch
-'@e2b/cli': patch
-'@e2b/python-sdk': patch
----
-
-Point the README documentation links at `docs.e2b.dev` instead of `e2b.dev/docs`. The docs site moved to its own subdomain and has no `/docs` path prefix there, so `e2b.dev/docs` serves a 308 to `docs.e2b.dev/` and `e2b.dev/docs/code-interpreting` maps to `docs.e2b.dev/code-interpreting`. The UTM parameters are unchanged and survived the redirect, so this removes a redirect hop rather than fixing broken attribution.
diff --git a/.changeset/egress-proxy-guard-and-null-credentials.md b/.changeset/egress-proxy-guard-and-null-credentials.md
deleted file mode 100644
index 80f714f93..000000000
--- a/.changeset/egress-proxy-guard-and-null-credentials.md
+++ /dev/null
@@ -1,41 +0,0 @@
----
-'@e2b/python-sdk': patch
-'e2b': patch
----
-
-Fix two `network.egressProxy` / `network["egress_proxy"]` cases an untyped caller reaches.
-
-The JS SDK had no shape guard: `buildEgressProxyBody` rebuilds the body from the known fields, so an `address` that was missing or not a string vanished and the caller got an API error about a config they never wrote (`{"egressProxy":{}}`). It now raises `InvalidArgumentError` naming the option, the way the Python SDK already did:
-
-```ts
-// InvalidArgumentError: network egressProxy must be an object with a string
-// 'address' (e.g. 'proxy.example.com:1080').
-await Sandbox.create({
- network: { egressProxy: 'proxy.example.com:1080' as never },
-})
-```
-
-A `null` / `None` username or password is now treated as absent instead of being serialized as a JSON null the API rejects — reading a credential out of an unset environment variable is how a caller lands there, and it means the proxy takes no credentials:
-
-```ts
-await Sandbox.create({
- network: {
- egressProxy: {
- address: 'proxy.example.com:1080',
- // Unset in the environment; the proxy takes no credentials.
- username: process.env.PROXY_USER,
- },
- },
-})
-```
-
-```python
-Sandbox.create(
- network={
- "egress_proxy": {
- "address": "proxy.example.com:1080",
- "username": os.environ.get("PROXY_USER"),
- },
- },
-)
-```
diff --git a/.changeset/plenty-donuts-argue.md b/.changeset/plenty-donuts-argue.md
deleted file mode 100644
index 917e3720b..000000000
--- a/.changeset/plenty-donuts-argue.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'e2b': minor
-'@e2b/python-sdk': minor
----
-
-Remove client-side API key format validation. The SDK no longer checks that the API key matches the `e2b_` hex format — only that a key is present. The `validateApiKey`/`validate_api_key` option is deprecated and has no effect, and the `E2B_VALIDATE_API_KEY` environment variable is no longer read. The server remains the source of truth for key validity.
diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md
index 31d2f8194..7f55768de 100644
--- a/packages/cli/CHANGELOG.md
+++ b/packages/cli/CHANGELOG.md
@@ -1,5 +1,24 @@
# @e2b/cli
+## 2.18.0
+
+### Minor Changes
+
+- 3b599b8: Stop reading `e2b.toml` in `sandbox create`, `template delete` and `template publish`/`unpublish`, and remove their `--config` and `--path` options. Templates must now be passed as an argument or picked interactively with `-s`. `template migrate` is unchanged and remains the only command that reads `e2b.toml`.
+
+### Patch Changes
+
+- 587c15f: Pass flags following the command in `e2b sandbox exec` to the remote command instead of parsing them as CLI options
+- 8943d6f: Update runtime dependencies: `tar` 7.5.22 and `@bufbuild/protobuf` 2.14.0 in the JS SDK, `statuses` 2.0.2, `async-listen` 3.1.0 and `yup` 1.7.1 in the CLI. No behavior change.
+- 3202fad: `e2b sandbox create --detach` now prints only the sandbox ID to stdout; the dashboard inspect link and other informational output go to stderr so the ID is easily parseable (e.g. `SBX=$(e2b sandbox create -d)`).
+- 182b498: Point the README documentation links at `docs.e2b.dev` instead of `e2b.dev/docs`. The docs site moved to its own subdomain and has no `/docs` path prefix there, so `e2b.dev/docs` serves a 308 to `docs.e2b.dev/` and `e2b.dev/docs/code-interpreting` maps to `docs.e2b.dev/code-interpreting`. The UTM parameters are unchanged and survived the redirect, so this removes a redirect hop rather than fixing broken attribution.
+- Updated dependencies [67c06e0]
+- Updated dependencies [8943d6f]
+- Updated dependencies [182b498]
+- Updated dependencies [b802997]
+- Updated dependencies [9d1c90d]
+
## 2.17.1
### Patch Changes
diff --git a/packages/cli/package.json b/packages/cli/package.json
index 536a1dfec..a2da8de42 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@e2b/cli",
- "version": "2.17.1",
+ "version": "2.18.0",
"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/js-sdk/CHANGELOG.md b/packages/js-sdk/CHANGELOG.md
index 4fa1dbad2..a52abc237 100644
--- a/packages/js-sdk/CHANGELOG.md
+++ b/packages/js-sdk/CHANGELOG.md
@@ -1,5 +1,53 @@
# e2b
+## 2.46.0
+
+### Minor Changes
+
+- 9d1c90d: Remove client-side API key format validation. The SDK no longer checks that the API key matches the `e2b_` hex format — only that a key is present. The `validateApiKey`/`validate_api_key` option is deprecated and has no effect, and the `E2B_VALIDATE_API_KEY` environment variable is no longer read. The server remains the source of truth for key validity.
+
+### Patch Changes
+
+- 67c06e0: Point the two Code Interpreter README links at `code-interpreting/analyze-data-with-ai` instead of the `code-interpreting` section index. The index has no landing page and 307s to that article, dropping the query string on the way, so the UTM parameters were lost before the reader arrived. Linking at the resolved path keeps them.
+- 8943d6f: Update runtime dependencies: `tar` 7.5.22 and `@bufbuild/protobuf` 2.14.0 in the JS SDK, `statuses` 2.0.2, `async-listen` 3.1.0 and `yup` 1.7.1 in the CLI. No behavior change.
+- 182b498: Point the README documentation links at `docs.e2b.dev` instead of `e2b.dev/docs`. The docs site moved to its own subdomain and has no `/docs` path prefix there, so `e2b.dev/docs` serves a 308 to `docs.e2b.dev/` and `e2b.dev/docs/code-interpreting` maps to `docs.e2b.dev/code-interpreting`. The UTM parameters are unchanged and survived the redirect, so this removes a redirect hop rather than fixing broken attribution.
+- b802997: Fix two `network.egressProxy` / `network["egress_proxy"]` cases an untyped caller reaches.
+
+ The JS SDK had no shape guard: `buildEgressProxyBody` rebuilds the body from the known fields, so an `address` that was missing or not a string vanished and the caller got an API error about a config they never wrote (`{"egressProxy":{}}`). It now raises `InvalidArgumentError` naming the option, the way the Python SDK already did:
+
+ ```ts
+ // InvalidArgumentError: network egressProxy must be an object with a string
+ // 'address' (e.g. 'proxy.example.com:1080').
+ await Sandbox.create({
+ network: { egressProxy: 'proxy.example.com:1080' as never },
+ })
+ ```
+
+ A `null` / `None` username or password is now treated as absent instead of being serialized as a JSON null the API rejects — reading a credential out of an unset environment variable is how a caller lands there, and it means the proxy takes no credentials:
+
+ ```ts
+ await Sandbox.create({
+ network: {
+ egressProxy: {
+ address: 'proxy.example.com:1080',
+ // Unset in the environment; the proxy takes no credentials.
+ username: process.env.PROXY_USER,
+ },
+ },
+ })
+ ```
+
+ ```python
+ Sandbox.create(
+ network={
+ "egress_proxy": {
+ "address": "proxy.example.com:1080",
+ "username": os.environ.get("PROXY_USER"),
+ },
+ },
+ )
+ ```
+
## 2.45.0
### Minor Changes
diff --git a/packages/js-sdk/package.json b/packages/js-sdk/package.json
index 2465ab5c1..fb0a35b7d 100644
--- a/packages/js-sdk/package.json
+++ b/packages/js-sdk/package.json
@@ -1,6 +1,6 @@
{
"name": "e2b",
- "version": "2.45.0",
+ "version": "2.46.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.md
index a49513fc1..08495f511 100644
--- a/packages/python-sdk/CHANGELOG.md
+++ b/packages/python-sdk/CHANGELOG.md
@@ -1,5 +1,52 @@
# @e2b/python-sdk
+## 2.46.0
+
+### Minor Changes
+
+- 9d1c90d: Remove client-side API key format validation. The SDK no longer checks that the API key matches the `e2b_` hex format — only that a key is present. The `validateApiKey`/`validate_api_key` option is deprecated and has no effect, and the `E2B_VALIDATE_API_KEY` environment variable is no longer read. The server remains the source of truth for key validity.
+
+### Patch Changes
+
+- 67c06e0: Point the two Code Interpreter README links at `code-interpreting/analyze-data-with-ai` instead of the `code-interpreting` section index. The index has no landing page and 307s to that article, dropping the query string on the way, so the UTM parameters were lost before the reader arrived. Linking at the resolved path keeps them.
+- 182b498: Point the README documentation links at `docs.e2b.dev` instead of `e2b.dev/docs`. The docs site moved to its own subdomain and has no `/docs` path prefix there, so `e2b.dev/docs` serves a 308 to `docs.e2b.dev/` and `e2b.dev/docs/code-interpreting` maps to `docs.e2b.dev/code-interpreting`. The UTM parameters are unchanged and survived the redirect, so this removes a redirect hop rather than fixing broken attribution.
+- b802997: Fix two `network.egressProxy` / `network["egress_proxy"]` cases an untyped caller reaches.
+
+ The JS SDK had no shape guard: `buildEgressProxyBody` rebuilds the body from the known fields, so an `address` that was missing or not a string vanished and the caller got an API error about a config they never wrote (`{"egressProxy":{}}`). It now raises `InvalidArgumentError` naming the option, the way the Python SDK already did:
+
+ ```ts
+ // InvalidArgumentError: network egressProxy must be an object with a string
+ // 'address' (e.g. 'proxy.example.com:1080').
+ await Sandbox.create({
+ network: { egressProxy: 'proxy.example.com:1080' as never },
+ })
+ ```
+
+ A `null` / `None` username or password is now treated as absent instead of being serialized as a JSON null the API rejects — reading a credential out of an unset environment variable is how a caller lands there, and it means the proxy takes no credentials:
+
+ ```ts
+ await Sandbox.create({
+ network: {
+ egressProxy: {
+ address: 'proxy.example.com:1080',
+ // Unset in the environment; the proxy takes no credentials.
+ username: process.env.PROXY_USER,
+ },
+ },
+ })
+ ```
+
+ ```python
+ Sandbox.create(
+ network={
+ "egress_proxy": {
+ "address": "proxy.example.com:1080",
+ "username": os.environ.get("PROXY_USER"),
+ },
+ },
+ )
+ ```
+
## 2.45.1
### Patch Changes
diff --git a/packages/python-sdk/package.json b/packages/python-sdk/package.json
index 49ed077b2..2667962c1 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.45.1",
+ "version": "2.46.0",
"scripts": {
"example": "uv run python example.py",
"test": "uv run pytest -n 4 --verbose -x",
diff --git a/packages/python-sdk/pyproject.toml b/packages/python-sdk/pyproject.toml
index dfe65aafe..3184695f8 100644
--- a/packages/python-sdk/pyproject.toml
+++ b/packages/python-sdk/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "e2b"
-version = "2.45.1"
+version = "2.46.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.lock
index 6c0225fd3..c81162024 100644
--- a/packages/python-sdk/uv.lock
+++ b/packages/python-sdk/uv.lock
@@ -183,7 +183,7 @@ wheels = [
[[package]]
name = "e2b"
-version = "2.45.1"
+version = "2.46.0"
source = { editable = "." }
dependencies = [
{ name = "attrs" },
@@ -281,7 +281,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 = [