Repository navigation
[Nitro CLI] Use Client.publishedVersions to power client list published-versions command - #9861
Merged
tobias-tengler merged 2 commits intoJun 6, 2026
Merged
Conversation
client list published-versions commandClient.publishedVersions to power client list published-versions command
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Nitro CLI and client to list a client’s published versions via the new Client.publishedVersions GraphQL field, aligning the CLI command with a dedicated backend API instead of deriving published versions from the full versions list.
Changes:
- Add
Client.publishedVersions(stage: ...)support to the Nitro GraphQL client (operation + client interface/implementation). - Update
nitro client list published-versionsto require--stageand to displaypublishedAtinstead ofcreatedAt/stages. - Refresh the embedded GraphQL schema and persisted operations to include the new fields/types.
Reviewed changes
Copilot reviewed 8 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/Nitro/Common/src/ChilliCream.Nitro.Client/schema.graphql | Schema refresh to include Client.publishedVersions and related types/fields. |
| src/Nitro/Common/src/ChilliCream.Nitro.Client/persisted/operations.json | Adds persisted query entry for listing published client versions. |
| src/Nitro/Common/src/ChilliCream.Nitro.Client/Clients/Operations/ListClientPublishedVersionsCommand.graphql | New GraphQL operation + fragment used by the client/CLI. |
| src/Nitro/Common/src/ChilliCream.Nitro.Client/Clients/IClientsClient.cs | Adds ListClientPublishedVersionsAsync API to the client interface. |
| src/Nitro/Common/src/ChilliCream.Nitro.Client/Clients/ClientsClient.cs | Implements ListClientPublishedVersionsAsync using the generated operation. |
| src/Nitro/CommandLine/src/CommandLine/Commands/Clients/ListClientPublishedVersionsCommand.cs | CLI command now requires --stage and renders publishedAt. |
| src/Nitro/CommandLine/test/CommandLine.Tests/Commands/Clients/ListClientPublishedVersionsCommandTests.cs | Updates/extends tests for --stage and new output shape. |
| src/Nitro/CommandLine/test/CommandLine.Tests/Commands/Clients/ClientsCommandTestBase.cs | Adds new mock helpers for published-versions queries. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This was referenced Jun 16, 2026
This was referenced Jun 24, 2026
This was referenced Jul 24, 2026
chore(deps): Bump HotChocolate.Subscriptions.InMemory from 15.1.14 to 16.5.1
Kuestenlogik/Bowire#506
Merged
This was referenced Aug 31, 2026
This was referenced Sep 8, 2026
This was referenced Sep 17, 2026
This was referenced Sep 28, 2026
This was referenced Oct 5, 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.
No description provided.