Skip to content

Release 1.25.0

Choose a tag to compare

@morozov morozov released this 25 Dec 22:03
· 162 commits to master since this release
1.25.0
b608e58

Build Status

This is a minor release of PHPBrew that aggregates over 50 fixes and improvements developed during the last month.

This release focuses on improved support for building PHP 7.4 on macOS and other platforms, bug fixes, internal code quality improvement and getting ready to drop the support of old PHP versions as the runtime.

Minor Backwards Compatibility Breaks

The earlier deprecated --official and --mirror command-line options are no longer supported.

Deprecations

The usage of multiple variants in one command line argument is deprecated. Instead of using the syntax phpbrew install +default+mysql-openssl, use phpbrew +default +mysql -openssl.

The AppStore component and the phpbrew app command are deprecated. For managing system-wide PHAR-packaged applications, please use PHIVE or another similar utility.

System Interpreter

This release introduces a new feature called System Interpreter. By its nature, PHPBrew is meant to build PHP and runs on top of PHP as well. By default, it implies that it should be able to run on top of any PHP version that it can build which is PHP 5.3 as of now.

Having to support PHP 5.3 as the runtime makes the development of PHPBrew significantly harder due to not being able to use the modern language features and tools:

  1. The language features of PHP 7 that help maintain high internal code quality like scalar type hint declarations and strict typing.
  2. Static analysis tools, e.g. PHPStan and Psalm.
  3. Modern third-party libraries that implement the features PHPBrew could use internally.

In order to move forward, we've introduced the ability to specify the system interpreter. If it is set, PHPBrew will use it internally regardless of what PHP version is currently used or switched to.

For more details, please see the System Interpreter wiki page.

System Requirements

The PHAR package is now BZ2-compressed. It helps compensate the size of the PHP patches that have been bundled into the package. Please make sure that your PHP has the bz2 extension loaded (it's available as part of the default variant).

Application Updates

This is the last release that commits the PHPBrew distribution package and its cryptographic signature back to the source tree. The binaries for this and the following releases will be available on the GitHub Releases page.

BC Breaks:

Deprecations:

Improved PHP 7.4 Support:

Other Improvements:

Documentation updates:

Test Suite and CI improvements:

Updates in dependencies:

Improvements and bug fixes in shell wrappers:

Other bug fixes: