From 7883fbf35c205ec65fcb36611d5fa269593d7e0e Mon Sep 17 00:00:00 2001 From: Martin Ruiz Date: Mon, 5 Aug 2024 10:29:30 -0700 Subject: [PATCH 1/5] release notes for 6.11 --- docs/release-notes/NuGet-6.11.md | 62 ++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 docs/release-notes/NuGet-6.11.md diff --git a/docs/release-notes/NuGet-6.11.md b/docs/release-notes/NuGet-6.11.md new file mode 100644 index 000000000..c3da2f107 --- /dev/null +++ b/docs/release-notes/NuGet-6.11.md @@ -0,0 +1,62 @@ +--- +title: NuGet 6.11 Release Notes +description: Release notes for NuGet 6.11 including new features, bug fixes, and DCRs. +author: mruizmares +ms.date: 8/1/2024 +ms.topic: conceptual +--- + +# NuGet 6.11 Release Notes + +NuGet distribution vehicles: + +| NuGet version | Available in Visual Studio version | Available in .NET SDK(s) | +|:---|:---|:---| +| [**6.11**](https://nuget.org/downloads) | [Visual Studio 2022 version 17.11](https://visualstudio.microsoft.com/downloads/) | [](https://dotnet.microsoft.com/download/dotnet/1 | + +1 Installed with Visual Studio 2022 with any .NET workload + +## Summary: What's New in 6.11 + +* [Feature]: add dotnet nuget why to dotnet CLI - [#11943](https://github.com/NuGet/Home/issues/11943) + +### Breaking changes + +### Issues fixed in this release + +* [DCR]: NuGet causes many ArgumentExceptions to be thrown & caught in VS - [#11535](https://github.com/NuGet/Home/issues/11535) + +* Remove .NET Framework TFM from NuGet.CommandLine.XPlat - [#8452](https://github.com/NuGet/Home/issues/8452) + +* Enable Nullable and throw in KnownOwnerViewModel - [#13425](https://github.com/NuGet/Home/issues/13425) + +* `PackageSourceProvider.UpdatePackageSource` doesn't respect a value from `disableTLSCertificateValidation` attribute - [#13423](https://github.com/NuGet/Home/issues/13423) + +[List of commits in this release](https://github.com/NuGet/NuGet.Client/compare/6.11.0.122...6.10.1.5) + +### Community contributions + +Thank you to all the contributors who helped make this NuGet release awesome! + +* [seclerp](https://github.com/NuGet/NuGet.Client/pull/5783) + * [5783](https://github.com/NuGet/NuGet.Client/pull/5783) Fix `PackageSourceProvider.UpdatePackageSource` doesn't respect a value from `DisableTLSCertificateValidation` field + * [5767](https://github.com/NuGet/NuGet.Client/pull/5767) Fix `PackageSourceProvider.UpdatePackageSource` doesn't respect a value from `AllowInsecureConnection` field +* [mmitche](https://github.com/NuGet/NuGet.Client/pull/5749) + * [5749](https://github.com/NuGet/NuGet.Client/pull/5749) Build NuGet from the VMR + * [5752](https://github.com/NuGet/NuGet.Client/pull/5752) Fixup signing support conditional +* [ToddGrun](https://github.com/NuGet/NuGet.Client/pull/5859) + * [5859](https://github.com/NuGet/NuGet.Client/pull/5859) Reduce allocations in GetPackageInfo by conditionally calling GetNupkgMetadataPath +* [omajid](https://github.com/NuGet/NuGet.Client/pull/5848) + * [5848](https://github.com/NuGet/NuGet.Client/pull/5848) Dispose certificates on failure in SignatureUtility.GetCertificates +* [SimonCropp](https://github.com/NuGet/NuGet.Client/pull/5842) + * [5842](https://github.com/NuGet/NuGet.Client/pull/5842) remove redundant .GetTypeInfo() +* [ryanmolden](https://github.com/NuGet/NuGet.Client/pull/5834) + * [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 +* [hickford](https://github.com/NuGet/NuGet.Client/pull/5743) + * [5743](https://github.com/NuGet/NuGet.Client/pull/5743) Correct message in the case that a higher version of package is already installed +* [ViktorHofer](https://github.com/NuGet/NuGet.Client/pull/5764) + * [5764](https://github.com/NuGet/NuGet.Client/pull/5764) Use .NET SDK sourcelink integration +* [NikolaMilosavljevic](https://github.com/NuGet/NuGet.Client/pull/5738) + * [5738](https://github.com/NuGet/NuGet.Client/pull/5738) Disable CA2022 errors +* [jv42](https://github.com/NuGet/NuGet.Client/pull/5717) + * [5717](https://github.com/NuGet/NuGet.Client/pull/5717) Fixed NullReferenceException in ResolverComparer From 02c0e2b3cf1eb553e385f44dce0f6f337ab36531 Mon Sep 17 00:00:00 2001 From: Martin Ruiz Date: Tue, 6 Aug 2024 11:31:21 -0700 Subject: [PATCH 2/5] update release notes with corrected milestones in issues --- docs/release-notes/NuGet-6.11.md | 45 +++++++++++++++++++++++++++++--- 1 file changed, 42 insertions(+), 3 deletions(-) diff --git a/docs/release-notes/NuGet-6.11.md b/docs/release-notes/NuGet-6.11.md index c3da2f107..23337ef96 100644 --- a/docs/release-notes/NuGet-6.11.md +++ b/docs/release-notes/NuGet-6.11.md @@ -1,37 +1,76 @@ --- title: NuGet 6.11 Release Notes description: Release notes for NuGet 6.11 including new features, bug fixes, and DCRs. -author: mruizmares +author: martinrrm ms.date: 8/1/2024 ms.topic: conceptual --- - # NuGet 6.11 Release Notes NuGet distribution vehicles: | NuGet version | Available in Visual Studio version | Available in .NET SDK(s) | |:---|:---|:---| -| [**6.11**](https://nuget.org/downloads) | [Visual Studio 2022 version 17.11](https://visualstudio.microsoft.com/downloads/) | [](https://dotnet.microsoft.com/download/dotnet/1 | +| [**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)1 | 1 Installed with Visual Studio 2022 with any .NET workload ## Summary: What's New in 6.11 +* Suppress NuGetAudit warnings for specific advisories for PackageReference projects - [#13679](https://github.com/NuGet/Home/issues/13679) + +* Add `--allow-insecure-connections` option to dotnet SDK - [#13396](https://github.com/NuGet/Home/issues/13396) + +* Swap authors for owners in Visual Studio Package Manager UI - [#12501](https://github.com/NuGet/Home/issues/12501) + * [Feature]: add dotnet nuget why to dotnet CLI - [#11943](https://github.com/NuGet/Home/issues/11943) +* NuGet cannot restore from HTTPS sources that have SSL certificate problems - [#4387](https://github.com/NuGet/Home/issues/4387) + ### Breaking changes +* `MSBuildRestoreUtility.GetRestoreAuditProperties` needs a breaking change to read `NuGetAuditSuppress` items - [#13313](https://github.com/NuGet/Home/issues/13313) + +* NuGetAudit should check transitive packages by default when the .NET 9 SDK is installed - [#13293](https://github.com/NuGet/Home/issues/13293) + ### Issues fixed in this release +* IVsNuGetProjectUpdateEvents.ProjectUpdateStarted or ProjectUpdateFinished should only provide a list of files that will get changed. - [#13413](https://github.com/NuGet/Home/issues/13413) + +* `dotnet` commands should not output usage information on all errors - [#13251](https://github.com/NuGet/Home/issues/13251) + * [DCR]: NuGet causes many ArgumentExceptions to be thrown & caught in VS - [#11535](https://github.com/NuGet/Home/issues/11535) * Remove .NET Framework TFM from NuGet.CommandLine.XPlat - [#8452](https://github.com/NuGet/Home/issues/8452) +* PERF: GetPackageInfo allocates by unnecessarily calling GetNupkgMetadataPath - [#13556](https://github.com/NuGet/Home/issues/13556) + +* 'dotnet nuget why' crashes when using --framework option - [#13547](https://github.com/NuGet/Home/issues/13547) + +* SignatureUtility.GetCertificates in NuGet.Client can skip calling Dispose on error - [#13535](https://github.com/NuGet/Home/issues/13535) + +* 'dotnet nuget why' does not work when a directory is provided for the 'Path' argument - [#13527](https://github.com/NuGet/Home/issues/13527) + +* NuGet IntelliCode Package Suggestions are missing Author in packages list - [#13515](https://github.com/NuGet/Home/issues/13515) + +* Rebuilding in VS causes unnecessary restores - [#13505](https://github.com/NuGet/Home/issues/13505) + +* MSB4181: The "Restore Task" task returned false but did not log an error. - [#13460](https://github.com/NuGet/Home/issues/13460) + +* TaskResultCache incorrectly shares the same lock object for all the keys. - [#13448](https://github.com/NuGet/Home/issues/13448) + +* Calls to CompareTo and Equals should not allocate - [#13442](https://github.com/NuGet/Home/issues/13442) + * Enable Nullable and throw in KnownOwnerViewModel - [#13425](https://github.com/NuGet/Home/issues/13425) * `PackageSourceProvider.UpdatePackageSource` doesn't respect a value from `disableTLSCertificateValidation` attribute - [#13423](https://github.com/NuGet/Home/issues/13423) +* `PackageSourceProvider.UpdatePackageSource` doesn't respect a value from `AllowInsecureConnection` field - [#13418](https://github.com/NuGet/Home/issues/13418) + +* "nuget install -ExcludeVersion" inaccurate reports "already installed" when trying to install older version - [#13334](https://github.com/NuGet/Home/issues/13334) + +* Vulnerability InfoBar remains visible in the Solution Explorer after closing solution - [#13055](https://github.com/NuGet/Home/issues/13055) + [List of commits in this release](https://github.com/NuGet/NuGet.Client/compare/6.11.0.122...6.10.1.5) ### Community contributions From 324b53cc40202f0b1d07e11b8915ab1e0ee7df48 Mon Sep 17 00:00:00 2001 From: Martin Ruiz Date: Fri, 9 Aug 2024 13:30:25 -0700 Subject: [PATCH 3/5] document fixes --- docs/release-notes/NuGet-6.11.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/release-notes/NuGet-6.11.md b/docs/release-notes/NuGet-6.11.md index 23337ef96..03d8c5ddd 100644 --- a/docs/release-notes/NuGet-6.11.md +++ b/docs/release-notes/NuGet-6.11.md @@ -2,7 +2,7 @@ title: NuGet 6.11 Release Notes description: Release notes for NuGet 6.11 including new features, bug fixes, and DCRs. author: martinrrm -ms.date: 8/1/2024 +ms.date: 8/13/2024 ms.topic: conceptual --- # NuGet 6.11 Release Notes @@ -37,7 +37,7 @@ NuGet distribution vehicles: * IVsNuGetProjectUpdateEvents.ProjectUpdateStarted or ProjectUpdateFinished should only provide a list of files that will get changed. - [#13413](https://github.com/NuGet/Home/issues/13413) -* `dotnet` commands should not output usage information on all errors - [#13251](https://github.com/NuGet/Home/issues/13251) +* `dotnet nuget` commands should not output usage information on all errors - [#13251](https://github.com/NuGet/Home/issues/13251) * [DCR]: NuGet causes many ArgumentExceptions to be thrown & caught in VS - [#11535](https://github.com/NuGet/Home/issues/11535) @@ -77,25 +77,25 @@ NuGet distribution vehicles: Thank you to all the contributors who helped make this NuGet release awesome! -* [seclerp](https://github.com/NuGet/NuGet.Client/pull/5783) +* [seclerp](https://github.com/seclerp) * [5783](https://github.com/NuGet/NuGet.Client/pull/5783) Fix `PackageSourceProvider.UpdatePackageSource` doesn't respect a value from `DisableTLSCertificateValidation` field * [5767](https://github.com/NuGet/NuGet.Client/pull/5767) Fix `PackageSourceProvider.UpdatePackageSource` doesn't respect a value from `AllowInsecureConnection` field -* [mmitche](https://github.com/NuGet/NuGet.Client/pull/5749) +* [mmitche](https://github.com/mmitche) * [5749](https://github.com/NuGet/NuGet.Client/pull/5749) Build NuGet from the VMR * [5752](https://github.com/NuGet/NuGet.Client/pull/5752) Fixup signing support conditional -* [ToddGrun](https://github.com/NuGet/NuGet.Client/pull/5859) +* [ToddGrun](https://github.com/ToddGrun) * [5859](https://github.com/NuGet/NuGet.Client/pull/5859) Reduce allocations in GetPackageInfo by conditionally calling GetNupkgMetadataPath -* [omajid](https://github.com/NuGet/NuGet.Client/pull/5848) +* [omajid](https://github.com/omajid) * [5848](https://github.com/NuGet/NuGet.Client/pull/5848) Dispose certificates on failure in SignatureUtility.GetCertificates -* [SimonCropp](https://github.com/NuGet/NuGet.Client/pull/5842) +* [SimonCropp](https://github.com/SimonCropp) * [5842](https://github.com/NuGet/NuGet.Client/pull/5842) remove redundant .GetTypeInfo() -* [ryanmolden](https://github.com/NuGet/NuGet.Client/pull/5834) +* [ryanmolden](https://github.com/ryanmolden) * [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 -* [hickford](https://github.com/NuGet/NuGet.Client/pull/5743) +* [hickford](https://github.com/hickford) * [5743](https://github.com/NuGet/NuGet.Client/pull/5743) Correct message in the case that a higher version of package is already installed -* [ViktorHofer](https://github.com/NuGet/NuGet.Client/pull/5764) +* [ViktorHofer](https://github.com/ViktorHofer) * [5764](https://github.com/NuGet/NuGet.Client/pull/5764) Use .NET SDK sourcelink integration -* [NikolaMilosavljevic](https://github.com/NuGet/NuGet.Client/pull/5738) +* [NikolaMilosavljevic](https://github.com/NikolaMilosavljevic) * [5738](https://github.com/NuGet/NuGet.Client/pull/5738) Disable CA2022 errors -* [jv42](https://github.com/NuGet/NuGet.Client/pull/5717) +* [jv42](https://github.com/jv42) * [5717](https://github.com/NuGet/NuGet.Client/pull/5717) Fixed NullReferenceException in ResolverComparer From a71a41781e9016e3e8fc5a18a54fbeec0fe6af66 Mon Sep 17 00:00:00 2001 From: Martin Ruiz Date: Mon, 12 Aug 2024 15:42:35 -0700 Subject: [PATCH 4/5] remove from breacking change --- docs/release-notes/NuGet-6.11.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/release-notes/NuGet-6.11.md b/docs/release-notes/NuGet-6.11.md index 03d8c5ddd..dc7489ef0 100644 --- a/docs/release-notes/NuGet-6.11.md +++ b/docs/release-notes/NuGet-6.11.md @@ -31,8 +31,6 @@ NuGet distribution vehicles: * `MSBuildRestoreUtility.GetRestoreAuditProperties` needs a breaking change to read `NuGetAuditSuppress` items - [#13313](https://github.com/NuGet/Home/issues/13313) -* NuGetAudit should check transitive packages by default when the .NET 9 SDK is installed - [#13293](https://github.com/NuGet/Home/issues/13293) - ### Issues fixed in this release * IVsNuGetProjectUpdateEvents.ProjectUpdateStarted or ProjectUpdateFinished should only provide a list of files that will get changed. - [#13413](https://github.com/NuGet/Home/issues/13413) From ffcd1d99555efc4ce3c8d8b2d4a93117fc6d60af Mon Sep 17 00:00:00 2001 From: Martin Ruiz Date: Mon, 12 Aug 2024 15:52:35 -0700 Subject: [PATCH 5/5] add release notes to TOC --- docs/TOC.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/TOC.md b/docs/TOC.md index 965cbdedb..4296bca8d 100644 --- a/docs/TOC.md +++ b/docs/TOC.md @@ -341,6 +341,7 @@ ### [Known Issues](release-notes/known-issues.md) ### NuGet 6.x +#### [NuGet 6.11](release-notes/NuGet-6.11.md) #### [NuGet 6.10](release-notes/NuGet-6.10.md) #### [NuGet 6.9](release-notes/NuGet-6.9.md) #### [NuGet 6.8](release-notes/NuGet-6.8.md)