e2b@2.56.0
E2B SDK v2.56.0 drops support for Node.js 20 (now requiring Node.js 22.19.0+) and upgrades to undici 8, replacing manual request caps with undici connection pooling.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Release 2.56.0 of the E2B SDK introduces major runtime and networking updates. Node.js 20 support has been discontinued; the package now requires Node.js 22.19.0 or newer. Dependency undici 7 is dropped in favor of undici@^8, which honors HTTP/2 SETTINGS MAX CONCURRENT STREAMS and manages multiplexing by opening additional connections when saturated. Consequently, SDK-level in-flight request limits are removed along with the environment variables E2B API INFLIGHT REQUESTS, E2B ENVD INFLIGHT REQUESTS, and E2B ENVD RPC INFLIGHT REQUESTS. Concurrency is now controlled through undici connection pools via E2B API CONNECTIONS and E2B ENVD RPC CONNECTIONS. Dependency @e2b/dockerfile-utils was updated to 0.1.1.
可执行摘要
e2b@2.56.0 introduces breaking changes: requires Node.js = 22.19.0, drops undici 7 in favor of undici@^8, and removes SDK-level in-flight request caps and their env vars (E2B API INFLIGHT REQUESTS, E2B ENVD INFLIGHT REQUESTS, E2B ENVD RPC INFLIGHT REQUESTS) in favor of connection pool settings (E2B API CONNECTIONS, E2B ENVD RPC CONNECTIONS).
- Agent 实用度
- 94/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade the runtime environment to Node.js 22.19.0 or newer.
- Remove deprecated environment variables: E2B API INFLIGHT REQUESTS, E2B ENVD INFLIGHT REQUESTS, and E2B ENVD RPC INFLIGHT REQUESTS.
- Configure concurrency using the new connection pool variables E2B API CONNECTIONS and E2B ENVD RPC CONNECTIONS if needed.