Releases: chocolatey/choco
Releases · chocolatey/choco
2.5.1
1.4.4
2.5.0
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.
2.4.3
1.4.3
2.4.2
1.4.2
2.4.1
1.4.1
2.4.0
As part of this release we had 20 issues closed.
Bug Fixes
- Fix - Update tab completions for compatibility with PowerShell 7.4+ - see #3364.
- Fix - Prevent dependency resolution from unexpectedly downgrading packages - see #3461.
- Fix - Do not install packages if dependencies fail to install - see #3487.
- Fix - Ensure package folders are correctly restored if unexpected failures occur during upgrade - see #3489.
- Fix - Use the user-provided page size when querying repositories - see #3502.
- Fix - Ensure
.arguments
files that cannot be decrypted do not prevent running Chocolatey CLI commands - see #3503. - Fix - Ensure invalid
.arguments
files do not prevent running Chocolatey CLI commands - see #3513.
Deprecated Feature
- Deprecate the
Install-ChocolateyPinnedTaskBarItem
helper function - see #3520.
Documentation
- Update build instructions - see #3467.
- Fixed parameter name typo in the chocolateyInstall template - see #3504.
Improvements
- Rework build process to remove the use of
-unpackself
command - see #3427. - Dependency resolution during install can be slow - see #3451.
- Remove historical folder migration logic from
chocolateysetup.psm1
- see #3501. - Updated the bundled version of 7zip to 24.08 - see #3505.
- Provide better information through the user agent when querying remote repositories - see #3526.