From ad9e6e4aed536197c63adf7fa99c4f46c9439cb4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 18 Jul 2022 07:53:46 +0200 Subject: update to 1.14.0 use bundled libmongocrypt 1.5.0 use bundled libbson and libmongc 1.22.0 --- PHPINFO | 10 +++++----- REFLECTION | 8 ++++---- php-pecl-mongodb.spec | 14 ++++++++++---- 3 files changed, 19 insertions(+), 13 deletions(-) diff --git a/PHPINFO b/PHPINFO index b180ca5..c6e1a89 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,10 +2,10 @@ mongodb MongoDB support => enabled -MongoDB extension version => 1.14.0beta1 -MongoDB extension stability => beta -libbson bundled version => 1.22.0-beta0 -libmongoc bundled version => 1.22.0-beta0 +MongoDB extension version => 1.14.0 +MongoDB extension stability => stable +libbson bundled version => 1.22.0 +libmongoc bundled version => 1.22.0 libmongoc SSL => enabled libmongoc SSL library => OpenSSL libmongoc crypto => enabled @@ -17,7 +17,7 @@ libmongoc compression => enabled libmongoc compression snappy => enabled libmongoc compression zlib => enabled libmongoc compression zstd => enabled -libmongocrypt bundled version => 1.5.0-rc1 +libmongocrypt bundled version => 1.5.0 libmongocrypt crypto => enabled libmongocrypt crypto library => libcrypto diff --git a/REFLECTION b/REFLECTION index 8f3ce5b..7ef63ec 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #114 mongodb version 1.14.0beta1 ] { +Extension [ extension #112 mongodb version 1.14.0 ] { - Dependencies { Dependency [ date (Required) ] @@ -14,8 +14,8 @@ Extension [ extension #114 mongodb version 1.14.0beta1 ] { } - Constants [2] { - Constant [ string MONGODB_VERSION ] { 1.14.0beta1 } - Constant [ string MONGODB_STABILITY ] { beta } + Constant [ string MONGODB_VERSION ] { 1.14.0 } + Constant [ string MONGODB_STABILITY ] { stable } } - Functions { @@ -1459,7 +1459,7 @@ Extension [ extension #114 mongodb version 1.14.0beta1 ] { Constant [ public string AEAD_AES_256_CBC_HMAC_SHA_512_RANDOM ] { AEAD_AES_256_CBC_HMAC_SHA_512-Random } Constant [ public string ALGORITHM_INDEXED ] { Indexed } Constant [ public string ALGORITHM_UNINDEXED ] { Unindexed } - Constant [ public int QUERY_TYPE_EQUALITY ] { 0 } + Constant [ public string QUERY_TYPE_EQUALITY ] { equality } } - Static properties [0] { diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec index 81d3223..f930e06 100644 --- a/php-pecl-mongodb.spec +++ b/php-pecl-mongodb.spec @@ -41,15 +41,15 @@ %global libcryptver %(pkg-config --silence-errors --modversion libmongocrypt 2>/dev/null || echo %{libcrypt}) %else # Bundled versions -%global libmongo 1.22.0~beta0 -%global libcrypt 1.5.0~rc1 +%global libmongo 1.22.0 +%global libcrypt 1.5.0 %endif Summary: MongoDB driver for PHP Name: %{?sub_prefix}php-pecl-%{pecl_name} %global upstream_version 1.14.0 -%global upstream_prever beta1 -%global upstream_lower ~beta1 +#global upstream_prever beta1 +#global upstream_lower ~beta1 Version: %{upstream_version}%{?upstream_lower} Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: ASL 2.0 @@ -71,6 +71,7 @@ Requires: libmongocrypt%{?_isa} >= %{libcryptver} %else BuildRequires: cyrus-sasl-devel BuildRequires: openssl-devel +BuildRequires: libzstd-devel BuildRequires: snappy-devel BuildRequires: zlib-devel # We require 69 to ensure we use the same version than PHP @@ -328,6 +329,11 @@ exit $ret %changelog +* Mon Jul 18 2022 Remi Collet - 1.14.0-1 +- update to 1.14.0 +- use bundled libmongocrypt 1.5.0 +- use bundled libbson and libmongc 1.22.0 + * Wed Jun 8 2022 Remi Collet - 1.14.0~beta1-1 - update to 1.14.0beta1 - use bundled libmongocrypt 1.5.0-rc1 -- cgit