From 433f4859d1a3ef025cab0819cd10d7264f50aafa Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 3 Jul 2026 15:26:06 +0200 Subject: update to 0.5.0 --- PHPINFO | 2 +- REFLECTION | 34 +++++++++++++++++++++++++++++++++- php-iliaal-fastjson.spec | 8 ++++---- 3 files changed, 38 insertions(+), 6 deletions(-) diff --git a/PHPINFO b/PHPINFO index fceba58..47a4658 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,5 +2,5 @@ fastjson fastjson support => enabled -Version => 0.4.0 +Version => 0.5.0 Backend => yyjson 0.12.0 diff --git a/REFLECTION b/REFLECTION index d86f3db..80fca2f 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #84 fastjson version 0.4.0 ] { +Extension [ extension #84 fastjson version 0.5.0 ] { - Dependencies { Dependency [ json (Optional) ] @@ -73,6 +73,26 @@ Extension [ extension #84 fastjson version 0.4.0 ] { } - Return [ mixed ] } + Function [ function fastjson_pointer_exists ] { + + - Parameters [3] { + Parameter #0 [ string $json ] + Parameter #1 [ string $pointer ] + Parameter #2 [ int $flags = 0 ] + } + - Return [ bool ] + } + Function [ function fastjson_pointer_set ] { + + - Parameters [5] { + Parameter #0 [ string $json ] + Parameter #1 [ string $pointer ] + Parameter #2 [ mixed $value ] + Parameter #3 [ int $flags = 0 ] + Parameter #4 [ int $depth = 512 ] + } + - Return [ string|false ] + } Function [ function fastjson_merge_patch ] { - Parameters [5] { @@ -105,6 +125,18 @@ Extension [ extension #84 fastjson version 0.4.0 ] { } - Return [ string ] } + Function [ function fastjson_last_error_pos ] { + + - Parameters [0] { + } + - Return [ int ] + } + Function [ function fastjson_last_error_info ] { + + - Parameters [0] { + } + - Return [ array ] + } } } diff --git a/php-iliaal-fastjson.spec b/php-iliaal-fastjson.spec index 2b2484b..a6e0d42 100644 --- a/php-iliaal-fastjson.spec +++ b/php-iliaal-fastjson.spec @@ -32,7 +32,7 @@ Summary: Fast JSON encode/decode/validate for PHP # Extension is BSD-3-Clause # Library is MIT License: BSD-3-Clause AND MIT -Version: 0.4.0 +Version: 0.5.0 Release: 1%{?dist} %forgemeta URL: %{forgeurl} @@ -52,9 +52,6 @@ Provides: bundled(yyjson) = %{libyyjsonver} # Extension Provides: %{?scl_prefix}php-%{ext_name} = %{version} Provides: %{?scl_prefix}php-%{ext_name}%{?_isa} = %{version} -# PECL -Provides: %{?scl_prefix}php-pecl-%{ext_name} = %{version} -Provides: %{?scl_prefix}php-pecl-%{ext_name}%{?_isa} = %{version} # PIE Provides: %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version} @@ -140,6 +137,9 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_extdir}/%{ext_name}.so" \ %changelog +* Fri Jul 3 2026 Remi Collet - 0.5.0-1 +- update to 0.5.0 + * Fri Jun 12 2026 Remi Collet - 0.4.0-1 - update to 0.4.0 -- cgit