e2b@2.30.0
·
18 commits
to main
since this release
Minor Changes
- e873ee9: Add an
allowNetworkMounts/allow_network_mountsoption to filesystem directory watching. When enabled, paths on network filesystem mounts (NFS, CIFS, SMB, FUSE) can be watched — they are rejected by default because events on network mounts may be unreliable or not delivered at all. Requires envd 0.6.4 or later; watching with this option against an older sandbox raises a template error.
Patch Changes
- cab59ca: Fix
Sandbox.getMetrics()sendingstartandendas path parameters instead of query parameters, which caused the requested time range to be silently ignored - 0b0c728: Fix
Volume.readFilereturningundefinedinstead of an emptyBlob/ReadableStreamfor empty files, and apply the documented 60s default request timeout to volume content requests. - feb2d45: Return
booleanfrom theSandbox.kill()instance method (trueif the sandbox was killed,falseif it was not found), matching the staticSandbox.kill()and the Python SDK. - 91e84d9: Raise an error for non-2xx API and envd responses with empty bodies (e.g.
Content-Length: 0) instead of treating them as successful.