Skip to content
Merged

5.10.0 #16828

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
a7f732a
remove backer
Arhell Apr 22, 2025
87a4eef
Merge pull request #16762 from phalcon/remove
Jeckerson Apr 22, 2025
1730bd1
[fix] - fix: add dockerfile labels separately
noone-silent Apr 23, 2025
40e8bf6
Merge pull request #16763 from noone-silent/fix-dockerfile-labels
niden Apr 23, 2025
92fd816
add backer
Arhell May 5, 2025
90319dd
Merge pull request #16765 from phalcon/add
Jeckerson May 5, 2025
8ec034f
removing tab characters
niden Apr 30, 2025
60f0234
adding version to DLLs
niden May 7, 2025
4f0ab3a
trying without the label
niden May 7, 2025
f6563c0
changing the sdk version
niden May 7, 2025
678f748
correcting discussions link
niden Jun 2, 2025
019ab48
removed exposed port for 8.1
niden Jun 2, 2025
ae2f20d
Merge pull request #16770 from niden-code/5.0.x
niden Jun 2, 2025
f26954d
Improved typehint for method 'View::render'
May 28, 2025
5e9904f
Merge pull request #16768 from kuhler-Stratege/view-render-typehint
niden Jun 5, 2025
f5a5c2d
remove backer
Arhell Jun 5, 2025
5de8944
Merge pull request #16773 from phalcon/remove
Jeckerson Jun 6, 2025
54a23f4
Update Yaml.zep
ucando Jun 22, 2025
9a2bcbd
Update ConstructCest.php
ucando Jun 22, 2025
8734301
Create empty.yml
ucando Jun 22, 2025
3db68f2
fix: corrected syntax
ucando Jun 23, 2025
1ae6e82
Update CHANGELOG-5.0.md
ucando Jun 23, 2025
c1c425b
fix the code style
ucando Jun 23, 2025
1f8c232
Merge pull request #16776 from ucando/5.0.x
niden Jun 23, 2025
6c538c2
add backer
Arhell Jun 26, 2025
b1cbcc6
Merge pull request #16779 from phalcon/add
Jeckerson Jun 26, 2025
c77eab2
New IP address filter sanitize
raicabogdan Jul 5, 2025
bf75941
Update getClientAddress() to return correct IP address when using for…
raicabogdan Jul 5, 2025
b77ff7f
add new tests
raicabogdan Jul 5, 2025
a28a648
Remove invalid test, REMOTE_ADDR header can not have multiple IP addr…
raicabogdan Jul 5, 2025
1052e30
Update changelog
raicabogdan Jul 5, 2025
ddd25aa
Update doc block for getClientAddress()
raicabogdan Jul 5, 2025
e5e4b97
Merge pull request #16784 from raicabogdan/T16777
niden Jul 6, 2025
0b40f1a
Update comments
raicabogdan Jul 6, 2025
c27e641
Merge pull request #16785 from raicabogdan/T16777-comments
niden Jul 6, 2025
b82754c
update phpdoc
raicabogdan Jul 10, 2025
4cede38
Merge pull request #16787 from raicabogdan/5.0.x-phpdocs
niden Jul 11, 2025
b90da42
remove backer
Arhell Jul 14, 2025
a701f47
Merge pull request #16789 from phalcon/remove
Jeckerson Jul 15, 2025
c7fed86
change property to protected, refactored tests
raicabogdan Jul 15, 2025
e8559f7
Merge pull request #16790 from raicabogdan/5.0.x-test-Request
niden Jul 15, 2025
5172a90
removed method getPatchPut() and passed post|patch|put requests to ne…
raicabogdan Jul 24, 2025
c91fa1d
Merge pull request #16793 from raicabogdan/5.0.x-getPostPatchPut
niden Jul 24, 2025
1573ef7
Update phpdoc comment for getPostData()
raicabogdan Jul 25, 2025
657c5cc
Update query getSql() phpdoc
raicabogdan Jul 25, 2025
cde7cbe
Merge pull request #16794 from raicabogdan/5.0.x-update-comment
niden Jul 25, 2025
2fc82e7
Merge pull request #16795 from raicabogdan/5.0.x-T16788
niden Jul 25, 2025
53c979c
Add fails() method to Validation class
raicabogdan Aug 2, 2025
a24cd78
add test
raicabogdan Aug 2, 2025
988cc57
Merge pull request #16799 from raicabogdan/5.0.x-validation-fails
niden Aug 2, 2025
0ee5102
entity binding
raicabogdan Aug 13, 2025
de0316d
add changelog
raicabogdan Aug 13, 2025
0cde937
Merge pull request #16801 from raicabogdan/5.0.x-validation-entity-bi…
niden Aug 17, 2025
2e72ba9
fix bug when bind is used with null entity and real data.
raicabogdan Aug 18, 2025
d14d83f
Merge pull request #16803 from raicabogdan/5.0.x-entity-binding
niden Aug 18, 2025
a2694b7
Fix stripos(): Passing null when content-type not set
raicabogdan Aug 19, 2025
b3d381f
add changelog
raicabogdan Aug 19, 2025
06431b3
Merge branch '5.0.x' into 5.0.x-content-type-null
raicabogdan Aug 19, 2025
ec49eb3
Merge pull request #16805 from raicabogdan/5.0.x-content-type-null
niden Aug 19, 2025
b132d82
bump actions/checkout to 5v
Arhell Oct 6, 2025
04b4ff5
Merge pull request #16813 from phalcon/bump-action
niden Oct 7, 2025
bfe7099
remove backer
Arhell Nov 6, 2025
0697aed
Merge pull request #16815 from phalcon/remove
Jeckerson Nov 7, 2025
6bf6229
Suppressed Code Sniffer rule for missing namespace.
SidRoberts Sep 27, 2025
991bd4e
Added explicit visibility to constants.
SidRoberts Sep 27, 2025
be81eee
Add priority parameter to attach method in ManagerInterface
tashik Nov 8, 2025
a5004a7
fix on review comment: move constant DEFAULT_PRIORITY to the interface
tashik Nov 9, 2025
a4adcdc
removed constant visibility
tashik Nov 10, 2025
ece6960
Merge pull request #16816 from tashik/fix-managerinterface
niden Nov 10, 2025
1925a45
Update CHANGELOG
niden Nov 10, 2025
b2367d6
fix #16818: override memcached options correctly
tashik Nov 13, 2025
6cf172d
Merge pull request #16819 from tashik/fix-storage-adapter-libmemcached
niden Nov 14, 2025
b1dc645
Update CHANGELOG-5.0.md
niden Nov 14, 2025
e8576cb
Fix method checkCipherHashIsAvailable() to correctly check the cipher…
raicabogdan Nov 27, 2025
28b737c
Merge pull request #16823 from raicabogdan/5.0.x-T16822
niden Nov 27, 2025
1cf081b
removed final on methods and made properties protected for extending
niden Aug 2, 2025
ac60f21
removed final on methods and made properties protected for extending
niden Aug 2, 2025
335758a
changing the timeout of memcached
niden Nov 21, 2025
c670f9c
bumping version
niden Nov 21, 2025
2b23ea6
refreshing ext
niden Nov 21, 2025
37e633f
refreshing build
niden Nov 21, 2025
21ded45
bumping version
niden Nov 21, 2025
10e4d89
prepping changelog
niden Nov 21, 2025
af4527e
minor adjustments
niden Nov 21, 2025
f467d07
trying latest version of setup-php
niden Nov 21, 2025
915fb8b
using ubuntu latest for everything
niden Nov 22, 2025
ed3c3c6
refreshing ext
niden Dec 22, 2025
742878a
upgrade to docker services
niden Dec 22, 2025
6c9cd5b
enabling doctype for input helpers
niden Dec 22, 2025
5d607e5
updating tests
niden Dec 22, 2025
57d5b72
additional adjustments
niden Dec 22, 2025
f9b5fad
correcting tests
niden Dec 22, 2025
ab92864
adding 8.5
niden Dec 22, 2025
5be0616
updating composer
niden Dec 22, 2025
30558db
refreshing ext
niden Dec 22, 2025
0de8d8b
changelog update
niden Dec 22, 2025
d76d16b
adding 8.5 to windows
niden Dec 22, 2025
2690d4d
fixing docblock
niden Dec 22, 2025
ab4d74c
bumping php version
niden Dec 22, 2025
927563f
disabling 8.5 for now
niden Dec 22, 2025
b4204bf
removing comments completely - for 8.5
niden Dec 22, 2025
ac83384
reverting actions
niden Dec 22, 2025
5156538
Merge pull request #16824 from niden-code/T16778-helper-xhtml
niden Dec 23, 2025
1168553
fixing docblocks
niden Dec 23, 2025
77bb923
updating changelog
niden Dec 23, 2025
4796728
Merge pull request #16826 from niden-code/T16825-doctypes
niden Dec 23, 2025
1ecef03
Updating version
niden Dec 23, 2025
4e07806
Updating version
niden Dec 23, 2025
5b9b7cd
refreshing ext
niden Dec 23, 2025
5e01da7
updating changelog
niden Dec 23, 2025
4adad83
updating composer
niden Dec 23, 2025
60616f7
trying a different action for windows builds
niden Dec 24, 2025
e87eb6c
correcting version
niden Dec 24, 2025
31b726b
trying specific php version
niden Dec 24, 2025
1af83be
different approach with versions; using full version now
niden Dec 24, 2025
841dbd0
trying the old action again
niden Dec 24, 2025
89b339a
back to the new action
niden Dec 24, 2025
abb37c1
Revert "back to the new action"
niden Dec 24, 2025
2e8a6c3
Revert "trying the old action again"
niden Dec 24, 2025
a65ad59
Revert "different approach with versions; using full version now"
niden Dec 24, 2025
4aa4093
Revert "trying specific php version"
niden Dec 24, 2025
893174b
Revert "correcting version"
niden Dec 24, 2025
1de42f5
Revert "trying a different action for windows builds"
niden Dec 24, 2025
ec29f35
changing action version
niden Dec 24, 2025
b410781
another try
niden Dec 24, 2025
939f7b7
Revert "another try"
niden Dec 24, 2025
57c4441
Merge pull request #16827 from niden-code/5.10-prep
niden Dec 24, 2025
b0c0466
Merge branch 'master' into 5.0.x
niden Dec 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ assignees: ''

