E2B SDK 2.64.0 sürüm notları
E2B SDK 2.64.0 sürümünün yayın tarihi 13 Kasım 2026. En güncel sürüm 2.66.0.
Orijinal sürüm notları
Minor Changes
6a976f3:
e2b template listande2b template deletenow use the SDK'sTemplate.list()andTemplate.delete().TemplateInfogainsmaxCpuCount(max_cpu_countin Python) for resizable templates.Breaking:
e2b template list -f jsonnow prints the SDK'sTemplateInfoobjects (templateId,buildId,names, …) instead of the raw API response (templateID,buildID,aliases,createdBy, …), and the pretty table drops theCreated bycolumn (the API deprecated the creator's email).1b3b2a4: Add
shelloption tocommands.runto run the command in a custom shell, e.g.shell: ['/bin/sh', '-c']runs/bin/sh -c <cmd>(default stays['/bin/bash', '-l', '-c'])6ee9a4b: Add resizable templates: build a template with
maxCpuCountand pick each sandbox'scpuCounton create.e2b template listshows aMax vCPUscolumn.106efea: The API client accepts an
Authorizationheader in place of an API key. Requests can now authenticate with an OAuth access token passed throughapiHeaders(JS) orapi_headers(Python), together with theX-Team-IDheader that selects the team:await Sandbox.create({ apiHeaders: { Authorization: `Bearer ${accessToken}`, 'X-Team-ID': teamId }, })Sandbox.create(api_headers={"Authorization": f"Bearer {access_token}", "X-Team-ID": team_id})c513ae1: Add
Template.delete(nameOrId)(JS) andTemplate.delete(name_or_id)/AsyncTemplate.delete(name_or_id)(Python) to delete a template or snapshot; returnsfalsewhen it isn't found.Sandbox.deleteSnapshot/Sandbox.delete_snapshotnow share its implementation and raiseTemplateError/TemplateException(subclasses ofSandboxError/SandboxException) on failuree50db00: Add
Template.list()returning aTemplatePaginator(AsyncTemplatePaginatorforAsyncTemplate) that pages through the project's templates asTemplateInfo, likeSandbox.list()andSecret.list().
Patch Changes
- cf7208a: Bump
@connectrpc/connectand@connectrpc/connect-webto ^2.3.0 (HTTP/2 stream cleanup and cancellation fixes) andglobto ^14.0.3 - Updated dependencies [aec4543]
- @e2b/dockerfile-utils@0.1.2
Kaynak: GitHub sürümü e2b@2.64.0