From 11cf2b221dbf5c1f13e8a786e9e7ffc718d01b61 Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Mon, 16 Mar 2026 13:49:33 +0000 Subject: [PATCH] Add changelog for week of March 16, 2026 Generated-By: mintlify-agent --- changelog/2026-03-16.mdx | 55 ++++++++++++++++++++++++++++++++++++++++ docs.json | 12 +++++++++ 2 files changed, 67 insertions(+) create mode 100644 changelog/2026-03-16.mdx diff --git a/changelog/2026-03-16.mdx b/changelog/2026-03-16.mdx new file mode 100644 index 00000000..384c1417 --- /dev/null +++ b/changelog/2026-03-16.mdx @@ -0,0 +1,55 @@ +--- +title: "Changelog" +description: "New features, updates, and fixes for the E2B platform." +--- + + +## Sandbox snapshots + +You can now create persistent point-in-time captures of a running sandbox, including both filesystem and memory state. Use a snapshot to spawn new sandboxes that start from the exact same state — great for creating reusable checkpoints across multiple sandbox instances. + +Available in both the JavaScript and Python SDKs. [Learn more about snapshots](/docs/sandbox/snapshots). + +## Lifecycle configuration and AutoResume + +The new `lifecycle` option on `Sandbox.create` lets you control what happens when a sandbox times out. Set `onTimeout` to `pause` instead of `kill`, and enable `autoResume` so paused sandboxes automatically wake up when traffic arrives. + +This replaces the previous `betaPause` / `beta_pause` API. [See the AutoResume docs](/docs/sandbox/auto-resume). + +## CLI pause and resume commands + +You can now pause and resume sandboxes directly from the CLI: + +```bash +e2b sandbox pause +e2b sandbox resume +``` + +## Template tags API + +A new `getTags` (JS) / `get_tags` (Python) method lets you list all tags for a template, returning each tag's name, build ID, and creation date. [Read more about template tags](/docs/template/tags). + +## Recursive directory listing + +The `listDir` filesystem method now supports a `depth` parameter (1–10) for recursively listing subdirectory contents in a single call. [See the filesystem docs](/docs/filesystem). + +## CLI piping support + +The E2B CLI now supports piping, so you can compose commands with other tools in your shell workflows. + +--- + +## Updates + +- **CLI sandbox list now has a default limit.** The `sandbox list` command defaults to returning up to 1,000 results. Pass `--limit 0` for no limit. A note is printed when results are truncated. +- **API timeout responses changed from 503 to 408.** Requests that exceed the server timeout now return `408 Request Timeout` instead of `503 Service Unavailable`, making it easier to distinguish timeouts from server errors. + +## Bug fixes + +- **Dotfiles included in template uploads.** Files like `.env` and `.gitignore` are now correctly included when uploading template files. Previously, glob defaults excluded dotfiles. +- **Python SDK async transport fix.** The async HTTP transport is now scoped per event loop, fixing errors when `asyncio.run()` is called multiple times or from different threads. +- **JS SDK `listSandboxes` pagination fix.** Fixed a bug where passing a `limit` to `listSandboxes` could cause the SDK to paginate through all results instead of stopping at the requested count. +- **JS SDK sandbox headers in self-hosted environments.** Sandbox headers are now correctly passed to the internal API client, fixing sandbox creation failures in self-hosted setups. +- **Clearer error messages.** The `set_timeout` error message no longer incorrectly references "Paused" when a sandbox is not found. + + diff --git a/docs.json b/docs.json index 41ff2fea..c04458d0 100644 --- a/docs.json +++ b/docs.json @@ -3613,6 +3613,18 @@ ] } ] + }, + { + "anchor": "Changelog", + "icon": "clock-rotate-left", + "groups": [ + { + "group": "Changelog", + "pages": [ + "changelog/2026-03-16" + ] + } + ] } ], "global": {}