---

Questions? Forum: https://phalcon.io/forum or Discord: https://phalcon.io/discord
Questions? Discussions: https://phalcon.io/discussions or Discord: https://phalcon.io/discord

**Describe the bug**
A clear and concise description of what the bug is.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

name: Build Dockerfile PHP ${{ matrix.php }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Login to Github Registry
uses: docker/login-action@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/compile-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

env:
# All versions should be declared here
PHALCON_VERSION: 5.9.3
PHALCON_VERSION: 5.10.0

jobs:
windows:
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Setup PHP
id: setup-php
uses: php/setup-php-sdk@v0.10
uses: php/setup-php-sdk@v0.11
with:
version: ${{matrix.php}}
arch: ${{matrix.arch}}
Expand Down
21 changes: 11 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
name: Phalcon CI

on:
schedule:
- cron: '0 2 * * *' # Daily at 02:00 runs only on default branch
push:
paths-ignore:
- '**.md'
Expand All @@ -19,9 +17,8 @@ on:

env:
# All versions should be declared here
PHALCON_VERSION: 5.9.3
ZEPHIR_PARSER_VERSION: 1.6.1

PHALCON_VERSION: 5.10.0
ZEPHIR_PARSER_VERSION: 1.8.0
# For tests
LANG: en_US.UTF-8
LANGUAGE: en_US.UTF-8
Expand All @@ -40,7 +37,7 @@ jobs:
# https://docs.github.com/en/actions/learn-github-actions/reusing-workflows#limitations
setup_workflow:
name: Setup workflow
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
outputs:
zephir_extensions: ${{ steps.setup-zephir-ext.outputs.extensions }}

Expand All @@ -58,7 +55,7 @@ jobs:

name: Check code style

runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -130,7 +127,7 @@ jobs:
Write-Output "SESSION_SAVE_PATH=$SessionSavePath" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append

- name: Setup PHP
uses: shivammathur/setup-php@2.32.0
uses: shivammathur/setup-php@2.35.5
with:
php-version: ${{ matrix.php }}
extensions: ${{ env.EXTENSIONS }}
Expand Down Expand Up @@ -275,13 +272,17 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '8.1', '8.2', '8.3', '8.4' ]
php:
- '8.1'
- '8.2'
- '8.3'
- '8.4'

