Skip to content

e2b@2.30.2

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Jun 22:31
· 6 commits to main since this release
432c091

Patch Changes

  • 706c553: Template SDK fixes:

    • Sort files by full path in getAllFilesInPath so the files hash no longer depends on filesystem traversal order (the previous sort() was a no-op on glob Path objects).
    • Match the exact listening port in waitForPort (via ss's sport filter) so e.g. port 80 no longer matches 8080.
    • Shell-quote the URL, filename, and process name in waitForURL, waitForFile, and waitForProcess.
    • Shell-quote paths and arguments in remove, rename, makeDir, makeSymlink, gitClone (URL/branch/path), and the devcontainer helpers so values with spaces or shell metacharacters work correctly.
    • Keep fetching build logs after a terminal build status is returned so the tail of the logs (beyond the 100-entries-per-call API limit) is no longer dropped.
    • Collect one stack trace per COPY instruction so failed-step stack traces stay aligned after copy() with multiple sources or copyItems().
    • Strip ANSI escape codes in LogEntry messages, matching the Python SDK.
  • 432c091: Add integration attribution options that append integration metadata to the SDK User-Agent.

  • 71b450f: Recognize Bun and Deno connection-dropped errors in the sandbox health check. When the connection to a sandbox is dropped mid-request, each JS runtime surfaces it with different wording (Node/undici: terminated, Bun: The socket connection was closed unexpectedly, Deno: error reading a body from connection). All known variants are now matched, so a sandbox killed mid-request is reported as a TimeoutError on Bun and Deno too, matching Node.