Skip to content

Sort package versions newest-first in version picker#12562

Open
bricestacey wants to merge 1 commit intomainfrom
12435/package-version-sort-order
Open

Sort package versions newest-first in version picker#12562
bricestacey wants to merge 1 commit intomainfrom
12435/package-version-sort-order

Conversation

@bricestacey
Copy link
Contributor

See #12435

When installing or updating packages via the Packages Pane, the version picker now displays versions in descending order (newest first) instead of the order returned by package repositories.

Uses semver comparison when possible, with a fallback to locale-aware string comparison for non-semver version formats.

Release Notes

New Features

  • N/A

Bug Fixes

  • Sort versions with most recent first, using semver, when picking a version in the packages pane

QA Notes

Try installing cowsay in python... notice that it'll now show the most recent first:

Screenshot 2026-03-17 at 2 08 30 PM

@github-actions
Copy link

github-actions bot commented Mar 17, 2026

E2E Tests 🚀
This PR will run tests tagged with: @:critical

readme  valid tags

See #12435

When installing or updating packages via the Packages Pane, the version
picker now displays versions in descending order (newest first) instead
of the order returned by package repositories.

Uses semver comparison when possible, with a fallback to locale-aware
string comparison for non-semver version formats.
@bricestacey bricestacey force-pushed the 12435/package-version-sort-order branch from 0a65aba to 92c549d Compare March 17, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant