From dbbe3bc0377adf7ba3aafe64b97f4e9abb3a4713 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 3 Jul 2026 06:45:09 +0200 Subject: update to 0.20.0 --- PHPINFO | 3 ++- REFLECTION | 5 ++++- php-brotli.spec | 14 +++++++++++++- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/PHPINFO b/PHPINFO index 9ee7a2a..75a6aa2 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ brotli Brotli support => enabled -Extension Version => 0.19.0 +Extension Version => 0.20.0 Library Version => 1.2.0 Dictionary support => enabled APCu serializer ABI => 0 @@ -10,5 +10,6 @@ APCu serializer ABI => 0 Directive => Local Value => Master Value brotli.output_compression => Off => Off brotli.output_compression_level => 11 => 11 +brotli.output_compression_exclude_types => no value => no value brotli.output_compression_dict => no value => no value brotli.apcu_compression_level => 11 => 11 diff --git a/REFLECTION b/REFLECTION index 1a003de..fec6469 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #71 brotli version 0.19.0 ] { +Extension [ extension #71 brotli version 0.20.0 ] { - Dependencies { Dependency [ apcu (Optional) ] @@ -11,6 +11,9 @@ Extension [ extension #71 brotli version 0.19.0 ] { Entry [ brotli.output_compression_level ] Current = '11' } + Entry [ brotli.output_compression_exclude_types ] + Current = '' + } Entry [ brotli.output_compression_dict ] Current = '' } diff --git a/php-brotli.spec b/php-brotli.spec index 59ac77f..b1945e1 100644 --- a/php-brotli.spec +++ b/php-brotli.spec @@ -30,7 +30,7 @@ Name: %{?scl_prefix}php-%{pecl_name} Summary: Brotli Extension for PHP License: MIT -Version: 0.19.0 +Version: 0.20.0 Release: 1%{?dist} %forgemeta URL: %{forgeurl} @@ -39,7 +39,9 @@ Source0: %{forgesource} BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.0 +%if %{with apcu} BuildRequires: %{?scl_prefix}php-pecl-apcu-devel +%endif %if %{with libbrotli} BuildRequires: brotli-devel >= 0.6.0 %else @@ -97,6 +99,7 @@ extension = %{pecl_name}.so ; Configuration ;brotli.output_compression = Off ;brotli.output_compression_level = 11 +;brotli.output_compression_exclude_types = ;brotli.output_compression_dict = ;brotli.apcu_compression_level = 11 EOF @@ -115,6 +118,9 @@ cd ../NTS --with-php-config=%{__phpconfig} \ %if %{with libbrotli} --with-libbrotli \ +%endif +%if %{with apcu} + --enable-apcu \ %endif --with-libdir=%{_lib} \ --enable-brotli @@ -127,6 +133,9 @@ cd ../ZTS --with-php-config=%{__ztsphpconfig} \ %if %{with libbrotli} --with-libbrotli \ +%endif +%if %{with apcu} + --enable-apcu \ %endif --with-libdir=%{_lib} \ --enable-brotli @@ -201,6 +210,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Fri Jul 3 2026 Remi Collet - 0.20.0-1 +- update to 0.20.0 + * Fri Jun 5 2026 Remi Collet - 0.19.0-1 - update to 0.19.0 -- cgit