Skip to content

Release v3.165.11

Choose a tag to compare

@github-actions github-actions released this 01 Dec 01:43
e317783

Changed

  • Template feed credentials (%VARIABLE% values in packageSourceCredentials) are only used from your user-level or machine-wide NuGet config, and only for a feed defined over HTTPS in the same file.
  • When a NuGet config file is present in the working directory or any directory above it, or that cannot be verified, template feeds are used without credentials. A one-time warning explains how to move feeds and %TOKEN% credentials into the user-level config.
  • On Windows the user-level config is read from %APPDATA%\NuGet\NuGet.Config; the previous %USERPROFILE%\.nuget\NuGet\NuGet.Config location is still read with lower precedence.
  • Feed discovery reads source names and URLs as before; additional source attributes such as minPublishAgeHours no longer affect it.
  • If CI relied on a repository nuget.config with %TOKEN% credentials for template feeds, define that feed and its credentials in the user-level NuGet config of the build agent instead.

Security

  • Repository or directory-level NuGet configuration can no longer cause environment values to be sent as template feed credentials.