summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-12-19 10:37:08 +0100
committerRemi Collet <remi@php.net>2023-12-19 10:37:08 +0100
commit63cf7693a03a3a3cfb1d1c6faa8c0b9c332000fe (patch)
tree9be3065b984a7259aae0a6b492bb93b376cc6a23
parentcb2bfc152e5b206b8891732df2e7d761d8de23f0 (diff)
update to 2.0.0
drop support for PHP 7.4
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION4
-rw-r--r--php-pecl-jsonpath.spec8
3 files changed, 9 insertions, 5 deletions
diff --git a/PHPINFO b/PHPINFO
index fd87588..e8d3413 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,4 +2,4 @@
jsonpath
jsonpath support => enabled
-jsonpath version => 1.0.1
+jsonpath version => 2.0.0
diff --git a/REFLECTION b/REFLECTION
index 87cddbe..097af5f 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #74 jsonpath version 1.0.1 ] {
+Extension [ <persistent> extension #75 jsonpath version 2.0.0 ] {
- Classes [2] {
Class [ <internal:jsonpath> class JsonPath\JsonPath ] {
@@ -22,7 +22,7 @@ Extension [ <persistent> extension #74 jsonpath version 1.0.1 ] {
Parameter #0 [ <required> array $data ]
Parameter #1 [ <required> string $expression ]
}
- - Return [ array|bool ]
+ - Return [ array|false ]
}
}
}
diff --git a/php-pecl-jsonpath.spec b/php-pecl-jsonpath.spec
index f919eb1..c6bdbb0 100644
--- a/php-pecl-jsonpath.spec
+++ b/php-pecl-jsonpath.spec
@@ -19,7 +19,7 @@
Summary: Extract data using JSONPath notation
Name: %{?scl_prefix}php-pecl-jsonpath
-Version: 1.0.1
+Version: 2.0.0
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP-3.01
URL: https://pecl.php.net/package/%{pecl_name}
@@ -27,7 +27,7 @@ Source0: https://pecl.php.net/get/%{sources}.tgz
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
-BuildRequires: %{?scl_prefix}php-devel >= 7.4
+BuildRequires: %{?scl_prefix}php-devel >= 8.0
BuildRequires: %{?scl_prefix}php-pear
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
@@ -177,6 +177,10 @@ TEST_PHP_ARGS="-n -d extension=$PWD/../NTS/modules/%{pecl_name}.so" \
%changelog
+* Tue Dec 19 2023 Remi Collet <remi@remirepo.net> - 2.0.0-1
+- update to 2.0.0
+- drop support for PHP 7.4
+
* Thu Dec 14 2023 Remi Collet <remi@remirepo.net> - 1.0.1-1
- update to 1.0.1
- drop patch merged upstream