From e9090e33e0a92d9f2d811fccf25ac07752cc8dc8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 4 Oct 2021 06:14:49 +0200 Subject: update to 0.11.0 --- PHPINFO | 4 ++-- REFLECTION | 42 +++++++++++++++++++++++------------------- php-zstd.spec | 9 ++++++--- 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 [ extension #109 zstd version 0.10.0 ] { +Extension [ extension #113 zstd version 0.11.0 ] { - Dependencies { Dependency [ apcu (Optional) ] @@ -8,8 +8,8 @@ Extension [ 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 [ extension #109 zstd version 0.10.0 ] { } Function [ function zstd_compress_dict ] { - - Parameters [2] { + - Parameters [3] { Parameter #0 [ $data ] - Parameter #1 [ $dictBuffer ] + Parameter #1 [ $dictBuffer ] + Parameter #2 [ $level ] } } Function [ function zstd_uncompress_dict ] { - Parameters [2] { Parameter #0 [ $data ] - Parameter #1 [ $dictBuffer ] + Parameter #1 [ $dictBuffer ] } } Function [ function zstd_compress_usingcdict ] { - - Parameters [2] { + - Parameters [3] { Parameter #0 [ $data ] - Parameter #1 [ $dictBuffer ] + Parameter #1 [ $dictBuffer ] + Parameter #2 [ $level ] } } Function [ function zstd_decompress_dict ] { - Parameters [2] { Parameter #0 [ $data ] - Parameter #1 [ $dictBuffer ] + Parameter #1 [ $dictBuffer ] } } Function [ function zstd_uncompress_usingcdict ] { - Parameters [2] { Parameter #0 [ $data ] - Parameter #1 [ $dictBuffer ] + Parameter #1 [ $dictBuffer ] } } Function [ function zstd_decompress_usingcdict ] { - Parameters [2] { Parameter #0 [ $data ] - Parameter #1 [ $dictBuffer ] + Parameter #1 [ $dictBuffer ] } } Function [ function Zstd\compress ] { @@ -95,44 +97,46 @@ Extension [ extension #109 zstd version 0.10.0 ] { } Function [ function Zstd\compress_dict ] { - - Parameters [2] { + - Parameters [3] { Parameter #0 [ $data ] - Parameter #1 [ $dictBuffer ] + Parameter #1 [ $dictBuffer ] + Parameter #2 [ $level ] } } Function [ function Zstd\compress_usingcdict ] { - - Parameters [2] { + - Parameters [3] { Parameter #0 [ $data ] - Parameter #1 [ $dictBuffer ] + Parameter #1 [ $dictBuffer ] + Parameter #2 [ $level ] } } Function [ function Zstd\uncompress_dict ] { - Parameters [2] { Parameter #0 [ $data ] - Parameter #1 [ $dictBuffer ] + Parameter #1 [ $dictBuffer ] } } Function [ function Zstd\decompress_dict ] { - Parameters [2] { Parameter #0 [ $data ] - Parameter #1 [ $dictBuffer ] + Parameter #1 [ $dictBuffer ] } } Function [ function Zstd\uncompress_usingcdict ] { - Parameters [2] { Parameter #0 [ $data ] - Parameter #1 [ $dictBuffer ] + Parameter #1 [ $dictBuffer ] } } Function [ function Zstd\decompress_usingcdict ] { - Parameters [2] { Parameter #0 [ $data ] - Parameter #1 [ $dictBuffer ] + Parameter #1 [ $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 - 0.11.0-1 +- update to 0.11.0 + * Wed Apr 28 2021 Remi Collet - 0.10.0-2 - F34 rebuild for https://github.com/remicollet/remirepo/issues/174 -- cgit