# What changed in e2b

> 11 changes in e2b 2 from its official release notes, upgrade guides and advisories: 5 breaking, 2 deprecations, 4 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/pypi/e2b/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## e2b 2

### Breaking changes

- This environment variable is removed along with the SDK-level in-flight request cap. (2.56.0) — [release notes](https://github.com/e2b-dev/E2B/releases/tag/e2b%402.56.0)
- This environment variable is removed along with the SDK-level in-flight request cap. (2.56.0) — [release notes](https://github.com/e2b-dev/E2B/releases/tag/e2b%402.56.0)
- This environment variable is removed along with the SDK-level in-flight request cap. (2.56.0) — [release notes](https://github.com/e2b-dev/E2B/releases/tag/e2b%402.56.0)
- The SDK requires Node.js 22.19.0 or newer; Node.js 20 is no longer supported. (2.56.0) — [release notes](https://github.com/e2b-dev/E2B/releases/tag/e2b%402.56.0)
- The SDK-level in-flight request cap is removed; concurrency is governed by undici's connection pools. (2.56.0) — [release notes](https://github.com/e2b-dev/E2B/releases/tag/e2b%402.56.0)

### Deprecations

- The keepMemory option is deprecated in favor of mode; it continues to work, but passing both options raises an invalid-argument error. (2.55.0) — [release notes](https://github.com/e2b-dev/E2B/releases/tag/e2b%402.55.0)
- The keepMemory option is deprecated in favor of mode; it continues to work, but passing both options raises an invalid-argument error. (2.55.0) — [release notes](https://github.com/e2b-dev/E2B/releases/tag/e2b%402.55.0)

### New APIs and options

- Accepts full or filesystem snapshot mode; filesystem snapshots persist only the filesystem and produce smaller, faster snapshots whose sandboxes cold-boot. (2.55.0) — [release notes](https://github.com/e2b-dev/E2B/releases/tag/e2b%402.55.0)
- Accepts full or filesystem snapshot mode; filesystem snapshots persist only the filesystem and produce smaller, faster snapshots whose sandboxes cold-boot. (2.55.0) — [release notes](https://github.com/e2b-dev/E2B/releases/tag/e2b%402.55.0)
- The pause object form accepts snapshot mode; filesystem mode persists only the filesystem, so sandboxes created from it cold-boot instead of restoring memory. (2.55.0) — [release notes](https://github.com/e2b-dev/E2B/releases/tag/e2b%402.55.0)
- Accepts the snapshot mode; filesystem mode persists only the filesystem, so sandboxes created from it cold-boot instead of restoring memory. (2.55.0) — [release notes](https://github.com/e2b-dev/E2B/releases/tag/e2b%402.55.0)
