From 5861bbda0c68b0341ae8c5e11e80872c0287de51 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 21 Jan 2021 08:42:04 +0100 Subject: update to 3.1.0 (cherry picked from commit 90b709fbf27bc0e083e4ca66c64d494c4d4926a7) --- PHPINFO | 8 +-- REFLECTION | 144 +++++++++++++++++++++++++++++++++++++++-------- php-pecl-couchbase3.spec | 9 ++- 3 files changed, 132 insertions(+), 29 deletions(-) diff --git a/PHPINFO b/PHPINFO index 15d1842..b8e1ac8 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,9 +2,9 @@ couchbase couchbase support => enabled -extension version => 3.0.4 -libcouchbase runtime version => 3.0.6 (git: e7b53f01b5c8653e4f4c3ea87e6e1af9c1277a34) -libcouchbase headers version => 3.0.6 (git: e7b53f01b5c8653e4f4c3ea87e6e1af9c1277a34) +extension version => 3.1.0 +libcouchbase runtime version => 3.0.7 (git: d2d3666e269b41413408aaae96eb289f1cb4f8ec) +libcouchbase headers version => 3.0.7 (git: d2d3666e269b41413408aaae96eb289f1cb4f8ec) zlib compressor => enabled Directive => Local Value => Master Value @@ -13,6 +13,6 @@ couchbase.encoder.format => json => json couchbase.encoder.compression => off => off couchbase.encoder.compression_threshold => 0 => 0 couchbase.encoder.compression_factor => 0.0 => 0.0 -couchbase.decoder.json_arrays => 0 => 0 +couchbase.decoder.json_arrays => 1 => 1 couchbase.pool.max_idle_time_sec => 60 => 60 couchbase.allow_fallback_to_bucket_connection => 0 => 0 diff --git a/REFLECTION b/REFLECTION index a919ee4..a653fdc 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #117 couchbase version 3.0.4 ] { +Extension [ extension #119 couchbase version 3.1.0 ] { - Dependencies { Dependency [ json (Required) ] @@ -21,7 +21,7 @@ Extension [ extension #117 couchbase version 3.0.4 ] { Current = '0.0' } Entry [ couchbase.decoder.json_arrays ] - Current = '0' + Current = '1' } Entry [ couchbase.pool.max_idle_time_sec ] Current = '60' @@ -880,7 +880,7 @@ Extension [ extension #117 couchbase version 3.0.4 ] { - Static methods [0] { } - - Properties [7] { + - Properties [8] { Property [ private $cas ] Property [ private $data ] Property [ private $expiry ] @@ -888,6 +888,7 @@ Extension [ extension #117 couchbase version 3.0.4 ] { Property [ private $status ] Property [ private $err_ctx ] Property [ private $err_ref ] + Property [ private $decoder ] } - Methods [3] { @@ -4983,7 +4984,7 @@ Extension [ extension #117 couchbase version 3.0.4 ] { Property [ private $name ] } - - Methods [3] { + - Methods [4] { Method [ public method __construct ] { - Parameters [2] { @@ -5006,6 +5007,15 @@ Extension [ extension #117 couchbase version 3.0.4 ] { } - Return [ Couchbase\Collection ] } + + Method [ public method query ] { + + - Parameters [2] { + Parameter #0 [ string $statement ] + Parameter #1 [ Couchbase\QueryOptions or NULL $queryOptions ] + } + - Return [ Couchbase\QueryResult ] + } } } @@ -9035,13 +9045,14 @@ Extension [ extension #117 couchbase version 3.0.4 ] { - Static methods [0] { } - - Properties [3] { + - Properties [4] { Property [ private $timeout ] Property [ private $with_expiry ] Property [ private $project ] + Property [ private $decoder ] } - - Methods [3] { + - Methods [4] { Method [ public method timeout ] { - Parameters [1] { @@ -9065,6 +9076,14 @@ Extension [ extension #117 couchbase version 3.0.4 ] { } - Return [ Couchbase\GetOptions ] } + + Method [ public method decoder ] { + + - Parameters [1] { + Parameter #0 [ callable $arg ] + } + - Return [ Couchbase\GetOptions ] + } } } @@ -9079,11 +9098,12 @@ Extension [ extension #117 couchbase version 3.0.4 ] { - Static methods [0] { } - - Properties [1] { + - Properties [2] { Property [ private $timeout ] + Property [ private $decoder ] } - - Methods [1] { + - Methods [2] { Method [ public method timeout ] { - Parameters [1] { @@ -9091,6 +9111,14 @@ Extension [ extension #117 couchbase version 3.0.4 ] { } - Return [ Couchbase\GetAndTouchOptions ] } + + Method [ public method decoder ] { + + - Parameters [1] { + Parameter #0 [ callable $arg ] + } + - Return [ Couchbase\GetAndTouchOptions ] + } } } @@ -9105,11 +9133,12 @@ Extension [ extension #117 couchbase version 3.0.4 ] { - Static methods [0] { } - - Properties [1] { + - Properties [2] { Property [ private $timeout ] + Property [ private $decoder ] } - - Methods [1] { + - Methods [2] { Method [ public method timeout ] { - Parameters [1] { @@ -9117,6 +9146,14 @@ Extension [ extension #117 couchbase version 3.0.4 ] { } - Return [ Couchbase\GetAndLockOptions ] } + + Method [ public method decoder ] { + + - Parameters [1] { + Parameter #0 [ callable $arg ] + } + - Return [ Couchbase\GetAndLockOptions ] + } } } @@ -9131,11 +9168,12 @@ Extension [ extension #117 couchbase version 3.0.4 ] { - Static methods [0] { } - - Properties [1] { + - Properties [2] { Property [ private $timeout ] + Property [ private $decoder ] } - - Methods [1] { + - Methods [2] { Method [ public method timeout ] { - Parameters [1] { @@ -9143,6 +9181,14 @@ Extension [ extension #117 couchbase version 3.0.4 ] { } - Return [ Couchbase\GetAllReplicasOptions ] } + + Method [ public method decoder ] { + + - Parameters [1] { + Parameter #0 [ callable $arg ] + } + - Return [ Couchbase\GetAllReplicasOptions ] + } } } @@ -9157,11 +9203,12 @@ Extension [ extension #117 couchbase version 3.0.4 ] { - Static methods [0] { } - - Properties [1] { + - Properties [2] { Property [ private $timeout ] + Property [ private $decoder ] } - - Methods [1] { + - Methods [2] { Method [ public method timeout ] { - Parameters [1] { @@ -9169,6 +9216,14 @@ Extension [ extension #117 couchbase version 3.0.4 ] { } - Return [ Couchbase\GetAnyReplicaOptions ] } + + Method [ public method decoder ] { + + - Parameters [1] { + Parameter #0 [ callable $arg ] + } + - Return [ Couchbase\GetAnyReplicaOptions ] + } } } @@ -9235,13 +9290,14 @@ Extension [ extension #117 couchbase version 3.0.4 ] { - Static methods [0] { } - - Properties [3] { + - Properties [4] { Property [ private $timeout ] Property [ private $expiry ] Property [ private $durability_level ] + Property [ private $encoder ] } - - Methods [3] { + - Methods [4] { Method [ public method timeout ] { - Parameters [1] { @@ -9265,6 +9321,14 @@ Extension [ extension #117 couchbase version 3.0.4 ] { } - Return [ Couchbase\InsertOptions ] } + + Method [ public method encoder ] { + + - Parameters [1] { + Parameter #0 [ callable $arg ] + } + - Return [ Couchbase\InsertOptions ] + } } } @@ -9279,14 +9343,15 @@ Extension [ extension #117 couchbase version 3.0.4 ] { - Static methods [0] { } - - Properties [4] { + - Properties [5] { Property [ private $cas ] Property [ private $timeout ] Property [ private $expiry ] Property [ private $durability_level ] + Property [ private $encoder ] } - - Methods [4] { + - Methods [5] { Method [ public method cas ] { - Parameters [1] { @@ -9318,6 +9383,14 @@ Extension [ extension #117 couchbase version 3.0.4 ] { } - Return [ Couchbase\UpsertOptions ] } + + Method [ public method encoder ] { + + - Parameters [1] { + Parameter #0 [ callable $arg ] + } + - Return [ Couchbase\UpsertOptions ] + } } } @@ -9332,14 +9405,15 @@ Extension [ extension #117 couchbase version 3.0.4 ] { - Static methods [0] { } - - Properties [4] { + - Properties [5] { Property [ private $cas ] Property [ private $timeout ] Property [ private $expiry ] Property [ private $durability_level ] + Property [ private $encoder ] } - - Methods [4] { + - Methods [5] { Method [ public method cas ] { - Parameters [1] { @@ -9371,6 +9445,14 @@ Extension [ extension #117 couchbase version 3.0.4 ] { } - Return [ Couchbase\ReplaceOptions ] } + + Method [ public method encoder ] { + + - Parameters [1] { + Parameter #0 [ callable $arg ] + } + - Return [ Couchbase\ReplaceOptions ] + } } } @@ -10006,7 +10088,7 @@ Extension [ extension #117 couchbase version 3.0.4 ] { - Static methods [0] { } - - Properties [16] { + - Properties [18] { Property [ private $timeout ] Property [ private $adhoc ] Property [ private $metrics ] @@ -10023,9 +10105,11 @@ Extension [ extension #117 couchbase version 3.0.4 ] { Property [ private $max_parallelism ] Property [ private $profile ] Property [ private $client_context_id ] + Property [ private $scope_name ] + Property [ private $scope_qualifier ] } - - Methods [16] { + - Methods [18] { Method [ public method timeout ] { - Parameters [1] { @@ -10154,6 +10238,22 @@ Extension [ extension #117 couchbase version 3.0.4 ] { } - Return [ Couchbase\QueryOptions ] } + + Method [ public method scopeName ] { + + - Parameters [1] { + Parameter #0 [ string $value ] + } + - Return [ Couchbase\QueryOptions ] + } + + Method [ public method scopeQualifier ] { + + - Parameters [1] { + Parameter #0 [ string $value ] + } + - Return [ Couchbase\QueryOptions ] + } } } diff --git a/php-pecl-couchbase3.spec b/php-pecl-couchbase3.spec index 5863945..71e04ac 100644 --- a/php-pecl-couchbase3.spec +++ b/php-pecl-couchbase3.spec @@ -3,7 +3,7 @@ # # remirepo spec file for php-pecl-couchbase3 # -# Copyright (c) 2013-2020 Remi Collet +# Copyright (c) 2013-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -22,7 +22,7 @@ Summary: Couchbase Server PHP extension Name: php-pecl-couchbase3 -Version: 3.0.5 +Version: 3.1.0 Release: 1%{?dist} License: PHP URL: https://pecl.php.net/package/couchbase @@ -91,7 +91,7 @@ extension=%{pecl_name}.so ;couchbase.encoder.compression = 'off' ;couchbase.encoder.compression_threshold = 0 ;couchbase.encoder.compression_factor = 0.0 -;couchbase.decoder.json_arrays = 0 +;couchbase.decoder.json_arrays = 1 ;couchbase.pool.max_idle_time_sec = 60 ;couchbase.allow_fallback_to_bucket_connection = 0 EOF @@ -179,6 +179,9 @@ done %changelog +* Thu Jan 21 2021 Remi Collet - 3.1.0-1 +- update to 3.1.0 + * Mon Dec 7 2020 Remi Collet - 3.0.5-1 - update to 3.0.5 -- cgit