Skip to content

Update dependency e2b to v2.25.1#203

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/e2b-2.x-lockfile
Closed

Update dependency e2b to v2.25.1#203
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/e2b-2.x-lockfile

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jun 3, 2026

This PR contains the following updates:

Package Change Age Confidence
e2b (source) 2.20.32.25.1 age confidence

Release Notes

e2b-dev/e2b (e2b)

v2.25.0

Compare Source

Minor Changes
  • 3786f34: Support structured network rules with per-host transforms
  • c485bf5: Add Sandbox.updateNetwork / update_network to replace a running sandbox's egress configuration (allow / deny lists, per-host rules, internet access toggle).
  • 3ea4ef5: use stable sandbox.e2b.app for h2 efficiency
Patch Changes
  • ba315c0: Add signal: AbortSignal option to Template.build, Template.buildInBackground, Template.getBuildStatus, Template.exists, Template.aliasExists, Template.assignTags, Template.removeTags, and Template.getTags. When the signal is aborted, the underlying request (and, for Template.build, the status polling loop) is cancelled and the returned promise rejects with an AbortError.

v2.24.0

Minor Changes
  • 2680c89: Remove Sandbox.betaCreate (JS) and Sandbox.beta_create (Python). These methods were a beta of the lifecycle configuration that has since shipped on Sandbox.create. Migrate by calling Sandbox.create with the lifecycle option:

    // before
    await Sandbox.betaCreate({ autoPause: true })
    // after
    await Sandbox.create({ lifecycle: { onTimeout: 'pause' } })
    # before
    Sandbox.beta_create(auto_pause=True)
    # after
    Sandbox.create(lifecycle={"on_timeout": "pause"})

v2.23.0

Compare Source

Minor Changes
  • d21b936: - Fix lifecycle and autopause precedence
    • Deprecate auto_pause/autoPause; use lifecycle={"on_timeout": "pause"} instead. A DeprecationWarning (Python) / console.warn (JS) is now emitted when the flag is set
    • Breaking validation change: passing auto_resume=true while the resolved on_timeout is "kill" now raises InvalidArgumentException (Python) / InvalidArgumentError (JS)

v2.22.0

Minor Changes

v2.21.0

Minor Changes
  • 2ac5de2: Add signal: AbortSignal option to JS SDK methods to support cancelling in-flight requests. The signal can be passed to Sandbox.create, Sandbox.connect, sandbox.commands.run, sandbox.files.*, volume methods, and other request options. When the signal is aborted, the underlying fetch is aborted and the returned promise rejects with an AbortError.

    SandboxPaginator.nextItems and SnapshotPaginator.nextItems now accept a SandboxApiOpts argument (including signal) — 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)

  • 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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested review from mishushakov and mlejva as code owners June 3, 2026 10:40
@cla-bot cla-bot Bot added the cla-signed label Jun 3, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread pnpm-lock.yaml
e2b:
specifier: ^2.19.4
version: 2.19.4
version: 2.27.1
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

@mishushakov
Copy link
Copy Markdown
Member

Superseded by #204

@renovate renovate Bot force-pushed the renovate/e2b-2.x-lockfile branch from 8b8ce4b to ebfcd7c Compare June 3, 2026 12:43
@renovate renovate Bot changed the title Update dependency e2b Update dependency e2b to v2.25.1 Jun 3, 2026
@mishushakov mishushakov closed this Jun 4, 2026
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Jun 4, 2026

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (^2.20.3). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate Bot deleted the renovate/e2b-2.x-lockfile branch June 4, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant