Skip to content

e2b@2.65.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 12:35
· 5 commits to main since this release

Minor Changes

  • 08c4eeb: Add Template.getInfo(nameOrId) (get_info in Python), which returns a template with its default build as TemplateDetail, and Template.listBuilds(nameOrId, { statuses, tags }) (list_builds in Python), which returns a TemplateBuildPaginator (AsyncTemplateBuildPaginator for AsyncTemplate) over the template's builds, newest first. Each build carries its cpuCount, maxCpuCount and the tags that point at it, so Template.listBuilds('my-template', { tags: ['v2'] }) reads the build a tag points at. getInfo and fetching a page of builds throw the new TemplateNotFoundError (TemplateNotFoundException in Python), a subclass of TemplateError, when the template is not found. Both methods take a name or ID without a tag and throw InvalidArgumentError (InvalidArgumentException in Python) for name:tag.

Patch Changes

  • 6a729b0: Mark every sandbox.git method as deprecated; run git with sandbox.commands.run() instead.
  • ba66e82: Bump runtime dependencies: glob to ^14.0.6 and tar to ^7.5.23 (e2b), jose to ^6.2.17 (@e2b/cli)
  • aeb09d0: Bump runtime dependencies: undici to ^8.12.4 (security fixes), glob to ^14.0.4, @bufbuild/protobuf to ^2.17.0 (e2b) and commander / @commander-js/extra-typings to ~15.1.0 (@e2b/cli)