Skip to content

Releases: chocolatey/choco

1.0.1

24 Mar 12:59
f1cce07
Compare
Choose a tag to compare

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

Release Video

A short video explaining what is included in this release can be found here:

Chocolatey CLI Release 1.0.1

1.0.0

18 Mar 11:26
5c9117a
Compare
Choose a tag to compare

Breaking Changes

  • Remove deprecated Chocolatey commands and shims - see #2468
  • Remove deprecated Chocolatey helper functions - see #2469
  • Remove the cpack command alias - see #89
  • Remove the fallback to using old URL for Chocolatey Community Repository when pushing packages - see #2628
  • Remove deprecated -t argument for the push command - see #2627
  • Ensure that Chocolatey correctly handles removed features when running the choco feature command - see #2538

Improvements

  • Update to use version v1.0.0 of shimgen - see #2602
  • Installation of Chocolatey should add a more descriptive comment when adding Chocolatey tab-completion module to profile - see #2443

Documentation

  • Update deprecation notice for push command to mention that the default source will be removed in v2.0.0 - see #2634
  • Mark Chocolatey shims (chocolatey. cinst, clist, cpush, cuninst, cup) as deprecated - see #2641
  • Mark Get-BinRoot Chocolatey helper function as deprecated - see #2470
  • Add deprecation notices for all things that are set to change in v2.0.0 - see #2462
  • Provide better clarity regarding the license terms for using Chocolatey and shimgen - see #2549, #2615, and 2614
  • Document the fact that the Source switch doesn't do anything when running the command choco list --lo - see #2545
  • Update warning that is shown regarding using a trial license of Chocolatey - see #2407

Release Video

A short video explaining what is included in this release can be found here:

Chocolatey CLI Release 1.0.0

0.12.1

25 Jan 09:12
947efb7
Compare
Choose a tag to compare

Bug Fixes

  • Fix - Installation of Chocolatey fails when running under "AllSigned" execution policy - see #2539
  • Fix - Output from "choco template -h" references wrong subcommand in usage statement - see #2546

Release Video

A short video explaining what is included in this release can be found here:

Chocolatey CLI Release 0.12.1

0.12.0

19 Jan 09:22
9538d56
Compare
Choose a tag to compare

⚠️ 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

Features

  • Add command (choco template) to retrieve information about currently installed package templates - see #449
  • Add configuration option for default template name to be used in conjunction with the choco new command - see #2377

Bug Fixes

  • Fix - Building a package on Linux fails if the description has encoded xml special character(s) - see #2382
  • Fix - Building a package on Linux fails if nuspec does not have files element - see #2379
  • Fix - choco pack command fails on non-Windows when the nupkg already exists - see #2076
  • Fix - Install location is invalid on Linux if the ChocolateyInstall environment variable is not set - see #2370
  • Fix - During upgrade, removal of old choco.exe does not use absolute path on Linux - see #2369
  • Fix - Attempting to use ProtectedData.Protect with LocalMachine scope fails when run on non-Windows system as a non-root user - see #2437
  • Fix - Chocolatey packaging script (chocolateyBeforeModify.ps1) incorrectly running on non-Windows platforms - see #2510
  • Fix - choco install command ignores install arguments when specifying direct path to nupkg - see #2089
  • Fix - Deleting NuGet temp folders fails when running on Linux - see #2383

Improvements

  • Warn about unsupported packages when executing Chocolatey on non-Windows platforms - see #2481
  • Display install location for purely portable packages - see #2241
  • Provide more clarity on errors when attempting to push packages to Chocolatey Community Repository - see #2007
  • Support empty directories within Chocolatey template folder - #1003
  • Snapshotting of files and config transform has been enabled on non-Windows systems - see #2450
  • Prevent usage of alternate Chocolatey installation/upgrade sources on non-Windows systems - see #2424
  • Improve response message regarding moderation times when using choco push command - see #2298

Documentation

  • Fix outdated bit.ly links in command documentation - see #2401
  • Update default template regarding building Chocolatey package on non-Windows systems - see #2384
  • Fix version number used in default template - see #2381

Release Video

A short video explaining what is included in this release can be found here:

Chocolatey CLI Release 0.12.0

0.11.3

14 Jun 06:23
22b7856
Compare
Choose a tag to compare

