PowerShellGallery
PowerShellGallery copied to clipboard
API - Some packages are not returned if `semverlevel=2.0.0`, but are returned if `semverlevel=1.0.0`
Prerequisites
- [X] Write a descriptive title.
- [X] Make sure you are able to repro it on the latest version
- [X] Search the existing issues.
Steps to reproduce
Found two modules that the PowerShell Gallery API won't return if semverlevel=2.0.0, but does return if semverlevel=1.0.0.
- PoshRSJob
- PolicyFileEditor
Query that works:
Query that doesn't:
Observation: If you don't filter IsLatestVersion and not IsPrerelease, semverlevel=2.0.0 seems to work just fine:
Also if you only filter IsLatestVersion (but this returns preview versions if that's the newest one available. Which might be another issue, shouldn't only IsAbsoluteLatestVersion trigger that?):
Expected behavior
SemVerLevel shouldn't affect whether the package was found.
Actual behavior
SemVerLevel affects whether the package was found.
Error details
No response
Environment data
Not relevant, API.
Version
Not relevant, API.
Visuals
No response