Skip to content

fix: add version param to filtered registry query#358

Merged
danbarr merged 1 commit intomainfrom
fix/get-latest-filtered
Feb 19, 2026
Merged

fix: add version param to filtered registry query#358
danbarr merged 1 commit intomainfrom
fix/get-latest-filtered

Conversation

@danbarr
Copy link
Contributor

@danbarr danbarr commented Feb 19, 2026

#349 added the version=latest query param to the getRegistryV01Servers API call.

But servers with multiple versions were still duplicated when selecting a specific registry.

This fixes by also adding the param to getRegistryByRegistryNameV01Servers.

Signed-off-by: Dan Barr 6922515+danbarr@users.noreply.github.com

Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 19, 2026 22:26
@github-actions github-actions bot added the size/XS Extra small PR: < 100 lines changed label Feb 19, 2026
@danbarr danbarr requested a review from peppescg February 19, 2026 22:26
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a bug where servers with multiple versions were still being duplicated when selecting a specific registry. PR #349 previously added version=latest to the aggregated servers endpoint, but this fix extends that solution to the registry-specific servers endpoint.

Changes:

  • Added version: "latest" query parameter to getRegistryByRegistryNameV01Servers API call to filter for only the latest version of each server

@danbarr danbarr merged commit 6ffaa36 into main Feb 19, 2026
14 of 15 checks passed
@danbarr danbarr deleted the fix/get-latest-filtered branch February 19, 2026 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Extra small PR: < 100 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants