We are thrilled to announce the highly anticipated release of Chocolatey CLI, Chocolatey GUI, Chocolatey GUI Licensed Extension, and Chocolatey Agent version 2.0.0, and Chocolatey Licensed Extension version 6.0.0. These releases bring a wealth of exciting new features and enhancements that will further elevate your package management experience. In this blog post, we'll highlight the key additions and important considerations for upgrading.
NuGet v3 Feed Support
One of the major updates in this release is the inclusion of NuGet v3 feed support. This empowers users to leverage the extensive NuGet v3 repository managers that are available and easily integrate Chocolatey with those NuGet feeds, opening up a world of possibilities for your software management needs.
.NET 4.8 Framework Requirement
To ensure optimal performance and compatibility, the new versions of Chocolatey CLI now requires the .NET 4.8 framework. Upgrading to the latest .NET framework will enable you to take full advantage of the enhanced capabilities and security features offered by Chocolatey CLI.
Using a Sonatype Nexus Package Source
If you use a Sonatype Nexus repository as a package source, you need to be aware of a bug in NuGet v2 repositories. See our upgrade guide for more information.
Removal of Side-by-Side Installs
With these new releases, we have decided to remove support for side-by-side installs. You can find more information on this in our upgrade guide.
choco list Command
As outlined in the 1.0.0 releases, we intended to change the behaviour of the
choco list command. As part of the 2.0.0 release, we have completed that change. It now lists only the local packages installed on your system and displays an error if you use the
-lo option. If you have automations, scripts or integrations that rely on the
-r options, this change will not break your workflow as the removed options are ignored in this context. We recommend that you remove those options from your automations or scripts as this behaviour may change in a future release.
Package Version Normalization
Due to updated semantic version requirements imposed by the newer iterations of the NuGet libraries, some version numbers may appear differently than they did in Chocolatey CLI v1.x. As of Chocolatey CLI v2.0.0:
- Version numbers that have fewer than three parts will have the version filled out to three segments (for example,
1.2will be normalized to
- Version numbers that have leading zeroes in any part will have those leading zeroes removed (for example,
1.001.2will be normalized to
This normalization is applied to the generated nupkg when using
choco pack, and will also affect any displayed versions of packages from remote sources.
The release of the new major versions of Chocolatey products marks a significant milestone in the evolution of package management. With the introduction of NuGet v3 feed support, the requirement of .NET 4.8 framework, and various other enhancements, these new versions offer increased compatibility and expanded functionality.
It is important to be aware of the changes and take the necessary precautions when upgrading, and ensure that you review any customizations or configurations made to previous versions.
If you have any doubts about upgrading, any areas that you are just uncertain about or have any questions at all about upgrading, please don't proceed. Help is available.
Happy packaging with Chocolatey 2.0.0!
- #news 61 Number of post with tag news
- #press release 50 Number of post with tag press release
- #chocolatey for business 27 Number of post with tag chocolatey for business
- #open source 13 Number of post with tag open source
- #chocolatey community repository 7 Number of post with tag chocolatey community repository
- #packaging 6 Number of post with tag packaging
- #chocolatey central management 5 Number of post with tag chocolatey central management
- #how to 5 Number of post with tag how to
- #chocolatey cli 4 Number of post with tag chocolatey cli
- #announcements 3 Number of post with tag announcements