setup-php v2.9.0 Release Notes

Release Date: 2020-11-26 // over 3 years ago
    • ๐Ÿฑ PHP 8.0 is now stable PHP 8.0.0 on setup-php for all supported OS. ๐Ÿฅณ
    • โž• Add new JIT configuration section to the README.

    For example, to enable JIT on PHP 8.0.

    - name: Setup PHPuses: shivammathur/setup-php@v2with: php-version: '8.0'ini-values: opcache.enable\_cli=1
    

    ๐Ÿ”ง Refer to JIT Configuration for more details.

    • Skip prestissimo and composer-prefetcher unless composer:v1 is specified.

    For example to setup prestissimo, use

    - name: Setup PHPuses: shivammathur/setup-php@v2with: php-version: '8.0'tools: composer:v1, prestissimo
    
    • Set Xdebug version to 2.9.8 on PHP 7.2. #345
    • Set xdebug.mode=coverage ini directive always #346
    • Sync dependencies from shivammathur/extensions tap in add_brew_extension.
    • ๐Ÿ›  Fix fail-fast on Windows.
    • ๐Ÿ›  Fix deleting extensions when one extension is a substring of the other. For example pdo_sqlsrv and sqlsrv.
    • ๐Ÿ›  Fix fetching extension version from PECL on macOS.
    • ๐Ÿ›  Fix fetching grpc latest tag. (grpc/grpc.io#79)
    • ๐Ÿš€ Prioritize Bintray over GitHub releases for fetching scripts.
    • ๐Ÿ”จ Refactor darwin.sh script.
    • ๐Ÿ”„ Change project description in actions.yml.
    • โฌ†๏ธ Bump version to 2.9.0

    ๐Ÿฑ Thanks @owenvoke for the contribution ๐ŸŽ‰


    ๐Ÿ‘Œ Support the project

    setup-php opencollectiveshivammathur patreon

    โšก๏ธ Follow for updates

    setup-php redditsetup-php twittersetup-php status


Previous changes from v2.8.0

    • โž• Add support to setup a specific Composer version.
      For example to setup Composer 2.0.6.

      • name: Setup PHPuses: shivammathur/setup-php@v2with: php-version: '7.4'tools: composer: 2.0.6
    • โž• Add support for couchbase extension for PHP 5.6 to PHP 7.4.

      • name: Setup PHPuses: shivammathur/setup-php@v2with: php-version: '7.4'extensions: couchbase
    • Set blackfire-player to v1.9.3 for PHP 5.5 to PHP 7.0.

    • Set composer version to v1 when prestissimo or composer-prefetcher is specified in tools. It is recommended to stop using prestissimo as Composer 2 is faster on its own.

    • ๐Ÿ“„ Document using setup-php on i386 and amd64 containers using spc. Docs. Closes #326.

    • โž• Add workflow to document extensions that are enabled by default on wiki. (#327)

    • ๐Ÿ›  Fix tools setup when latest release does not have the tool in release assets. Will now fetch tool from the previous release till it is added to the latest release.

    • ๐Ÿ‘Œ Improve regex for pre-release PECL extensions. (#325)

    • ๐Ÿ Install VcRedist from GitHub on Windows.

    • โšก๏ธ Update PHP dependencies as per GitHub Action runner version on macOS.

    • Fix grpc_php_plugin setup. Now uses Xcode 11.7 as compiling it with Xcode 12 is flaky.

    • ๐Ÿ›  Fix extension setup on PHP 8.0 and PHP 8.1 and for all PHP versions on self-hosted Linux.

    • ๐Ÿ›  Fix composer setup when it is a dependency of a tool.

    • ๐Ÿš€ Revert back to apt-fast as after 1.9.10 release it reports correct exit codes.

    • โช Revert back to using dashes in step-ids as issue parsing them is fixed upstream (nektos/act#287).

    • ๐Ÿš€ Use GitHub releases(s3) as primary source for builds and scripts with bintray only as fallback. This will scale setup-php better and avoid bintray's 2TB/month download limit.

    • ๐Ÿ”จ Refactor and dry linux.sh and darwin.sh.

    • ๐Ÿ›  Fix contribution docs.

    ๐Ÿฑ Thanks @GrahamCampbell and @mlocati for the contributions ๐ŸŽ‰


    ๐Ÿ‘Œ Support the project

    setup-php opencollectiveshivammathur patreon

    โšก๏ธ Follow for updates

    setup-php redditsetup-php twittersetup-php status