-
Improve cache in
shivammathur/php-ubuntufor PHP 5.6 to PHP 8.0.
Using cache should reduce setup-php runtime on Ubuntu when the PHP version is not installed on the runner orupdate: trueis set from 1-2 minutes to less than 5 seconds. -
Add support to compile and install extensions from source from any git repository, from a sub-directory in a repository, with required libraries and configuration. Refer to this guide for more details and examples. #418, Closes #419
-
Add support to set up composer packages using tools input. Closes #442
- name: Setup PHP with tools
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
tools: phpunit/phpunit- Add support to skip composer setup by specifying
tools: none. Closes #446
- name: Setup PHP with no tools using composer
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
tools: none- Add support for different ICU versions with PHP 8.1 on Ubuntu.
- name: Setup PHP 8.1 with ICU 69.1
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
extensions: intl-69.1- Improve logs for compiling extensions from source. Now this process is verbose and the logs are grouped.
- Improve extension support.
- Add support for pdo_firebird.
- Improve support for geos to compile on PHP 8.0 and 8.1.
- Fix cubrid setup on Ubuntu 16.04.
- Fix gearman support on Ubuntu.
- Use GitHub releases for all couchbase versions.
- Use shivammathur/extensions tap for apcu, phalcon, psr, memcache and memcached on macOS.
- Fix phalcon3 on Windows.
- Revert to ppa:ondrej/ppa for phalcon3 on Ubuntu.
- Revert pcov patch for PHP 8 on Windows as the DLL is now available on PECL.
- Add PHP commit hash in logs on PHP 8.1 (nightly) on Ubuntu. #433
- Fix versions in logs of tools installed using composer.
- Fix linking of old libraries on macOS.
- Fix enabling cached extensions which have other extensions as dependencies. #428
- Fix pecl setup to avoid unnecessary callbacks.
- Fix blackfire extension version to
1.50.0for PHP 5.6 and below. - Fix composer setup on self-hosted set up. #435
- PHP 5.6 to PHP 7.2 on macOS are now built with backported security patches in shivammathur/php tap.
Internal
- Add fallback to
Install-ModuleinInstall-PSPackageinwin32.ps1. - Add parameters to
add_ppafunction inlinux.sh. - Do not lowercase source extension input.
- Fix warning about ignored promise in
install.ts. - Fix shellcheck warning in
darwin.sh. - Refactor coverage setup.
- Refactor regex in
extension.ts. - Remove dotdeb support. PHP 5.4 and 5.5 are now built from source along with compatable extensions in
shivammathur/php5-ubuntu. - Replace bintray with cdnjs as fallback to GitHub releases for fetching scripts.
- Replace bintray in Windows script with GitHub Releases.
- Replace bintray and use
shivammathur/intl-icuGitHub releases. - Move patches from custom extension scripts to patches directory.
- Switch from
clover.xmltolcov.infofor coverage.clover.xmlhas broken conditional coverage support. - Use
add_extension_from_sourcefor all custom supported extensions. - Move patches from custom extension scripts to patches directory.
- Move
add_pecl_extensiontocommon.sh. - Improve
switch_versioninlinux.shto accept parameters. - Cleanup
tsconfig.json. - Set
moduleResolutiontonodeintsconfig.json. - Update year in license.
- Update Node version to
15.xin Node workflow. - Update
SECURITY.md. - Update Node.js dependencies.