e2b@2.52.0
E2B 2.52.0 caps sandbox fork counts at 20, aligns template ignore patterns with Docker semantics, adds an HTTP version pin option, and expands control-plane request retry logic.
Why this signal matters
E2B released version 2.52.0 with several minor changes and fixes: - Client-side validation now limits Sandbox.fork() count between 1 and 20 across CLI, JS, and Python SDKs. - Template file-copy behavior now adheres strictly to Docker-style ignore matching: directory patterns recursively exclude subpaths, exclamation marks re-include paths, invalid patterns raise errors, and brace expansion is dropped (patterns now match literally). Directory sizes are removed from the file hash, meaning affected copy() steps will rebuild once. - Added an httpVersion / http version option (defaulting to "2", configurable to "1.1" or via E2B HTTP VERSION ) across the API, sandbox commands, filesystem, PTY, and volume requests. - Extended control-plane retries to include 502, 503, connection failures, and network errors for safe/idempotent operations using exponential backoff with jitter (honoring Retry-After). - Dependency bumps and internal cleanups across protobuf/OpenAPI clients and command handling.
Actionable summary
E2B 2.52.0 introduces client-side validation capping sandbox fork counts between 1 and 20, aligns .dockerignore and fileIgnorePatterns handling with Docker standards (affecting file hash and triggering rebuilds), adds HTTP/1.1 pinning via httpVersion or E2B HTTP VERSION, and expands automatic retries for 502/503 errors and network failures on idempotent requests.
- Agent usefulness
- 77/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Ensure any automated scripts calling Sandbox.fork() do not request counts greater than 20.
- Update JS fileIgnorePatterns that used brace expansion (e.g., / .{env,pem} ) to individual strings (e.g., / .env , / .pem ).
- Expect a one-time rebuild on template copy() steps due to the updated file hash calculation.
- Optionally set httpVersion: '1.1' or the E2B HTTP VERSION environment variable if pinned HTTP/1.1 connections are required.