pcislo / vscode-nuget-gallery

MIT License
64 stars 19 forks source link

Prerelease versions not showing up. #30

Closed jongio closed 4 years ago

jongio commented 4 years ago

Azure Identity has preview versions, i.e. https://www.nuget.org/packages/Azure.Identity/1.2.0-preview.4

They don't show up when I search for 'azure.identity', check the prerelease box, and click filter:

image

azsdke2e

pcislo commented 4 years ago

NuGet API is not returning preview versions for this package, despite "isprerelase" flag in the request. I've no idea why.

jongio commented 4 years ago

This extension does... https://github.com/jmrog/vscode-nuget-package-manager

Maybe diff the nuget request from that one and yours?

pcislo commented 4 years ago

vscode-nuget-package-manager extension works a little bit different. It's fetching package names first and the versions in the second request. My extension is using different endpoints and I'm fetching list of packages with all the details at once.

EDIT: But I've found the solution, semVerLevel needs to specified in order to receive SemVer 2.0.0 compatibile package versions.

I will release fix for that in a moment.

jongio commented 4 years ago

Did ya figure it out?

pcislo commented 4 years ago

Yes, the new release has been already published.

jongio commented 4 years ago

Works!

Thanks a lot!!!

image