From 7846e78bdef19e829131dcb633b94c5e4851abcc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 18 Jun 2025 09:22:53 +0200 Subject: update to 0.18.0 --- PHPINFO | 2 +- REFLECTION | 16 ++++++++-------- php-brotli.spec | 5 ++++- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/PHPINFO b/PHPINFO index 0596e3e..ee9b9a7 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ brotli Brotli support => enabled -Extension Version => 0.17.0 +Extension Version => 0.18.0 Library Version => 1.1.0 Dictionary support => enabled APCu serializer ABI => 0 diff --git a/REFLECTION b/REFLECTION index a0b546f..910f5f1 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #71 brotli version 0.17.0 ] { +Extension [ extension #71 brotli version 0.18.0 ] { - Dependencies { Dependency [ apcu (Optional) ] @@ -16,7 +16,7 @@ Extension [ extension #71 brotli version 0.17.0 ] { } } - - Constants [10] { + - Constants [12] { Constant [ int BROTLI_GENERIC ] { 0 } Constant [ int BROTLI_TEXT ] { 1 } Constant [ int BROTLI_FONT ] { 2 } @@ -27,6 +27,8 @@ Extension [ extension #71 brotli version 0.17.0 ] { Constant [ int BROTLI_FLUSH ] { 1 } Constant [ int BROTLI_FINISH ] { 2 } Constant [ bool BROTLI_DICTIONARY_SUPPORT ] { 1 } + Constant [ int BROTLI_VERSION_NUMBER ] { 16781312 } + Constant [ string BROTLI_VERSION_TEXT ] { 1.1.0 } } - Functions { @@ -42,10 +44,9 @@ Extension [ extension #71 brotli version 0.17.0 ] { } Function [ function brotli_uncompress ] { - - Parameters [3] { + - Parameters [2] { Parameter #0 [ string $data ] - Parameter #1 [ int $length = 0 ] - Parameter #2 [ ?string $dict = null ] + Parameter #1 [ ?string $dict = null ] } - Return [ string|false ] } @@ -61,10 +62,9 @@ Extension [ extension #71 brotli version 0.17.0 ] { } Function [ function Brotli\uncompress ] { - - Parameters [3] { + - Parameters [2] { Parameter #0 [ string $data ] - Parameter #1 [ int $length = 0 ] - Parameter #2 [ ?string $dict = null ] + Parameter #1 [ ?string $dict = null ] } - Return [ string|false ] } diff --git a/php-brotli.spec b/php-brotli.spec index 773bfb6..8c866dc 100644 --- a/php-brotli.spec +++ b/php-brotli.spec @@ -23,7 +23,7 @@ Summary: Brotli Extension for PHP Name: %{?scl_prefix}php-%{pecl_name} -Version: 0.17.0 +Version: 0.18.0 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: MIT URL: https://pecl.php.net/package/%{pecl_name} @@ -204,6 +204,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Wed Jun 18 2025 Remi Collet - 0.18.0-1 +- update to 0.18.0 + * Mon May 19 2025 Remi Collet - 0.17.0-1 - update to 0.17.0 -- cgit