e2b@2.64.0
E2B released v2.64.0, introducing resizable templates, custom shell execution in commands.run, OAuth authentication support, and SDK methods for template management alongside a breaking CLI JSON output change.
Why this signal matters
E2B 2.64.0 includes several feature additions and a breaking CLI output change. Key updates include: - Resizable Templates: Templates can be built with maxCpuCount, enabling sandboxes to specify cpuCount on creation. The CLI template list now displays a 'Max vCPUs' column. - Custom Shell Execution: Added a shell option to commands.run (e.g., shell: '/bin/sh', '-c' ), while maintaining default '/bin/bash -l -c'. - OAuth Authentication: API clients now accept OAuth Bearer tokens via Authorization headers in apiHeaders (JS) or api headers (Python), along with an X-Team-ID header. - SDK Template Management: Introduced Template.list() returning TemplatePaginator and Template.delete(nameOrId). Sandbox.deleteSnapshot shares this implementation and raises TemplateError/TemplateException on failure. - Breaking Change: 'e2b template list -f json' outputs SDK TemplateInfo objects instead of raw API responses, altering property keys (e.g., templateId instead of templateID, names instead of aliases) and removing the deprecated Created by field. - Dependency updates include @connectrpc/connect and @connectrpc/connect-web to ^2.3.0 for HTTP/2 stream cleanup/cancellation fixes.
Actionable summary
E2B v2.64.0 introduces resizable templates with maxCpuCount/cpuCount selection, custom shell parameter in commands.run, OAuth Bearer token auth via apiHeaders, and Template.list()/Template.delete() methods. Breaking: 'e2b template list -f json' field schema changed to match SDK TemplateInfo (e.g. templateId instead of templateID) and dropped the creator email field.
- Agent usefulness
- 94/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Update any scripts or automation parsing 'e2b template list -f json' to use the new TemplateInfo schema (templateId, buildId, names) and remove dependencies on the deprecated creator email.
- Update Template and Snapshot deletion logic to catch TemplateError/TemplateException subclasses where applicable.
- Adopt custom shell options in commands.run or OAuth Bearer headers with X-Team-ID where required.