Discussed below are the change highlights included in this release, but we also have a full set of release notes available:

Update tab completions for compatibility with PowerShell 7.4+

PowerShell removed some older methods of providing tab completion in 7.4.x. We have updated our tab completion to use the newer tab completion methods available from PowerShell 5 and onwards, which are still fully supported.

Prevent dependency resolution from unexpectedly downgrading packages

There was an issue with some uncommon situations that could occur, especially with some .install packages and metapackages (for example vlc and vlc.install), where attempting to upgrade packages would unexpectedly downgrade one of the packages. This has been resolved and will no longer occur.

Do not install packages if dependencies fail to install

Previously Chocolatey CLI would continue to install some packages even if a dependency they require failed to install, unless the stopOnFirstPackageFailure feature was enabled. This change ensures that users cannot get into broken states where their local packages folder contains broken dependency chains, which would otherwise prevent installing or updating any other packages until the missing dependencies are installed.

Improvements to dependency resolution

Performance improvements have been made to dependency resolution to allow it to function more effectively. This improves some corner cases dramatically, but will be an overall performance improvement for dependency resolution in general and reduces the number of queries Chocolatey CLI needs to make when resolving dependencies.

Learn More

To find out more about Chocolatey CLI, check out the documentation.


comments powered by Disqus