Skip to content

NuGet v3 Preview

Pre-release
Pre-release
Compare
Choose a tag to compare
@brywang-msft brywang-msft released this 20 Dec 20:22
· 145 commits to master since this release

1.2.0-preview

A preview version of PackageManagement with NuGet v3 support. Currently we've only verified MyGet and NuGet.org implementations. Please log bugs with other server implementations if there are issues. Also please note any performance issues.

New features

  • Register and use a NuGet v3 URL
Register-PackageSource -Name NuGet3 -Location https://api.nuget.org/v3/index.json -ProviderName NuGet
Find-Package awssdk -Source NuGet3
  • Prototype argument completer without proxy support. Either only a NuGet v3 source must be registered for NuGet provider OR a NuGet v3 source must be specified before the -Name parameter. The script is currently only available on GitHub here
.\Register-FindPackageNuGetArgumentCompleter.ps1
Find-Package -Source NuGet3 -Name <tab>

Breaking changes

  • Searching for a package term with the -AllVersions switch is no longer allowed. This is due to concerns about stressing search services.
Find-Package aws* -AllVersions # Not allowed
Find-Package awssdk -AllVersions # Allowed