Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -4656,6 +4656,13 @@
"source": "openapi-public.yml",
"directory": "docs/api-reference"
}
},
{
"anchor": "Changelog",
"icon": "clock-rotate-left",
"pages": [
"docs/changelog"
]
}
],
"global": {}
Expand Down
50 changes: 50 additions & 0 deletions docs/changelog.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
title: "Changelog"
sidebarTitle: Changelog
description: "Product updates and new releases from E2B."
---

<Update label="2026-07-06" description="Week of June 29 – July 6, 2026">

## New features

**Filter snapshots by name**

`GET /snapshots` now accepts an optional `name` query parameter, mirroring the metadata filter on sandbox listing. You can pass a bare alias (`my-snapshot`), the namespaced form (`my-team/my-snapshot`), the raw snapshot ID, or add a `:tag` suffix to filter to a specific successful build. This makes it practical to look up a snapshot without paginating the full list. See [Sandbox persistence](/docs/sandbox/persistence).

Check warning on line 13 in docs/changelog.mdx

View check run for this annotation

Mintlify / Mintlify Validation (e2b) - vale-spellcheck

docs/changelog.mdx#L13

Did you really mean 'namespaced'?

**CLI overrides for `template migrate`**

`e2b template migrate` now accepts `--name`, `--cmd`, `--ready-cmd`, `--cpu-count`, and `--memory-mb` flags to override values from `e2b.toml` when generating SDK build files. Omitted flags still fall back to the config, so you can migrate the same template into multiple variants without editing the config. See the [V2 template migration guide](/docs/migration/template-v2).

**Gzip option for template copy layer**

Check warning on line 19 in docs/changelog.mdx

View check run for this annotation

Mintlify / Mintlify Validation (e2b) - vale-spellcheck

docs/changelog.mdx#L19

Did you really mean 'Gzip'?

The JavaScript SDK's template `copy` layer now accepts a `gzip` option so build-context uploads can be transparently gzip-compressed, reducing bandwidth for large source trees.

## Updates

**Template name validation aligned with the server**

The CLI now applies a single validation rule across `template init`, `template create`, and `template migrate` that matches the server: lowercase letters, numbers, dashes, and underscores (leading/trailing allowed), capped at 128 characters. Names are trimmed and lowercased automatically, so uppercase input is normalized instead of rejected.

Check warning on line 27 in docs/changelog.mdx

View check run for this annotation

Mintlify / Mintlify Validation (e2b) - vale-spellcheck

docs/changelog.mdx#L27

Did you really mean 'lowercased'?

**Numeric CLI flags fail fast**

`template create` and `template migrate` now reject non-numeric `--cpu-count` and `--memory-mb` values at parse time with a clear error, instead of silently dropping the field from the generated build. `--memory-mb` must also be an even number.

**Access token authentication deprecated in the API**

The OpenAPI spec now marks access token authentication as deprecated. Use API keys for programmatic access; the CLI already uses an OAuth login flow for interactive sign-in. See [Access token deprecation](/docs/migration/access-token-deprecation).

**Better errors from the API**

Internal timeouts are no longer misclassified as user cancellations, so failing requests surface a more accurate error class. A related fix corrects error reporting in custom-error handling paths.

## Bug fixes

- Fixed a Python SDK issue where colon-separated SGR escape codes in template build logs were not stripped, leaving raw ANSI sequences in output.
- Fixed the Python CLI's generated build scripts to use absolute imports, so migrated templates run correctly regardless of the caller's working directory.
- Fixed handling of corrupted `stop time` values in sandbox records so listings no longer fail on bad data, and clamped sandbox duration to guard against out-of-range values.
- Corrected the `Sandbox.list()` docstring in the Python SDK to note that paused sandboxes are also included.

Check warning on line 46 in docs/changelog.mdx

View check run for this annotation

Mintlify / Mintlify Validation (e2b) - vale-spellcheck

docs/changelog.mdx#L46

Did you really mean 'docstring'?
- Patched security vulnerabilities by upgrading the Go toolchain (CVE-2026-42504) and Redis (CVE-2025-49844) in the platform.

Check warning on line 47 in docs/changelog.mdx

View check run for this annotation

Mintlify / Mintlify Validation (e2b) - vale-spellcheck

docs/changelog.mdx#L47

Did you really mean 'toolchain'?

</Update>

Loading