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]33195ae1639a
diff --git a/.changeset/e2b-multi-client.md b/.changeset/e2b-multi-client.md
deleted file mode 100644
index 88304d8fb..000000000
--- a/.changeset/e2b-multi-client.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-'e2b': minor
-'@e2b/python-sdk': minor
----
-
-Add an `E2B` client that binds a connection config once and exposes the resource surfaces off it, so a single process can talk to several API keys, domains or deployments. The classes it exposes are per-client subclasses of the real `Sandbox`/`Volume`/`Template`/`Secret` classes, so they behave exactly like the top-level ones — per-call options still win over the client's options, which win over the environment variables. The named top-level exports are unchanged and keep reading the environment.
-
-Nothing existing changes: `Template` is now the `TemplateBase` class made callable as a factory, so `Template(...)`, the statics and `instanceof` keep working, and the default export is still `Sandbox`.
-
-```ts
-import { E2B } from 'e2b'
-
-const { Sandbox, Volume, Template, Secret } = new E2B({
- apiKey: 'e2b_***',
- domain: 'e2b.dev',
-})
-
-const sandbox = await Sandbox.create()
-const volume = await Volume.create('my-volume')
-const exists = await Template.exists('my-template')
-await Template.build(Template().fromPythonImage('3'), 'my-env')
-await Secret.create('openai-api-key', 'sk-***')
-```
-
-```python
-from e2b import E2B
-
-client = E2B(api_key="e2b_***", domain="e2b.dev")
-Sandbox, Volume, Template = client.Sandbox, client.Volume, client.Template
-Secret = client.Secret
-
-sandbox = Sandbox.create()
-volume = Volume.create("my-volume")
-exists = Template.exists("my-template")
-secret = Secret.create("openai-api-key", "sk-***")
-
-# Async variants are exposed too.
-AsyncSandbox = client.AsyncSandbox
-async_sandbox = await AsyncSandbox.create()
-```
diff --git a/packages/js-sdk/CHANGELOG.md b/packages/js-sdk/CHANGELOG.md
index 50cf57e67..15fa7542f 100644
--- a/packages/js-sdk/CHANGELOG.md
+++ b/packages/js-sdk/CHANGELOG.md
@@ -1,5 +1,45 @@
# e2b
+## 2.44.0
+
+### Minor Changes
+
+- 5759f17: Add an `E2B` client that binds a connection config once and exposes the resource surfaces off it, so a single process can talk to several API keys, domains or deployments. The classes it exposes are per-client subclasses of the real `Sandbox`/`Volume`/`Template`/`Secret` classes, so they behave exactly like the top-level ones — per-call options still win over the client's options, which win over the environment variables. The named top-level exports are unchanged and keep reading the environment.
+
+ Nothing existing changes: `Template` is now the `TemplateBase` class made callable as a factory, so `Template(...)`, the statics and `instanceof` keep working, and the default export is still `Sandbox`.
+
+ ```ts
+ import { E2B } from 'e2b'
+
+ const { Sandbox, Volume, Template, Secret } = new E2B({
+ apiKey: 'e2b_***',
+ domain: 'e2b.dev',
+ })
+
+ const sandbox = await Sandbox.create()
+ const volume = await Volume.create('my-volume')
+ const exists = await Template.exists('my-template')
+ await Template.build(Template().fromPythonImage('3'), 'my-env')
+ await Secret.create('openai-api-key', 'sk-***')
+ ```
+
+ ```python
+ from e2b import E2B
+
+ client = E2B(api_key="e2b_***", domain="e2b.dev")
+ Sandbox, Volume, Template = client.Sandbox, client.Volume, client.Template
+ Secret = client.Secret
+
+ sandbox = Sandbox.create()
+ volume = Volume.create("my-volume")
+ exists = Template.exists("my-template")
+ secret = Secret.create("openai-api-key", "sk-***")
+
+ # Async variants are exposed too.
+ AsyncSandbox = client.AsyncSandbox
+ async_sandbox = await AsyncSandbox.create()
+ ```
+
## 2.43.0
### Minor Changes
diff --git a/packages/js-sdk/package.json b/packages/js-sdk/package.json
index 43e5ad1cf..f444e1b4b 100644
--- a/packages/js-sdk/package.json
+++ b/packages/js-sdk/package.json
@@ -1,6 +1,6 @@
{
"name": "e2b",
- "version": "2.43.0",
+ "version": "2.44.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 5a9eb3d93..d57ca4544 100644
--- a/packages/python-sdk/CHANGELOG.md
+++ b/packages/python-sdk/CHANGELOG.md
@@ -1,5 +1,45 @@
# @e2b/python-sdk
+## 2.44.0
+
+### Minor Changes
+
+- 5759f17: Add an `E2B` client that binds a connection config once and exposes the resource surfaces off it, so a single process can talk to several API keys, domains or deployments. The classes it exposes are per-client subclasses of the real `Sandbox`/`Volume`/`Template`/`Secret` classes, so they behave exactly like the top-level ones — per-call options still win over the client's options, which win over the environment variables. The named top-level exports are unchanged and keep reading the environment.
+
+ Nothing existing changes: `Template` is now the `TemplateBase` class made callable as a factory, so `Template(...)`, the statics and `instanceof` keep working, and the default export is still `Sandbox`.
+
+ ```ts
+ import { E2B } from 'e2b'
+
+ const { Sandbox, Volume, Template, Secret } = new E2B({
+ apiKey: 'e2b_***',
+ domain: 'e2b.dev',
+ })
+
+ const sandbox = await Sandbox.create()
+ const volume = await Volume.create('my-volume')
+ const exists = await Template.exists('my-template')
+ await Template.build(Template().fromPythonImage('3'), 'my-env')
+ await Secret.create('openai-api-key', 'sk-***')
+ ```
+
+ ```python
+ from e2b import E2B
+
+ client = E2B(api_key="e2b_***", domain="e2b.dev")
+ Sandbox, Volume, Template = client.Sandbox, client.Volume, client.Template
+ Secret = client.Secret
+
+ sandbox = Sandbox.create()
+ volume = Volume.create("my-volume")
+ exists = Template.exists("my-template")
+ secret = Secret.create("openai-api-key", "sk-***")
+
+ # Async variants are exposed too.
+ AsyncSandbox = client.AsyncSandbox
+ async_sandbox = await AsyncSandbox.create()
+ ```
+
## 2.43.0
### Minor Changes
diff --git a/packages/python-sdk/package.json b/packages/python-sdk/package.json
index 0b5e7bd3b..5f8eed98b 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.43.0",
+ "version": "2.44.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 0dc351a09..eef1326bd 100644
--- a/packages/python-sdk/pyproject.toml
+++ b/packages/python-sdk/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "e2b"
-version = "2.43.0"
+version = "2.44.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 333991b92..53e7e409f 100644
--- a/packages/python-sdk/uv.lock
+++ b/packages/python-sdk/uv.lock
@@ -183,7 +183,7 @@ wheels = [
[[package]]
name = "e2b"
-version = "2.43.0"
+version = "2.44.0"
source = { editable = "." }
dependencies = [
{ name = "attrs" },