microsoft / azure-pipelines-tasks

Tasks for Azure Pipelines
https://aka.ms/tfbuild
MIT License
3.42k stars 2.58k forks source link

[Question]: Was there an announcement that the nuget installer would stop installing 4.3.x version of nuget? #20087

Open trevors20 opened 2 days ago

trevors20 commented 2 days ago

Task name

Nuget Tool Installer

Task version

1.238.1

Environment type (Please select at least one enviroment where you face this issue)

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Windows 2022

Question

In the last couple of hours we are suddenly seeing these errors from the Nuget Tool Installer:

Starting: Use NuGet 4.3.x
==============================================================================
Task         : NuGet tool installer
Description  : Acquires a specific version of NuGet from the internet or the tools cache and adds it to the PATH. Use this task to change the version of NuGet used in the NuGet tasks.
Version      : 1.238.1
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/tool/nuget
==============================================================================
You are using a query match on the version string. Behavior changes or breaking changes might occur as NuGet updates to a new version.
##[error]No version was found which matches the input 4.3.x
ERR:Tool install failed: NuGet
##[error]The available versions are: 6.10.1; 6.9.1; 6.8.1; 6.7.1; 6.6.2; 6.5.1; 6.4.3; 6.3.4; 6.2.4; 6.0.6; 5.11.6
Finishing: Use NuGet 4.3.x

This was quite unexpected for us and we are suddenly scrambling to try and upgrade to a newer version to see if it will work in our build pipelines.  Was there an announcement for this that we were unaware of?
And where could we register to receive those annoucements in the future?
Thx.
dhavemeyer-symplr commented 2 days ago

It looks like the ado pipeline nuget installer depends on the following document: https://dist.nuget.org/tools.json. This had been updated to exclude a bunch of old versions, but seems like it has been reverted now.

I would also like a communication from microsoft to understand whether or not this was intentional or planned.