feat(api!): rename component to action on the API level#4399
Merged
Conversation
Signed-off-by: Lucas Pinheiro <lucas@superplane.com>
|
👋 Commands for maintainers:
|
Signed-off-by: Lucas Pinheiro <lucas@superplane.com>
Signed-off-by: Lucas Pinheiro <lucas@superplane.com>
Signed-off-by: Lucas Pinheiro <lucas@superplane.com>
Signed-off-by: Lucas Pinheiro <lucas@superplane.com>
Signed-off-by: Lucas Pinheiro <lucas@superplane.com>
Signed-off-by: Lucas Pinheiro <lucas@superplane.com>
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 48005b0. Configure here.
shiroyasha
approved these changes
Apr 26, 2026
This was referenced Apr 26, 2026
WashingtonKK
pushed a commit
to WashingtonKK/superplane
that referenced
this pull request
Apr 27, 2026
…#4399) Related to superplanehq#1837 --- Following superplanehq#4396, we update the APIs and CLI to reflect the rename of component to action. This is a breaking change for the API. Clients will be required to update their YAMLs to work with the new API. ### API Two changes: - The `/api/v1/components` no longer exists. It was replaced with `/api/v1/actions`. - Referencing an action in a canvas YAML now requires you to use `action` field instead of the `component` field: ```yaml spec: nodes: - id: "component-node-70p83y" name: "Wait for the changes to propagate" type: "TYPE_ACTION" action: name: "wait" # ... ``` ### CLI The `superplane index components` command becomes `superplane index actions` --------- Signed-off-by: Lucas Pinheiro <lucas@superplane.com> Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
re-pixel
pushed a commit
to re-pixel/superplane
that referenced
this pull request
May 4, 2026
…#4399) Related to superplanehq#1837 --- Following superplanehq#4396, we update the APIs and CLI to reflect the rename of component to action. This is a breaking change for the API. Clients will be required to update their YAMLs to work with the new API. ### API Two changes: - The `/api/v1/components` no longer exists. It was replaced with `/api/v1/actions`. - Referencing an action in a canvas YAML now requires you to use `action` field instead of the `component` field: ```yaml spec: nodes: - id: "component-node-70p83y" name: "Wait for the changes to propagate" type: "TYPE_ACTION" action: name: "wait" # ... ``` ### CLI The `superplane index components` command becomes `superplane index actions` --------- Signed-off-by: Lucas Pinheiro <lucas@superplane.com>
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.

Related to #1837
Following #4396, we update the APIs and CLI to reflect the rename of component to action. This is a breaking change for the API. Clients will be required to update their YAMLs to work with the new API.
API
Two changes:
/api/v1/componentsno longer exists. It was replaced with/api/v1/actions.actionfield instead of thecomponentfield:CLI
The
superplane index componentscommand becomessuperplane index actions