Skip to content
Compare
Choose a tag to compare
@shivammathur shivammathur released this 30 May 05:02
aa1fe47

Support Ukraine

#StandWithUkraine


  • Added support for ubuntu-22.04 runner. Docs

  • Added support for Couchbase extension 4.x for PHP 7.4 and above. Also added support to specify the extension version you need. #593

    Note: Please use the extensions cache if using the latest Couchbase version on Linux as it can take 10+ minutes to build along with its library.

    To install the latest version of couchbase extension

    - name: Setup PHP
      uses: shivammathur@setup-php@v2
      with:
        php-version: '8.1'
        extensions: couchbase

    To install a specific version - suffix couchbase with exact version you want in the extensions input.

    - name: Setup PHP
      uses: shivammathur@setup-php@v2
      with:
        php-version: '7.4'
        extensions: couchbase-2.6.2
  • Improved fallback support upon cache failure in composer setup. This fixes an error when the latest composer version was installed on older PHP versions when fetching composer from shivammathur/composer-cache failed.

  • Bumped Node.js version required to 16.x. Also bumped build target version to ES2021.

  • Removed support for Debian 9 and Ubuntu 21.04 for self-hosted runners. Docs

  • Fixed tools setup with older composer versions which do not create composer.json if missing in the directory.

  • Fixed support for extensions on macOS where the extension package name might conflict with package names in homebrew-core repo. This fixes support for redis extension on macOS on PHP 7.0.

  • Fixed enabling cached extensions which depend on other extensions on PHP 7.1 and lower.

  • Fixed setting default INI values so that it is possible to override those using php -c. #595

  • Fixed PECL support for PHP 5.3, this was broken in previous release while adding support for specifying configure options, as that is only supported on PHP 5.4 and above.

  • Fixed identifying the latest protoc release.

  • Removed unnecessary fs dependency.

  • Added dependabot config to update older actions in workflows. #597

  • Added permissions for GITHUB_TOKEN in workflows. #596

  • Updated Node.js dependencies.


Thanks! @naveensrinivasan for the contributions 🚀

Follow for updates

setup-php reddit setup-php twitter setup-php status