Skip to content
Compare
Choose a tag to compare
@shivammathur shivammathur released this 11 Sep 00:46
1fa3ba1
  • Add support for PHP 8.2. #490, Docs
  • Specifying 8.2 in the php-version input will set up a nightly build of PHP 8.2.0-dev from the master branch of php/php-src.
- name: Setup PHP 8.2
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.2'
  • Add support for the nightly alias for setting up a build from the master branch. #491, Docs
  • This will also set up PHP 8.2.0-dev from the master branch of php/php-src.
- name: Setup PHP 8.2
  uses: shivammathur/setup-php@v2
  with:
    php-version: nightly
  • Add support to disable all shared extensions. #487 Docs
  • Specifying none in extensions input will now disable all shared extensions.
  • If none is specified along with other extensions then setup-php will first remove all shared extensions, and then process the other extensions in the input.
  • As part of this feature from now on, shared extensions will just be disabled, and not removed completely.

❤️ Thanks! @sebastianbergmann and @localheinz for sponsoring this feature.

- name: Setup PHP without any shared extensions except mbstring
  uses: shivammathur/setup-php@v2
  with:
    php-version: 8.0
    extensions: none, mbstring
  • Fix disabling extensions to identify dependent extensions using the Reflection data and disable them as well. For example, disabling PDO will also disable pdo_mysql.

  • Fix warnings in Windows when the required directory is already present.

  • Fix to identify opcache if Zend OPcache is specified in extensions input.

  • Fix Windows script to install PHP 8.2 and future nightly builds correctly.

  • Fix to parse PHP 8.1 semver version.

  • Use shivammathur/extensions tap to install vips extension on macOS.


Internal

  • Add test cases for ini-values containing special characters to config.test.ts to avoid regression.

  • Add bugs, directories, files and types properties in package.json.

  • Add an SVG with past and present individual sponsors to the README.

  • Use commit hash from the path in URL instead of the query string for nightly builds on macOS.

  • Fix build error in install.ts after TypeScript upgrade.

  • Minor refactor in install.test.ts.

  • Refactor config and coverage test files to use jest.each.

  • Update tsconfig to generate type declarations.

  • Update documentation in the README.

  • Update versions in SECURITY.md.

  • Update Node.js dependencies.