e2b@2.33.0
Minor Changes
- 09e12b3: Replace the per-call
integrationconnection option with a set-once, process-wideConnectionConfig.setIntegration()(JS) /ConnectionConfig.set_integration()(Python). Integrations wrapping the SDK call it once at startup and every request is attributed via theUser-Agentheader — no more threading the option through individual SDK calls. The method is internal and hidden from docs. Theintegrationoption onConnectionConfigOpts(JS) and theintegrationkeyword argument onConnectionConfig(Python) are removed;ConnectionConfigOptsremains as a deprecated alias ofConnectionOpts. In both SDKs, an explicitly providedUser-Agentheader now always takes precedence over the SDK-built one, while SDK-built values are recomputed whenever a config is rebuilt so they always reflect the current integration.
Patch Changes
-
e6c4e7e: Move the Connect/Protobuf runtime dependencies off the
2.0.0-rc.3pre-release pin to the stable line:@connectrpc/connectand@connectrpc/connect-webupgrade to^2.1.2, and@bufbuild/protobufupgrades from^2.6.2to^2.12.1. No public API changes — the sandbox filesystem and command RPCs continue to use the same Connect transport configuration. -
49367c8: Switch the build tooling from
tsuptotsdown. The published artifacts are unchanged: the SDK still shipsdist/index.js(CJS),dist/index.mjs(ESM) anddist/index.d.ts/dist/index.d.mts, and the CLI still ships an executabledist/index.jswith itsdist/templates.engines.nodefor both packages is set to>=20.18.1 <21 || >=22(Node 20.18.1+, or 22 and above — keeping the minimum required byundiciwhile excluding the end-of-life Node 21 line).