Skip to content

Commit 81a6fcf

Browse files
authored
Merge pull request #16164 from phalcon/5.0.x
v5.0.4
2 parents caedb80 + 72ac868 commit 81a6fcf

File tree

85 files changed

+538
-623
lines changed

Some content is hidden

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

85 files changed

+538
-623
lines changed

.ci/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ else
3131
fi
3232

3333
# If a `*.gch' (or a `*.pch') file is not found then the normal header files
34-
# will be used. For more see: http://en.wikipedia.org/wiki/Precompiled_header
34+
# will be used. For more see: https://en.wikipedia.org/wiki/Precompiled_header
3535
while IFS= read -r -d '' file
3636
do
3737
# shellcheck disable=SC2046

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# EditorConfig is awesome: http://EditorConfig.org
1+
# EditorConfig is awesome: https://EditorConfig.org
22

33
# top-most EditorConfig file
44
root = true

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ runs:
1111
steps:
1212
- name: Configure macOS Environment
1313
shell: bash
14+
# Xcode paths: https://github.com/actions/runner-images/blob/main/images/macos/macos-11-Readme.md#xcode
1415
run: |
15-
sudo xcode-select -s /Applications/Xcode_12.app
16+
sudo xcode-select -s /Applications/Xcode_13.0.app
1617
xcodebuild -version
1718
1819
- name: 'Build Phalcon for macOS'

.github/workflows/main.yml

Lines changed: 9 additions & 9 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.0.3
22+
PHALCON_VERSION: 5.0.4
2323
ZEPHIR_PARSER_VERSION: 1.5.1
2424
ZEPHIR_VERSION: 0.16.3
2525

@@ -91,15 +91,15 @@ jobs:
9191

9292
name:
9393
- ubuntu-gcc
94-
# - macos-clang
94+
- macos-clang
9595

