Skip to content
Compare
Choose a tag to compare
@shivammathur shivammathur released this 27 Apr 05:58
fefbd7a
  • Improve cache in shivammathur/php-ubuntu for 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 or update: true is 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.0 for 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-Module in Install-PSPackage in win32.ps1.
  • Add parameters to add_ppa function in linux.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-icu GitHub releases.
  • Move patches from custom extension scripts to patches directory.
  • Switch from clover.xml to lcov.info for coverage. clover.xml has broken conditional coverage support.
  • Use add_extension_from_source for all custom supported extensions.
  • Move patches from custom extension scripts to patches directory.
  • Move add_pecl_extension to common.sh.
  • Improve switch_version in linux.sh to accept parameters.
  • Cleanup tsconfig.json.
  • Set moduleResolution to node in tsconfig.json.
  • Update year in license.
  • Update Node version to 15.x in Node workflow.
  • Update SECURITY.md.
  • Update Node.js dependencies.