Chocolatey v0.9.9 Release Notes

Release Date: 2015-03-03 // about 9 years ago
  • This also includes issues that were being tracked in the old Chocolatey repository: Chocolatey 0.9.9.

    ๐Ÿš€ The two links above will not capture everything that has changed, since this is a complete rewrite. We broke everything. If this were a v1+, it would be a major release. But we are less than v1, so 0.9.9 it is! ;)

    ๐Ÿ”’ Okay, so we didn't really break everything. We have maintained nearly full compatibility with how you pass options into choco, although the output may be a bit different (but better, we hope) and in at least one case, additional switches (or a feature setting) is/are required - we limited this to security related changes only.

    ๐Ÿ›  We also fixed and improved a bunch of things, so we feel the trade off is well worth the changes.

    We'll try to capture everything here that you should know about. Please call choco -? or choco.exe -h to get started.

    KNOWN ISSUES

    • Known Issues
    • TEMPORARY install all is missing - this is expected to be back in 0.9.10 - see #23
    • Alternative sources (webpi,ruby,python,cygwin, windowsfeature) do not work yet. This is expected to be fixed in 0.9.10 - see #14
    • Progress bar is missing when downloading until we are using internal posh components for Packages - see #56
    • See Feature Parity for items not yet reimplemented from older PowerShell Chocolatey client (v0.9.8.32 and below).

    ๐Ÿ’ฅ BREAKING CHANGES

    • [Security] Prompt for confirmation: For security reasons, we now stop for confirmation before changing the state of the system on most commands. You can pass -y to confirm any prompts or set a value in the config that will globally confirm - see #52 (NOTE: This is one of those additional switches we were talking about)
    • [Security] If your default installation is still at c:\Chocolatey, this version will force a move to ProgramData and update the environment settings - see #7
    • Configuration Breaking Changes:
      1. You now have one config file to interact with in %ChocolateyInstall%\config - your user config is no longer valid and can be removed once you migrate settings to the config.
      2. The config will no longer be overwritten on upgrade.
      3. Choco no longer interacts with NuGet's config file at all. You will need to reset all of your apiKeys (see features for apikey). On the plus side, the keys will work for all users of the machine, unlike NuGet's apiKeys (only work for the user that sets them).
      4. This also means you can no longer use useNugetForSources. It has been removed as a config setting.
    • Packaging Changes:
      1. Choco now installs packages without version numbers on folders. This means quite a few things...
      2. Upgrading packages doesn't install a new version next to an old version, it actually upgrades.
      3. Dependencies resolve at highest available version, not the minimum version as before - see Chocolatey #415
    • Package Maintenance Changes:
      1. Read the above about apikey changes
      2. Read above about dependency resolution changes.
    • Deprecated/Removed Commands:
      1. installmissing and 'cinstm' have been removed. They were deprecated awhile ago, so this should not be a surprise. For equivalent functionality see the plain install/cinst commands.
      2. choco version has been deprecated and will be removed in v1. Use choco upgrade pkgName --noop or choco upgrade pkgName -whatif instead.
      3. Write-ChocolateySuccess, Write-ChocolateyFailure have been deprecated.
      4. update is now upgrade. update has been deprecated and will be removed/replaced in v1. Update will be reincarnated later for a different purpose. Hint: It rhymes with smackage pindexes.

    ๐Ÿ”‹ FEATURES

    ๐Ÿ› BUG FIXES

    ๐Ÿ›  Probably a lot of bug fixes that may not make it here, but here are the ones we know about.

    ๐Ÿ‘Œ IMPROVEMENTS

    • [Security] Allow keeping c:\chocolatey install directory with environment variable - see #17
    • [Security] Require switch on unofficial build - see #36
    • Install script updates - see #7
    • Ensure Chocolatey pkg is installed properly in lib folder - This means you can take a dependency on a minimum version of Chocolatey (we didn't like that before) - see #19
    • Uninstall - allow abort - see #43
    • Support for HTTPS basic authorization - see Chocolatey #128
    • Smooth out success/failure logging - see Chocolatey #154
    • Add $env:CHOCOLATEY_VERSION - see Chocolatey #251
    • Replace ascii cue with visual cues - see Chocolatey #376
    • Uninstall all versions of an app - see Chocolatey #389
    • Add parameters in packages.config files - see Packages.config, Chocolatey #472, and #10
    • Choco pack should support -version - see Chocolatey #526
    • Enhancements to Start-ChocolateyProcessAsAdmin - see Chocolatey #564
    • Install-ChocolateyFileAssociation - add label to new file types - see Chocolatey #564
    • Clean up the verobsity of Chocolatey - see Chocolatey #374
    • Compact choco upgrade --noop option - see Chocolatey #414
    • Remove references to the Chocolatey gods - see Chocolatey #669
    • Shims now have noop (--shimgen-noop) and help (--shimgen-help) switches - see ShimGen #8 and ShimGen #10
    • Shims will terminate underlying process on termination signal - see ShimGen #11
    • Shims now have gui (--shimgen-gui) and exit (--shimgen-exit) switches - see ShimGen #13 and ShimGen #12
    • Dat help menu tho. I mean srsly guise - see Chocolatey #641