Skip to content

Latest commit

 

History

History
548 lines (358 loc) · 23.1 KB

CHANGELOG.md

File metadata and controls

548 lines (358 loc) · 23.1 KB

Changelog

All notable changes to Phive are documented in this file using the Keep a CHANGELOG principles.

[0.15.3] - 2024-08-22

Fixed

  • #431: Error while executing: Preparing php v8.4.0

Added

  • #430: Warn about missing configuration when running "phive install"

[0.15.2] - 2022-08-02

Please note: Version 0.15.x requires PHP 7.3 or later.

Fixed

  • #373: Fix array access in gitlab repo
  • #375: Fix gitlab repo tests
  • Fix Namespace for auth file

Changed

  • Make auth type string case insensitive

[0.15.1] - 2022-03-28

Please note: Version 0.15.x requires PHP 7.3 or later.

Fixed

  • #327: "Broken cURL install" message is not being displayed
  • #361: Problem with 'remove' command on Windows
  • #363: phive install failure: Undefined variable: output
  • #366: purge command deleted the wrong version

Changed

  • #325: Improve the documentation concerning GPG key handling
  • #341: Display identifier when no release matches (thanks @villfa)
  • #342: Update error message with the right version
  • #346: Fetch 100 github releases at a time (also on phar.io resolved aliases)

0.15.0 - 2021-07-24

Please note: Version 0.15.x requires PHP 7.3 or later.

Please also note: As the SKS keyserver pool finally ceased operation, keys only hosted on their infrastructure will no longer be available to phive and installations might fail if the respective maintainer did not (re)publish their keys on still active servers. If not already done so, please tell them to use keys.openpgp.org as their preferred key server.

As of this version, --trust-gpg-keys accepts fingerprint as well as key id strings

Fixed

  • #312: phive install does not silently import keys
  • #319: Fatal error on PHP 8.1 (thanks @jrfnl)

Removed

  • All Code dealing with the SKS keyserver pools has been removed

Changed

  • #310: Version constraints using the caret operator (^) now honor pre-1.0 releases, e.g. ^0.3 translates to 0.3.*)

0.14.5 - 2020-11-30

Please note: Version 0.14.x requires PHP 7.2 or later.

Fixed

  • #273: Exception when tput not found
  • #284: Make phive compatible with Xdebug 3.0
  • #287: "installed" attribute in .phive/phars.xml is not updated after tool downgrade
  • #291: Ensure Migrations are aware of configuration options like --home

Added

  • #286: Allow to set phive home directory via environment variable PHIVE_HOME

0.14.4 - 2020-06-12

Please note: Version 0.14.x requires PHP 7.2 or later.

Fixed

  • #266: "Ubuntu 20.04 & PHP7.4: phive install phploc" errors

0.14.3 - 2020-06-03

Please note: Version 0.14.x requires PHP 7.2 or later.

Fixed

  • #262: "Cannot write phar to ..." error
  • #261: "phive status" prints wrong path to XML file

Changed

  • Phive should now properly clean up after itself, no more dangeling repo files in /tmp
  • Broken symlinks no longer break installation of phars
  • Phive's phar build as well as cli wrapper now actually enforce use of PHP 7.2+

0.14.2 - 2020-05-19

Please note: Version 0.14.x requires PHP 7.2 or later.

Fixed

  • #259: "../.." is prepended to the path in the xml file after installation

0.14.1 - 2020-05-18

Please note: Version 0.14.x requires PHP 7.2 or later.

Fixed

  • #257: Error running phive install on 0.14.0

0.14.0 - 2020-05-17

Please note: Version 0.14.x requires PHP 7.2 or later. Thanks to MacFJA for major contributions to this release!

This release uses phar-io/version 3.0. As a result, semantic version strings are now normalized. That means strings like v1.2.0 or 1.2 will turn into 1.2.0.

Added

  • #40: Support installing PHARs from locations requiring authentication via PR #232 by MacFJA
  • #72: List of all installed Phars via PR #229 by MacFJA
  • via PR #230 by MacFJA: GitLab as an alias resolver
  • #223: phive outdated: How to know when packages needs to be updated?

Fixed

  • #179: tools dir is created even when not needed
  • #218: Error when we are unable to read CLI input via PR #235 by MacFJA
  • #226: Crappy connection results in type error
  • #228: [ERROR] No RateLimit present in response
  • #236: Temporary option not used via PR #238 by MacFJA

Changed

  • #217: Hard dependency on which command via PR #231 by MacFJA
  • Updated dependencies
  • ext/gnupg should work again

Removed

  • Keyserver keys.fedoraproject.org removed from keyserver list as it ceased operation

