| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| e2b@2.36.0 source code.tar.gz | 2026-07-24 | 1.7 MB | |
| e2b@2.36.0 source code.zip | 2026-07-24 | 2.2 MB | |
| README.md | 2026-07-24 | 3.4 kB | |
| Totals: 3 Items | 3.9 MB | 0 | |
Minor Changes
- 4fcf7cb: Add
FileType.SYMLINKto the sandbox filesystem types. Newer envd versions report symlinks with a dedicatedFILE_TYPE_SYMLINKentry type; previously the SDKs treated it as unknown, sofiles.list()silently omitted symlink entries andgetInfo()/get_info()returned anundefined/Nonetype for them. Symlinks now surface asFileType.SYMLINK('symlink') withsymlinkTarget/symlink_targetpopulated, in JS and both sync and async Python.
Patch Changes
- 3f46d56: Select template build-step stack-trace frames by SDK boundary instead of fixed depth. The caller's frame is now the first one whose file lies outside the SDK package, so traces stay correct when transpilers inject extra frames (e.g. TS class-field initializers) or runtimes elide delegating frames (e.g. Bun's tail-call elision). The suppress/override stack-trace collection machinery this made redundant (
runInNewStackTraceContext,runInStackTraceOverrideContextand their Python equivalents) is removed. - 1ae3f92: Recognize Cloudflare Workers'
Network connection lostas a dropped sandbox connection so a sandbox killed mid-request surfaces as the health-checkedTimeoutError(matching Node/Bun/Deno), and fix streaming downloads releasing their pooled connection twice when cancelled while a read was in flight - 9ee4414: Fix template file uploads under Deno. Deno's native
fetchignores aContent-Lengthheader on stream bodies and fell back toTransfer-Encoding: chunked, which S3-compatible presigned upload URLs reject (see [#1243]).Template.builduploads now stream the spooled archive through undici'sfetch, which honors the header on every runtime, falling back to the globalfetchwhere undici isn't resolvable. - 5e141a7: Fix the
Sandbox.getHost()documentation example so it can be copy-pasted. The@examplecalledsandbox.commands.exec(...), which is not a method on theCommandsclass (it exposesrun), so running the snippet threwTypeError: sandbox.commands.exec is not a function. It now usessandbox.commands.run(..., { background: true }), allowing the long-running HTTP server to start before the example callsgetHost(). Documentation only, no behavior change. - 4fcf7cb: Regenerate API clients from the latest specs, which are now synced with Copybara from their source-of-truth repositories (e2b-dev/infra@e2255f0 for the REST and envd specs, belt for the volume-content spec) instead of being copied by hand. Picks up the latest spec changes: named
SandboxTimeoutRequest/SandboxSnapshotRequest/SandboxRefreshRequestrequest schemas,SandboxNetworkConfigandSandboxIamworkload-identity models, theFILE_TYPE_SYMLINKfilesystem entry type, and deprecation of access-token auth in favor of API keys. Anything the upstream specs markx-not-implemented: true(currently the SOCKS5 egress-proxy config) is excluded from the generated clients. Generated Python client models now list fields in spec order instead of alphabetical order (the tag filtering moved from a custom script to Redocly CLI); construct them with keyword arguments if you don't already - 5417dd4: Bump the minimum
tardependency to 7.5.19 to pull in upstream fixes for node-tar denial-of-service vulnerabilities (GHSA advisories covering PAX parsing, negative entry sizes, and unbounded decompression)