Releases: e2b-dev/E2B
@e2b/python-sdk@2.22.0
Minor Changes
- d21b936: - Fix lifecycle and autopause precedence
- Deprecate
auto_pause/autoPause; uselifecycle={"on_timeout": "pause"}instead. ADeprecationWarning(Python) /console.warn(JS) is now emitted when the flag is set - Breaking validation change: passing
auto_resume=truewhile the resolvedon_timeoutis"kill"now raisesInvalidArgumentException(Python) /InvalidArgumentError(JS)
- Deprecate
@e2b/cli@2.10.2
Patch Changes
- 6d66d15: Fix
e2b auth logincrashing on headless machines wherexdg-openis unavailable. The CLI now spawns the browser opener directly so it can catch the spawnENOENTsynchronously, prints the login URL so the user can open it manually, and suggests settingE2B_API_KEYwhen interactive login is not possible.
e2b@2.21.0
Minor Changes
-
2ac5de2: Add
signal: 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@2.20.1
Patch Changes
- eaf452a: add optional name parameter to createSnapshot and return snapshot names
@e2b/python-sdk@2.21.1
Patch Changes
- eaf452a: add optional name parameter to createSnapshot and return snapshot names
e2b@2.20.0
Minor Changes
- b2a2786: Compatibility for turbopack
e2b@2.19.5
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
Minor Changes
- 20ea715: http2 support for python sdk
e2b@2.19.4
Patch Changes
- ae13876: drop unused
npm-check-updatesdevDependency to clear remainingtar@6Dependabot security alerts
e2b@2.19.3
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)