Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package php-phalcon for openSUSE:Factory checked in at 2026-01-07 16:02:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/php-phalcon (Old) and /work/SRC/openSUSE:Factory/.php-phalcon.new.1928 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "php-phalcon" Wed Jan 7 16:02:43 2026 rev:21 rq:1325747 version:5.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/php-phalcon/php-phalcon.changes 2025-05-01 15:23:51.144104942 +0200 +++ /work/SRC/openSUSE:Factory/.php-phalcon.new.1928/php-phalcon.changes 2026-01-07 16:03:29.620309014 +0100 @@ -1,0 +2,42 @@ +Tue Jan 6 20:13:17 UTC 2026 - Arjen de Korte <[email protected]> + +- update to 5.10.0 + * 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] + * Changed `Phalcon\Storage\Adapters\Libmemcached::getAdapter()` to use + 50ms for `\Memcached::OPT_CONNECT_TIMEOUT` [#16818] + * Changed `Phalcon\Html\Helper\Input\*` to honor `Docbloc` directives + [#16778] + * Added `fails()` method helper to `Phalcon\Filter\Validation` useful + for standalone validation [#16798] + * 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] + * 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] + * 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] + * Fixed `Phalcon\Http\Request` method `getPostData()` when `Content-Type` + header is not set [#16804] + * Fixed `Phalcon\Events\ManagerInterface` adding priority property + [#16817] + * Fixed `Phalcon\Storage\Adapters\Libmemcached::getAdapter()` to + correctly merge adapter options [#16818] + * Fixed `Phalcon\Encryption\Crypt` method + `checkCipherHashIsAvailable(string $cipher, string $type)` to correctly + check the `cipher` or `hash` type [#16822] + * Fixed `Phalcon\Mvc\Model` docblocks [#16825] + +------------------------------------------------------------------- +Sun Nov 30 20:36:35 UTC 2025 - Arjen de Korte <[email protected]> + +- Fix build with PHP 8.5 + + phalcon-fix-build-8.5.patch + +------------------------------------------------------------------- Old: ---- phalcon-5.9.3.tgz New: ---- phalcon-5.10.0.tgz phalcon-fix-build-8.5.patch ----------(New B)---------- New:- Fix build with PHP 8.5 + phalcon-fix-build-8.5.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ php-phalcon.spec ++++++ --- /var/tmp/diff_new_pack.BOruIt/_old 2026-01-07 16:03:30.216333821 +0100 +++ /var/tmp/diff_new_pack.BOruIt/_new 2026-01-07 16:03:30.220333988 +0100 @@ -31,7 +31,7 @@ %endif Name: %{php_name}-%{pkg_name} -Version: 5.9.3 +Version: 5.10.0 Release: 0 Summary: PHP Extension Module License: BSD-3-Clause @@ -39,12 +39,14 @@ URL: https://pecl.php.net/package/%{pkg_name} Source0: https://pecl.php.net/get/%{pkg_name}-%{version}.tgz Source1: php-%{pkg_name}-rpmlintrc +# PATCH-FIX-OPENSUSE - use Zend/zend_smart_string.h +Patch1: phalcon-fix-build-8.5.patch BuildRequires: %{php_name}-ctype BuildRequires: %{php_name}-devel BuildRequires: %{php_name}-pdo BuildRequires: %{php_name}-psr >= 0.7.0 BuildRequires: gcc -BuildRequires: %{php_name} < 8.5 +BuildRequires: %{php_name} < 8.6 Requires: %{php_name}-mysql %description @@ -54,7 +56,7 @@ create and maintain a project like Phalcon. %prep -%setup -q -n %{pkg_name}-%{version} +%autosetup -p1 -n %{pkg_name}-%{version} %build export CFLAGS="%{optflags} -fvisibility=hidden -fpermissive" ++++++ phalcon-5.9.3.tgz -> phalcon-5.10.0.tgz ++++++ ++++ 484030 lines of diff (skipped) ++++++ phalcon-fix-build-8.5.patch ++++++ diff --git a/phalcon.zep.c b/phalcon.zep.c index 8ce9c9c..283cd6d 100644 --- a/phalcon.zep.c +++ b/phalcon.zep.c @@ -58,7 +58,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include <main/php_ini.h> #include <main/SAPI.h> #include <ext/standard/php_string.h> +#if PHP_VERSION_ID < 70200 #include <ext/standard/php_smart_string.h> +#else +#include <Zend/zend_smart_string.h> +#endif #include <ext/standard/info.h> #include <ext/standard/file.h> #include <ext/standard/php_filestat.h>
