Skip to content

Releases: e2b-dev/E2B

@e2b/python-sdk@2.22.0

22 May 09:48
d21b936

Choose a tag to compare

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)

@e2b/cli@2.10.2

22 May 19:46
8640378

Choose a tag to compare

Patch Changes

  • 6d66d15: Fix e2b auth login crashing on headless machines where xdg-open is unavailable. The CLI now spawns the browser opener directly so it can catch the spawn ENOENT synchronously, prints the login URL so the user can open it manually, and suggests setting E2B_API_KEY when interactive login is not possible.

e2b@2.21.0

18 May 12:30
2ac5de2

Choose a tag to compare

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.

e2b@2.20.1

14 May 17:36
eaf452a

Choose a tag to compare

Patch Changes

  • eaf452a: add optional name parameter to createSnapshot and return snapshot names

@e2b/python-sdk@2.21.1

14 May 17:36
eaf452a

Choose a tag to compare

Patch Changes

  • eaf452a: add optional name parameter to createSnapshot and return snapshot names

e2b@2.20.0

11 May 17:38
b2a2786

Choose a tag to compare

Minor Changes

  • b2a2786: Compatibility for turbopack

e2b@2.19.5

06 May 00:56
f7a97e6

Choose a tag to compare

Patch Changes

  • f7a97e6: Use HTTP/2 for JS SDK envd/api requests and require Node.js 20.18.1 or newer.

@e2b/python-sdk@2.21.0

06 May 00:56
f7a97e6

Choose a tag to compare

Minor Changes

  • 20ea715: http2 support for python sdk

e2b@2.19.4

30 Apr 17:53
ae13876

Choose a tag to compare

Patch Changes

  • ae13876: drop unused npm-check-updates devDependency to clear remaining tar@6 Dependabot security alerts

e2b@2.19.3

30 Apr 15:15
55e9e0e

Choose a tag to compare

Patch Changes

  • 55e9e0e: resolve Dependabot security alerts: bump vulnerable transitive npm deps via pnpm overrides (postcss, vite, lodash, brace-expansion, picomatch, yaml, @tootallnate/once, smol-toml, flatted, minimatch) and python dev deps in poetry.lock (pytest, pytest-asyncio, python-dotenv, pygments, requests, black)