e2b@2.51.0
E2B 2.51.0 shifts default handling to the server by removing SDK-side request defaults, adopts v2 sandbox endpoints, and deprecates the secure option on Sandbox.create .
Why this signal matters
E2B release v2.51.0 introduces minor and patch changes focused on delegating default configurations and validation to the API backend. Key updates include: - Removal of client-side request defaults: SDK omissions for create/fork/connect timeout (previously 5m), fork count (previously 1), internet access allowance, memory retention during pause, and template build CPU/memory specs are no longer populated client-side; explicit values continue to be passed unchanged. - Adoption of v2 API endpoints: Sandbox.create and connect now hit POST /v2/sandboxes and POST /v2/sandboxes/{id}/connect . These endpoints default timeout to 5 minutes and always secure envd access. - Deprecation: The secure option in Sandbox.create is deprecated and ignored because all sandboxes are now secured by default. - Validation update: Client-side validation for the fork count argument has been removed; validation and rejection of invalid counts are now executed directly by the API.
Actionable summary
E2B version 2.51.0 removes SDK-side defaults for timeout, fork count, internet access, memory retention on pause, and template build CPU/memory, letting the backend handle defaults. Sandbox create and connect migrate to v2 endpoints ( POST /v2/sandboxes and POST /v2/sandboxes/{id}/connect ), which enforce secured envd access and default timeouts. The secure parameter in Sandbox.create is deprecated and ignored, and…
- Agent usefulness
- 94/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Remove references to the deprecated secure option in Sandbox.create calls.
- Verify that workflows relying on omitted parameters properly accommodate the API-side default behaviors for timeouts, fork counts, internet access, and pause states.
- Handle API-level validation errors for invalid fork counts, as client-side pre-validation is removed.