Read our blog post about this release.
As part of this release we had 41 issues closed.
Note
The new --include-headers
option 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 license
command. - Add
choco support
command.
Bug Fixes
- Execution of the
refreshenv
command incorrectly removes%
(percent) characters from environment variable values. choco upgrade
command fails with error messageThe string is missing the terminator: '.
whenuseRememberedArgumentsForUpgrades
feature 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-output
option enabled. - Execution of the
refreshenv
command 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 new
command. - Unable to list template information via the
choco template
command when template name includes capital letters.
Improvements
- Throw error (with suggestion on how to fix) when usage of
-v
option in conjunction with a version number is detected.- See #123 by ferventcoder, resolved in !3730 by AdmiringWorm.
- Expand the
ChocolateyTabExpansion.ps1
file 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-ChocolateyFileAssociation
PowerShell function. - Add ability for package maintainers to know the package version of previously installed package version during
choco upgrade
command.- 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-output
option. - Add
$env:ChocolateyPackageId
environment variable to represent theid
from 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-silent
option is being used by Chocolatey commands.- See #3666 by TheCakeIsNaOH, resolved in !3695 by gep13.
- Improve readability, maintainabilty, and correctness of the
ChocolateyTabExpansion.ps1
file. - Add
--order-by
option tochoco search
command to extend ability to order package results.- See #3709 by AdmiringWorm, resolved in !1619 by bartvanandel.
- Add short
-n
option to thechoco new
andchoco config
commands to improve consistency with other commands. - Add ability for
choco list
command to ignore packages that are pinned using--ignore-pinned
option. - Add ability to always ignore the HTTP request cache when running Chocolatey CLI commands.
Documentation
- Fix documentation for
Install-ChocolateyZipPackage
output. - Fix typo in
--online
option.
Contributors
19 contributors made this release possible.