Skip to content

Releases: jianyunt/ChocolateyGet

Chocolatey v2 Support

12 Feb 12:13
1c1da0e
Compare
Choose a tag to compare

Added

  • Future support for Chocolatey v2

Changed

  • Install Chocolatey v1.2.1 by default if Chocolatey is not already installed

Version 4.0.0

24 Sep 18:27
219e139
Compare
Choose a tag to compare

Added

  • Support for package parameters/arguments that start with dashes via separate cmdlet dynamic parameters (#29)

Fixed

  • Duplicate legacy logic has been tightened up in the following areas:
    • package name checks
    • package version parsing and checks
    • prompt bypass flag checks
    • parameter/argument parsing
    • resolving package source information

Changed

  • Always use exact package name in searches, unless the package name contains a wildcard character
  • Upgraded unit tests to Pester v5 format, and added static code analysis tests with PSScriptAnalyzer
  • Including dependent packages during package uninstalling must now be explicitly requested (#40)
  • Install Chocolatey 0.11.2 by default if Chocolatey is not already installed (#41)

Removed

  • Due to exact package search behavior mentioned above, support for the CHOCO_NONEXACT_SEARCH environment variable has been removed

Chocolatey.org Native API correction

03 Apr 18:43
Compare
Choose a tag to compare
Pre-release

Fixed

  • No longer throws an error when searching for or installing packages from Chocolatey.org using the native API

Automatically install Choco if missing

02 Apr 10:53
150fc72
Compare
Choose a tag to compare

Fixed

  • Chocolatey once again will be installed automatically if not already present

Remove Native API calls

02 Apr 10:10
a5e0ccd
Compare
Choose a tag to compare

Removed

  • No longer using Native API method for interacting with choco.exe due to a compatibility issue between the Chocolatey API and Chocolatey.org (#24)

PowerShell Crescendo

28 Mar 17:02
7fc241b
Compare
Choose a tag to compare

Changed

  • ChocolateyGet CLI integration with Choco.exe is now based on the Foil PowerShell Crescendo module

Removed

  • The AdditionalArgs parameter will now only pass package argument/parameter-related values to Choco.exe
  • The dependency on Foil (and Crescendo) means ChocolateyGet is no longer supported with PowerShell 5.0 and below

Change default package search

23 Jan 22:04
fa79d06
Compare
Choose a tag to compare

Changed

  • Change default search to use exact package name if both package name and required version are specified (#20)
    • Requires downgrade to Chocolatey 0.10.13 due to a Chocolatey defect until 0.10.16 is released

Fixed

  • AppVeyor builds no longer fail due to change in build image permissions
  • Version min/max comparison should now work properly

Rewrite

23 Oct 14:00
9e66867
Compare
Choose a tag to compare

Refactor of the module with several feature additions

Added

  • Searching/installing/managing multiple Chocolatey sources (#5)
  • DSC Compatibility, including additional package arguments
  • 'Upgrade' packages using the 'latest' required version keyword (#14)
  • Package and Choco.exe installation can run without confirmation prompts by passing the -AcceptLicense flag (#17)
  • Support for CoreCLR-based PowerShell (7.0.1 or higher) (#18)
  • Availability via PSGallery on CoreCLR-based PowerShell (#18)

Changed

  • To facilitate readability, broke up main module file into several function files
  • Grouped by 'public' functions used by PackageManagement vs 'private' functions that contain much of the shared logic for interacting with Chocolatey
  • Common logic, such as building commands, sending them to Chocolatey, and parsing results, are consolidated across multiple PackageManagement cmdlets into a single set of helper functions
  • Choco.exe installed automatically without any user prompts if -Force flag is passed
  • Uninstall behavior to also remove all unnecessary dependencies
  • Invokes Chocolatey via native API by default under PowerShell 5.1 and below for significant performance gains

Fixed

  • Get-Package no longer lists 'chocolatey' twice (#12)
  • Improved performance when downloading large packages with embedded installers
  • Choco.exe once again installs automatically after TLS 1.2 changes to chocolatey.org (#16)
  • Suppress Choco prompts during uninstall and upgrade actions

Removed

  • With Chocolatey-managed upgrades via the provider now available, the package provider no longer unilaterally upgrades Chocolatey on invocation if already installed
  • No longer displays progress bars in order to simplify passing data between functions via the pipeline in a way that's idiomatic to PowerShell

Initial release

20 Dec 23:41
Compare
Choose a tag to compare

The initial release of the ChocolateyGet package provider by @jianyunt

Allowed for PowerShell-based package search, retrieval, install, and uninstall of packages via the Chocolatey package manager.