|
| 1 | +--- |
| 2 | +title: NuGet 6.11 Release Notes |
| 3 | +description: Release notes for NuGet 6.11 including new features, bug fixes, and DCRs. |
| 4 | +author: martinrrm |
| 5 | +ms.date: 8/13/2024 |
| 6 | +ms.topic: conceptual |
| 7 | +--- |
| 8 | +# NuGet 6.11 Release Notes |
| 9 | + |
| 10 | +NuGet distribution vehicles: |
| 11 | + |
| 12 | +| NuGet version | Available in Visual Studio version | Available in .NET SDK(s) | |
| 13 | +|:---|:---|:---| |
| 14 | +| [**6.11**](https://nuget.org/downloads) | [Visual Studio 2022 version 17.11](https://visualstudio.microsoft.com/downloads/) | [8.0.4xx](https://dotnet.microsoft.com/download/dotnet/8.0)<sup>1</sup> | |
| 15 | + |
| 16 | +<sup>1</sup> Installed with Visual Studio 2022 with any .NET workload |
| 17 | + |
| 18 | +## Summary: What's New in 6.11 |
| 19 | + |
| 20 | +* Suppress NuGetAudit warnings for specific advisories for PackageReference projects - [#13679](https://github.com/NuGet/Home/issues/13679) |
| 21 | + |
| 22 | +* Add `--allow-insecure-connections` option to dotnet SDK - [#13396](https://github.com/NuGet/Home/issues/13396) |
| 23 | + |
| 24 | +* Swap authors for owners in Visual Studio Package Manager UI - [#12501](https://github.com/NuGet/Home/issues/12501) |
| 25 | + |
| 26 | +* [Feature]: add dotnet nuget why to dotnet CLI - [#11943](https://github.com/NuGet/Home/issues/11943) |
| 27 | + |
| 28 | +* NuGet cannot restore from HTTPS sources that have SSL certificate problems - [#4387](https://github.com/NuGet/Home/issues/4387) |
| 29 | + |
| 30 | +### Breaking changes |
| 31 | + |
| 32 | +* `MSBuildRestoreUtility.GetRestoreAuditProperties` needs a breaking change to read `NuGetAuditSuppress` items - [#13313](https://github.com/NuGet/Home/issues/13313) |
| 33 | + |
| 34 | +### Issues fixed in this release |
| 35 | + |
| 36 | +* IVsNuGetProjectUpdateEvents.ProjectUpdateStarted or ProjectUpdateFinished should only provide a list of files that will get changed. - [#13413](https://github.com/NuGet/Home/issues/13413) |
| 37 | + |
| 38 | +* `dotnet nuget` commands should not output usage information on all errors - [#13251](https://github.com/NuGet/Home/issues/13251) |
| 39 | + |
| 40 | +* [DCR]: NuGet causes many ArgumentExceptions to be thrown & caught in VS - [#11535](https://github.com/NuGet/Home/issues/11535) |
| 41 | + |
| 42 | +* Remove .NET Framework TFM from NuGet.CommandLine.XPlat - [#8452](https://github.com/NuGet/Home/issues/8452) |
| 43 | + |
| 44 | +* PERF: GetPackageInfo allocates by unnecessarily calling GetNupkgMetadataPath - [#13556](https://github.com/NuGet/Home/issues/13556) |
| 45 | + |
| 46 | +* 'dotnet nuget why' crashes when using --framework option - [#13547](https://github.com/NuGet/Home/issues/13547) |
| 47 | + |
| 48 | +* SignatureUtility.GetCertificates in NuGet.Client can skip calling Dispose on error - [#13535](https://github.com/NuGet/Home/issues/13535) |
| 49 | + |
| 50 | +* 'dotnet nuget why' does not work when a directory is provided for the 'Path' argument - [#13527](https://github.com/NuGet/Home/issues/13527) |
| 51 | + |
| 52 | +* NuGet IntelliCode Package Suggestions are missing Author in packages list - [#13515](https://github.com/NuGet/Home/issues/13515) |
| 53 | + |
| 54 | +* Rebuilding in VS causes unnecessary restores - [#13505](https://github.com/NuGet/Home/issues/13505) |
| 55 | + |
| 56 | +* MSB4181: The "Restore Task" task returned false but did not log an error. - [#13460](https://github.com/NuGet/Home/issues/13460) |
| 57 | + |
| 58 | +* TaskResultCache incorrectly shares the same lock object for all the keys. - [#13448](https://github.com/NuGet/Home/issues/13448) |
| 59 | + |
| 60 | +* Calls to CompareTo and Equals should not allocate - [#13442](https://github.com/NuGet/Home/issues/13442) |
| 61 | + |
| 62 | +* Enable Nullable and throw in KnownOwnerViewModel - [#13425](https://github.com/NuGet/Home/issues/13425) |
| 63 | + |
| 64 | +* `PackageSourceProvider.UpdatePackageSource` doesn't respect a value from `disableTLSCertificateValidation` attribute - [#13423](https://github.com/NuGet/Home/issues/13423) |
| 65 | + |
| 66 | +* `PackageSourceProvider.UpdatePackageSource` doesn't respect a value from `AllowInsecureConnection` field - [#13418](https://github.com/NuGet/Home/issues/13418) |
| 67 | + |
| 68 | +* "nuget install -ExcludeVersion" inaccurate reports "already installed" when trying to install older version - [#13334](https://github.com/NuGet/Home/issues/13334) |
| 69 | + |
| 70 | +* Vulnerability InfoBar remains visible in the Solution Explorer after closing solution - [#13055](https://github.com/NuGet/Home/issues/13055) |
| 71 | + |
| 72 | +[List of commits in this release](https://github.com/NuGet/NuGet.Client/compare/6.11.0.122...6.10.1.5) |
| 73 | + |
| 74 | +### Community contributions |
| 75 | + |
| 76 | +Thank you to all the contributors who helped make this NuGet release awesome! |
| 77 | + |
| 78 | +* [seclerp](https://github.com/seclerp) |
| 79 | + * [5783](https://github.com/NuGet/NuGet.Client/pull/5783) Fix `PackageSourceProvider.UpdatePackageSource` doesn't respect a value from `DisableTLSCertificateValidation` field |
| 80 | + * [5767](https://github.com/NuGet/NuGet.Client/pull/5767) Fix `PackageSourceProvider.UpdatePackageSource` doesn't respect a value from `AllowInsecureConnection` field |
| 81 | +* [mmitche](https://github.com/mmitche) |
| 82 | + * [5749](https://github.com/NuGet/NuGet.Client/pull/5749) Build NuGet from the VMR |
| 83 | + * [5752](https://github.com/NuGet/NuGet.Client/pull/5752) Fixup signing support conditional |
| 84 | +* [ToddGrun](https://github.com/ToddGrun) |
| 85 | + * [5859](https://github.com/NuGet/NuGet.Client/pull/5859) Reduce allocations in GetPackageInfo by conditionally calling GetNupkgMetadataPath |
| 86 | +* [omajid](https://github.com/omajid) |
| 87 | + * [5848](https://github.com/NuGet/NuGet.Client/pull/5848) Dispose certificates on failure in SignatureUtility.GetCertificates |
| 88 | +* [SimonCropp](https://github.com/SimonCropp) |
| 89 | + * [5842](https://github.com/NuGet/NuGet.Client/pull/5842) remove redundant .GetTypeInfo() |
| 90 | +* [ryanmolden](https://github.com/ryanmolden) |
| 91 | + * [5834](https://github.com/NuGet/NuGet.Client/pull/5834) Eliminate first-chance ArgumentExceptions when querying a legacy project for properties that don't exist via DTE |
| 92 | +* [hickford](https://github.com/hickford) |
| 93 | + * [5743](https://github.com/NuGet/NuGet.Client/pull/5743) Correct message in the case that a higher version of package is already installed |
| 94 | +* [ViktorHofer](https://github.com/ViktorHofer) |
| 95 | + * [5764](https://github.com/NuGet/NuGet.Client/pull/5764) Use .NET SDK sourcelink integration |
| 96 | +* [NikolaMilosavljevic](https://github.com/NikolaMilosavljevic) |
| 97 | + * [5738](https://github.com/NuGet/NuGet.Client/pull/5738) Disable CA2022 errors |
| 98 | +* [jv42](https://github.com/jv42) |
| 99 | + * [5717](https://github.com/NuGet/NuGet.Client/pull/5717) Fixed NullReferenceException in ResolverComparer |
0 commit comments