http://open-source-security-software.net/project/choco/releases.atom Recent releases for choco 2025-04-29T10:51:21.777877+00:00 python-feedgen choco 0.12.0 choco 0.12.0 2022-01-19T09:22:27+00:00 > :warning: **WARNING** > > If you use Chocolatey Licensed Extension you will need to install v3.1.0 of Chocolatey Licensed Extension to use all the new functionality that has been added to Chocolatey CLI v0.12.0. ### Breaking Changes * Remove ScriptsCheckLastExitCode feature - see [#2522](https://github.com/chocolatey/choco/issues/2522) ### Features * Add command (choco template) to retrieve information about currently installed package templates - see [#449](https://github.com/chocolatey/choco/issues/449) * Add configuration option for default template name to be used in conjunction with the choco new command - see [#2377](https://github.com/chocolatey/choco/issues/2377) ### Bug Fixes * Fix - Building a package on Linux fails if the description has encoded xml special character(s) - see [#2382](https://github.com/chocolatey/choco/issues/2382) * Fix - Building a package on Linux fails if nuspec does not have files element - see [#2379](https://github.com/chocolatey/choco/issues/2379) * Fix - choco pack command fails on non-Windows when the nupkg already exists - see [#2076](https://github.com/chocolatey/choco/issues/2076) * Fix - Install location is invalid on Linux if the ChocolateyInstall environment variable is not set - see [#2370](https://github.com/chocolatey/choco/issues/2370) * Fix - During upgrade, removal of old choco.exe does not use absolute path on Linux - see [#2369](https://github.com/chocolatey/choco/issues/2369) * Fix - Attempting to use ProtectedData.Protect with LocalMachine scope fails when run on non-Windows system as a non-root user - see [#2437](https://github.com/chocolatey/choco/issues/2437) * Fix - Chocolatey packaging script (chocolateyBeforeModify.ps1) incorrectly running on non-Windows platforms - see [#2510](https://github.com/chocolatey/choco/issues/2510) * Fix - choco install command ignores install arguments when specifying direct path to nupkg - see [#2089](https://github.com/chocolatey/choco/issues/2089) * Fix - Deleting NuGet temp folders fails when running on Linux - see [#2383](https://github.com/chocolatey/choco/issues/2383) ### Improvements * Warn about unsupported packages when executing Chocolatey on non-Windows platforms - see [#2481](https://github.com/chocolatey/choco/issues/2481) * Display install location for purely portable packages - see [#2241](https://github.com/chocolatey/choco/issues/2241) * Provide more clarity on errors when attempting to push packages to Chocolatey Community Repository - see [#2007](https://github.com/chocolatey/choco/issues/2007) * Support empty directories within Chocolatey template folder - [#1003](https://github.com/chocolatey/choco/issues/1003) * Snapshotting of files and config transform has been enabled on non-Windows systems - see [#2450](https://github.com/chocolatey/choco/issues/2450) * Prevent usage of alternate Chocolatey installation/upgrade sources on non-Windows systems - see [#2424](https://github.com/chocolatey/choco/issues/2424) * Improve response message regarding moderation times when using choco push command - see [#2298](https://github.com/chocolatey/choco/issues/2298) ### Documentation * Fix outdated bit.ly links in command documentation - see [#2401](https://github.com/chocolatey/choco/issues/2401) * Update default template regarding building Chocolatey package on non-Windows systems - see [#2384](https://github.com/chocolatey/choco/issues/2384) * Fix version number used in default template - see [#2381](https://github.com/chocolatey/choco/pull/2381) ### Release Video A short video explaining what is included in this release can be found here: [![Chocolatey CLI Release 0.12.0](http://img.youtube.com/vi/Ip6e35dshBw/0.jpg)](http://www.youtube.com/watch?v=Ip6e35dshBw "Chocolatey CLI Release 0.12.0") 2022-01-19T09:22:27+00:00 choco 0.12.1 choco 0.12.1 2022-01-25T09:12:16+00:00 ### Bug Fixes - Fix - Installation of Chocolatey fails when running under "AllSigned" execution policy - see [#2539](https://github.com/chocolatey/choco/issues/2539) - Fix - Output from "choco template -h" references wrong subcommand in usage statement - see [#2546](https://github.com/chocolatey/choco/issues/2546) ### Release Video A short video explaining what is included in this release can be found here: [![Chocolatey CLI Release 0.12.1](http://img.youtube.com/vi/4055gqvwyuk/0.jpg)](http://www.youtube.com/watch?v=4055gqvwyuk "Chocolatey CLI Release 0.12.1") 2022-01-25T09:12:16+00:00 choco 1.0.0 choco 1.0.0 2022-03-18T11:26:47+00:00 ### Breaking Changes - Remove deprecated Chocolatey commands and shims - see [#2468](https://github.com/chocolatey/choco/issues/2468) - Remove deprecated Chocolatey helper functions - see [#2469](https://github.com/chocolatey/choco/issues/2469) - Remove the cpack command alias - see [#89](https://github.com/chocolatey/choco/issues/89) - Remove the fallback to using old URL for Chocolatey Community Repository when pushing packages - see [#2628](https://github.com/chocolatey/choco/issues/2628) - Remove deprecated -t argument for the push command - see [#2627](https://github.com/chocolatey/choco/issues/2627) - Ensure that Chocolatey correctly handles removed features when running the choco feature command - see [#2538](https://github.com/chocolatey/choco/issues/2538) ### Improvements - Update to use version v1.0.0 of shimgen - see [#2602](https://github.com/chocolatey/choco/issues/2602) - Installation of Chocolatey should add a more descriptive comment when adding Chocolatey tab-completion module to profile - see [#2443](https://github.com/chocolatey/choco/issues/2443) ### Documentation - Update deprecation notice for push command to mention that the default source will be removed in v2.0.0 - see [#2634](https://github.com/chocolatey/choco/issues/2634) - Mark Chocolatey shims (chocolatey. cinst, clist, cpush, cuninst, cup) as deprecated - see [#2641](https://github.com/chocolatey/choco/issues/2641) - Mark Get-BinRoot Chocolatey helper function as deprecated - see [#2470](https://github.com/chocolatey/choco/issues/2470) - Add deprecation notices for all things that are set to change in v2.0.0 - see [#2462](https://github.com/chocolatey/choco/issues/2462) - Provide better clarity regarding the license terms for using Chocolatey and shimgen - see [#2549](https://github.com/chocolatey/choco/issues/2549), [#2615](https://github.com/chocolatey/choco/issues/2615), and [2614](https://github.com/chocolatey/choco/issues/2614) - Document the fact that the Source switch doesn't do anything when running the command choco list --lo - see [#2545](https://github.com/chocolatey/choco/issues/2545) - Update warning that is shown regarding using a trial license of Chocolatey - see [#2407](https://github.com/chocolatey/choco/issues/2407) ### Release Video A short video explaining what is included in this release can be found here: [![Chocolatey CLI Release 1.0.0](http://img.youtube.com/vi/7Go3VLEGK_o/0.jpg)](http://www.youtube.com/watch?v=7Go3VLEGK_o "Chocolatey CLI Release 1.0.0") 2022-03-18T11:26:47+00:00 choco 1.0.1 choco 1.0.1 2022-03-24T12:59:04+00:00 ### Bug Fix - Fix - When Chocolatey CLI v1.0.0 attempts to load Chocolatey Licensed Extension versions less than v4.0.0, it halts execution with an unclear and unhelpful error message - see [#2656](https://github.com/chocolatey/choco/issues/2656) ### Release Video A short video explaining what is included in this release can be found here: [![Chocolatey CLI Release 1.0.1](http://img.youtube.com/vi/l4RqA4iLca0/0.jpg)](http://www.youtube.com/watch?v=l4RqA4iLca0 "Chocolatey CLI Release 1.0.1") 2022-03-24T12:59:04+00:00 choco 1.1.0 choco 1.1.0 2022-03-30T07:34:41+00:00 ### Bug Fixes - Fix - Python alternate source does not handle `all` keyword correctly - see [#2540](https://github.com/chocolatey/choco/issues/2540) - Fix - Incorrect error message is displayed when chocolatey.config becomes corrupt - see [#2525](https://github.com/chocolatey/choco/issues/2525) - Fix - When running the `choco outdated` command the wrong exit code is shown when there is a pinned package and the `--ignore-pinned` option is being used - see [#1896](https://github.com/chocolatey/choco/issues/1896) - Fix - Windows PowerShell incorrectly identifies a PowerShell file that is UTF8 encoded with a BOM as being signed if it is a single newline - see [#2663](https://github.com/chocolatey/choco/issues/2663) - Fix - Unable to install Chocolatey using PowerShell Core - see [#2083](https://github.com/chocolatey/choco/issues/2083) ### Improvements - Support installation checks for incompatible Licensed Extension when running `choco upgrade chocolatey` - see [#2659](https://github.com/chocolatey/choco/issues/2659) - Support runtime checks for incompatible Chocolatey CLI and Chocolatey Licensed Extension versions - see [#2660](https://github.com/chocolatey/choco/issues/2660) - When triggered, these checks will output a warning and the beginning of the command execution, and at the end of it. To acknowledge these warnings you can either pass the `--skip-compatibility-checks` option when executing a command, or you can enable the `DisableCompatibilityChecks` feature using the following command `choco feature enable --name="'disableCompatibilityChecks'"` - Include the latest version of 7zip (v21.07) within Chocolatey installation - see [#2650](https://github.com/chocolatey/choco/issues/2650) ### Release Video A short video explaining what is included in this release can be found here: [![Chocolatey CLI Release 1.1.0](http://img.youtube.com/vi/wm9FiYRm8mA/0.jpg)](http://www.youtube.com/watch?v=wm9FiYRm8mA "Chocolatey CLI Release 1.1.0") 2022-03-30T07:34:41+00:00 choco 0.11.3 choco 0.11.3 2022-06-14T06:23:32+00:00 ### Bug Fixes - Fix - Chocolatey fails to load all PowerShell helper cmdlets when attempting to loads modules - see [#2412](https://github.com/chocolatey/choco/issues/2412) - Fix - Chocolateys PowerShell Installer Module uses non PowerShell 2 compatible syntax - see [#2398](https://github.com/chocolatey/choco/issues/2398) - Fix - Running Chocolatey CLI with an expired Chocolatey License can result in non-commercial commands failing to run - see [#2289](https://github.com/chocolatey/choco/issues/2289) - Fix - Installing from packages.config doesn't support installing from other sources (e.g. windowsfeatures, python, etc) - see [#877](https://github.com/chocolatey/choco/issues/877) - Fix - Quoted InstallLocation in .registry file results in errors when attempting to automatically uninstall application - see [#2336](https://github.com/chocolatey/choco/issues/2336) ### Release Video A short video explaining what is included in this release can be found here: [![Chocolatey CLI Release 0.11.3](http://img.youtube.com/vi/py-3BJIPebk/0.jpg)](http://www.youtube.com/watch?v=py-3BJIPebk "Chocolatey CLI Release 0.11.3") 2022-06-14T06:23:32+00:00 choco 0.11.2 choco 0.11.2 2022-06-14T06:24:41+00:00 ### Bug Fix - Fix - Setting of Authorization header in Get-WebFile cmdlet does not work - see [#2374](https://github.com/chocolatey/choco/issues/2374) ### Release Video A short video explaining what is included in this release can be found here: [![Chocolatey CLI Release 0.11.2](http://img.youtube.com/vi/YMLpILkkoGc/0.jpg)](http://www.youtube.com/watch?v=YMLpILkkoGc "Chocolatey CLI Release 0.11.2") 2022-06-14T06:24:41+00:00 choco 0.11.1 choco 0.11.1 2022-06-14T06:25:18+00:00 ### Bug Fix - Fix - Chocolatey Licensed Extension is not loaded into PowerShell process when using v0.11.0 - see [#2340](https://github.com/chocolatey/choco/issues/2340) ### Release Video A short video explaining what is included in this release can be found here: [![Chocolatey CLI Release 0.11.1](http://img.youtube.com/vi/hSCh9o37qb8/0.jpg)](http://www.youtube.com/watch?v=hSCh9o37qb8 "Chocolatey CLI Release 0.11.1") 2022-06-14T06:25:18+00:00 choco 0.11.0 choco 0.11.0 2022-06-14T06:26:18+00:00 > :warning: **WARNING** > > If you use Chocolatey Licensed Extension you will need to install v2.2.0 of Chocolatey Licensed Extension to use all the new functionality that has been added to Chocolatey CLI v0.11.0. ### Breaking Changes - Disable importing / loading of DLL in the extension folder - see [#2333](https://github.com/chocolatey/choco/issues/2333) - choco list -e -a returns pre-releases even when --pre is not passed - see [#2304](https://github.com/chocolatey/choco/issues/2304) ### Bug Fixes - Fix - Prevent creation of empty nuget.config in user appdata folder - see [#2233](https://github.com/chocolatey/choco/issues/2233) - Fix - Upgrade all with remembered arguments changes packages to pre-release - see [#2111](https://github.com/chocolatey/choco/issues/2111) - Fix - Software applications are being reported as not being managed by Chocolatey when their associated package is installed - see [#2092](https://github.com/chocolatey/choco/issues/2092) - Fix - Unable to remove API Key with choco apikey command - see [#1889](https://github.com/chocolatey/choco/issues/1889) - Fix - Not all package versions are returned when running running choco list --all-versions --exact - see [#1843](https://github.com/chocolatey/choco/issues/1843) - Fix - Upgrade all reuses overridden package parameters when useRememberedArgumentsForUpgrades feature is turned on - see [#1443](https://github.com/chocolatey/choco/issues/1443) - Fix - choco pack fails when running on Mono when current directory is not the same one that contains the .nuspec being packed - see [#2263](https://github.com/chocolatey/choco/issues/2263) - Fix - Running choco pack on Mono on Linux will not include any files in .nupkg if there is no files element in the .nuspec - see [#2258](https://github.com/chocolatey/choco/issues/2258) - Fix - Nuspec files with forward slash creates nested layer of directories when packed on Windows - see [#2166](https://github.com/chocolatey/choco/issues/2166) - Fix - Prevent loading of Chocolatey GUI Licensed Extension assembly - see [#2078](https://github.com/chocolatey/choco/issues/2078) - Fix - Working directory always being replaced with configured cache location when using Start-ChocolateyProcessAsAdmin - see [#2051](https://github.com/chocolatey/choco/issues/2051) - Fix - Temp location can change unexpectedly when using System credentials - see [#2044](https://github.com/chocolatey/choco/issues/2044) - Fix - Incorrect output regarding package files when package can't be found to be downloaded - see [#1962](https://github.com/chocolatey/choco/issues/1962) ### Improvements - [Security] XML External Entity attack in log4net (CVE-2018-1285) - see [#2266](https://github.com/chocolatey/choco/issues/2266) - Provide ability to export all currently installed packages to a packages.config file - see [#357](https://github.com/chocolatey/choco/issues/357) - Provide ability to execute PowerShell script right before installation starts when using Install-ChocolateyPackage - see [#1060](https://github.com/chocolatey/choco/issues/1060) - Add ChocolateyExitOnRebootDetected feature setting to environment variables for usage within package scripts - see [#1983](https://github.com/chocolatey/choco/issues/1983) - Only search top level package folders when running the remove pending packages task - see [#1866](https://github.com/chocolatey/choco/issues/1866) - Change default repository in the chocolatey.config to community.chocolatey.org - see [#2231](https://github.com/chocolatey/choco/issues/2231) - Support UnzipLocation as an alias to Destination parameter in the Get-ChocolateyUnzip function - see [#2203](https://github.com/chocolatey/choco/issues/2203) - API - Allow Lets.GetChocolatey to not initialize logging - see [#2124](https://github.com/chocolatey/choco/issues/2124) - Provide ability to install msp patch files using Install-ChocolateyInstallPackage function - see [#2112](https://github.com/chocolatey/choco/issues/2112) - Add ability to use authorization headers in the Get-WebFile function - see [#1998](https://github.com/chocolatey/choco/issues/1998) - Ensure nuspec files generated from the choco new command use UTF-8 without a byte order mark - see [#1364](https://github.com/chocolatey/choco/issues/1364) - Provide top level help command explaining what commands can be executed - see [#944](https://github.com/chocolatey/choco/issues/944) - Ensure correct path separator in nuspec files is used on different operating systems - see [#502](https://github.com/chocolatey/choco/issues/502) - Remove unused variable in uninstall template generated from choco new command - see [#2114](https://github.com/chocolatey/choco/issues/2114) ### Documentation - Clarify the SpecificFolder parameter for helper functions - see [#2190](https://github.com/chocolatey/choco/issues/2190) - Update deprecation notice to use outdated command when using version command - see [#2048](https://github.com/chocolatey/choco/issues/2048) - Include information about --version option in choco help documentation - see [#2049](https://github.com/chocolatey/choco/issues/2049) - Fix examples for Install-ChocolateyPackage function - see [#1899](https://github.com/chocolatey/choco/issues/1899) - Terminology improvements in choco.exe help output - see [#1861](https://github.com/chocolatey/choco/issues/1861) - Wrong error message shown when using Get-ChocolateyWebFile and forcex86 - see [#1859](https://github.com/chocolatey/choco/issues/1859) ### Release Video A short video explaining what is included in this release can be found here: [![Chocolatey CLI Release 0.11.0](http://img.youtube.com/vi/hMzbedfEl8w/0.jpg)](http://www.youtube.com/watch?v=hMzbedfEl8w "Chocolatey CLI Release 0.11.0") 2022-06-14T06:26:18+00:00 choco 1.2.0 choco 1.2.0 2022-10-19T16:17:58+00:00 As part of this release we had [29 issues](https://github.com/chocolatey/choco/milestone/57?closed=1) closed. > [!NOTE] > > As part of this release, we have added the functionality to allow officially signed extensions, other than Chocolatey Licensed Extension, to be loaded dynamically. See [#2693](https://github.com/chocolatey/choco/issues/2693). ### Feature - Allow post/pre hooks to run on upgrade/install/uninstall - see [#1185](https://github.com/chocolatey/choco/issues/1185) ### Deprecated Features - Deprecate side-by-side installs - see [#2787](https://github.com/chocolatey/choco/issues/2787) ### Bug Fixes - Fix - Upgrade all reuses overridden package parameters when useRememberedArgumentsForUpgrades feature is turned on - see [#1443](https://github.com/chocolatey/choco/issues/1443) - Fix - Wrong item set for overriding credentials when using remembered arguments during upgrade - see [#2752](https://github.com/chocolatey/choco/issues/2752) - Fix - Python alternative source doesn't create arguments correctly due to spelling mistake - see [#2777](https://github.com/chocolatey/choco/issues/2777) - Fix - Directory permissions not set when installed from PowerShell 7.2.5 - see [#2789](https://github.com/chocolatey/choco/issues/2789) ### Improvements - [Security] Unable to extract files from nupkg when different file name encoding is used - see [#2816](https://github.com/chocolatey/choco/issues/2816) - Add cmdlet for acquiring paths set in environment variables that should not be used directly - see [#2860](https://github.com/chocolatey/choco/issues/2860) - Add support for the --pin option on the install and upgrade commands - see [#798](https://github.com/chocolatey/choco/issues/798) - Packages.config should include all options (including ignorechecksums) - see [#886](https://github.com/chocolatey/choco/issues/886) - Add option to skip file logging for Zip file extraction in the Get-ChocolateyUnZip and Install-ChocolateyZipPackage cmdlets - see [#1332](https://github.com/chocolatey/choco/issues/1332) - List parameters in templates - see [#2500](https://github.com/chocolatey/choco/issues/2500) - ChocolateyTabExpansion.ps1 can cause slow auto-complete in PowerShell - see [#2556](https://github.com/chocolatey/choco/issues/2556) - Change source type on source runners to be a generic string - see [#2791](https://github.com/chocolatey/choco/issues/2791) - Remove trailing semicolon in templates and tests - see [#2807](https://github.com/chocolatey/choco/issues/2807) ### Documentation - Minor spelling errors in chocolatey/choco - see [#2465](https://github.com/chocolatey/choco/issues/2465) - Update brand names - see [#2747](https://github.com/chocolatey/choco/pull/2747) 2022-10-19T16:17:58+00:00 choco 1.2.1 choco 1.2.1 2022-12-06T19:16:33+00:00 ### Bug Fixes - Running `choco new --file` returns "Cannot Combine Path" Error when Chocolatey Licensed Extension is installed and other assemblies are present in the extensions folder - see #2865 - Selecting `[A] Yes to all` at package script prompt does not work correctly - see #2872 - Attempting to upgrade multiple packages at once causes an error to be thrown about configuration backups - see #2884 2022-12-06T19:16:33+00:00 choco 2.0.0-alpha-20230124 choco 2.0.0-alpha-20230124 2023-01-24T14:47:37+00:00 > [!WARNING] > > This is a pre-release version of Chocolatey CLI and it is **NOT** suitable for production use! A pre-release version will have bugs that could have a detrimental impact to your environment. Ensure all necessary due diligence steps are taken before using in your environment. > [!WARNING] > > This pre-release version of Chocolatey CLI does **NOT** work with the Chocolatey Licensed Extension. It will actually prevent the loading of the Chocolatey Licensed Extension if it is installed. > [!NOTE] > > If you run into any problems when using this alpha version of Chocolatey CLI we would ask that you comment on this [discussion](https://github.com/chocolatey/choco/discussions/2995), which is where we will be collating issues, and providing workarounds, etc. We will not be accepting issues raised against this alpha release. ### Known Issues See this [list](https://github.com/chocolatey/choco/discussions/2995) for known issues with this pre-release. ### Breaking Changes - Upgrade to target version 4.8 of the .NET Framework - see [#2738](https://github.com/chocolatey/choco/issues/2738). - Prevent usage of leading 0 in package version numbers - see [#1174](https://github.com/chocolatey/choco/issues/1174). ### Bugs - `choco pack` command fails with error on Linux when using a file greater than 2 GB - see [#2278](https://github.com/chocolatey/choco/issues/2278). - Filenames that contain apostrophes aren't handled correctly when calculating checksums - see [#1590](https://github.com/chocolatey/choco/issues/1590) ### Documentation - Fix broken URLs in repository README file - see [#2888](https://github.com/chocolatey/choco/pull/2888). - Update package files to reflect current CCR moderation requirements - see [#2920](https://github.com/chocolatey/choco/issues/2920). ### Enhancements - Upgrade to target version 6.4.0 of NuGet.Client assemblies - see [#508](https://github.com/chocolatey/choco/issues/508). - Support Semantic Versioning 2.0.0 (semver) - see [#1610](https://github.com/chocolatey/choco/issues/1610). 2023-01-24T14:47:37+00:00 choco 1.3.0 choco 1.3.0 2023-02-16T13:59:18+00:00 As part of this release we had [6 issues](https://github.com/chocolatey/choco/milestone/59?closed=1) closed. ### Deprecated Features - Deprecate WebPI alternative source - see [#2958](https://github.com/chocolatey/choco/issues/2958) - Deprecate usage of direct path to nupkg or nuspec in choco install command - see [#2981](https://github.com/chocolatey/choco/issues/2981) - Deprecate the --remove option in the apikey command - see [#2983](https://github.com/chocolatey/choco/issues/2983) - Deprecate choco config list including output from features/sources/apikeys etc - see [#2985](https://github.com/chocolatey/choco/issues/2985) - Deprecate unnecessary public methods on CygwinService - see [#3026](https://github.com/chocolatey/choco/issues/3026) ### Bug Fixes - File not found error when using --source=cygwin to install packages - see [#2953](https://github.com/chocolatey/choco/issues/2953) 2023-02-16T13:59:18+00:00 choco 2.0.0-alpha-20230221 choco 2.0.0-alpha-20230221 2023-02-21T06:58:36+00:00 > [!WARNING] > > This is a pre-release version of Chocolatey CLI and it is **NOT** suitable for production use! A pre-release version will have bugs that could have a detrimental impact to your environment. Ensure all necessary due diligence steps are taken before using in your environment. > [!WARNING] > > This pre-release version of Chocolatey CLI **only** works with the alpha version of the Chocolatey Licensed Extension. > [!NOTE] > > If you run into any problems when using this alpha version of Chocolatey CLI we would ask that you comment on this [discussion](https://github.com/chocolatey/choco/discussions/2995), which is where we will be collating issues, and providing workarounds, etc. We will not be accepting issues raised against this alpha release. ### Known Issues See this [list](https://github.com/chocolatey/choco/discussions/2995) for known issues with this pre-release. ### Breaking Changes In addition to the breaking changes listed in the previous [alpha release](https://github.com/chocolatey/choco/releases/tag/2.0.0-alpha-20230124) below, the following changes have been made: - Introduce upper limit when querying for packages and warn when threshold is close to being hit - see [3014](https://github.com/chocolatey/choco/issues/3014). - Disallow passing in a path to a NUPKG file directly when installing/upgrading packages - see [3008](https://github.com/chocolatey/choco/issues/3008). ### Enhancement - Add back validation messages after upgrade to NuGet v3+ - see [3000](https://github.com/chocolatey/choco/issues/3000). ### Documentation - Fix typos and spelling errors - see [2990](https://github.com/chocolatey/choco/pull/2990). 2023-02-21T06:58:36+00:00 choco 2.0.0-alpha-20230307 choco 2.0.0-alpha-20230307 2023-03-07T07:32:48+00:00 > [!WARNING] > > This is a pre-release version of Chocolatey CLI and it is **NOT** suitable for production use! A pre-release version will have bugs that could have a detrimental impact to your environment. Ensure all necessary due diligence steps are taken before using in your environment. > [!WARNING] > > This pre-release version of Chocolatey CLI **only** works with the alpha version of the Chocolatey Licensed Extension. > [!NOTE] > > If you run into any problems when using this alpha version of Chocolatey CLI we would ask that you comment on this [discussion](https://github.com/chocolatey/choco/discussions/2995), which is where we will be collating issues, and providing workarounds, etc. We will not be accepting issues raised against this alpha release. ### Known Issues See this [list](https://github.com/chocolatey/choco/discussions/2995) for known issues with this pre-release. ### Bug Fixes - Fix `choco search` command that was providing invalid results when using the `--version` option. - Fix dependency resolution problems during execution of `choco upgrade` and `choco install`. ### Enhancements - Add back support for the `--disable-repository-optimizations` option which was missing in previous alpha releases. - Improvements made to warnings that are emitted when a dependency fails to be resolved during a `choco upgrade` or `choco install`. 2023-03-07T07:32:48+00:00 choco 1.3.1 choco 1.3.1 2023-03-14T18:27:35+00:00 As part of this release we had [1 issue](https://github.com/chocolatey/choco/milestone/62?closed=1) closed. ### Bug Fix - `chocolateyBeforeModify.ps1` does not get called for dependent packages - see [#1092](https://github.com/chocolatey/choco/issues/1092). 2023-03-14T18:27:35+00:00 choco 2.0.0-beta-20230321 choco 2.0.0-beta-20230321 2023-03-21T09:38:58+00:00 > [!WARNING] > > This is a pre-release version of Chocolatey CLI and it is **NOT** suitable for production use! A pre-release version will have bugs that could have a detrimental impact to your environment. Ensure all necessary due diligence steps are taken before using in your environment. > [!WARNING] > > This pre-release version of Chocolatey CLI **only** works with the beta version of the Chocolatey Licensed Extension. > [!NOTE] > > If you run into any problems when using this beta version of Chocolatey CLI we would ask that you comment on this [discussion](https://github.com/chocolatey/choco/discussions/2995), which is where we will be collating issues, and providing workarounds, etc. We will not be accepting issues raised against this beta release. ### Known Issues See this [list](https://github.com/chocolatey/choco/discussions/2995) for known issues with this pre-release. ### Breaking Changes In addition to the breaking changes listed in the previous [alpha release](https://github.com/chocolatey/choco/releases/tag/2.0.0-alpha-20230221) below, the following changes have been made: - `choco config list` should only include information about config - see [#2986](https://github.com/chocolatey/choco/issues/2986). - Remove the `--remove` option in `choco apikey` command and replace with `remove` subcommand - see [#2984](https://github.com/chocolatey/choco/issues/2984). - Remove WebPI alternative source - see [#2980](https://github.com/chocolatey/choco/issues/2980). - Rename or migrate away from custom HashCode class - see [#2909](https://github.com/chocolatey/choco/issues/2909). - Migrate from Rx-* packages to System.Reactive.* packages - see [#2896](https://github.com/chocolatey/choco/issues/2896). - Remove side-by-side installs - see [#2788](https://github.com/chocolatey/choco/issues/2788). - Fix spelling mistake in the extract_binary_file_from_assembly function - see [#2776](https://github.com/chocolatey/choco/issues/2776). - Remove deprecated Chocolatey shims (`chocolatey`, `cinst`, `clist`, `cpush`, `cuninst`, `cup`) - see [#2642](https://github.com/chocolatey/choco/issues/2642). - Remove deprecated configurations from Config - see [#2630](https://github.com/chocolatey/choco/issues/2630). - Remove the default push location when uploading/pushing packages - see [#2629](https://github.com/chocolatey/choco/issues/2629). - Remove Get-BinRoot Chocolatey helper function - see [#2623](https://github.com/chocolatey/choco/issues/2623). - `choco config list --limit-output` does not limit output as expected - see [#2013](https://github.com/chocolatey/choco/issues/2013). - Change default behavior of `choco list` to be local only - see [#158](https://github.com/chocolatey/choco/issues/158). ### Enhancements - Ability to specify a default source when doing `choco push` - see [#62](https://github.com/chocolatey/choco/issues/62). - Remove re-instated Chocolatey commands which were added in v1.0.1 - see [#2678](https://github.com/chocolatey/choco/issues/2678). 2023-03-21T09:38:58+00:00 choco 2.0.0-beta-20230412 choco 2.0.0-beta-20230412 2023-04-12T07:32:42+00:00 > [!WARNING] > > This is a pre-release version of Chocolatey CLI and it is **NOT** suitable for production use! A pre-release version will have bugs that could have a detrimental impact to your environment. Ensure all necessary due diligence steps are taken before using in your environment. > [!WARNING] > > This pre-release version of Chocolatey CLI **only** works with the beta version of the Chocolatey Licensed Extension. > [!NOTE] > > If you run into any problems when using this beta version of Chocolatey CLI we would ask that you comment on this [discussion](https://github.com/chocolatey/choco/discussions/2995), which is where we will be collating issues, and providing workarounds, etc. We will not be accepting issues raised against this beta release. ### Known Issues See this [list](https://github.com/chocolatey/choco/discussions/2995) for known issues with this pre-release. ### Bugs - Chocolatey does not override NuGet proxy with its own - see [#1720](https://github.com/chocolatey/choco/issues/1720). - When no hook scripts are installed you cannot install/upgrade a package on a system using PowerShell 2 - see [#3088](https://github.com/chocolatey/choco/issues/3088). - Prevent install/upgrade failure when using multiple sources and one or more of them cannot be reached. ### Enhancements - Chocolatey products should no longer warn about possible errors when upgrading from versions before 1.0.0 - see [#3097](https://github.com/chocolatey/choco/issues/3097). - All the different ways that a proxy can be configured (environment variables, chocolatey.config file, command arguments) have been tested and verified to work as expected. 2023-04-12T07:32:42+00:00 choco 2.0.0-beta-20230426 choco 2.0.0-beta-20230426 2023-04-25T18:41:23+00:00 > [!WARNING] > > This is a pre-release version of Chocolatey CLI and it is **NOT** suitable for production use! A pre-release version will have bugs that could have a detrimental impact to your environment. Ensure all necessary due diligence steps are taken before using in your environment. > [!WARNING] > > This pre-release version of Chocolatey CLI **only** works with the beta version of the Chocolatey Licensed Extension. > [!NOTE] > > If you run into any problems when using this beta version of Chocolatey CLI we would ask that you comment on this [discussion](https://github.com/chocolatey/choco/discussions/2995), which is where we will be collating issues, and providing workarounds, etc. We will not be accepting issues raised against this beta release. ### Known Issues See this [list](https://github.com/chocolatey/choco/discussions/2995) for known issues with this pre-release. ### Breaking Change - Switch to use only the recommended TLS versions without fallback to earlier insecure options - see [#2902](https://github.com/chocolatey/choco/issues/2902). ### Bug Fixes - Fix - `choco info` command with no package id defined returns 0 packages found rather than provide a warning - see [#2899](https://github.com/chocolatey/choco/issues/2899). - Fix - Chocolatey CLI does not override NuGet proxy with its own - see [#1720](https://github.com/chocolatey/choco/issues/1720). - Fix - Ensure that correct `count` query is used when querying oData feeds. ### Enhancements - PowerShell tab completion should only show commands/options for currently installed license - see [#2887](https://github.com/chocolatey/choco/issues/2887). - Alphabetically sort the output from the `feature` `config` `source` and `apikey` list command - see [#2814](https://github.com/chocolatey/choco/issues/2814). - Add explicit handling for `choco list -li` to provide backwards compatibility - related to [#158](https://github.com/chocolatey/choco/issues/158). - Add ability to get status of an individual feature (`choco feature get`) - see [#2815](https://github.com/chocolatey/choco/issues/2815). - Ensure that the client version used when querying a repository is the version of the underlying NuGet.Client library - see [#1935](https://github.com/chocolatey/choco/issues/1935). 2023-04-25T18:41:23+00:00 choco 1.4.0 choco 1.4.0 2023-05-10T09:23:49+00:00 As part of this release we had [2 issues](https://github.com/chocolatey/choco/milestone/63?closed=1) closed. ### Bug Fix - Fix - When no hook scripts and installed you cannot install/upgrade a package on a system using PowerShell 2 - see [#3088](https://github.com/chocolatey/choco/issues/3088). ### Improvement - Ensure the most recent version of Chocolatey-NuGet.Core package is being used - see [#3150](https://github.com/chocolatey/choco/issues/3150). 2023-05-10T09:23:49+00:00 choco 2.0.0 choco 2.0.0 2023-05-30T16:07:54+00:00 > [!WARNING] > > Refer to our [Upgrade Guide](https://docs.chocolatey.org/en-us/guides/upgrading-to-chocolatey-v2-v6) for recommendations before upgrading from 1.x versions to 2.x. As part of this release we had [52 issues](https://github.com/chocolatey/choco/milestone/54?closed=1) closed. ### Breaking Changes - Change default behavior of `choco list` to be local only - see [#158](https://github.com/chocolatey/choco/issues/158). - Prevent usage of leading 0 in package version numbers - see [#1174](https://github.com/chocolatey/choco/issues/1174). - choco config list --limit-output does not limit output as expected - see [#2013](https://github.com/chocolatey/choco/issues/2013). - Remove Get-BinRoot Chocolatey helper function - see [#2623](https://github.com/chocolatey/choco/issues/2623). - Remove the default push location when uploading/pushing packages - see [#2629](https://github.com/chocolatey/choco/issues/2629). - Remove deprecated configurations from Config - see [#2630](https://github.com/chocolatey/choco/issues/2630). - Remove deprecated Chocolatey shims (chocolatey, cinst, clist, cpush, cuninst, cup) - see [#2642](https://github.com/chocolatey/choco/issues/2642). - Upgrade to target version 4.8 of the .NET Framework - see [#2738](https://github.com/chocolatey/choco/issues/2738). - Fix spelling mistake in the extract_binary_file_from_assembly function - see [#2776](https://github.com/chocolatey/choco/issues/2776). - Remove side-by-side installs - see [#2788](https://github.com/chocolatey/choco/issues/2788). - Migrate from Rx-* packages to System.Reactive.* packages - see [#2896](https://github.com/chocolatey/choco/issues/2896). - Switch to use only the recommended TLS versions without fallback to earlier insecure options - see [#2902](https://github.com/chocolatey/choco/issues/2902). - Rename or migrate away from custom HashCode class - see [#2909](https://github.com/chocolatey/choco/issues/2909). - Remove WebPI alternative source - see [#2980](https://github.com/chocolatey/choco/issues/2980). - Remove the --remove option in apikey command and replace with remove subcommand - see [#2984](https://github.com/chocolatey/choco/issues/2984). - choco config list should only include information about config - see [#2986](https://github.com/chocolatey/choco/issues/2986). - Disallow passing in a path to a NUPKG file directly when installing/upgrading packages - see [#3008](https://github.com/chocolatey/choco/issues/3008). - Introduce upper limit when querying for packages and warn when threshold is close to being hit - see [#3014](https://github.com/chocolatey/choco/issues/3014). ### Bug Fixes - NuGet does not deal with blocking version conflicts from existing installed packages - see [#116](https://github.com/chocolatey/choco/issues/116). - NuGet doesn't handle conflicts of versions in an install request when HighestVersion dependency - see [#507](https://github.com/chocolatey/choco/issues/507). - Push command does not honor proxy settings - see [#1271](https://github.com/chocolatey/choco/issues/1271). - Filenames that contain apostrophes aren't handled correctly when calculating checksums - see [#1590](https://github.com/chocolatey/choco/issues/1590). - Chocolatey CLI does not override NuGet proxy with its own - see [#1720](https://github.com/chocolatey/choco/issues/1720). - choco pack command fails with error on Linux when using file greater than 2 GB - see [#2278](https://github.com/chocolatey/choco/issues/2278). - `choco info` command with no package id defined returns 0 packages found rather than provide a warning - see [#2899](https://github.com/chocolatey/choco/issues/2899). ### Documentation - Fix broken URLs in repository README file - see [#2888](https://github.com/chocolatey/choco/pull/2888). - Update Minimum Windows Server OS to Server 2008 R2 - see [#2903](https://github.com/chocolatey/choco/issues/2903). - Update package files to reflect current CCR moderation requirements - see [#2920](https://github.com/chocolatey/choco/issues/2920). - Fix typos and spelling errors - see [#2990](https://github.com/chocolatey/choco/pull/2990). ### Improvements - Ability to specify a default source when doing choco push - see [#62](https://github.com/chocolatey/choco/issues/62). - Upgrade to target version 3.1.0 of Chocolatey.NuGet.Client assemblies - see [#508](https://github.com/chocolatey/choco/issues/508). - Support Semantic Versioning 2.0.0 (semver) - see [#1610](https://github.com/chocolatey/choco/issues/1610). - `choco info` command doesn't show package URL - see [#1728](https://github.com/chocolatey/choco/issues/1728). - Ensure that the client version used when querying a repository is the version of the underlying NuGet.Client library - see [#1935](https://github.com/chocolatey/choco/issues/1935). - Alphabetically sort the output from the `feature` `config` `source` and `apikey` list command - see [#2814](https://github.com/chocolatey/choco/issues/2814). - Add ability to get status of an individual feature (`choco feature get`) - see [#2815](https://github.com/chocolatey/choco/issues/2815). - Provide ability to navigate directly to online version of help documentation for a command - see [#2867](https://github.com/chocolatey/choco/issues/2867). - PowerShell tab completion should only show commands/options for currently installed license - see [#2887](https://github.com/chocolatey/choco/issues/2887). - Adjust visibility / remove non-interface public methods on CygwinService - see [#3028](https://github.com/chocolatey/choco/issues/3028). - MSI Build should be present in this repository - see [#3061](https://github.com/chocolatey/choco/issues/3061). - Chocolatey products should no longer warn about possible errors when upgrading from versions before 1.0.0 - see [#3097](https://github.com/chocolatey/choco/issues/3097). - Sort list of installed/upgraded packages - see [#3112](https://github.com/chocolatey/choco/issues/3112). 2023-05-30T16:07:54+00:00 choco 2.1.0-alpha-20230608 choco 2.1.0-alpha-20230608 2023-06-08T07:43:45+00:00 > [!WARNING] > > This is a pre-release version of Chocolatey CLI and it is **NOT** suitable for production use! A pre-release version will have bugs that could have a detrimental impact to your environment. Ensure all necessary due diligence steps are taken before using in your environment. > [!WARNING] > > This pre-release version of Chocolatey CLI **only** works with the alpha version of the Chocolatey Licensed Extension. ### Known Issues There is a known issue when attempting to do an open ended search query where the Chocolatey Licensed feed is in place. For example, if you run the command `choco search --source chocolatey.licensed` you will get the following error message returned: > The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. A fix has been found for this problem, and will be released in a future alpha release. ### Bug Fixes - Fix - `choco pin remove -n packagename` removes pin for a different package - see [#3196](https://github.com/chocolatey/choco/issues/3196). - Fix - Package version normalization is not being applied everywhere - see [#3174](https://github.com/chocolatey/choco/issues/3174). ### Improvements - Performance degradation after upgrading to version Chocolatey CLI v2.0.0 - see [#3183](https://github.com/chocolatey/choco/issues/3183). - `choco search` command does not use previously cached results - see [#3125](https://github.com/chocolatey/choco/issues/3125). 2023-06-08T07:43:45+00:00 choco 2.1.0-alpha-20230614 choco 2.1.0-alpha-20230614 2023-06-14T08:53:30+00:00 > [!WARNING] > > This is a pre-release version of Chocolatey CLI and it is **NOT** suitable for production use! A pre-release version will have bugs that could have a detrimental impact to your environment. Ensure all necessary due diligence steps are taken before using in your environment. > [!WARNING] > > This pre-release version of Chocolatey CLI **only** works with the alpha version of the Chocolatey Licensed Extension. > [!NOTE] > > The issue that was introduced in the previous alpha release regarding the open ended search query has been addressed in this alpha release. > [!NOTE] > > Before installing this prerelease version, we would recommend that you read through the [Upgrade Instructions](https://docs.chocolatey.org/en-us/guides/upgrading-to-chocolatey-v2-v6) for moving to the major version of Chocolatey CLI. ### Bug Fixes - Fix - Warning about threshold not shown for multiple sources - see [#3190](https://github.com/chocolatey/choco/issues/3190). - Fix - System proxy settings (automatically detect settings) are no longer used in v2.0.0 - see [#3181](https://github.com/chocolatey/choco/issues/3181). - Fix - Incorrect implementation of the `RuleIdEqualityComparer.Equals` method - see [#3182](https://github.com/chocolatey/choco/issues/3182). ### Documentation - Update contributing documentation to be clearer for newcomers - see [#3108](https://github.com/chocolatey/choco/issues/3108). 2023-06-14T08:53:30+00:00 choco 2.1.0 choco 2.1.0 2023-06-29T06:29:46+00:00 > [!WARNING] > > Refer to our [Upgrade Guide](https://docs.chocolatey.org/en-us/guides/upgrading-to-chocolatey-v2-v6) for recommendations before upgrading from 1.x versions to 2.x. As part of this release we had [17 issues](https://github.com/chocolatey/choco/milestone/60?closed=1) closed. ### Bug Fixes - Fix - Warning about threshold not shown for multiple sources - see [#3190](https://github.com/chocolatey/choco/issues/3190). - Fix - System proxy settings (automatically detect settings) are no longer used in v2.0.0 - see [#3181](https://github.com/chocolatey/choco/issues/3181). - Fix - Incorrect implementation of the `RuleIdEqualityComparer.Equals` method - see [#3182](https://github.com/chocolatey/choco/issues/3182). - Fix - `choco pin remove -n packagename` removes pin for a different package - see [#3196](https://github.com/chocolatey/choco/issues/3196). - Fix - Package version normalization is not being applied everywhere - see [#3174](https://github.com/chocolatey/choco/issues/3174). - Fix - Chocolatey CLI tries to load the licensed environment settings when the licensed extension assembly is not supposed to be loaded - see [#3224](https://github.com/chocolatey/choco/issues/3224). - Fix - Initial chocolatey.config configuration file is initialized with empty descriptions - see [#3201](https://github.com/chocolatey/choco/issues/3201). - Fix - Chocolatey CLI does not use the `cachelocation` which is configured within the chocolatey.config file - see [#3225](https://github.com/chocolatey/choco/issues/3225). - Fix - Checking for presence of Chocolatey license file in tab expansion PowerShell script generates `$error` - see [#3218](https://github.com/chocolatey/choco/issues/3218). ### Improvements - Create PowerShell helper function to read config values - see [#2854](https://github.com/chocolatey/choco/issues/2854). - Add command to allow purging of cached HTTP queries - see [#3194](https://github.com/chocolatey/choco/issues/3194). - Provide option for Chocolatey CLI commands to skip cached query results - see [#3193](https://github.com/chocolatey/choco/issues/3193). - Degraded performance after upgrading to version Chocolatey CLI v2.0.0 - see [#3183](https://github.com/chocolatey/choco/issues/3183). - `choco search` command does not use previously cached results - see [#3125](https://github.com/chocolatey/choco/issues/3125). ### Documentation - Update contributing documentation to be clearer for newcomers - see [#3108](https://github.com/chocolatey/choco/issues/3108). 2023-06-29T06:29:46+00:00 choco 2.2.0 choco 2.2.0 2023-07-26T08:08:45+00:00 > [!WARNING] > > Refer to our [Upgrade Guide](https://docs.chocolatey.org/en-us/guides/upgrading-to-chocolatey-v2-v6) for recommendations before upgrading from 1.x versions to 2.x. As part of this release we had [10 issues](https://github.com/chocolatey/choco/milestone/65?closed=1) closed. ### Bug Fixes - Fix - Upgrading from Chocolatey CLI v2.0.0 to v2.1.0 take a long time to complete when certain other packages are installed - see [#3237](https://github.com/chocolatey/choco/issues/3237). - Fix - Chocolatey CLI v2.0.0 prompts for credentials when authenticating to a source that is using Windows Authentication - see [#3242](https://github.com/chocolatey/choco/issues/3242). - Fix - Chocolatey CLI is unable to save HTTP Cache files when running as a non-admin user and the cacheLocation is set to point at the Chocolatey ProgramData folder - see [#3264](https://github.com/chocolatey/choco/issues/3264). ### Improvements - Remove warning message about "smarter than the average bear" - see [#3186](https://github.com/chocolatey/choco/issues/3186). - Improve overall execution time when performing the `choco upgrade all` command - see [#3231](https://github.com/chocolatey/choco/issues/3231). - Expand logging around the exception that is thrown when Chocolatey CLI is unable to communicate with a source - see [#3258](https://github.com/chocolatey/choco/issues/3258). - Ensure that only Administrators are able to modify files that are stored within the ChocolateyHttpCache folder - see [#3281](https://github.com/chocolatey/choco/issues/3281). ### Documentation - Apply scripting best practices to output which is shown from some Chocolatey CLI validations - see [#3238](https://github.com/chocolatey/choco/pull/3238). - Improve error message that is shown when defaultPushSource configuration value hasn't been set and no explicit source has been provided - see [#3280](https://github.com/chocolatey/choco/pull/3280). 2023-07-26T08:08:45+00:00 choco 2.2.1 choco 2.2.1 2023-08-03T08:36:51+00:00 > [!WARNING] > > Chocolatey CLI 2.2.1 was removed from public availability due to a bug identified just prior to the release. > [!WARNING] > > Refer to our [Upgrade Guide](https://docs.chocolatey.org/en-us/guides/upgrading-to-chocolatey-v2-v6) for recommendations before upgrading from 1.x versions to 2.x. As part of this release we had [3 issues](https://github.com/chocolatey/choco/milestone/66?closed=1) closed. ### Bug Fixes - Fix - Can't find choco.exe after upgrading Chocolatey with MSI - see [#3286](https://github.com/chocolatey/choco/issues/3286). - Fix - Unable to do non-elevated operations when cache location is set to restricted directory - see [#3291](https://github.com/chocolatey/choco/issues/3291). ### Dependency Change - Update bundled 7zip executables to v23.01 - see [#3285](https://github.com/chocolatey/choco/issues/3285). 2023-08-03T08:36:51+00:00 choco 2.2.2 choco 2.2.2 2023-08-08T06:38:29+00:00 As part of this release we had [1 issue](https://github.com/chocolatey/choco/milestone/67?closed=1) closed. > [!WARNING] > > There is a bug in Chocolatey CLI v2.2.0 that prevents upgrading if you have a package dependency that only has pre-release versions (or if the package is no longer available on the sources that you have available). If you receive the error `Object reference not set to an instance of an object` please uninstall the package that only has pre-release versions available (or which no longer exists on the sources you have available), upgrade Chocolatey CLI, and re-install the package that was uninstalled. > > This [bug has been fixed](https://github.com/chocolatey/choco/issues/3292) in this release of Chocolatey CLI. > [!WARNING] > > Refer to our [Upgrade Guide](https://docs.chocolatey.org/en-us/guides/upgrading-to-chocolatey-v2-v6) for recommendations before upgrading from 1.x versions to 2.x. ### Bug Fix - Fix - Unable to upgrade a package if a dependency only contains pre-release package versions, or if package no longer exists on available sources - see [#3292](https://github.com/chocolatey/choco/issues/3292). 2023-08-08T06:38:29+00:00