Skip to content

Releases: chocolatey/choco

2.4.1

04 Dec 17:19
b41f97f
Compare
Choose a tag to compare

As part of this release we had 4 issues closed.

Bug Fixes

  • Fix - Searching for specific version on v3 only feed returns no results - see #3396.
  • Fix - Credentials from configured source used for a non-configured source when the URL is similar - see #3565.

1.4.1

04 Dec 17:18
3fa34f8
Compare
Choose a tag to compare

As part of this release we had 2 issues closed.

Bug Fix

  • Fix - Credentials from configured source used for a non-configured source when the URL is similar - see #3566.

2.4.0

12 Nov 18:53
c704807
Compare
Choose a tag to compare

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.

2.3.0

05 Jun 11:38
7eb0610
Compare
Choose a tag to compare

Read our blog post about this release.

As part of this release we had 33 issues closed.

Deprecated Feature

  • Deprecate unpackself command - see #3426.

Features

  • Save software install location for future use - see #3315.
  • Allow viewing package creation validation rules via new choco rule command - see #3381.

Bug Fixes

  • Fix - Ensure Install-ChocolateyInstallPackage does not add a trailing space to silent arguments - see #2345.
  • Fix - Prevent creation of Tools folder via the MSI installer #3307.
  • Fix - Ensure Install-ChocolateyPath adds a new entry to the PATH when part of it is already there - see #3318.
  • Fix - Using Install-ChocolateyPath -PathType Machine in a non-admin context spawns PowerShell endlessly and never completes - see #3424.

Improvements

  • Allow all packages from a source to be installed - see #23.
  • Allow the ability to add the configured sources when using the --source option - see #72.
  • Add Uninstall-ChocolateyPath function to manage removing entries from PATH - see #310.
  • Verify the checksum of a package before installation, and fail if not matched - see #1144.
  • Show remembered arguments for packages - see #1310.
  • Add the source URL where the package was downloaded from, to the output of the choco install and choco upgrade commands - see #1485.
  • choco apikey - Exit 2 if nothing to do (enhanced exit code) - see #1759.
  • choco config - Exit 2 if nothing to do (enhanced exit code) - see #1760.
  • choco feature - Exit 2 if nothing to do (enhanced exit code) - see #1761.
  • choco pin - Exit 2 if nothing to do (enhanced exit code) - see #1762.
  • choco source - Exit 2 if nothing to do (enhanced exit code) - see #1764.
  • choco upgrade - Exit 2 if nothing to do (enhanced exit code) - see #2200.
  • Allow upgrading a pinned package without removing the pin beforehand - see #2050.
  • Update OS_NAME environment variable to support Windows 11 and Server 2019/2022 - see #2754.
  • Rerunning Install Script after reboot should not be necessary - see #3327.
  • Improve package dependency lookup when an exact version is defined - see #3433.

Documentation

  • Clarify what --include-programs option does, in the help output - see #147.
  • Fix grammar in the pending reboot warning message - see #3164.
  • Improve the feature DisableCompatibilityChecks help description - see #3296.
  • Fix typos and punctuation in choco feature and choco config error output - see #3324.
  • Clarify Proxy BypassList value must be a regular expression, in the help output - see #3401.
  • Remove reference of unused zip.sh from README.md file - see #3402.

2.2.2

08 Aug 06:38
73a4af4
Compare
Choose a tag to compare

As part of this release we had 1 issue 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 in this release of Chocolatey CLI.

Warning

Refer to our Upgrade Guide 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.

2.2.1

03 Aug 08:36
680c1eb
Compare
Choose a tag to compare

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 for recommendations before upgrading from 1.x versions to 2.x.

As part of this release we had 3 issues closed.

Bug Fixes

  • Fix - Can't find choco.exe after upgrading Chocolatey with MSI - see #3286.
  • Fix - Unable to do non-elevated operations when cache location is set to restricted directory - see #3291.

Dependency Change

  • Update bundled 7zip executables to v23.01 - see #3285.

2.2.0

26 Jul 08:08
76b9ca9
Compare
Choose a tag to compare

Warning

Refer to our Upgrade Guide for recommendations before upgrading from 1.x versions to 2.x.

As part of this release we had 10 issues 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.
  • Fix - Chocolatey CLI v2.0.0 prompts for credentials when authenticating to a source that is using Windows Authentication - see #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.

Improvements

  • Remove warning message about "smarter than the average bear" - see #3186.
  • Improve overall execution time when performing the choco upgrade all command - see #3231.
  • Expand logging around the exception that is thrown when Chocolatey CLI is unable to communicate with a source - see #3258.
  • Ensure that only Administrators are able to modify files that are stored within the ChocolateyHttpCache folder - see #3281.

Documentation

  • Apply scripting best practices to output which is shown from some Chocolatey CLI validations - see #3238.
  • Improve error message that is shown when defaultPushSource configuration value hasn't been set and no explicit source has been provided - see #3280.

2.1.0

29 Jun 06:29
46976cf
Compare
Choose a tag to compare

Warning

Refer to our Upgrade Guide for recommendations before upgrading from 1.x versions to 2.x.

As part of this release we had 17 issues closed.

Bug Fixes

  • Fix - Warning about threshold not shown for multiple sources - see #3190.
  • Fix - System proxy settings (automatically detect settings) are no longer used in v2.0.0 - see #3181.
  • Fix - Incorrect implementation of the RuleIdEqualityComparer.Equals method - see #3182.
  • Fix - choco pin remove -n packagename removes pin for a different package - see #3196.
  • Fix - Package version normalization is not being applied everywhere - see #3174.
  • Fix - Chocolatey CLI tries to load the licensed environment settings when the licensed extension assembly is not supposed to be loaded - see #3224.
  • Fix - Initial chocolatey.config configuration file is initialized with empty descriptions - see #3201.
  • Fix - Chocolatey CLI does not use the cachelocation which is configured within the chocolatey.config file - see #3225.
  • Fix - Checking for presence of Chocolatey license file in tab expansion PowerShell script generates $error - see #3218.

Improvements

  • Create PowerShell helper function to read config values - see #2854.
  • Add command to allow purging of cached HTTP queries - see #3194.
  • Provide option for Chocolatey CLI commands to skip cached query results - see #3193.
  • Degraded performance after upgrading to version Chocolatey CLI v2.0.0 - see #3183.
  • choco search command does not use previously cached results - see #3125.

Documentation

  • Update contributing documentation to be clearer for newcomers - see #3108.

2.1.0-alpha-20230614

14 Jun 08:53
bdba4f7
Compare
Choose a tag to compare
2.1.0-alpha-20230614 Pre-release
Pre-release

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 for moving to the major version of Chocolatey CLI.

Bug Fixes

  • Fix - Warning about threshold not shown for multiple sources - see #3190.
  • Fix - System proxy settings (automatically detect settings) are no longer used in v2.0.0 - see #3181.
  • Fix - Incorrect implementation of the RuleIdEqualityComparer.Equals method - see #3182.

Documentation

  • Update contributing documentation to be clearer for newcomers - see #3108.

2.1.0-alpha-20230608

08 Jun 07:43
a500fc5
Compare
Choose a tag to compare
2.1.0-alpha-20230608 Pre-release
Pre-release

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.
  • Fix - Package version normalization is not being applied everywhere - see #3174.

Improvements

  • Performance degradation after upgrading to version Chocolatey CLI v2.0.0 - see #3183.
  • choco search command does not use previously cached results - see #3125.