Skip to content

Commit

Permalink
Merge pull request #16291 from phalcon/5.0.x
Browse files Browse the repository at this point in the history
5.2.0
  • Loading branch information
niden authored Feb 27, 2023
2 parents ce1392e + 598eac9 commit 35431ac
Show file tree
Hide file tree
Showing 39 changed files with 478 additions and 663 deletions.
1 change: 0 additions & 1 deletion .github/actions/build-phalcon-win/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ runs:
shell: powershell
run: |
Write-Output "::group::Install dependencies"
mkdir ${{ env.CACHE_DIR }}\Choco
choco install --no-progress -y --cache-location=${{ env.CACHE_DIR }}\Choco re2c
Write-Output "::endgroup::"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ permissions:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php: [ '7.4', '8.0', '8.1' ]
php: [ '7.4', '8.0', '8.1', '8.2' ]

name: Build Dockerfile PHP ${{ matrix.php }}
steps:
Expand Down
26 changes: 14 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ on:

env:
# All versions should be declared here
PHALCON_VERSION: 5.1.4
ZEPHIR_PARSER_VERSION: 1.5.1
ZEPHIR_VERSION: 0.16.3
PHALCON_VERSION: 5.2.0
ZEPHIR_PARSER_VERSION: 1.5.3
ZEPHIR_VERSION: 0.17.0

# For tests
LANG: en_US.UTF-8
Expand Down Expand Up @@ -69,9 +69,10 @@ jobs:

generate:
needs: setup_workflow
uses: zephir-lang/templates/.github/workflows/phalcon-pecl-8.1.yml@main
uses: zephir-lang/templates/.github/workflows/phalcon-pecl.yml@main
with:
extensions: ${{ needs.setup_workflow.outputs.zephir_extensions }}
php_version: '8.2'
secrets:
composer-token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -85,8 +86,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '7.4', '8.0', '8.1' ]
# php: [ '7.4', '8.0', '8.1', '8.2' ]
php: [ '7.4', '8.0', '8.1', '8.2' ]
ts: [ 'nts', 'ts' ]
arch: [ 'x64' ]

