Open o-l-a-v opened 6 months ago
Found two modules that the PowerShell Gallery API won't return if semverlevel=2.0.0, but does return if semverlevel=1.0.0.
semverlevel=2.0.0
semverlevel=1.0.0
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:
IsLatestVersion and not IsPrerelease
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?):
IsLatestVersion
IsAbsoluteLatestVersion
SemVerLevel shouldn't affect whether the package was found.
SemVerLevel affects whether the package was found.
No response
Not relevant, API.
Prerequisites
Steps to reproduce
Found two modules that the PowerShell Gallery API won't return if
semverlevel=2.0.0
, but does return ifsemverlevel=1.0.0
.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 onlyIsAbsoluteLatestVersion
trigger that?):Expected behavior
Actual behavior
Error details
No response
Environment data
Version
Not relevant, API.
Visuals
No response