Skip to content

Commit

Permalink
Merge pull request #16361 from phalcon/5.0.x
Browse files Browse the repository at this point in the history
Release 5.2.2
  • Loading branch information
niden committed Jun 18, 2023
2 parents bf4e73c + fdd062f commit ab709f6
Show file tree
Hide file tree
Showing 200 changed files with 2,906 additions and 2,695 deletions.
7 changes: 7 additions & 0 deletions .github/actions/build-phalcon-linux/action.yml
Expand Up @@ -5,6 +5,9 @@ inputs:
pecl:
description: 'PECL package path'
required: true
php-version:
description: 'PHP version'
required: true

runs:
using: 'composite'
Expand All @@ -18,6 +21,10 @@ runs:
sudo pecl -v install ${{ inputs.pecl }}
echo "::endgroup::"
- name: Enable extension
shell: bash
run: echo "extension=phalcon" >> /etc/php/${{ inputs.php-version }}/cli/conf.d/99-pecl.ini

- name: Check Extension
shell: bash
run: php --ri phalcon
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Expand Up @@ -19,7 +19,7 @@ on:

env:
# All versions should be declared here
PHALCON_VERSION: 5.2.1
PHALCON_VERSION: 5.2.2
ZEPHIR_PARSER_VERSION: 1.5.3
ZEPHIR_VERSION: 0.17.0

Expand All @@ -32,7 +32,7 @@ env:
TOOLS_DIR: 'C:\tools'

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

permissions: {}
jobs:
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
# {php}-{ts}-{os.name}-{compiler}-{arch}
include:
# Linux
- { name: ubuntu-gcc, os: ubuntu-18.04, compiler: gcc }
- { name: ubuntu-gcc, os: ubuntu-20.04, compiler: gcc }
# macOS
- { name: macos-clang, os: macos-11, compiler: clang }
# Windows
Expand Down Expand Up @@ -147,6 +147,7 @@ jobs:
if: runner.os == 'Linux'
with:
pecl: ./phalcon-pecl/phalcon-pecl.tgz
php-version: ${{ matrix.php }}

- name: Build Phalcon Extension (macOS)
uses: ./.github/actions/build-phalcon-mac
Expand Down Expand Up @@ -293,6 +294,7 @@ jobs:
uses: ./.github/actions/build-phalcon-linux
with:
pecl: ./phalcon-pecl/phalcon-pecl.tgz
php-version: ${{ matrix.php }}

- name: Prepare test Environment
run: |
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG-5.0.md
@@ -1,5 +1,14 @@
# Changelog

## [5.2.2](https://github.com/phalcon/cphalcon/releases/tag/v5.2.2) (2023-06-18)

### Fixed

- Fixed `Encryption\Crypt::checkCipherHashIsAvailable` to allow proper setting of the hash [#16314](https://github.com/phalcon/cphalcon/issues/16314)
- Removed `unlikely` from `if` statements from the Stream storage adapter and Json serializer [#16339](https://github.com/phalcon/cphalcon/issues/16339)
- 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)
- Fixed `Html\Helper\Input\Checkbox` to correctly process empty values [#15959](https://github.com/phalcon/cphalcon/issues/15959)

## [5.2.1](https://github.com/phalcon/cphalcon/releases/tag/v5.2.1) (2023-02-28)

### Fixed
Expand Down

0 comments on commit ab709f6

Please sign in to comment.