Changelog History
Page 1
-
v2.9.0 Changes
November 26, 2020- 🍱 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
-
v2.8.0 Changes
November 20, 2020➕ 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
-
v2.7.0 Changes
October 31, 2020➕ Add support for
PHP 8.1.0-dev
. Specifyphp-version: 8.1
to setup. docs. Closes #303- name: Setup PHPuses: shivammathur/[email protected]: php-version: '8.1'
➕ Add support for macOS Big Sur
macos-11.0
. docsruns-on: macos-11.0
➕ Add support for
fail-fast
flag. It will mark the workflow as failed if an extension or tool fails to install. Closes #306- name: Setup PHPuses: shivammathur/[email protected]: php-version: '7,4'tools: deployerenv: fail-fast: true
➕ Add support for
igbinary
andimagick
forPHP 5.6
and newer onmacOS
usingshivammathur/homebrew-extensions
.🛠 Fix setup for extensions
ast
,phalcon4
,pdo_oci
andoci8
after october update inppa:ondrej/php
.🛠 Fix problem matchers setup when action is called more than once in the same workflow.
⚡️ Switch to
apt-get
tillapt-fast
is updated to1.9.10
on the runner.🚀 Fetch
PhpManager
from release assets.✂ Remove patch for
RLIMIT_CORE
bug insudo
, fixed upstream.✏️ Minor fixes for typos in scripts.
⚡️ Update
README
.
🍱 Thanks @mlocati for the contribution 🎉
-
v2.6.0 Changes
October 05, 2020- Setup PHP now has discussions feature. So if you need any help with your workflows, want to suggest features or share anything in general related to PHP, please use setup-php discussions.
➕ Add support for
behat
andphpspec
. (Docs)- name: Setup PHPuses: shivammathur/[email protected]: php-version: '7.4'tools: behat, phpspec
➕ Add version of tools in logs. Closes #288
➕ Add alias
latest
for current stable php version. (Docs). Closes #293- name: Setup PHP with phinguses: shivammathur/[email protected]: php-version: latest
🔒 Switch to environment files to edit
PATH
and other environment variables. Apply GHSA-mfwh-5m23-j46w (CVE-2020-15228)🛠 Prioritize
with
overenv
for inputs. Fixes #295📄 Document
PHPStan
andPsalm
support for GitHub Actions inREADME
. (Docs). Related #292🚚 Move
problem matchers
setup to scripts.🔨 Refactor
install.ts
andinstall.test.ts
.Replace
codecov
badge with one fromshields.io
.🔊 Hyperlink support URL in the logs.
⚡️ Update
Node.js
dependencies.⬆️ Bump version to
2.6.0
.
🍱 Thanks @szepeviktor for the contributions 🎉
👌 Support the project
⚡️ Follow for updates
-
v2.5.0 Changes
September 07, 2020➕ Add support for
phing
. Closes #275- name: Setup PHP with phinguses: shivammathur/[email protected]: php-version: '7.4'tools: phing
➕ Add support to install
intl
extension with differentICU
versions forPHP 5.6
toPHP 7.4
onUbuntu
.
🏗ICU 50.2
and newer versions are supported. Refer to ICU builds for the specific versions supported. Closes #282.- name: Setup PHP with intl and ICU 67.1uses: shivammathur/[email protected]: php-version: '7.4'extensions: intl-67.1
➕ Add
printf
toPATH
if not found inWindows
.➕ Add status page badge in
README
.🏁 Revert to
Powershell PhpManager
to installPHP 8
onWindows
. (Ref: mlocati/powershell-phpmanager#62).🚀 Switch from tags to releases and use release assets to get
Powershell PhpManager
.🛠 Fix installing extensions from
Dotdeb
PPA forPHP 5.4
andPHP 5.5
. Ref: #281.🛠 Fix removing extensions for
Ubuntu
self-hosted runners.Replace
fedora
references with a valid platform name to validate againstprocess.platform
.🔨 Refactor
tools.ts
andwin32.ps1
.⬆️ Bump
Typescript
version to4.0.1
.
🍱 Thanks @mlocati for the contributions 🎉
-
v2.4.3 Changes
August 21, 2020- 🛠 Fix removing extensions on
Ubuntu
self-hosted runners. Fixes #271 - 🛠 Fix fallback for fetching
composer
. - ✂ Remove old
PHPUnit
onUbuntu
runners. - 🛠 Switch to fixed
getcomposer.org
links. - ➕ Add twitter badge to the
README
.
- 🛠 Fix removing extensions on
-
v2.4.2 Changes
August 10, 2020- ➕ Add support for
cubrid
andpdo_cubrid
onUbuntu
. Closes #267 - ➕ Add support for
oci8
andpdo_oci
extensions in PHP 8 on Windows. - 🏗 Use cached composer builds.
- 🛠 Fix permissions in
protoc
setup. - 🔄 Change
cURL
parameters. - Dry custom tools and extension code.
- ⚡️ Update
README
.
- ➕ Add support for
-
v2.4.1 Changes
August 08, 2020- 🏁 Resume nightly
PHP 8
builds onWindows
fromshivammathur/php-builder-windows
. Fixes #261 - Add support for
protoc
andgrpc_php_plugin
tools. Closes #262 - 👌 Improve PHP installation speed using cached packages.
- ⏪ Revert to default
packagist
mirror for old PHP. - 🏗 Use cached composer builds from
shivammathur/composer-cache
. - 👉 Use
blackfire
API to get versions. - 0️⃣ Accept
PECL
default parameters. - 👌 Improve
cURL
use. - 👍 Limit
swoole
support toPHP 7.4
. - 👍 Dry extension and tools code with custom support.
- 👍 Fail fast
PCOV
on unsupported PHP versions. - ✂ Remove
update_extension
fromlinux.sh
. - ✂ Remove obsolete
pcov.sh
. - 🛠 Fix warning in
cleanup_lists
onubuntu-20.04
. - 🛠 Fix updating lists in
phalcon
setup onUbuntu
. - 🛠 Fix coverage message in node workflow.
- 🔒 Bump supported version in
SECURITY.md
.
- 🏁 Resume nightly
-
v2.3.1 Changes
June 19, 2020- ➕ Add support for
Xdebug
onPHP 8.0
on all OS.
Nowcoverage: xdebug
would work onPHP 8.0
.
It will setup a nightly version ofXdebug3
onPHP 8.0
and setxdebug.mode=coverage
inphp.ini
. - 🍎 Use
shivammathur/homebrew-extensions
tap forPCOV
andXdebug
onPHP 5.6
and above onmacOS
. - ➕ Add support for
x86
PCOV
andXdebug
forPHP 8.0
on self-hosted windows runners. - ✂ Remove dashes from step ids.
- ✂ Remove deprecated
--no-suggest
flag from composer command in examples.
- ➕ Add support for
-
v2.3.0 Changes
June 09, 2020- ➕ Add support for Ubuntu 20.04 runners. Refer to the docs.
- ➕ Add support to specify composer version in
tools
input. Refer to the docs. - ⚡️ Update
actions/cache
uses tov2
. - Pre-install
PCOV
onPHP 8
. - Switch from
xz
tozstd
compression for packagingPHP
. - 🍎 Decouple scripts for
PHP 5.5
and lower on Linux and macOS. - 🐧 Decouple script for
PHP 8.0
on Linux. - 🛠 Fix intermittent peer fingerprint error on
PHP 5.5
and lower. - 🛠 Fix
blackfire
setup. - 🛠 Fix updating
powershell
profiles on Windows. - 🛠 Fix fetching CA bundle in Windows self-hosted runners.
- 🛠 Fix
setrlimit
warning withsudo
in Ubuntu 20.04 self-hosted runners. - 🛠 Fix
PhpManager
setup onwindows
for self-hosted runners. - 🛠 Fix tools setup on
windows
for self-hosted runners. - 🛠 Fix updating lists on Ubuntu 16.04 after adding
ppa:ondrej/php
on self-hosted runners. - 🛠 Fix logs for unsupported PHP versions on self-hosted runners.
- 👌 Improve documentation and templates.
- 🔨 Refactor internal testing workflows.
- ⏪ Revert to
ES2019
asNode 12.x
is the default version. - 👕 Cleanup
ESlint
config. - ⚡️ Update Node dependencies.