summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-10-04 06:14:49 +0200
committerRemi Collet <remi@remirepo.net>2021-10-04 06:14:49 +0200
commite9090e33e0a92d9f2d811fccf25ac07752cc8dc8 (patch)
tree969137f41bd4d068bc7b7c919d70fd7ced9ecd46
parent8f41db1d687d09972e8d03e0a374593b947a2a7e (diff)
update to 0.11.0
-rw-r--r--PHPINFO4
-rw-r--r--REFLECTION42
-rw-r--r--php-zstd.spec9
3 files changed, 31 insertions, 24 deletions
diff --git a/PHPINFO b/PHPINFO
index f352b41..d38d953 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,6 +2,6 @@
zstd
Zstd support => enabled
-Extension Version => 0.10.0
-Interface Version => 1.4.7
+Extension Version => 0.11.0
+Interface Version => 1.5.0
APCu serializer ABI => 0
diff --git a/REFLECTION b/REFLECTION
index 90cbb71..6158390 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #109 zstd version 0.10.0 ] {
+Extension [ <persistent> extension #113 zstd version 0.11.0 ] {
- Dependencies {
Dependency [ apcu (Optional) ]
@@ -8,8 +8,8 @@ Extension [ <persistent> extension #109 zstd version 0.10.0 ] {
Constant [ int ZSTD_COMPRESS_LEVEL_MIN ] { 1 }
Constant [ int ZSTD_COMPRESS_LEVEL_MAX ] { 22 }
Constant [ int ZSTD_COMPRESS_LEVEL_DEFAULT ] { 3 }
- Constant [ int LIBZSTD_VERSION_NUMBER ] { 10407 }
- Constant [ string LIBZSTD_VERSION_STRING ] { 1.4.7 }
+ Constant [ int LIBZSTD_VERSION_NUMBER ] { 10500 }
+ Constant [ string LIBZSTD_VERSION_STRING ] { 1.5.0 }
}
- Functions {
@@ -34,44 +34,46 @@ Extension [ <persistent> extension #109 zstd version 0.10.0 ] {
}
Function [ <internal:zstd> function zstd_compress_dict ] {
- - Parameters [2] {
+ - Parameters [3] {
Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $dictBuffer ]
+ Parameter #1 [ <required> $dictBuffer ]
+ Parameter #2 [ <optional> $level ]
}
}
Function [ <internal:zstd> function zstd_uncompress_dict ] {
- Parameters [2] {
Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $dictBuffer ]
+ Parameter #1 [ <required> $dictBuffer ]
}
}
Function [ <internal:zstd> function zstd_compress_usingcdict ] {
- - Parameters [2] {
+ - Parameters [3] {
Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $dictBuffer ]
+ Parameter #1 [ <required> $dictBuffer ]
+ Parameter #2 [ <optional> $level ]
}
}
Function [ <internal:zstd> function zstd_decompress_dict ] {
- Parameters [2] {
Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $dictBuffer ]
+ Parameter #1 [ <required> $dictBuffer ]
}
}
Function [ <internal:zstd> function zstd_uncompress_usingcdict ] {
- Parameters [2] {
Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $dictBuffer ]
+ Parameter #1 [ <required> $dictBuffer ]
}
}
Function [ <internal:zstd> function zstd_decompress_usingcdict ] {
- Parameters [2] {
Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $dictBuffer ]
+ Parameter #1 [ <required> $dictBuffer ]
}
}
Function [ <internal:zstd> function Zstd\compress ] {
@@ -95,44 +97,46 @@ Extension [ <persistent> extension #109 zstd version 0.10.0 ] {
}
Function [ <internal:zstd> function Zstd\compress_dict ] {
- - Parameters [2] {
+ - Parameters [3] {
Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $dictBuffer ]
+ Parameter #1 [ <required> $dictBuffer ]
+ Parameter #2 [ <optional> $level ]
}
}
Function [ <internal:zstd> function Zstd\compress_usingcdict ] {
- - Parameters [2] {
+ - Parameters [3] {
Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $dictBuffer ]
+ Parameter #1 [ <required> $dictBuffer ]
+ Parameter #2 [ <optional> $level ]
}
}
Function [ <internal:zstd> function Zstd\uncompress_dict ] {
- Parameters [2] {
Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $dictBuffer ]
+ Parameter #1 [ <required> $dictBuffer ]
}
}
Function [ <internal:zstd> function Zstd\decompress_dict ] {
- Parameters [2] {
Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $dictBuffer ]
+ Parameter #1 [ <required> $dictBuffer ]
}
}
Function [ <internal:zstd> function Zstd\uncompress_usingcdict ] {
- Parameters [2] {
Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $dictBuffer ]
+ Parameter #1 [ <required> $dictBuffer ]
}
}
Function [ <internal:zstd> function Zstd\decompress_usingcdict ] {
- Parameters [2] {
Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $dictBuffer ]
+ Parameter #1 [ <required> $dictBuffer ]
}
}
}
diff --git a/php-zstd.spec b/php-zstd.spec
index fd9f953..2813fd1 100644
--- a/php-zstd.spec
+++ b/php-zstd.spec
@@ -25,7 +25,7 @@
%else
%bcond_with libzstd
%endif
-%global zstdver 1.4.8
+%global zstdver 1.5.0
%global pecl_name zstd
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
@@ -34,8 +34,8 @@
Summary: Zstandard extension
Name: %{?sub_prefix}php-%{pecl_name}
-Version: 0.10.0
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 0.11.0
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
%if %{with libzstd}
License: MIT
%else
@@ -263,6 +263,9 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \
%changelog
+* Mon Oct 4 2021 Remi Collet <remi@remirepo.net> - 0.11.0-1
+- update to 0.11.0
+
* Wed Apr 28 2021 Remi Collet <remi@remirepo.net> - 0.10.0-2
- F34 rebuild for https://github.com/remicollet/remirepo/issues/174