Update dependency e2b to v2.25.1#203
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8b8ce4b95d
ℹ️ 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".
| e2b: | ||
| specifier: ^2.19.4 | ||
| version: 2.19.4 | ||
| version: 2.27.1 |
There was a problem hiding this comment.
Migrate off removed Sandbox.betaCreate
Locking the JS SDK to e2b@2.27.1 pulls in a version after the reviewed release notes' v2.24.0 removal of Sandbox.betaCreate, but packages/js-sdk/src/sandbox.ts:288 still calls super.betaCreate(...). In the checked js-sdk-tests.yml flow, pnpm install --frozen-lockfile is followed by pnpm build, so this lockfile update makes the package build fail instead of producing the desktop subclass.
Useful? React with 👍 / 👎.
| [[package]] | ||
| name = "e2b" | ||
| version = "2.20.3" | ||
| version = "2.25.1" |
There was a problem hiding this comment.
Migrate off removed Sandbox.beta_create
Locking the Python SDK to e2b==2.25.1 also crosses the reviewed release notes' v2.24.0 removal of Sandbox.beta_create, while packages/python-sdk/e2b_desktop/main.py:325 still delegates to super().beta_create(...). Any caller using e2b_desktop.Sandbox.beta_create with this lockfile will hit an AttributeError at runtime, so the dependency update needs the desktop wrapper migrated to Sandbox.create/lifecycle first.
Useful? React with 👍 / 👎.
|
Superseded by #204 |
8b8ce4b to
ebfcd7c
Compare
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update ( If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
2.20.3→2.25.1Release 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.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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.