You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)