What changed in Chocolatey from 1 to 2
8 releases numbered after 1.4.7 up to and including 2.7.4, stable releases only. 1.4.7 and 2.7.4 are the newest stable releases of 1 and 2 we track; this page follows them as new ones ship.
32 changes across 8 releases
- Capture the source that was being used when searching for packages
- Include software install path in choco info output
- Record and display the source location used to install package
- Add choco license command
- Add choco support command
- Add ability for Chocolatey CLI to calculate hash for large files over 2 GB
- 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
- Add $env:ChocolateyPackageId environment variable to represent the id from the nuspec file for a package
- Add a headers row to the output from all appropriate Chocolatey CLI commands when using --limit-output option
- Upgrade log4net to 3.3.1
- Update bundled 7zip executables to v26.01
- Update bundled 7zip executables to v26.00
- Update tab completion script with new options added in Chocolatey Licensed Extension
- Update bundled 7zip executables to v25.01
- Expand the ChocolateyTabExpansion.ps1 file with completions for multiple Chocolatey CLI commands
- Remove verbose wording for confirmation messages when installing and upgrading packages
- Throw error with suggestion on how to fix when usage of -v option in conjunction with a version number is detected
- Corrupted package prevents new package installations
- Linux docker container does not find choco.exe
- Handle passwords with non ASCII characters when interacting with authenticating sources
- Paths for TMP and TEMP are no longer overridden when running refreshenv as SYSTEM
- Installing a new license no longer enables the chocolatey.licensed source if it was originally disabled
- Unable to install additional packages in the Docker image due to addition of backports repository
- Execution of the refreshenv command incorrectly removes % (percent) characters from environment variable values
- choco upgrade command fails with error message The string is missing the terminator: ' when useRememberedArgumentsForUpgrades feature is enabled
- 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
- 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
- Upgrade log4net to 3.3.1 in chocolatey.lib
- Update bundled 7zip executables to 26.02
Original release notes, newest first
The list above is our reading of these notes; the originals from Chocolatey Software are here, one fold per release.
2.7.4
As part of this release we had 2 issues closed.
Dependency Changes
- [Security] Upgrade log4net to 3.3.1 in chocolatey.lib.
- [Security] Update bundled 7zip executables to 26.02.
- See #3918 by AdmiringWorm, resolved in !3924 by alexaveldanez.
Contributors
3 contributors made this release possible.
2.7.3
As part of this release we had 2 issues closed.
Bug Fix
- Corrupted package prevents new package installations.
Contributors
2 contributors made this release possible.
SHA256 Hashes of the release artifacts
3ae5e9cc9cfa8347d243662006fc4e75936561cfb1c6605f6c37d81edf48fbc7 chocolatey-2.7.3.0.msi40778cc59245b3eb6ea5147aeef5bea5d577419e5abce22a224189740dc16db5 chocolatey.2.7.3.nupkga4879a4260f162c029a318791cbd90a7d191ee9d815e9981bcfee6e433ec83a2 chocolatey.lib.2.7.3.nupkg561b4ea32936d794f2b938a9a5f00488d0a92116182bd8640a78728d06bbf9bf chocolatey.v2.7.3.tar.gz
2.7.2
2.7.1
As part of this release we had 1 issue closed.
Bug Fix
- Linux docker container (v2.7.0-linux) does not find choco.exe.
- See #3867 by Montellese, resolved in !3869 by gep13.
Contributors
2 contributors made this release possible.
2.7.0
As part of this release we had 11 issues closed.
Dependency Change
- Update bundled 7zip executables to v26.00.
- See #3857 by AdmiringWorm, resolved in !3858 by AdmiringWorm.
Enhancements
- Capture the source that was being used when searching for packages.
Bug Fix
- Chocolatey does not handle passwords with non ASCII characters when interacting with authenticating sources
- See #3600 by pfremy, resolved in !3762 by AdmiringWorm.
Contributors
2 contributors made this release possible.
2.6.0
As part of this release we had 117 commits which resulted in 11 issues being closed.
Read our blog post about this release.
Bug Fixes
- Paths for
TMP&TEMPare overridden when running "refreshenv" as "SYSTEM". - Installing a new license enables
chocolatey.licensedsource even if it was originally disabled.- See #3802 by sync-by-unito[bot], resolved in !3803 by vexx32.
Enhancements
- Include software install path in
choco infooutput. - Record and display the source location used to install package.
- Update tab completion script with new options added in Chocolatey Licensed Extension.
- See #3817 by AdmiringWorm, resolved in !3818 by AdmiringWorm.
Contributors
8 contributors made this release possible.
2.5.1
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.