Skip to content

Releases: shivammathur/setup-php

2.0.0

16 Feb 23:11
383a511
Compare
Choose a tag to compare

New features

  • Support for caching extensions. docs
  • Support to setup specific versions of PECL extensions. docs
  • Support for existing PHP on macos. Setup time should be down from 3 to 5 minutes to around a minute.
  • Support for PHP 5.3, 5.4 and 5.5 to test backward compatibility. docs
  • Support for force updating PHP to latest patch release. docs
  • Problem matchers for PHP native errors. docs

Migrate to v2

Note: Disregard if you are already using new inputs.

  • Rename extension-csv input to extensions
  • Rename ini-values-csv input to ini-values
  • Remove pecl input and add a tools input with pecl in it.
-  uses: shivammathur/setup-php@v1
   with:
     php-version: '7.4'
-    extension-csv: xml, pcov
-    ini-values-csv: post_max_size=256M
-    pecl: true
+  uses: shivammathur/setup-php@v2
   with:
     php-version: '7.4'
+    extensions: xml, pcov
+    ini-values: post_max_size=256M
+    tools: pecl

1.8.3

16 Feb 22:31
3579c7e
Compare
Choose a tag to compare

v1 maintenance release

  • check for existing PHP on macos
  • Fix caching phalcon on macos
  • Fix add_tool on macos
  • Update dependencies

1.8.2

02 Feb 22:57
d9cf6f5
Compare
Choose a tag to compare
  • Refactor scripts.
  • Add script to help cache extensions.
  • Add dependencies when enabling cached extensions in linux.
  • Improve phalcon scripts.
  • Add support for cs2pr.
  • Refactor tools code.

1.8.1

27 Jan 17:10
76cecac
Compare
Choose a tag to compare
  • Fix PECL configuration when installed by php-dev on linux
  • Fix extension installation methods order on linux.

1.8.0

26 Jan 12:53
d384d9f
Compare
Choose a tag to compare
  • Add support for pre-release PECL extensions.
  • Fix php.ini permissions after extension setup.
  • Fix PHPUnit problem matchers.
  • Add support for symfony in tools input.
  • Fix lower-casing of coverage driver.
  • Add lint to pre-commit hook.
  • Fix check for testing tools setup in windows.

1.7.4

21 Jan 20:52
e01b2f0
Compare
Choose a tag to compare
  • Use ppa:ondrej/php for ext-phalcon.
  • Add support to setup ts or nts versions on windows.
  • Add support for ext-imagick on darwin.
  • Add support for phive.
  • Change macOS-latest to macos-latest.
  • Refactor scripts to enable pre-existing ext-phalcon.

1.7.3

17 Jan 11:48
8489dbf
Compare
Choose a tag to compare
  • Update Xdebug if runner has old version on linux.
  • Remove fetch-depth for actions/checkout@v2 in test workflows.
  • Disable process-timeout limit in composer
  • Install phalcon v4 from PECL on windows
  • Fix logs on windows for pre-installed PHP version.
  • Fix Xdebug on PHP 7.0 on darwin.
  • Fix Xdebug and phalcon logs on linux
  • Add support for phpize and php-config.

1.7.2

10 Jan 01:41
2ee4653
Compare
Choose a tag to compare

Improve remove_extensions in linux to speed up coverage: none

1.7.1

08 Jan 22:28
71db1e2
Compare
Choose a tag to compare
  • Update actions/checkout to v2.
  • Update year in LICENSE.
  • Add CakePHP examples.
  • Add REDIS_PORT environment variable in examples that use Redis for caching.
  • Add narrowspark/automatic-composer-prefetcher in tools.
  • Add support to specify version of tools.
  • Fix codeception for PHP 5.6, 7.0 and 7.1.
  • Fix warnings in actions.yml.
  • Update default packages in linux.

1.7.0

01 Jan 10:52
7b8bf7a
Compare
Choose a tag to compare
  • Refactor installation scripts.
    • Switching between installed PHP versions should now just take seconds on linux. 🚀
    • Plugin hirak/prestissimo is now optional, can be setup using tools input.
    • Update ppa:ondrej/php only if required.
  • Input pecl is now deprecated, specify pecl in tools input.
  • Fix regex to check installed extensions in linux and darwin.
  • Discard patch if specified in php-version input.
  • Add cross-platform support for ext-phalcon using pre-built binaries/packages. Fixes #128
  • Refactor coverage and extension code.
  • Add support to setup widely used tools globally.
  • Update symfony examples
  • Update existing PHP version on windows. Fixes #132
  • Fix setup order - Hotfix