e2b@2.51.0
E2B 2.51.0 delegates default configurations to the API, switches create and connect calls to v2 endpoints, and deprecates the secure option.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
E2B release 2.51.0 updates SDK request handling by eliminating client-side default values so omitted options fall back to backend API defaults. Affected presets include 5-minute timeouts on sandbox create/fork/connect, count: 1 on fork, internet access on create, keeping memory on pause, and CPU/memory on template builds. Sandbox create and connect operations now target v2 endpoints (POST /v2/sandboxes and POST /v2/sandboxes/{id}/connect), which apply a 5-minute timeout default and automatically enforce secure envd access. Consequently, the secure option on Sandbox.create is deprecated and ignored. Additionally, client-side validation for the fork count parameter has been removed in favor of API-side validation.
可执行摘要
E2B version 2.51.0 removes SDK-side defaults (timeout, fork count, internet access, pause memory, template CPU/memory), migrates Sandbox create/connect to v2 endpoints (enforcing secure envd by default), and deprecates the secure option in Sandbox.create .
- Agent 实用度
- 82/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Remove the deprecated secure parameter from Sandbox.create invocations.
- Verify whether any workflows rely on previous SDK-side defaults for sandbox creation, forking, pausing, or template builds, and supply explicit values if backend defaults differ from requirements.
- Ensure client-side error handling accounts for API-level validation failures when specifying fork counts.