Open WeihanLi opened 5 months ago
should add a Type:Feature
label
When creating an issue, please use one of our templates, rather than creating a blank issue.
@zivkan thanks for the help, I tried to open issue with Reference in a new issue
, would use the template next time, thanks
NuGet Product(s) Involved NuGet SDK
The Elevator Pitch
Using
FindPackageByIdResource.GetAllVersionsAsync
you can retrieve all versions of a package, which includes listed and unlisted versions.Though we could use
PackageMetadataResource.GetMetadata
for unlist versions while it returns more information than versions, considering performance, I may prefer theFindPackageByIdResource.GetAllVersionsAsync
APIIs it possible to support
includeListedOnly
/includedNonPrereleaseOnly
filter for theFindPackageByIdResource.GetAllVersionsAsync
, thanks very muchOriginally posted by @WeihanLi in https://github.com/NuGet/Home/issues/12370#issuecomment-2184274421