Skip to content

0.12.0

Compare
Choose a tag to compare
@gep13 gep13 released this 19 Jan 09:22
· 1281 commits to develop since this release
9538d56

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