setup-php v2.9.0 Release Notes
Release Date: 2020-11-26 // about 2 years ago-
- 🍱 PHP 8.0 is now stable
PHP 8.0.0
onsetup-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/[email protected]: php-version: '8.0'ini-values: opcache.enable\_cli=1
🔧 Refer to JIT Configuration for more details.
- Skip
prestissimo
andcomposer-prefetcher
unlesscomposer:v1
is specified.
For example to setup
prestissimo
, use- name: Setup PHPuses: shivammathur/[email protected]: php-version: '8.0'tools: composer:v1, prestissimo
- Set
Xdebug
version to2.9.8
onPHP 7.2
. #345 - Set
xdebug.mode=coverage
ini directive always #346 - Sync dependencies from
shivammathur/extensions
tap inadd_brew_extension
. - 🛠 Fix
fail-fast
on Windows. - 🛠 Fix deleting extensions when one extension is a substring of the other. For example
pdo_sqlsrv
andsqlsrv
. - 🛠 Fix fetching extension version from
PECL
onmacOS
. - 🛠 Fix fetching
grpc
latest tag. (grpc/grpc.io#79) - 🚀 Prioritize
Bintray
overGitHub
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
⚡️ Follow for updates
- 🍱 PHP 8.0 is now stable
Previous changes from v2.8.0
-
➕ Add support to setup a specific
Composer
version.
For example to setupComposer 2.0.6
.- name: Setup PHPuses: shivammathur/[email protected]: php-version: '7.4'tools: composer: 2.0.6
➕ Add support for
couchbase
extension forPHP 5.6
toPHP 7.4
.- name: Setup PHPuses: shivammathur/[email protected]: php-version: '7.4'extensions: couchbase
Set
blackfire-player
tov1.9.3
forPHP 5.5
toPHP 7.0
.Set
composer
version tov1
whenprestissimo
orcomposer-prefetcher
is specified in tools. It is recommended to stop usingprestissimo
asComposer 2
is faster on its own.📄 Document using
setup-php
oni386
andamd64
containers usingspc
. 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 onWindows
.⚡️ Update
PHP
dependencies as per GitHub Action runner version onmacOS
.Fix
grpc_php_plugin
setup. Now usesXcode 11.7
as compiling it withXcode 12
is flaky.🛠 Fix extension setup on
PHP 8.0
andPHP 8.1
and for all PHP versions on self-hostedLinux
.🛠 Fix
composer
setup when it is a dependency of a tool.🚀 Revert back to
apt-fast
as after1.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 scalesetup-php
better and avoid bintray's 2TB/month download limit.🔨 Refactor and dry
linux.sh
anddarwin.sh
.🛠 Fix contribution docs.
🍱 Thanks @GrahamCampbell and @mlocati for the contributions 🎉
👌 Support the project
⚡️ Follow for updates