pypi / e2b
e2b
What changed in e2b 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
5 breaking2 deprecations4 new APIs and options
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli inite2b 211 changes
Breaking changes 5
This environment variable is removed along with the SDK-level in-flight request cap.
This environment variable is removed along with the SDK-level in-flight request cap.
This environment variable is removed along with the SDK-level in-flight request cap.
The SDK requires Node.js 22.19.0 or newer; Node.js 20 is no longer supported.
The SDK-level in-flight request cap is removed; concurrency is governed by undici's connection pools.
Deprecations 2
The keepMemory option is deprecated in favor of mode; it continues to work, but passing both options raises an invalid-argument error.
The keepMemory option is deprecated in favor of mode; it continues to work, but passing both options raises an invalid-argument error.
New APIs and options 4
Accepts full or filesystem snapshot mode; filesystem snapshots persist only the filesystem and produce smaller, faster snapshots whose sandboxes cold-boot.
Accepts full or filesystem snapshot mode; filesystem snapshots persist only the filesystem and produce smaller, faster snapshots whose sandboxes cold-boot.
The pause object form accepts snapshot mode; filesystem mode persists only the filesystem, so sandboxes created from it cold-boot instead of restoring memory.
Accepts the snapshot mode; filesystem mode persists only the filesystem, so sandboxes created from it cold-boot instead of restoring memory.