fix(cli): use latest Template.build API with name parameter#1209
Merged
Conversation
…f deprecated alias Updates e2b template init command to generate code using the current Template.build() API which accepts a name parameter instead of the deprecated alias-based approach. Changes affect build templates and generator code across TypeScript and Python (sync/async) languages. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
🦋 Changeset detectedLatest commit: d6e291d The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR 💥 An error occurred when fetching the changed packages and changesets in this PR |
Contributor
Package ArtifactsBuilt from 65037fa. Download artifacts from this workflow run. JS SDK ( npm install ./e2b-2.14.2-mishushakov-template-init-syntax.0.tgzCLI ( npm install ./e2b-cli-2.8.2-mishushakov-template-init-syntax.0.tgzPython SDK ( pip install ./e2b-2.15.2+mishushakov.template.init.syntax-py3-none-any.whl |
ValentaTomas
approved these changes
Mar 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
e2b template initto generate code using the current Template.build() API with thenameparameteraliasparameter usage throughout build templates and generator codeChanges
aliastonamein generator functions and templates (8 files)Testing
All 79 template init tests pass, including validation of generated build files.
🤖 Generated with Claude Code
Note
Low Risk
Low risk: changes are limited to CLI template-code generation and user-facing prompts, primarily a rename from deprecated
aliastonamein generated build/README templates.Overview
Updates
e2b template init/migratecode generation to pass anameparameter (andname-devfor dev builds) instead of the deprecatedalias, across the Handlebars generator APIs and the TypeScript/Python build and README templates.Cleans up CLI UX copy to consistently refer to template name (option help text and interactive prompt), and adds a changeset for a patch release.
Written by Cursor Bugbot for commit d6e291d. This will update automatically on new commits. Configure here.