Update dependency e2b
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| e2b (source) | 2.28.1 → 2.29.1 |
||
| e2b (source) | 2.29.1 → 2.30.1 |
Release Notes
e2b-dev/e2b (e2b)
v2.29.1
Patch Changes
1d5259c: Fix a batch of connection-handling bugs in the JS and Python SDKs:- Python: HTTP transport caches now key on the configured proxy, so clients created with different (or no) proxy settings no longer silently reuse a transport built for the first proxy seen.
- Python:
request_timeoutis now applied to control-plane (E2B API) requests; previously the underlying httpx client was built with no timeout at all. - Python: the server-stream parser no longer stalls (or drops the final envelope) when the remaining payload of an envelope is shorter than the 5-byte envelope header.
- JS + Python: passing
debug: falseexplicitly now overrides theE2B_DEBUG=trueenvironment variable instead of being ignored. - JS: the RPC logger no longer crashes requests with a
TypeErrorwhen a response contains protobuf int64 (bigint) fields; they are now logged as strings.
v2.29.0
Minor Changes
-
961ffba: feat(sdks): expose user-defined file metadata onsandbox.filesAdds a
metadataoption to file uploads (write/writeFiles/write_files) and surfaces persisted metadata on everyEntryInfo/WriteInforeturned bygetInfo,list,rename, and write responses. On upload, metadata is sent asX-Metadata-<key>: <value>request headers; envd persists the values as extended attributes in theuser.e2b.xattr namespace and returns them on subsequent filesystem reads (includinguser.e2b.*xattrs set out-of-band). Keys are sent as HTTP header names and are lowercased by the sandbox; metadata is validated client-side (keys must be valid HTTP header tokens, values must be printable US-ASCII) and invalid input raisesInvalidArgumentError/InvalidArgumentException. The same metadata map is applied to every file in a multi-file upload. Requires envd 0.6.2 or later. -
da85b1e: Add anincludeEntry/include_entryoption to filesystem directory watching. When enabled, eachFilesystemEventcarries the affected entry'sEntryInfo(best-effort; left unset for events where the path no longer exists, such as remove/rename-away). Requires envd 0.6.3 or later; watching with this option against an older sandbox raises a template error.
Patch Changes
-
7dc861f: fix: align behavior between the JS and Python SDKsPython SDK:
commands.send_stdinandCommandHandle.send_stdinnow acceptbytesin addition tostr, and the handle'ssend_stdin/close_stdinnow accept arequest_timeout.git.resetnow accepts a typedGitResetModeand its validation error matches the JS SDK wording/ordering.GitResetModeis now exported.sandbox_urlis now propagated throughget_api_params.Template.from_image()now raises when only one ofusername/passwordis provided.get_info()no longer carries the envd access token on the returnedSandboxInfo(the_envd_access_tokenfield was unused), matching the JS SDK which strips it fromgetInfo.get_metrics()now raisesTemplateException(wasSandboxException) with the same message as the JS SDK when the sandbox is too old.
JS SDK:
Sandbox.getInfo()now includessandboxDomain, matching the Python SDK's singleget_info.getFullInfois deprecated and now just wrapsgetInfo(it no longer returns the envd access token).Sandbox.getMetrics()now returns[]in debug mode, matching the Python SDK. The debug short-circuit forgetMetrics/killis implemented on both the instance and static methods, so it applies consistently whether called asSandbox.kill(sandboxId)orsandbox.kill().Template.fromImage()now requires bothusernameandpasswordwhen registry credentials are provided.Template.getBuildStatus()now defaultslogsOffsetto0.requestTimeoutMs: 0now explicitly disables the request timeout.getMetrics()now throwsTemplateError(wasSandboxError) when the sandbox is too old to support metrics.
v2.28.2
Patch Changes
4e16cff: Addproxyconnection parameter to route SDK requests through an HTTP proxy, matching the Python SDK. When set, it applies to API requests, all requests made to the returned sandbox, and volume requests.4e16cff: Fixproxynot being applied to volume content requests.Volume.create/Volume.connectnow store theproxyon the returned instance, so instance methods (list,readFile,writeFile,makeDir,getInfo,updateMetadata,remove, …) route through it without having to passproxyon every call. A per-callproxystill takes precedence.
Configuration
📅 Schedule: (in timezone UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. Credits must be used to enable repository wide code reviews.