Skip to content

chore(fix): sort rows in list command#1234

Merged
wing328 merged 4 commits into
masterfrom
sort-row
Jun 20, 2026
Merged

chore(fix): sort rows in list command#1234
wing328 merged 4 commits into
masterfrom
sort-row

Conversation

@wing328

@wing328 wing328 commented Jun 20, 2026

Copy link
Copy Markdown
Member

to close #1229

Summary by cubic

Sort the list command by semantic version (newest first) and preserve that order when rendering table rows. Updated tests and a CI check (npm run oa version-manager list) to verify the ordering.

Written for commit 4f92c2e. Summary will update on new commits.

Review in cubic

@wing328 wing328 marked this pull request as ready for review June 20, 2026 14:29

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Re-trigger cubic

@wing328

wing328 commented Jun 20, 2026

Copy link
Copy Markdown
Member Author

tested locally and got

$ npm run oa version-manager list

> examples@1.0.0 oa
> openapi-generator-cli version-manager list

Download 4.3.1 ...
Downloaded 4.3.1
? The following releases are available:
 ☐  releasedAt  version      installed  versionTags
 -  ----------  -----------  ---------  ----------------------------
❯ ☐  2026-06-08  7.23.0       no         7.23.0 stable latest
  ☐  2026-04-28  7.22.0       no         7.22.0 stable
  ☐  2026-03-24  7.21.0       no         7.21.0 stable
  ☐  2026-02-16  7.20.0       no         7.20.0 stable
  ☐  2026-01-19  7.19.0       no         7.19.0 stable
  ☐  2025-12-22  7.18.0       no         7.18.0 stable
  ☐  2025-10-29  7.17.0       no         7.17.0 stable
  ☐  2025-09-28  7.16.0       no         7.16.0 stable
  ☐  2025-08-22  7.15.0       no         7.15.0 stable
  ☐  2025-06-25  7.14.0       no         7.14.0 stable
  ☐  2025-04-27  7.13.0       no         7.13.0 stable
  ☐  2025-02-28  7.12.0       no         7.12.0 stable
  ☐  2025-01-20  7.11.0       no         7.11.0 stable
  ☐  2024-11-18  7.10.0       no         7.10.0 stable
  ☐  2024-10-08  7.9.0        no         7.9.0 stable
  ☐  2024-08-19  7.8.0        no         7.8.0 stable
  ☐  2024-07-02  7.7.0        no         7.7.0 stable
  ☐  2024-05-20  7.6.0        no         7.6.0 stable
  ☐  2024-04-17  7.5.0        no         7.5.0 stable
  ☐  2024-03-11  7.4.0        no         7.4.0 stable
  ☐  2024-02-08  7.3.0        no         7.3.0 stable
  ☐  2023-12-22  7.2.0        no         7.2.0 stable
  ☐  2023-11-13  7.1.0        no         7.1.0 stable
  ☐  2023-09-18  7.0.1        no         7.0.1 stable

@wing328 wing328 merged commit 050b66f into master Jun 20, 2026
7 checks passed
@wing328 wing328 deleted the sort-row branch June 20, 2026 14:32
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.39.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Order of version-manager seems random

1 participant