Skip to content

Releases: shivammathur/setup-php

2.4.2

10 Aug 14:04
c5e0997
Compare
Choose a tag to compare
  • Add support for cubrid and pdo_cubrid on Ubuntu. Closes #267
  • Add support for oci8 and pdo_oci extensions in PHP 8 on Windows.
  • Use cached composer builds.
  • Fix permissions in protoc setup.
  • Change cURL parameters.
  • Dry custom tools and extension code.
  • Update README.

1.9.4

10 Aug 11:14
3160874
Compare
Choose a tag to compare

v1 maintenance release

  • Resume nightly PHP 8 builds on Windows from shivammathur/php-builder-windows.
  • Revert to default packagist mirror for old PHP.
  • Accept PECL default parameters.
  • Limit swoole support to PHP 7.4.
  • Remove update_extension from linux.sh.
  • Remove obsolete pcov.sh.
  • Bump supported version in SECURITY.md.

2.4.1

08 Aug 11:24
975f42d
Compare
Choose a tag to compare
  • Resume nightly PHP 8 builds on Windows from shivammathur/php-builder-windows. Fixes #261
  • Add support for protoc and grpc_php_plugin tools. Closes #262
  • Improve PHP installation speed using cached packages.
  • Revert to default packagist mirror for old PHP.
  • Use cached composer builds from shivammathur/composer-cache.
  • Use blackfire API to get versions.
  • Accept PECL default parameters.
  • Improve cURL use.
  • Limit swoole support to PHP 7.4.
  • Dry extension and tools code with custom support.
  • Fail fast PCOV on unsupported PHP versions.
  • Remove update_extension from linux.sh.
  • Remove obsolete pcov.sh.
  • Fix warning in cleanup_lists on ubuntu-20.04.
  • Fix updating lists in phalcon setup on Ubuntu.
  • Fix coverage message in node workflow.
  • Bump supported version in SECURITY.md.

2.4.0

21 Jul 06:48
7961bc1
Compare
Choose a tag to compare
  • Add support for these tools. Specify in tools input to setup. Closes #250
    • composer-require-checker
    • composer-normalize
    • composer-unused.
  • Add support for these PHP extensions. Specify in extensions input to setup.
    • oci8 and pdo_oci Closes #241
    • ioncube Closes #243
  • Improve composer setup. #239
    • Setup different versions of composer directly.
    • Add a breaking check to verify composer.phar integrity.
  • Fix blackfire configuration on Ubuntu and macOS. Fixes #247 and fixes #248
  • Disable memory_limit on all configurations. Fixes #251
  • Show adding xdebug.mode=coverage for Xdebug 3 to php.ini in logs.
  • Add values to php.ini after coverage setup.
  • Improve setup on Ubuntu when PHP versions are installed.
    • Only install CLI SAPI from ppa:ondrej/php.
    • Only update ppa:ondrej/php and Ubuntu archives package lists.
  • Patch OpenSSL binaries after PHP 5.3 and PHP 5.4 setup on Windows .
  • Improve support for pre-release extensions.
  • Fix warning while installing PDO extensions on PHP 5.6 and PHP 7.0 on Ubuntu.
  • Remove src/configs/config.yaml as it is no longer used.
  • Fix order of tools in README.
  • Update README with licensing information about setup-php logo.
  • Add information about setup-php being part of Tidelift Subscription in README.
  • Improve getXdebugVersion in extension.ts.
  • Fix typo in tools.test.ts.
  • Sort tools in switch case in tools.ts and in tools.test.ts.
  • Update dependencies including lodash to apply advisory GHSA-p6mc-m468-83gw.
  • Bump cache key in main test workflow.

Thanks @GrahamCampbell, @localheinz and @lolautruche for the contributions 🚀

1.9.3

21 Jul 06:46
17983e6
Compare
Choose a tag to compare