0.13.5 - 2020-09-21

Please note: Version 0.13.x is the last to support PHP 7.1. Users are encouraged to upgrade to PHP 7.2 or later.

Fixed

  • GitHub blocks HEAD requests to their API Rate Limit endpoint, use GET

0.13.4 - 2020-09-18

Please note: Version 0.13.x is the last to support PHP 7.1. Users are encouraged to upgrade to PHP 7.2 or later.

Fixed

  • Add missing case fix to previous backported RateLimit parsing fix

0.13.3 - 2020-05-27

Please note: Version 0.13.x is the last to support PHP 7.1. Users are encouraged to upgrade to PHP 7.2 or later.

Fixed

  • Backport RateLimit parsing

0.13.2 - 2019-10-30

Please note: Version 0.13.x is the last to support PHP 7.1. Users are encouraged to upgrade to PHP 7.2 or later.

Fixed

  • Removed dangling debug line

0.13.1 - 2019-10-29

Please note: Version 0.13.x is the last to support PHP 7.1. Users are encouraged to upgrade to PHP 7.2 or later.

Fixed

  • #208: Parsing key data failed with error code 2: unlink
  • via PR #207 by jan-di: Support paths with spaces in the username (on windows)
  • #153: via PR #214 by jaapio: install --copy flag ignored

0.13.0 - 2019-09-19

Please note: Version 0.13.x is the last to support PHP 7.1. Uses are encouraged to upgrade to PHP 7.2 or later.

Fixed

  • #206: Phpstan key produces errors

Changed

  • Since the new openpgp keyserver does not offer the same information on keys as the sks keyservers, the local gpg binary / ext/gnupg is now used to gather information on keys prior to importing them to the phive key ring. Please report any issues this change may cause!

  • #185: Support 0x prefix in --trust-gpg-keys

0.12.4 - 2019-08-11

Fixed

  • #203: Error installing behat

0.12.3 - 2019-07-24

Fixed

  • #202: Installing different version of phpstan or php-cs-fixer does not work.