9696
# matrix names should be in next format:
9797
# {php}-{ts}-{os.name}-{compiler}-{arch}
9898
include:
9999
# Linux
100100
- { name: ubuntu-gcc, os: ubuntu-18.04, compiler: gcc }
101-
# # macOS
102-
# - { name: macos-clang, os: macos-11, compiler: clang }
101+
# macOS
102+
- { name: macos-clang, os: macos-11, compiler: clang }
103103
# Windows
104104
- { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2019', compiler: 'vc15' }
105105
- { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2019', compiler: 'vc15' }
@@ -142,11 +142,11 @@ jobs:
142142
with:
143143
pecl: ./phalcon-pecl/phalcon-pecl.tgz
144144

145-
# - name: Build Phalcon Extension (macOS)
146-
# uses: ./.github/actions/build-phalcon-mac
147-
# if: runner.os == 'macOS'
148-
# with:
149-
# pecl: ./phalcon-pecl/phalcon-pecl.tgz
145+
- name: Build Phalcon Extension (macOS)
146+
uses: ./.github/actions/build-phalcon-mac
147+
if: runner.os == 'macOS'
148+
with:
149+
pecl: ./phalcon-pecl/phalcon-pecl.tgz
150150

151151
- name: Build Phalcon Extension (Windows)
152152
uses: ./.github/actions/build-phalcon-win

3rdparty/licenses/LICENSE-PHP.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ are met:
3939
6. Redistributions of any form whatsoever must retain the following
4040
acknowledgment:
4141
"This product includes PHP software, freely available from
42-
<http://www.php.net/software/>".
42+
<https://www.php.net/software/>".
4343

4444
THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND
4545
ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
@@ -62,7 +62,7 @@ individuals on behalf of the PHP Group.
6262
The PHP Group can be contacted via Email at [email protected].
6363

6464
For more information on the PHP Group and the PHP project,
65-
please see <http://www.php.net>.
65+
please see <https://www.php.net>.
6666

6767
PHP includes the Zend Engine, freely available at
68-
<http://www.zend.com>.
68+
<https://www.zend.com>.

3rdparty/licenses/LICENSE-ZEND.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ are met:
3434
5. Redistributions of any form whatsoever must retain the following
3535
acknowledgment:
3636
"This product includes the Zend Engine, freely available at
37-
http://www.zend.com"
37+
https://www.zend.com"
3838

3939
6. All advertising materials mentioning features or use of this
4040
software must display the following acknowledgment:
41-
"The Zend Engine is freely available at http://www.zend.com"
41+
"The Zend Engine is freely available at https://www.zend.com"
4242

4343
THIS SOFTWARE IS PROVIDED BY ZEND TECHNOLOGIES LTD. ``AS IS'' AND
4444
ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,

BACKERS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ Thanks for the support
112112
<a href="https://github.com/emagus"><img src="https://avatars.githubusercontent.com/u/5857789?v=4" title="maGus Informática" width="60" height="60"></a>
113113
<a href="https://github.com/tztztztz"><img src="https://avatars.githubusercontent.com/u/7032308?v=4" title="Tomasz Zadora" width="60" height="60"></a>
114114
<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>
115+
<a href="https://github.com/kgrammer"><img src="https://avatars.githubusercontent.com/u/8472433?v=4" title="Ken Grammer" width="60" height="60"></a>
115116
<a href="https://github.com/sitchi"><img src="https://avatars.githubusercontent.com/u/11546683?v=4" title="Nikoloz Sitchinava" width="60" height="60"></a>
117+
<a href="https://github.com/6trading"><img src="https://avatars.githubusercontent.com/u/12135941?v=4" title="Chris" width="60" height="60"></a>
116118
<a href="https://github.com/Montana"><img src="https://avatars3.githubusercontent.com/u/20936398?s=460&v=4" title="Montana Mendy" width="60" height="60"></a>
117119
<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>
118120
<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>

CHANGELOG-5.0.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# [5.0.4](https://github.com/phalcon/cphalcon/releases/tag/v5.0.4) (2022-10-17)
2+
3+
## Fixed
4+
- Fixed `Phalcon\Encryption\Security` to take into account the `workFactor` in the cost calculation [#16153](https://github.com/phalcon/cphalcon/issues/16153)
5+
- Removed double unserializing during Model caching [#16035](https://github.com/phalcon/cphalcon/issues/16035), [#16131](https://github.com/phalcon/cphalcon/issues/16131)
6+
- Fixed `Phalcon\Db\Adapter\Pdo\Mysql::describeIndexes` to assign an empty string in the index type of `null` and remove warnings [#16157](https://github.com/phalcon/cphalcon/issues/16157)
7+
- Fixed `Phalcon\Db\Adapter\Pdo\Sqlite::describeIndexes` to assign an empty string in the index type of `null` and remove warnings [#16157](https://github.com/phalcon/cphalcon/issues/16157)
8+
- Fixed `Phalcon\Mvc\Model\Manager::notifyEvent` to return `true` instead of `null` on success [#16161](https://github.com/phalcon/cphalcon/issues/16161)
9+
- Fixed `Phalcon\Encryption\Security\JWT\Validator::validateExpiration` to correctly validate the `exp` claim [#16166](https://github.com/phalcon/cphalcon/issues/16166)
10+
111
# [5.0.3](https://github.com/phalcon/cphalcon/releases/tag/v5.0.3) (2022-10-06)
212

313
## Changed
@@ -203,8 +213,8 @@
203213
- Changes to `Phalcon\Autoload\Loader`:
204214
- Renamed `registerClasses()` to `setClasses()`
205215
- Renamed `registerDirectories()` to `setDirectories()`
206-
- Renamed `registertExtensions()` to `setExtensions()`
207-
- Renamed `registertFiles()` to `setFiles()`
216+
- Renamed `registerExtensions()` to `setExtensions()`
217+
- Renamed `registerFiles()` to `setFiles()`
208218
- Renamed `registerNamespaces()` to `setNamespaces()` [#15797](https://github.com/phalcon/cphalcon/issues/15797)
209219
- Moved `Phalcon\Di` to `Phalcon\Di\Di` [#15799](https://github.com/phalcon/cphalcon/issues/15799)
210220
- Removed references to `Phalcon\Tag` from the framework in favor of `Phalcon\Html\TagFactory` [#15801](https://github.com/phalcon/cphalcon/issues/15801)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![Codecov master][codecov-master-badge]](https://codecov.io/gh/phalcon/cphalcon)
55
[![Codecov 5.0x][codecov-5x-badge]](https://codecov.io/gh/phalcon/cphalcon)
66

7-
[![Discord][discord-badge]](http://phalcon.io/discord)
7+
[![Discord][discord-badge]](https://phalcon.io/discord)
88
[![Contributors][contributors-badge]](https://github.com/phalcon/cphalcon/graphs/contributors)
99
[![Phalcon Backers][backers-badge]](https://github.com/phalcon/cphalcon/blob/master/BACKERS.md)
1010
[![OpenCollective][oc-backers-badge]](#backers)

build/gcccpuopt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# License: LGPLv2
66
# Author:
7-
# http://www.pixelbeat.org/
7+
# https://www.pixelbeat.org/
88
# Notes:
99
# This script currently supports Linux,FreeBSD,Cygwin
1010
# This script is x86 (32 bit) specific
@@ -58,7 +58,7 @@
5858
# V0.99.4, 24 Oct 2009, Following a report from Maxime de Roucy, add support
5959
# for AMD family 17 (griffin).
6060
# V0.99.11, 04 Jul 2013
61-
# http://github.com/pixelb/scripts/commits/master/scripts/gcccpuopt
61+
# https://github.com/pixelb/scripts/commits/master/scripts/gcccpuopt
6262

6363
if [ "$1" = "--version" ]; then
6464
echo "0.99.11" && exit

0 commit comments

Comments
 (0)