Releases: shivammathur/setup-php
Releases · shivammathur/setup-php
2.0.0
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
and5.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 toextensions
- Rename
ini-values-csv
input toini-values
- Remove
pecl
input and add a tools input withpecl
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
v1
maintenance release
- check for existing PHP on
macos
- Fix caching phalcon on
macos
- Fix
add_tool
onmacos
- Update dependencies
1.8.2
- 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
- Fix
PECL
configuration when installed byphp-dev
on linux - Fix extension installation methods order on linux.
1.8.0
- 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
- Use
ppa:ondrej/php
forext-phalcon
. - Add support to setup
ts
ornts
versions onwindows
. - Add support for
ext-imagick
ondarwin
. - Add support for
phive
. - Change
macOS-latest
tomacos-latest
. - Refactor scripts to enable pre-existing
ext-phalcon
.
1.7.3
- Update
Xdebug
if runner has old version onlinux
. - Remove
fetch-depth
foractions/checkout@v2
in test workflows. - Disable
process-timeout
limit incomposer
- Install
phalcon v4
fromPECL
on windows - Fix logs on
windows
for pre-installedPHP
version. - Fix
Xdebug
onPHP 7.0
on darwin. - Fix
Xdebug
andphalcon
logs onlinux
- Add support for
phpize
andphp-config
.
1.7.2
Improve remove_extensions
in linux
to speed up coverage: none
1.7.1
- Update
actions/checkout
tov2
. - Update year in
LICENSE
. - Add
CakePHP
examples. - Add
REDIS_PORT
environment variable in examples that useRedis
for caching. - Add
narrowspark/automatic-composer-prefetcher
in tools. - Add support to specify version of tools.
- Fix
codeception
for PHP5.6
,7.0
and7.1
. - Fix warnings in
actions.yml
. - Update default packages in
linux
.
1.7.0
- Refactor installation scripts.
- Switching between installed
PHP
versions should now just take seconds onlinux
. 🚀 - Plugin
hirak/prestissimo
is now optional, can be setup usingtools
input. - Update
ppa:ondrej/php
only if required.
- Switching between installed
- Input
pecl
is now deprecated, specifypecl
intools
input. - Fix regex to check installed extensions in
linux
anddarwin
. - 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