Changed

  • Added keys.openpgp.org to keyserver list
  • Changed order of keyservers: new verifying keyserver first, use fedora & ubuntu second, sks as last resort (This will be less of an issue once #158 is implemented.)

0.12.2 - 2019-06-02

Fixed

  • #181: Fixed umlauts in GPG key info
  • Retries of failed key downloads now always use a different key server

Changed

  • PHPStan added to the repository (thanks to @szepeviktor!)
  • Improved error message on failed signature verification
  • Added keys.fedoraproject.org and keyserver.ubuntu.com to keyservers
  • Dropped support for PHP < 7.0
  • Dropped support for HHVM

0.12.1 - 2018-12-05

Fixed

  • #143: Improved error message when local Curl installation cannot verify SSL certificates
  • #173: SemVer error when installing Phing

Changed

  • Added minimalistic Markdown support for improved console output
  • Updated help text

0.12.0 - 2018-09-11

Added

  • #134: Allow insecure installation of PHARs

Changed

  • #117: Improved error message when encountering an unsigned GitHub release
  • #130: Globally installed PHARs will now be placed in /usr/local/bin/ under Linux

Fixed

  • #140: --copy does not work on Windows

0.11.0 - 2018-06-26

Changed

  • Upgrade phar-io/version to 2.0.0
  • Changed DNS resolving to make downloading of keys more reliable
  • Do not run DNS query for AAAA records on IPv4 only hosts (Windows)
  • #138: Show key Ids for installed phars
  • #141: Improved BatPharActivator

Fixed

  • #130: Call to a member function format() on null
  • #137: Removing globally installed PHARs fails
  • #142: Error when installing phing
  • #144: Broken progress output on Windows
  • #145: Version constraint ^3.0.0-alpha1 is not supported
  • #147: Exception while installing PHPUnit

0.10.0 - 2018-03-25

Changed

  • #125: The reliability of GPG key lookup requests has been improved by respecting the list of IPs returned by a DNS lookup for hkps.pool.sks-keyservers.net

Fixed

  • #132: Executing phive --version and phive --help now works as expected
  • #76: The source URL of a PHAR is now stored in phive.xml

0.9.0 - 2017-12-31

Added

  • #127: Notify user when GitHub's API rate limit is exceeded and use a GitHub auth token provided via the GITHUB_AUTH_TOKEN environment variable to extend the limit to 5000 requests/hour

0.8.2 - 2017-10-10

Fixed

  • #115: Fixed an uncaught exception when trying to install from a non-existing GitHub repository alias

0.8.1 - 2017-09-22

Added

  • #114: Retry HTTP requests up to five times

Fixed

  • #113: Fixed a case sensitivity issue with PHAR aliases

0.8.0 - 2017-08-26

Added

  • #94: Check if a PHAR's requirements are met during installation
  • #86: Add global option --no-progress

0.7.2 - 2017-06-06

Fixed

  • #108: PHAR files are always symlinked on install, even with "-c" option

0.7.1 - 2017-06-02

Changed

  • #105: Always link PHARs to /usr/bin on Linux and to /usr/local/bin on macOS.

Fixed

  • #107: Installing multiple PHARs when ~/.phive/phars.xml does not exist works as expected now.

0.7.0 - 2017-05-19

Added

phive install will now try to install PHARs from the local cache first before connecting to remote repositories. phive update will always look for newer versions in remote repositories first unless the --prefer-offline flag is provided.

  • #103: Added automatic periodic updates of repositories.xml
  • #87: Implement --prefer-offline commandline option for update command

Changed

  • #99: Tests are now compatible with PHPUnit 6
  • #104: Allow v and V as a version prefix on GitHub repositories

Fixed

  • #102: Global installations are now tracked in ~/.phive/phive.xml and do not affect project-specific phive.xml files anymore
  • #96: phive.xml is not altered when phive install did not install any changed PHARs

0.6.3 - 2017-02-05

Changed

  • Added Signature url into release infos
  • internal refactoring
  • #89: Use phar-io/version library
  • #84: Use caret operator by default

Fixed

  • #80: Check if running environment supports colored output
  • #82: Timeout for slow downloads
  • #95: Composer command fails with error

0.6.2 - 2016-09-17

Changed

  • refined download progress visualisation
  • implemented HTTP-cache layer
  • internal refactoring

Fixed

  • #78: Custom location stored in phive.xml is now respected when installing and updating PHARs

0.6.1 - 2016-08-12

Changed

  • #71: Do no update PHARs if there is no newer version
  • #74: Allow downgrading PHARs
  • #75: Running phive install with arguments will now overwrite existing entries in phive.xml

0.6.0 - 2016-07-29

Added

  • #67: Implement alternative separators for version specification
  • #69: Add cli option to provide trusted gpg key IDs

Fixed

  • #70: Updating and removing PHARs installed via GitHub now works properly
  • #73: Selfupdate now properly installs the new PHAR

0.5.0 - 2016-07-15

Added

  • Added exit code 5 to signal parameter validation errors
  • #7: Implement selfupdate command
  • #17: Add support for custom repository list
  • #13: Implement status command
  • #58: Implement .bat-Wrapper for Windows

Changed

  • via PR #56 by sebastianbergmann: Changelog rewritten to respect the Keep a CHANGELOG principles.
  • #29 and #55: Rewritten CLI parameter processing code
  • Phive now exits with code 10 in case of an internal error (previously: 5)
  • #38: installed version of a PHAR is now added to phive.xml and respected by the install command
  • #63: Disallow the combined used of --target and --global in phive install
  • #59: Always create a copy when installing a PHAR globally
  • #60: Properly write the location of an installed PHAR to phive.xml

Fixed

  • #64: Fixed the global --home option to change Phive's home directory

0.4.1 - 2016-06-02

Added

  • Additional testsuite running regression tests on the Phive PHAR

Fixed

  • via PR #57 by haeber: code cleanup / typo
  • Installing PHARs from GitHub releases now correctly resolves the PHAR's name
  • Remove command removes phar node from the project's phive.xml
  • Write absolute paths to usages in phars.xml
  • Update command now creates symlinks in the correct location

0.4.0 - 2016-05-16

Added

  • #52: Support for Microsoft Windows environments

Changed

  • #53: Download repositories.xml from https://phar.io only when needed

Fixed

  • #47: Always write relative paths to phive.xml
  • #48: Fix path to GPG binary on MacOS X
  • #50: Trying to install an unknown alias does not lead to an exception anymore

0.3.0 - 2016-04-21

Added

  • #9: reset command
  • #10: Generate Phive configuration file from composer.json
  • #11: Provide proper exit codes
  • #14: update command
  • #22: Implement support for GitHub repositories
  • #39: Show download progress
  • #41: Caret version operator

Changed

  • #15: Make cURL SSL checks more secure

0.2.1 - 2016-04-08

Fixed

  • #42: Installing PHARs fails when phar.readonly is set in php.ini
  • #43: PHIVE binary gets corrupted
  • #45: Certificate for sks-keyservers.net cannot be loaded when PHIVE is run from a PHAR

0.2.0 - 2016-02-25

Added

Changed

Fixed

  • #31: Not compatible with PHP 7

0.1.0 - 2015-09-23

  • Initial Release