v1 maintenance release

  • Improve composer setup.
  • Disable memory_limit on Windows and macOS.
  • Improve getXdebugVersion in extension.ts.
  • Improve setup on Ubuntu when PHP versions are installed.
    • Only install CLI SAPI from ppa:ondrej/php.
    • Only update ppa:ondrej/php and Ubuntu archives package lists.
  • Improve support for pre-release extensions.
  • Remove src/configs/config.yaml as it is no longer used.
  • Update README.
  • Fix typo in tools.test.ts.
  • Update dependencies including lodash to apply advisory GHSA-p6mc-m468-83gw.

2.3.2

06 Jul 19:36
38731c6
Compare
Choose a tag to compare
  • Add support for phplint. Resolves #237.
  • Add ppa:ondrej/php on ubuntu-20.04. Related to actions/runner-images#1104.
  • Add versioning section to the README.
  • Use /etc/lsb-release script directly instead of calling lsb_release package.
  • Use shivammathur/extensions tap for grpc, swoole, protobuf PHP extensions on macOS.
  • Fix PHP 8.0 on macOS #242
  • Update Node.js dependencies.

1.9.2

06 Jul 19:34
e763fdd
Compare
Choose a tag to compare

v1 maintenance release

  • Add ppa:ondrej/php on ubuntu-20.04.
  • Use shivammathur/extensions tap for grpc, swoole, protobuf PHP extensions on macOS.
  • Fix PHP 8.0 on macOS.
  • Update Node.js dependencies.

2.3.1

22 Jun 02:56
dd27d4e
Compare
Choose a tag to compare
  • Add support for Xdebug on PHP 8.0 on all OS.
    Now coverage: xdebug will setup a nightly version of Xdebug3 on PHP 8.0 and set xdebug.mode=coverage in php.ini.
  • Use shivammathur/homebrew-extensions tap for PCOV and Xdebug on PHP 5.6 and above on macOS.
  • Add support for x86 PCOV and Xdebug for PHP 8.0 on self-hosted Windows runners.
  • Fix pdo extensions setup on self-hosted runners.
  • Update documentation regarding services on self-hosted runners.
  • Remove dashes from step ids.
  • Remove deprecated --no-suggest flag from composer command in examples.

1.9.1

19 Jun 19:33
a74c336
Compare
Choose a tag to compare

v1 maintenance release

  • Add support for Xdebug on PHP 8.0 on all OS.
    Now coverage: xdebug will setup a nightly version of Xdebug3 on PHP 8.0 and set xdebug.mode=coverage in php.ini.
  • Use shivammathur/homebrew-extensions tap for PCOV and Xdebug on PHP 5.6 and above on macOS.
  • Remove dashes from step ids.
  • Remove deprecated --no-suggest flag from composer command in examples.

2.3.0

11 Jun 10:43
70954fb
Compare
Choose a tag to compare
  • Add support for Ubuntu 20.04 runners. Refer to the docs.
  • Add support to specify composer version in tools input. Refer to the docs.
  • Update actions/cache uses to v2.
  • Pre-install PCOV on PHP 8.
  • Switch from xz to zstd compression for packaging PHP.
  • Decouple scripts for PHP 5.5 and lower on Linux and macOS.
  • Decouple script for PHP 8.0 on Linux.
  • Fix intermittent peer fingerprint error on PHP 5.5 and lower.
  • Fix blackfire setup.
  • Fix updating powershell profiles on Windows.
  • Fix fetching CA bundle in Windows self-hosted runners.
  • Fix setrlimit warning with sudo in Ubuntu 20.04 self-hosted runners.
  • Fix PhpManager setup on windows for self-hosted runners.
  • Fix tools setup on windows for self-hosted runners.
  • Fix updating lists on Ubuntu 16.04 after adding ppa:ondrej/php on self-hosted runners.
  • Fix logs for unsupported PHP versions on self-hosted runners.
  • Improve documentation and templates.
  • Refactor internal testing workflows.
  • Revert to ES2019 as Node 12.x is the default version.
  • Cleanup ESlint config.
  • Update Node dependencies.