Bug Fixes

  • Fix - Chocolatey fails to load all PowerShell helper cmdlets when attempting to loads modules - see #2412
  • Fix - Chocolateys PowerShell Installer Module uses non PowerShell 2 compatible syntax - see #2398
  • Fix - Running Chocolatey CLI with an expired Chocolatey License can result in non-commercial commands failing to run - see #2289
  • Fix - Installing from packages.config doesn't support installing from other sources (e.g. windowsfeatures, python, etc) - see #877
  • Fix - Quoted InstallLocation in .registry file results in errors when attempting to automatically uninstall application - see #2336

Release Video

A short video explaining what is included in this release can be found here:

Chocolatey CLI Release 0.11.3

0.11.2

14 Jun 06:24
b288cd1
Compare
Choose a tag to compare

Bug Fix

  • Fix - Setting of Authorization header in Get-WebFile cmdlet does not work - see #2374

Release Video

A short video explaining what is included in this release can be found here:

Chocolatey CLI Release 0.11.2

0.11.1

14 Jun 06:25
e9133a5
Compare
Choose a tag to compare

Bug Fix

  • Fix - Chocolatey Licensed Extension is not loaded into PowerShell process when using v0.11.0 - see #2340

Release Video

A short video explaining what is included in this release can be found here:

Chocolatey CLI Release 0.11.1

0.11.0

14 Jun 06:26
d0f16d3
Compare
Choose a tag to compare

⚠️ 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
  • choco list -e -a returns pre-releases even when --pre is not passed - see #2304

Bug Fixes

  • Fix - Prevent creation of empty nuget.config in user appdata folder - see #2233
  • Fix - Upgrade all with remembered arguments changes packages to pre-release - see #2111
  • Fix - Software applications are being reported as not being managed by Chocolatey when their associated package is installed - see #2092
  • Fix - Unable to remove API Key with choco apikey command - see #1889
  • Fix - Not all package versions are returned when running running choco list --all-versions --exact - see #1843
  • Fix - Upgrade all reuses overridden package parameters when useRememberedArgumentsForUpgrades feature is turned on - see #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
  • 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
  • Fix - Nuspec files with forward slash creates nested layer of directories when packed on Windows - see #2166
  • Fix - Prevent loading of Chocolatey GUI Licensed Extension assembly - see #2078
  • Fix - Working directory always being replaced with configured cache location when using Start-ChocolateyProcessAsAdmin - see #2051
  • Fix - Temp location can change unexpectedly when using System credentials - see #2044
  • Fix - Incorrect output regarding package files when package can't be found to be downloaded - see #1962

Improvements

  • [Security] XML External Entity attack in log4net (CVE-2018-1285) - see #2266
  • Provide ability to export all currently installed packages to a packages.config file - see #357
  • Provide ability to execute PowerShell script right before installation starts when using Install-ChocolateyPackage - see #1060
  • Add ChocolateyExitOnRebootDetected feature setting to environment variables for usage within package scripts - see #1983
  • Only search top level package folders when running the remove pending packages task - see #1866
  • Change default repository in the chocolatey.config to community.chocolatey.org - see #2231
  • Support UnzipLocation as an alias to Destination parameter in the Get-ChocolateyUnzip function - see #2203
  • API - Allow Lets.GetChocolatey to not initialize logging - see #2124
  • Provide ability to install msp patch files using Install-ChocolateyInstallPackage function - see #2112
  • Add ability to use authorization headers in the Get-WebFile function - see #1998
  • Ensure nuspec files generated from the choco new command use UTF-8 without a byte order mark - see #1364
  • Provide top level help command explaining what commands can be executed - see #944
  • Ensure correct path separator in nuspec files is used on different operating systems - see #502
  • Remove unused variable in uninstall template generated from choco new command - see #2114

Documentation

  • Clarify the SpecificFolder parameter for helper functions - see #2190
  • Update deprecation notice to use outdated command when using version command - see #2048
  • Include information about --version option in choco help documentation - see #2049
  • Fix examples for Install-ChocolateyPackage function - see #1899
  • Terminology improvements in choco.exe help output - see #1861
  • Wrong error message shown when using Get-ChocolateyWebFile and forcex86 - see #1859

Release Video

A short video explaining what is included in this release can be found here:

Chocolatey CLI Release 0.11.0