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.