diff options
author | Remi Collet <remi@remirepo.net> | 2024-05-13 18:04:49 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-05-13 18:04:49 +0200 |
commit | d2100a885fbc8bfe9f96ccccdfc14f41b772410f (patch) | |
tree | abd228655790c47a1ea7b453b8bd8dfd4024612b | |
parent | b3a112d859af8ad06be62522de3fae84e0610cad (diff) |
update to 1.19.0
raise dependency on libbson and libmongc 1.27.0
raise dependency on libmongocrypt 1.10.0
-rw-r--r-- | PHPINFO | 14 | ||||
-rw-r--r-- | REFLECTION | 22 | ||||
-rw-r--r-- | php-pecl-mongodb.spec | 26 |
3 files changed, 44 insertions, 18 deletions
@@ -2,12 +2,12 @@ mongodb MongoDB support => enabled -MongoDB extension version => 1.18.1 +MongoDB extension version => 1.19.0 MongoDB extension stability => stable -libbson headers version => 1.26.2 -libbson library version => 1.26.2 -libmongoc headers version => 1.26.2 -libmongoc library version => 1.26.2 +libbson headers version => 1.27.1 +libbson library version => 1.27.1 +libmongoc headers version => 1.27.1 +libmongoc library version => 1.27.1 libmongoc SSL => enabled libmongoc SSL library => OpenSSL libmongoc crypto => enabled @@ -19,8 +19,8 @@ libmongoc compression => enabled libmongoc compression snappy => enabled libmongoc compression zlib => enabled libmongoc compression zstd => enabled -libmongocrypt headers version => 1.9.1 -libmongocrypt library version => 1.9.1 +libmongocrypt headers version => 1.10.0 +libmongocrypt library version => 1.10.0 libmongocrypt crypto => enabled libmongocrypt crypto library => libcrypto crypt_shared library version => unknown @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #98 mongodb version 1.18.1 ] { +Extension [ <persistent> extension #99 mongodb version 1.19.0 ] { - Dependencies { Dependency [ date (Required) ] @@ -14,7 +14,7 @@ Extension [ <persistent> extension #98 mongodb version 1.18.1 ] { } - Constants [2] { - Constant [ string MONGODB_VERSION ] { 1.18.1 } + Constant [ string MONGODB_VERSION ] { 1.19.0 } Constant [ string MONGODB_STABILITY ] { stable } } @@ -5026,7 +5026,7 @@ Extension [ <persistent> extension #98 mongodb version 1.18.1 ] { - Properties [0] { } - - Methods [10] { + - Methods [11] { Method [ <internal:mongodb, ctor> final private method __construct ] { - Parameters [0] { @@ -5040,6 +5040,13 @@ Extension [ <persistent> extension #98 mongodb version 1.18.1 ] { - Return [ string ] } + Method [ <internal:mongodb> final public method getDatabaseName ] { + + - Parameters [0] { + } + - Return [ string ] + } + Method [ <internal:mongodb> final public method getDurationMicros ] { - Parameters [0] { @@ -5191,7 +5198,7 @@ Extension [ <persistent> extension #98 mongodb version 1.18.1 ] { - Properties [0] { } - - Methods [9] { + - Methods [10] { Method [ <internal:mongodb, ctor> final private method __construct ] { - Parameters [0] { @@ -5205,6 +5212,13 @@ Extension [ <persistent> extension #98 mongodb version 1.18.1 ] { - Return [ string ] } + Method [ <internal:mongodb> final public method getDatabaseName ] { + + - Parameters [0] { + } + - Return [ string ] + } + Method [ <internal:mongodb> final public method getDurationMicros ] { - Parameters [0] { diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec index 15cc7fd..9fa6c58 100644 --- a/php-pecl-mongodb.spec +++ b/php-pecl-mongodb.spec @@ -22,20 +22,23 @@ %bcond_with tests # temp for EL until available in EPEL -%if 0%{?fedora} >= 37 +%if 0%{?fedora} >= 37 || 0%{?rhel} >= 8 %bcond_without syslib %else %bcond_with syslib %endif # Bundled versions -%global bundled_libmongo 1.26.2 -%global bundled_libcrypt 1.9.1 +%global bundled_libmongo 1.27.0 +%global bundled_libcrypt 1.10.0 +# Required versions +%global minimal_libmongo 1.27.1 +%global minimal_libcrypt 1.9.1 %if %{with syslib} # Build dependencies -%global system_libmongo 1.26.2 -%global system_libcrypt 1.9.1 +%global system_libmongo 1.27.0 +%global system_libcrypt 1.10.0 # Runtime dependencies %global runtime_libmongo %(pkg-config --silence-errors --modversion libmongoc-1.0 2>/dev/null || echo %{system_libmongo}) %global runtime_libcrypt %(pkg-config --silence-errors --modversion libmongocrypt 2>/dev/null || echo %{system_libcrypt}) @@ -43,7 +46,7 @@ Summary: MongoDB driver for PHP Name: %{?scl_prefix}php-pecl-%{pecl_name} -%global upstream_version 1.18.1 +%global upstream_version 1.19.0 #global upstream_prever beta1 #global upstream_lower ~beta1 %global sources %{pecl_name}-%{upstream_version}%{?upstream_prever} @@ -144,8 +147,12 @@ cat src/*_VERSION_CURRENT grep -q %{bundled_libmongo} src/LIBMONGOC_VERSION_CURRENT grep -q %{bundled_libcrypt} src/LIBMONGOCRYPT_VERSION_CURRENT +grep CHECK_MODULES config.m4 +grep -q %{minimal_libmongo} config.m4 +grep -q %{minimal_libcrypt} config.m4 + # temporary: lower minimal required versions -sed -e 's/%{bundled_libmongo}/%{system_libmongo}/;s/%{bundled_libcrypt}/%{system_libcrypt}/' -i config.m4 +sed -e 's/%{minimal_libmongo}/%{system_libmongo}/;s/%{minimal_libcrypt}/%{system_libcrypt}/' -i config.m4 %endif # Sanity check, really often broken @@ -340,6 +347,11 @@ exit $ret %changelog +* Mon May 13 2024 Remi Collet <remi@remirepo.net> - 1.19.0-1 +- update to 1.19.0 +- raise dependency on libbson and libmongc 1.27.0 +- raise dependency on libmongocrypt 1.10.0 + * Fri Apr 12 2024 Remi Collet <remi@remirepo.net> - 1.18.1-1 - update to 1.18.1 (no change) - EL use bundled libbson and libmongc 1.26.2 |