|
| 1 | +--- |
| 2 | +title: NuGet 6.9 Release Notes |
| 3 | +description: Release notes for NuGet 6.9 including new features, bug fixes, and DCRs. |
| 4 | +author: jgonz120 |
| 5 | +ms.author: jongonza |
| 6 | +ms.date: 2/1/2024 |
| 7 | +ms.topic: conceptual |
| 8 | +--- |
| 9 | + |
| 10 | +# NuGet 6.9 Release Notes |
| 11 | + |
| 12 | +NuGet distribution vehicles: |
| 13 | + |
| 14 | +| NuGet version | Available in Visual Studio version | Available in .NET SDK(s) | |
| 15 | +|:---|:---|:---| |
| 16 | +| [**6.9**](https://nuget.org/downloads) | [Visual Studio 2022 version 17.9](https://visualstudio.microsoft.com/downloads/) | [8.0.200](https://dotnet.microsoft.com/download/dotnet/8.0)<sup>1</sup> | |
| 17 | + |
| 18 | +<sup>1</sup> Installed with Visual Studio 2022 with any .NET workload |
| 19 | + |
| 20 | +## Summary: What's New in 6.9 |
| 21 | + |
| 22 | +* Support for dotnet search command (equivalent to nuget.exe list, later search) - [#6060](https://github.com/NuGet/Home/issues/6060) [#5138](https://github.com/NuGet/Home/issues/5138) |
| 23 | + |
| 24 | +* PM UI multi targeting experience is incomplete - support for updating and uninstalling conditional package versions - [#4681](https://github.com/NuGet/Home/issues/4681) |
| 25 | + |
| 26 | +### Breaking changes |
| 27 | + |
| 28 | +* Add nullable annotations to NuGet.LibraryModel - [#12889](https://github.com/NuGet/Home/issues/12889) |
| 29 | + |
| 30 | +### Issues fixed in this release |
| 31 | + |
| 32 | +* NuGetAudit should not download vulnerabilities database when project does not use any packages - [#13073](https://github.com/NuGet/Home/issues/13073) |
| 33 | + |
| 34 | +* Static graph-based restore should not enumerate every item's metadata - [#13049](https://github.com/NuGet/Home/issues/13049) |
| 35 | + |
| 36 | +* Migrate NuGet.CommandLine.XPlat package search to use System.CommandLine - [#13031](https://github.com/NuGet/Home/issues/13031) |
| 37 | + |
| 38 | +* Add `--format`, `--verbosity` , `configfile` options to `dotnet package search` - [#12978](https://github.com/NuGet/Home/issues/12978) |
| 39 | + |
| 40 | +* Set NuGetAudit defaults in MSBuild - [#12960](https://github.com/NuGet/Home/issues/12960) |
| 41 | + |
| 42 | +* RestoreTask: Control whether to embed files in the binlog - [#12957](https://github.com/NuGet/Home/issues/12957) |
| 43 | + |
| 44 | +* Create NU Error Code for Package Source Mapping & GPF conflicts - [#12953](https://github.com/NuGet/Home/issues/12953) |
| 45 | + |
| 46 | +* [DCR]: Allow floating versions with Central Package Management (CPM) - [#10432](https://github.com/NuGet/Home/issues/10432) |
| 47 | + |
| 48 | +* Static Graph restore won't warn for invalid projects - [#9300](https://github.com/NuGet/Home/issues/9300) |
| 49 | + |
| 50 | +* Rename no-cache to no-http-cache - [#9180](https://github.com/NuGet/Home/issues/9180) |
| 51 | + |
| 52 | +* VS Package Manager Console should close Text View - [#13104](https://github.com/NuGet/Home/issues/13104) |
| 53 | + |
| 54 | +* Vulnerability indicator shows up on dependent project if parent project has transitive vulnerabilities - [#13068](https://github.com/NuGet/Home/issues/13068) |
| 55 | + |
| 56 | +* Conditional updating when *all* packages are conditioned is broken - [#13034](https://github.com/NuGet/Home/issues/13034) |
| 57 | + |
| 58 | +* Perf issue in AssetsFileDependenciesDataSource - [#13019](https://github.com/NuGet/Home/issues/13019) |
| 59 | + |
| 60 | +* The `NuGetPackageSearchService.GetDeprecationMetadataAsync` in `NuGet.PackageManagement.VisualStudio` is dead code - [#13007](https://github.com/NuGet/Home/issues/13007) |
| 61 | + |
| 62 | +* Vulnerabilities filter shows incorrectly on “Brower” tab when the default tab was “Browse” instead of “Installed” for the previous opening of solution PM UI - [#12974](https://github.com/NuGet/Home/issues/12974) |
| 63 | + |
| 64 | +* HTTP 401 after some time in VS - [#12961](https://github.com/NuGet/Home/issues/12961) |
| 65 | + |
| 66 | +* [NuGet.Versioning] SemanticVersion.HasMetadata should indicate that Metadata is not null when true - [#12949](https://github.com/NuGet/Home/issues/12949) |
| 67 | + |
| 68 | +* TelemetryUtility.ToJsonArrayOfTimingsInSeconds returns incorrect json array on locales having comma as decimal separator - [#12915](https://github.com/NuGet/Home/issues/12915) |
| 69 | + |
| 70 | +* Static graph-based restore does not respect Interactive option when loading projects - [#12907](https://github.com/NuGet/Home/issues/12907) |
| 71 | + |
| 72 | +* Vulnerabilities InfoBar link to `Manage NuGet Packages` is truncated - [#12835](https://github.com/NuGet/Home/issues/12835) |
| 73 | + |
| 74 | +* NuGet.Build.Tasks caches CredentialProvider device flow timeout. - [#12540](https://github.com/NuGet/Home/issues/12540) |
| 75 | + |
| 76 | +* "error: Sequence contains no matching element" when listing outdated packages - [#12256](https://github.com/NuGet/Home/issues/12256) |
| 77 | + |
| 78 | +* [Bug]: Process argument string is too long when publishing in Visual Studio with static graph enabled - [#11968](https://github.com/NuGet/Home/issues/11968) |
| 79 | + |
| 80 | +* [Bug]: PM UI cannot uninstall packages in multitargeting projects - [#11914](https://github.com/NuGet/Home/issues/11914) |
| 81 | + |
| 82 | +* When a package is installed in the global packages folder, add details about the package location - [#11447](https://github.com/NuGet/Home/issues/11447) |
| 83 | + |
| 84 | +* NuGet should handle duplicate nomination data better. - [#8749](https://github.com/NuGet/Home/issues/8749) |
| 85 | + |
| 86 | +[List of commits in this release](https://github.com/NuGet/NuGet.Client/compare/6.9.0.74...6.8.0.131) |
| 87 | + |
| 88 | +### Community contributions |
| 89 | + |
| 90 | +Thank you to all the contributors who helped make this NuGet release awesome! |
| 91 | + |
| 92 | +* [KirillOsenkov](https://github.com/KirillOsenkov) |
| 93 | + * Control embedding Restore files in binlog - [5494](https://github.com/NuGet/NuGet.Client/pull/5494) |
| 94 | + * Don't log task inputs and outputs when binary logger is enabled - [5498](https://github.com/NuGet/NuGet.Client/pull/5498) |
| 95 | +* [Erarndt](https://github.com/Erarndt) |
| 96 | + * Unroll Linq usage in FilterDependencyProvidersForLibrary - [5535](https://github.com/NuGet/NuGet.Client/pull/5535) |
| 97 | + * Reduce allocations in calls to CreateGraphNode() - [5531](https://github.com/NuGet/NuGet.Client/pull/5531) |
| 98 | +* [dotnokato](https://github.com/dotnokato) |
| 99 | + * Fix tests failing when run on systems with non-English language/locale settings - [5442](https://github.com/NuGet/NuGet.Client/pull/5442) |
| 100 | + * Fix incorrect json array returned for locales with comma as decimal separator in TelemetryUtility.ToJsonArrayOfTimingsInSeconds - [5441](https://github.com/NuGet/NuGet.Client/pull/5441) |
| 101 | +* [ellahathaway](https://github.com/ellahathaway) |
| 102 | + * Shorten source-build inner clone paths - [5543](https://github.com/NuGet/NuGet.Client/pull/5543) |
| 103 | +* [jasonmalinowski](https://github.com/jasonmalinowski) |
| 104 | + * Output a more debuggable message if a single value isn't specified - [5533](https://github.com/NuGet/NuGet.Client/pull/5533) |
| 105 | +* [mthalman](https://github.com/mthalman) |
| 106 | + * Target net9.0 for .NET source build - [5511](https://github.com/NuGet/NuGet.Client/pull/5511) |
| 107 | +* [NikolaMilosavljevic](https://github.com/NikolaMilosavljevic) |
| 108 | + * Eliminate obsolete API warnings/errors in product source-build - [5496](https://github.com/NuGet/NuGet.Client/pull/5496) |
| 109 | +* [amis92](https://github.com/amis92) |
| 110 | + * Add MemberNotNullWhen to SemanticVersion.HasMetadata - [5465](https://github.com/NuGet/NuGet.Client/pull/5465) |
0 commit comments