All notable changes to Phive are documented in this file using the Keep a CHANGELOG principles.
- #431: Error while executing: Preparing php v8.4.0
- #430: Warn about missing configuration when running "phive install"
Please note: Version 0.15.x requires PHP 7.3 or later.
- Make auth type string case insensitive
Please note: Version 0.15.x requires PHP 7.3 or later.
- #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
- #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
- All Code dealing with the SKS keyserver pools has been removed
- #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.
- #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
- #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.
- #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.
- 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.
- #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.
- #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
.
- #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?
- #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
- #217: Hard dependency on
which
command via PR #231 by MacFJA - Updated dependencies
ext/gnupg
should work again
- 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.
- 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.
- 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.
- 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.
- 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.
- #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.
- #206: Phpstan key produces errors
-
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
- #203: Error installing behat
0.12.3 - 2019-07-24
- #202: Installing different version of phpstan or php-cs-fixer does not work.
- 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
- #181: Fixed umlauts in GPG key info
- Retries of failed key downloads now always use a different key server
- PHPStan added to the repository (thanks to @szepeviktor!)
- Improved error message on failed signature verification
- Added
keys.fedoraproject.org
andkeyserver.ubuntu.com
to keyservers - Dropped support for PHP < 7.0
- Dropped support for HHVM
0.12.1 - 2018-12-05
- #143: Improved error message when local Curl installation cannot verify SSL certificates
- #173: SemVer error when installing Phing
- Added minimalistic Markdown support for improved console output
- Updated help text
0.12.0 - 2018-09-11
- #134: Allow insecure installation of PHARs
- #117: Improved error message when encountering an unsigned GitHub release
- #130: Globally installed PHARs will now be placed in
/usr/local/bin/
under Linux
- #140:
--copy
does not work on Windows
0.11.0 - 2018-06-26
- 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
- #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
- #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
- #132: Executing
phive --version
andphive --help
now works as expected - #76: The source URL of a PHAR is now stored in
phive.xml
0.9.0 - 2017-12-31
- #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
- #115: Fixed an uncaught exception when trying to install from a non-existing GitHub repository alias
0.8.1 - 2017-09-22
- #114: Retry HTTP requests up to five times
- #113: Fixed a case sensitivity issue with PHAR aliases
0.8.0 - 2017-08-26
- #94: Check if a PHAR's requirements are met during installation
- #86: Add global option
--no-progress
0.7.2 - 2017-06-06
- #108: PHAR files are always symlinked on install, even with "-c" option
0.7.1 - 2017-06-02
- #105: Always link PHARs to
/usr/bin
on Linux and to/usr/local/bin
on macOS.
- #107: Installing multiple PHARs when
~/.phive/phars.xml
does not exist works as expected now.
0.7.0 - 2017-05-19
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
- #99: Tests are now compatible with PHPUnit 6
- #104: Allow
v
andV
as a version prefix on GitHub repositories
- #102: Global installations are now tracked in
~/.phive/phive.xml
and do not affect project-specificphive.xml
files anymore - #96:
phive.xml
is not altered whenphive install
did not install any changed PHARs
0.6.3 - 2017-02-05
- Added Signature url into release infos
- internal refactoring
- #89: Use phar-io/version library
- #84: Use caret operator by default
- #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
- refined download progress visualisation
- implemented HTTP-cache layer
- internal refactoring
- #78: Custom location stored in
phive.xml
is now respected when installing and updating PHARs
0.6.1 - 2016-08-12
- #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 inphive.xml
0.6.0 - 2016-07-29
- #67: Implement alternative separators for version specification
- #69: Add cli option to provide trusted gpg key IDs
- #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 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
- 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
inphive install
- #59: Always create a copy when installing a PHAR globally
- #60: Properly write the location of an installed PHAR to phive.xml
- #64: Fixed the global
--home
option to change Phive's home directory
0.4.1 - 2016-06-02
- Additional testsuite running regression tests on the Phive PHAR
- 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
- #52: Support for Microsoft Windows environments
- #53: Download
repositories.xml
fromhttps://phar.io
only when needed
- #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
- #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
- #15: Make cURL SSL checks more secure
0.2.1 - 2016-04-08
- #42: Installing PHARs fails when
phar.readonly
is set inphp.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
- #1: Verify signature of PHAR
- #4 via PR #32 by Flyingmana: Implement command to list known aliases enhancement
- #16 via PR #25 by sebastianbergmann: Allow global installation of PHARs
- #18:
-save
option to write installed PHAR tophive.xml
- #28 via PR #28 by sebastianbergmann: Help text for
-global
option - #32: Basic
list
command to show known aliases - #33: Show more info than fingerprint before import
- #20: Make
-save
flag default behaviour - #27 via PR #27 by sebastianbergmann: Abbreviations should be uppercased
- #31: Not compatible with PHP 7
- Initial Release