2.5.0
Read our blog post about this release.
As part of this release we had 41 issues closed.
[!NOTE]
The new
--include-headersoption as well as some of the expanded tab completions will not fully function with Chocolatey Licensed Extension. See our tracking issue for more information.
Features
- Add
choco licensecommand. - Add
choco supportcommand.
Bug Fixes
- Execution of the
refreshenvcommand incorrectly removes%(percent) characters from environment variable values. choco upgradecommand fails with error messageThe string is missing the terminator: '.whenuseRememberedArgumentsForUpgradesfeature is enabled.- See #2410 by BlythMeister, resolved in !2804 by BlythMeister, !3705 by AdmiringWorm.
- Chocolatey CLI outputs errors/warnings when validating a license file with
--limit-outputoption enabled. - Execution of the
refreshenvcommand fails when an environment variables contains a|(pipe) character.- See #3294 by notexactlyawe, resolved in !3688 by gep13.
- Incorrect environment variable name being used in documentation and in the template generated by the
choco newcommand. - Unable to list template information via the
choco templatecommand when template name includes capital letters.
Improvements
- Throw error (with suggestion on how to fix) when usage of
-voption in conjunction with a version number is detected.- See #123 by ferventcoder, resolved in !3730 by AdmiringWorm.
- Expand the
ChocolateyTabExpansion.ps1file with completions for multiple Chocolatey CLI commands.- See #669 by ferventcoder, resolved in !3725 by gep13, !3728 by AdmiringWorm.
- Add ability for Chocolatey CLI to calculate hash for large files (over 2 GB).
- See #747 by ruckc, resolved in !2714 by TheCakeIsNaOH.
- Add ability to pass multiple arguments to the
Install-ChocolateyFileAssociationPowerShell function. - Add ability for package maintainers to know the package version of previously installed package version during
choco upgradecommand.- See #1713 by FranklinYu, resolved in !3689 by gep13.
- Add a headers row to the output from all appropriate Chocolatey CLI commands when using
--limit-outputoption. - Add
$env:ChocolateyPackageIdenvironment variable to represent theidfrom the nuspec file for a package.- See #2781 by schittli, resolved in !2900 by steviecoaster.
- Remove verbose wording for confirmation messages when installing and upgrading packages.
- See #2848 by lemonlambda, resolved in !2849 by lemonlambda.
- Add the ability for package maintainers to know when the
--not-silentoption is being used by Chocolatey commands.- See #3666 by TheCakeIsNaOH, resolved in !3695 by gep13.
- Improve readability, maintainabilty, and correctness of the
ChocolateyTabExpansion.ps1file. - Add
--order-byoption tochoco searchcommand to extend ability to order package results.- See #3709 by AdmiringWorm, resolved in !1619 by bartvanandel.
- Add short
-noption to thechoco newandchoco configcommands to improve consistency with other commands. - Add ability for
choco listcommand to ignore packages that are pinned using--ignore-pinnedoption. - Add ability to always ignore the HTTP request cache when running Chocolatey CLI commands.
Documentation
- Fix documentation for
Install-ChocolateyZipPackageoutput. - Fix typo in
--onlineoption.
Contributors
19 contributors made this release possible.