steps:
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@2.32.0
uses: shivammathur/setup-php@2.35.5
with:
php-version: ${{ matrix.php }}
extensions: ${{ env.EXTENSIONS }}
Expand Down
4 changes: 1 addition & 3 deletions BACKERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,19 +96,17 @@ Thanks for the support
[//]: github-sponsors

<a href="https://github.com/niden"><img src="https://avatars2.githubusercontent.com/u/1073784?s=460&v=4" title="Nikolaos Dimopoulos" width="60" height="60"></a>
<a href="https://github.com/Brade"><img src="https://avatars.githubusercontent.com/u/46009?v=4" title="N. Brad Garrett" width="60" height="60"></a>
<a href="https://github.com/elstin"><img src="https://avatars.githubusercontent.com/u/38716832?v=4" title="Akira Kato" width="60" height="60"></a>
<a href="https://github.com/francoisgrogor"><img src="https://avatars.githubusercontent.com/u/5804565?v=4" title="francoisgrogor" width="60" height="60"></a>
<a href="https://github.com/alrieckert"><img src="https://avatars1.githubusercontent.com/u/452786?s=460&v=4" title="Anton Rieckert" 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/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/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/raicabogdan"><img src="https://avatars.githubusercontent.com/u/4399340?v=4" title="Bogdan Raica" width="60" height="60"></a>
<a href="https://github.com/jturbide"><img src="https://avatars.githubusercontent.com/u/4306188?v=4" title="Julien Turbide" width="60" height="60"></a>
<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>
<a href="https://github.com/tztztztz"><img src="https://avatars.githubusercontent.com/u/7032308?v=4" title="Tomasz Zadora" 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/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/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
25 changes: 25 additions & 0 deletions CHANGELOG-5.0.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,29 @@
# Changelog
## 5.10.0 (2025-12-25)

### Changed

- Changed `bind()` and `validate()` method in `Phalcon\Filter\Validation` and `Phalcon\Filter\Validation\ValidationInterface` to accept `$whitelist` array of only allowed fields to be mutated when using entity [#16800](https://github.com/phalcon/cphalcon/issues/16800)
- Changed `Phalcon\Storage\Adapters\Libmemcached::getAdapter()` to use 50ms for `\Memcached::OPT_CONNECT_TIMEOUT` [#16818](https://github.com/phalcon/cphalcon/issues/16818)
- Changed `Phalcon\Html\Helper\Input\*` to honor `Docbloc` directives [#16778](https://github.com/phalcon/cphalcon/issues/16778)

### Added

- Added `fails()` method helper to `Phalcon\Filter\Validation` useful for standalone validation [#16798](https://github.com/phalcon/cphalcon/issues/16798)

### Fixed

- Fixed `Phalcon\Config\Adapter\Yaml` constructor to handle `null` return values from `yaml_parse_file()`, ensuring empty configuration files are treated as empty arrays instead of throwing errors.
- Fixed `Phalcon\Http\Request` method `getClientAddress(true)` to return correct IP address from trusted forwarded proxy. [#16777](https://github.com/phalcon/cphalcon/issues/16777)
- Fixed `Phalcon\Http\Request` method `getPost()` to correctly return json data as well and unified both `getPut()` and `getPatch()` to go through the same parsing method. [#16792](https://github.com/phalcon/cphalcon/issues/16792)
- Fixed `Phalcon\Filter\Validation` method `bind()` and `validate()` to correctly bind data when using entity as well as skip binding of fields not included in `$whitelist` [#16800](https://github.com/phalcon/cphalcon/issues/16800)
- Fixed `Phalcon\Http\Request` method `getPostData()` when `Content-Type` header is not set [#16804](https://github.com/phalcon/cphalcon/issues/16804)
- Fixed `Phalcon\Events\ManagerInterface` adding priority property [#16817](https://github.com/phalcon/cphalcon/issues/16817)
- Fixed `Phalcon\Storage\Adapters\Libmemcached::getAdapter()` to correctly merge adapter options [#16818](https://github.com/phalcon/cphalcon/issues/16818)
- Fixed `Phalcon\Encryption\Crypt` method `checkCipherHashIsAvailable(string $cipher, string $type)` to correctly check the `cipher` or `hash` type [#16822](https://github.com/phalcon/cphalcon/issues/16822)
- Fixed `Phalcon\Mvc\Model` docblocks [#16825](https://github.com/phalcon/cphalcon/issues/16825)

### Removed

## [5.9.3](https://github.com/phalcon/cphalcon/releases/tag/v5.9.3) (2025-04-19)

Expand Down
Loading
Loading