Skip to content

Commit ab709f6

Browse files
authored
Merge pull request #16361 from phalcon/5.0.x
Release 5.2.2
2 parents bf4e73c + fdd062f commit ab709f6

File tree

200 files changed

+2906
-2695
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+2906
-2695
lines changed

.github/actions/build-phalcon-linux/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ inputs:
55
pecl:
66
description: 'PECL package path'
77
required: true
8+
php-version:
9+
description: 'PHP version'
10+
required: true
811

912
runs:
1013
using: 'composite'
@@ -18,6 +21,10 @@ runs:
1821
sudo pecl -v install ${{ inputs.pecl }}
1922
echo "::endgroup::"
2023
24+
- name: Enable extension
25+
shell: bash
26+
run: echo "extension=phalcon" >> /etc/php/${{ inputs.php-version }}/cli/conf.d/99-pecl.ini
27+
2128
- name: Check Extension
2229
shell: bash
2330
run: php --ri phalcon

.github/workflows/main.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919

2020
env:
2121
# All versions should be declared here
22-
PHALCON_VERSION: 5.2.1
22+
PHALCON_VERSION: 5.2.2
2323
ZEPHIR_PARSER_VERSION: 1.5.3
2424
ZEPHIR_VERSION: 0.17.0
2525

@@ -32,7 +32,7 @@ env:
3232
TOOLS_DIR: 'C:\tools'
3333

3434
# PHP extensions required by Composer
35-
EXTENSIONS: apcu, gettext, gd, igbinary, imagick, intl, json, mbstring, msgpack, memcached, sqlite3, yaml, redis, :memcache
35+
EXTENSIONS: apcu, gettext, gd, igbinary, imagick, intl, json, mbstring, msgpack, memcached, sqlite3, yaml, redis, :memcache, openssl
3636

3737
permissions: {}
3838
jobs:
@@ -98,7 +98,7 @@ jobs:
9898
# {php}-{ts}-{os.name}-{compiler}-{arch}
9999
include:
100100
# Linux
101-
- { name: ubuntu-gcc, os: ubuntu-18.04, compiler: gcc }
101+
- { name: ubuntu-gcc, os: ubuntu-20.04, compiler: gcc }
102102
# macOS
103103
- { name: macos-clang, os: macos-11, compiler: clang }
104104
# Windows
@@ -147,6 +147,7 @@ jobs:
147147
if: runner.os == 'Linux'
148148
with:
149149
pecl: ./phalcon-pecl/phalcon-pecl.tgz
150+
php-version: ${{ matrix.php }}
150151

151152
- name: Build Phalcon Extension (macOS)
152153
uses: ./.github/actions/build-phalcon-mac
@@ -293,6 +294,7 @@ jobs:
293294
uses: ./.github/actions/build-phalcon-linux
294295
with:
295296
pecl: ./phalcon-pecl/phalcon-pecl.tgz
297+
php-version: ${{ matrix.php }}
296298

297299
- name: Prepare test Environment
298300
run: |

CHANGELOG-5.0.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## [5.2.2](https://github.com/phalcon/cphalcon/releases/tag/v5.2.2) (2023-06-18)
4+
5+
### Fixed
6+
7+
- Fixed `Encryption\Crypt::checkCipherHashIsAvailable` to allow proper setting of the hash [#16314](https://github.com/phalcon/cphalcon/issues/16314)
8+
- Removed `unlikely` from `if` statements from the Stream storage adapter and Json serializer [#16339](https://github.com/phalcon/cphalcon/issues/16339)
9+
- Fixed `Storage\Adapter\Stream::get()/set()` to correctly calculate the path if the prefix is present in the key [#16348](https://github.com/phalcon/cphalcon/issues/16348)
10+
- Fixed `Html\Helper\Input\Checkbox` to correctly process empty values [#15959](https://github.com/phalcon/cphalcon/issues/15959)
11+
312
## [5.2.1](https://github.com/phalcon/cphalcon/releases/tag/v5.2.1) (2023-02-28)
413

514
### Fixed

0 commit comments

Comments
 (0)