Expand All @@ -108,8 +108,11 @@ jobs:
- { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16' }
- { php: '8.1', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16' }
- { php: '8.1', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16' }
# - { php: '8.2', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16' }
# - { php: '8.2', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16' }
# Most of the extensions wasn't compiled for PHP 8.2.
# So it is not possible to test in this version, inside Windows OS.
# List of .dlls - https://windows.php.net/downloads/pecl/releases/
#- { php: '8.2', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16' }
#- { php: '8.2', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16' }

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -228,7 +231,7 @@ jobs:
contents: read # to fetch code (actions/checkout)

needs: [generate]
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

services:
mysql:
Expand Down Expand Up @@ -265,8 +268,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '7.4', '8.0', '8.1' ]
# php: [ '7.4', '8.0', '8.1', '8.2' ]
php: [ '7.4', '8.0', '8.1', '8.2' ]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -375,7 +377,7 @@ jobs:

needs: [generate, install, build-and-test, integration-test]
name: Create Release
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 2 additions & 1 deletion BACKERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ Thanks for the support
<a href="https://github.com/yannux"><img src="https://avatars.githubusercontent.com/u/533125?s=460&u=4f1e888783d1faafaa76282e5c388501c2b2df83&v=4" title="Yann" width="60" height="60"></a>
<a href="https://github.com/elcreator"><img src="https://avatars.githubusercontent.com/u/974975?v=4" title="Artur Kyryliuk" width="60" height="60"></a>
<a href="https://github.com/Ultimater"><img src="https://avatars.githubusercontent.com/u/1922199?v=4" title="Kevin Yarmak" width="60" height="60"></a>
<a href="https://github.com/qmegas"><img src="https://avatars3.githubusercontent.com/u/2444896?s=460&v=4" title="qmegas" width="60" height="60"></a>
<a href="https://github.com/Ruzgfpegk"><img src="https://avatars1.githubusercontent.com/u/3818364?s=460&v=4" title="Ruzgfpegk" width="60" height="60"></a>
<a href="https://github.com/SliceOfLife"><img src="https://avatars.githubusercontent.com/u/3955618?v=4" title="SliceOfLife" width="60" height="60"></a>
<a href="https://github.com/f-do"><img src="https://avatars.githubusercontent.com/u/4299065?v=4" title="Florian" width="60" height="60"></a>
<a href="https://github.com/borisdelev"><img src="https://avatars.githubusercontent.com/u/4441663?s=460&u=be604c39153e26326f2123c6e1bfe880d5ec0947&v=4" title="Boris Delev" width="60" height="60"></a>
<a href="https://github.com/stdnk"><img src="https://avatars.githubusercontent.com/u/5130969?v=4" title="Vasily Stadnik" width="60" height="60"></a>
Expand All @@ -115,6 +115,7 @@ Thanks for the support
<a href="https://github.com/ruudboon"><img src="https://avatars3.githubusercontent.com/u/7444246?s=460&v=4" title="Ruud Boon" width="60" height="60"></a>
<a href="https://github.com/sitchi"><img src="https://avatars.githubusercontent.com/u/11546683?v=4" title="Nikoloz Sitchinava" width="60" height="60"></a>
<a href="https://github.com/6trading"><img src="https://avatars.githubusercontent.com/u/12135941?v=4" title="Chris" width="60" height="60"></a>
<a href="https://github.com/aircodepl"><img src="https://avatars.githubusercontent.com/u/17483386?v=4" title="Mateusz" width="60" height="60"></a>
<a href="https://github.com/fvromera"><img src="https://avatars.githubusercontent.com/u/32909196?s=460&u=a4a6d765c836be52ab247354399d0ed1a49224fa&v=4" title="fvromera" width="60" height="60"></a>
<a href="https://github.com/ak1113"><img src="https://avatars0.githubusercontent.com/u/38716832?s=460&v=4" title="Akira Kato" width="60" height="60"></a>
<a href="https://github.com/dredasss"><img src="https://avatars1.githubusercontent.com/u/38747389?s=460&u=ee99a8bb28ee6bedbbea6325d49d4eb99080d421&v=4" title="Nerijus Alex" width="60" height="60"></a>
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG-5.0.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## [5.2.0](https://github.com/phalcon/cphalcon/releases/tag/v5.2.0) (2023-02-26)

### Fixed

- Fixed `Phalcon\Html\Helper\Title::prepend` to correctly prepend text in subsequent calls [#16283](https://github.com/phalcon/cphalcon/issues/16283)

### Added

- Added support for PHP 8.2 [#15973](https://github.com/phalcon/cphalcon/issues/15973)

## [5.1.4](https://github.com/phalcon/cphalcon/releases/tag/v5.1.4) (2023-01-10)

### Fixed
Expand Down
91 changes: 51 additions & 40 deletions build/phalcon/phalcon.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/phalcon/php_phalcon.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ typedef zend_function zephir_fcall_cache_entry;


#define PHP_PHALCON_NAME "phalcon"
#define PHP_PHALCON_VERSION "5.1.4"
#define PHP_PHALCON_VERSION "5.2.0"
#define PHP_PHALCON_EXTNAME "phalcon"
#define PHP_PHALCON_AUTHOR "Phalcon Team and contributors"
#define PHP_PHALCON_ZEPVERSION "0.16.3-5099f34"
#define PHP_PHALCON_ZEPVERSION "0.17.0-9f99da6"
#define PHP_PHALCON_DESCRIPTION "Phalcon is a full stack PHP framework, delivered as a PHP extension, offering lower resource consumption and high performance."

typedef struct _zephir_struct_db {
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"friendsofphp/php-cs-fixer": "~3.0",
"mustache/mustache": "^2.14.1",
"phalcon/ide-stubs": "^4.1",
"phalcon/zephir": "^0.16.0",
"phalcon/zephir": "^0.17",
"phpunit/phpunit": "^9.0",
"predis/predis": "^1.1",
"squizlabs/php_codesniffer": "^3.4",
Expand Down
Loading

0 comments on commit 35431ac

Please sign in to comment.