Update dependency e2b#199
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 46fc04d083
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| engines: {node: '>=20'} | ||
| e2b@2.23.0: | ||
| resolution: {integrity: sha512-LjeZvucZjY4L1pRawWe3hwwLh4dW1kWOoEXpL+kPd8xDX+9zTE4ksKse/QR3Si+tPOmocow4FStDmoG4cSbLvw==} | ||
| engines: {node: '>=20.18.1'} |
There was a problem hiding this comment.
Raise Node floor to match upgraded e2b engine
This lockfile bump pulls in e2b@2.23.0, which declares node >=20.18.1, but the workspace still advertises/supports Node 20 broadly (for example packages/js-sdk/package.json uses "node": ">=20"). Because this repo also sets engine-strict=true in .npmrc, installs on Node 20.0.0 through 20.18.0 will now fail during dependency resolution. Please update the declared Node minimum (and any CI/runtime version source) alongside this dependency upgrade to avoid unexpected install breakage.
Useful? React with 👍 / 👎.
b6283eb to
4939f8d
Compare
42e5dc8 to
9404c6f
Compare
9404c6f to
c81e2d0
Compare
e2b 2.24.0 removed Sandbox.betaCreate / SandboxBetaCreateOpts; the lifecycle config it gated now ships on Sandbox.create. Drop the desktop override and its options interface so tsc passes against e2b 2.27.0. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
|
Will move this into a separate PR, since this one renovate bot complains about |
This PR contains the following updates:
2.20.3→2.25.12.19.4→2.27.0Release Notes
e2b-dev/e2b (e2b)
v2.25.0Compare Source
Minor Changes
3786f34: Support structured network rules with per-host transformsc485bf5: AddSandbox.updateNetwork/update_networkto replace a running sandbox's egress configuration (allow / deny lists, per-host rules, internet access toggle).3ea4ef5: use stable sandbox.e2b.app for h2 efficiencyPatch Changes
ba315c0: Addsignal: AbortSignaloption toTemplate.build,Template.buildInBackground,Template.getBuildStatus,Template.exists,Template.aliasExists,Template.assignTags,Template.removeTags, andTemplate.getTags. When the signal is aborted, the underlying request (and, forTemplate.build, the status polling loop) is cancelled and the returned promise rejects with anAbortError.v2.24.0Minor Changes
2680c89: RemoveSandbox.betaCreate(JS) andSandbox.beta_create(Python). These methods were a beta of thelifecycleconfiguration that has since shipped onSandbox.create. Migrate by callingSandbox.createwith thelifecycleoption:v2.23.0Compare Source
Minor Changes
d21b936: - Fix lifecycle and autopause precedenceauto_pause/autoPause; uselifecycle={"on_timeout": "pause"}instead. ADeprecationWarning(Python) /console.warn(JS) is now emitted when the flag is setauto_resume=truewhile the resolvedon_timeoutis"kill"now raisesInvalidArgumentException(Python) /InvalidArgumentError(JS)v2.22.0Minor Changes
e10958d: support for api h2v2.21.0Minor Changes
2ac5de2: Addsignal: AbortSignaloption to JS SDK methods to support cancelling in-flight requests. The signal can be passed toSandbox.create,Sandbox.connect,sandbox.commands.run,sandbox.files.*, volume methods, and other request options. When the signal is aborted, the underlyingfetchis aborted and the returned promise rejects with anAbortError.SandboxPaginator.nextItemsandSnapshotPaginator.nextItemsnow accept aSandboxApiOptsargument (includingsignal) — when provided, the per-call options override the connection options the paginator was constructed with for that single request.Same change in the Python SDK:
SandboxPaginator.next_items/SnapshotPaginator.next_items(sync and async) now accept**opts: ApiParams(e.g.api_key,domain,headers,request_timeout); when provided, the per-call options override the ones the paginator was constructed with.e2b-dev/e2b (e2b)
v2.27.0Compare Source
Minor Changes
2691c73: Sync OpenAPI spec frome2b-dev/infra. Notable changes:SandboxMetricsgainsmemCache/mem_cache(cached memory in bytes),NodeStatusgainsstandby,TeamUser.emailis now nullable and deprecated, andPOST /v3/templatescan now return403.Patch Changes
a6bf71a: fix(sdks):Template.fromDockerfile/Template.from_dockerfilenow correctly handle multi-sourceCOPY/ADDinstructions. Previously, only the first source was kept and all intermediate sources were silently dropped; now each source is emitted as its owncopy()call to the same destination.4a4bb36: Validate the E2B API key format client-side. SDKs now throw anAuthenticationError/AuthenticationExceptionwith an example token (e.g.e2b_0000000000000000000000000000000000000000) when the key does not start withe2b_followed by hex characters.v2.26.0Compare Source
Minor Changes
18a10af: chore(js): add max concurrency limitsv2.25.0Compare Source
Minor Changes
3786f34: Support structured network rules with per-host transformsc485bf5: AddSandbox.updateNetwork/update_networkto replace a running sandbox's egress configuration (allow / deny lists, per-host rules, internet access toggle).3ea4ef5: use stable sandbox.e2b.app for h2 efficiencyPatch Changes
ba315c0: Addsignal: AbortSignaloption toTemplate.build,Template.buildInBackground,Template.getBuildStatus,Template.exists,Template.aliasExists,Template.assignTags,Template.removeTags, andTemplate.getTags. When the signal is aborted, the underlying request (and, forTemplate.build, the status polling loop) is cancelled and the returned promise rejects with anAbortError.v2.24.0Compare Source
Minor Changes
2680c89: RemoveSandbox.betaCreate(JS) andSandbox.beta_create(Python). These methods were a beta of thelifecycleconfiguration that has since shipped onSandbox.create. Migrate by callingSandbox.createwith thelifecycleoption:v2.23.0Compare Source
Minor Changes
d21b936: - Fix lifecycle and autopause precedenceauto_pause/autoPause; uselifecycle={"on_timeout": "pause"}instead. ADeprecationWarning(Python) /console.warn(JS) is now emitted when the flag is setauto_resume=truewhile the resolvedon_timeoutis"kill"now raisesInvalidArgumentException(Python) /InvalidArgumentError(JS)v2.22.0Compare Source
Minor Changes
e10958d: support for api h2v2.21.0Compare Source
Minor Changes
2ac5de2: Addsignal: AbortSignaloption to JS SDK methods to support cancelling in-flight requests. The signal can be passed toSandbox.create,Sandbox.connect,sandbox.commands.run,sandbox.files.*, volume methods, and other request options. When the signal is aborted, the underlyingfetchis aborted and the returned promise rejects with anAbortError.SandboxPaginator.nextItemsandSnapshotPaginator.nextItemsnow accept aSandboxApiOptsargument (includingsignal) — when provided, the per-call options override the connection options the paginator was constructed with for that single request.Same change in the Python SDK:
SandboxPaginator.next_items/SnapshotPaginator.next_items(sync and async) now accept**opts: ApiParams(e.g.api_key,domain,headers,request_timeout); when provided, the per-call options override the ones the paginator was constructed with.v2.20.1Compare Source
Patch Changes
eaf452a: add optional name parameter to createSnapshot and return snapshot namesv2.20.0Compare Source
Minor Changes
b2a2786: Compatibility for turbopackv2.19.5Compare Source
Patch Changes
f7a97e6: Use HTTP/2 for JS SDK envd/api requests and require Node.js 20.18.1 or newer.Configuration
📅 Schedule: (in timezone UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.