Skip to content

feat: use v2 template update endpoint with namespaced templates - #1105

Merged
dobrac merged 2 commits into
mainfrom
chore/team-local-templates
Jan 29, 2026
Merged

feat: use v2 template update endpoint with namespaced templates#1105
dobrac merged 2 commits into
mainfrom
chore/team-local-templates

Conversation

@dobrac

@dobrac dobrac commented Jan 29, 2026

Copy link
Copy Markdown
Contributor

Note

Medium Risk
Moderate risk due to API contract changes and regenerated SDK types; mismatches between server behavior and new names response could break publish/update flows.

Overview
Adds a new PATCH /v2/templates/{templateID} endpoint that returns TemplateUpdateResponse with template names, and marks the legacy PATCH /templates/{templateID} endpoint plus aliases fields as deprecated.

Updates the CLI template publish flow to call the v2 endpoint and print the returned namespaced template names after publishing, with corresponding JS SDK schema and Python SDK client/model updates.

Written by Cursor Bugbot for commit 489db48. This will update automatically on new commits. Configure here.

@changeset-bot

changeset-bot Bot commented Jan 29, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 489db48

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
e2b Patch
@e2b/cli Minor

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

@dobrac dobrac added the Improvement Improvement for current functionality label Jan 29, 2026
@dobrac
dobrac marked this pull request as ready for review January 29, 2026 13:26
@dobrac
dobrac merged commit 631522d into main Jan 29, 2026
16 checks passed
@dobrac
dobrac deleted the chore/team-local-templates branch January 29, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Improvement Improvement for current functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants