Skip to content

NuGet.Server 3.2.1

Compare
Choose a tag to compare
@joelverhagen joelverhagen released this 21 Mar 18:05
c2cac1d

This release supersedes 3.2.0, which is now unlisted on nuget.org.

It was brought to our attention by @Levente0xFFFF that a breaking change was introduced in 3.2.0 which broke the scenario around hosting multiple feeds in one web app. To fix this breaking change, we changed the default behavior of NuGetV2WebApiEnabler.UseNuGetV2WebApiFeed that changed in 3.2.0. Now, this API does not register the legacy push route /api/v2/package unless an overload is called which specifies enableLegacyPushRoute: true.

Note that the NuGet.Server 3.2.1 example C# file that is dropped into your project upon installation has this boolean property specified. If you installed NuGet.Server 3.2.0 and upgrade to 3.2.1, you will need to specify this boolean to enable the legacy push route.

NuGetV2WebApiEnabler.UseNuGetV2WebApiFeed(
    config,
    "NuGetDefault",
    "nuget",
    controllerName,
    enableLegacyPushRoute: true); // This last parameter is what you need.