From 3b566427234628d6c02a16b7794cbff5f2db43fb Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 3 Dec 2018 16:07:36 +0100 Subject: v1.6.0alpha1 --- PHPINFO | 4 +- REFLECTION | 240 +++++++++++++++++++++++++++++++++++++++++--------- php-pecl-mongodb.spec | 11 ++- 3 files changed, 205 insertions(+), 50 deletions(-) diff --git a/PHPINFO b/PHPINFO index f220cde..3435773 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,8 +2,8 @@ mongodb MongoDB support => enabled -MongoDB extension version => 1.5.3 -MongoDB extension stability => stable +MongoDB extension version => 1.6.0alpha1 +MongoDB extension stability => alpha libbson headers version => 1.13.0 libbson library version => 1.13.0 libmongoc headers version => 1.13.0 diff --git a/REFLECTION b/REFLECTION index 32cc2f5..a54808f 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #190 mongodb version 1.5.3 ] { +Extension [ extension #191 mongodb version 1.6.0alpha1 ] { - Dependencies { Dependency [ date (Required) ] @@ -14,8 +14,8 @@ Extension [ extension #190 mongodb version 1.5.3 ] { } - Constants [2] { - Constant [ string MONGODB_VERSION ] { 1.5.3 } - Constant [ string MONGODB_STABILITY ] { stable } + Constant [ string MONGODB_VERSION ] { 1.6.0alpha1 } + Constant [ string MONGODB_STABILITY ] { alpha } } - Functions { @@ -70,7 +70,7 @@ Extension [ extension #190 mongodb version 1.5.3 ] { } } - - Classes [59] { + - Classes [60] { Interface [ interface MongoDB\BSON\Type ] { - Constants [0] { @@ -1155,6 +1155,54 @@ Extension [ extension #190 mongodb version 1.5.3 ] { } } + Interface [ interface MongoDB\Driver\CursorInterface extends Traversable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ abstract public method getId ] { + + - Parameters [0] { + } + } + + Method [ abstract public method getServer ] { + + - Parameters [0] { + } + } + + Method [ abstract public method isDead ] { + + - Parameters [0] { + } + } + + Method [ abstract public method setTypeMap ] { + + - Parameters [1] { + Parameter #0 [ array $typemap ] + } + } + + Method [ abstract public method toArray ] { + + - Parameters [0] { + } + } + } + } + Class [ final class MongoDB\Driver\BulkWrite implements Countable ] { - Constants [0] { @@ -1245,7 +1293,7 @@ Extension [ extension #190 mongodb version 1.5.3 ] { } } - Class [ final class MongoDB\Driver\Cursor implements Traversable ] { + Class [ final class MongoDB\Driver\Cursor implements MongoDB\Driver\CursorInterface, Traversable ] { - Constants [0] { } @@ -1260,32 +1308,32 @@ Extension [ extension #190 mongodb version 1.5.3 ] { } - Methods [7] { - Method [ final public method setTypeMap ] { + Method [ final public method setTypeMap ] { - Parameters [1] { Parameter #0 [ array $typemap ] } } - Method [ final public method toArray ] { + Method [ final public method toArray ] { - Parameters [0] { } } - Method [ final public method getId ] { + Method [ final public method getId ] { - Parameters [0] { } } - Method [ final public method getServer ] { + Method [ final public method getServer ] { - Parameters [0] { } } - Method [ final public method isDead ] { + Method [ final public method isDead ] { - Parameters [0] { } @@ -1507,7 +1555,13 @@ Extension [ extension #190 mongodb version 1.5.3 ] { - Static properties [0] { } - - Static methods [0] { + - Static methods [1] { + Method [ static public method __set_state ] { + + - Parameters [1] { + Parameter #0 [ array $properties ] + } + } } - Properties [0] { @@ -1556,7 +1610,13 @@ Extension [ extension #190 mongodb version 1.5.3 ] { - Static properties [0] { } - - Static methods [0] { + - Static methods [1] { + Method [ static public method __set_state ] { + + - Parameters [1] { + Parameter #0 [ array $properties ] + } + } } - Properties [0] { @@ -1770,7 +1830,13 @@ Extension [ extension #190 mongodb version 1.5.3 ] { - Properties [0] { } - - Methods [11] { + - Methods [12] { + Method [ final public method abortTransaction ] { + + - Parameters [0] { + } + } + Method [ final public method advanceClusterTime ] { - Parameters [1] { @@ -1785,46 +1851,46 @@ Extension [ extension #190 mongodb version 1.5.3 ] { } } - Method [ final public method getClusterTime ] { + Method [ final public method commitTransaction ] { - Parameters [0] { } } - Method [ final public method getLogicalSessionId ] { + Method [ final public method endSession ] { - Parameters [0] { } } - Method [ final public method getOperationTime ] { + Method [ final public method getClusterTime ] { - Parameters [0] { } } - Method [ final public method startTransaction ] { + Method [ final public method getLogicalSessionId ] { - - Parameters [1] { - Parameter #0 [ $options ] + - Parameters [0] { } } - Method [ final public method commitTransaction ] { + Method [ final public method getOperationTime ] { - Parameters [0] { } } - Method [ final public method abortTransaction ] { + Method [ final public method isInTransaction ] { - Parameters [0] { } } - Method [ final public method endSession ] { + Method [ final public method startTransaction ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $options ] } } @@ -1851,7 +1917,13 @@ Extension [ extension #190 mongodb version 1.5.3 ] { - Static properties [0] { } - - Static methods [0] { + - Static methods [1] { + Method [ static public method __set_state ] { + + - Parameters [1] { + Parameter #0 [ array $properties ] + } + } } - Properties [0] { @@ -2117,14 +2189,22 @@ Extension [ extension #190 mongodb version 1.5.3 ] { - Static methods [0] { } - - Properties [4] { + - Properties [5] { Property [ protected $message ] Property [ protected $code ] Property [ protected $file ] Property [ protected $line ] + Property [ protected $errorLabels ] } - - Methods [10] { + - Methods [11] { + Method [ final public method hasErrorLabel ] { + + - Parameters [1] { + Parameter #0 [ $label ] + } + } + Method [ public method __construct ] { - Parameters [3] { @@ -2174,14 +2254,22 @@ Extension [ extension #190 mongodb version 1.5.3 ] { - Static methods [0] { } - - Properties [4] { + - Properties [5] { Property [ protected $message ] Property [ protected $code ] Property [ protected $file ] Property [ protected $line ] + Property [ protected $errorLabels ] } - - Methods [10] { + - Methods [11] { + Method [ final public method hasErrorLabel ] { + + - Parameters [1] { + Parameter #0 [ $label ] + } + } + Method [ public method __construct ] { - Parameters [3] { @@ -2231,14 +2319,22 @@ Extension [ extension #190 mongodb version 1.5.3 ] { - Static methods [0] { } - - Properties [4] { + - Properties [5] { Property [ protected $message ] Property [ protected $code ] Property [ protected $file ] Property [ protected $line ] + Property [ protected $errorLabels ] } - - Methods [10] { + - Methods [11] { + Method [ final public method hasErrorLabel ] { + + - Parameters [1] { + Parameter #0 [ $label ] + } + } + Method [ public method __construct ] { - Parameters [3] { @@ -2288,21 +2384,29 @@ Extension [ extension #190 mongodb version 1.5.3 ] { - Static methods [0] { } - - Properties [5] { + - Properties [6] { Property [ protected $message ] Property [ protected $code ] Property [ protected $file ] Property [ protected $line ] + Property [ protected $errorLabels ] Property [ protected $writeResult ] } - - Methods [11] { + - Methods [12] { Method [ final public method getWriteResult ] { - Parameters [0] { } } + Method [ final public method hasErrorLabel ] { + + - Parameters [1] { + Parameter #0 [ $label ] + } + } + Method [ public method __construct ] { - Parameters [3] { @@ -2352,14 +2456,22 @@ Extension [ extension #190 mongodb version 1.5.3 ] { - Static methods [0] { } - - Properties [4] { + - Properties [5] { Property [ protected $message ] Property [ protected $code ] Property [ protected $file ] Property [ protected $line ] + Property [ protected $errorLabels ] } - - Methods [10] { + - Methods [11] { + Method [ final public method hasErrorLabel ] { + + - Parameters [1] { + Parameter #0 [ $label ] + } + } + Method [ public method __construct ] { - Parameters [3] { @@ -2409,21 +2521,29 @@ Extension [ extension #190 mongodb version 1.5.3 ] { - Static methods [0] { } - - Properties [5] { + - Properties [6] { Property [ protected $message ] Property [ protected $code ] Property [ protected $file ] Property [ protected $line ] + Property [ protected $errorLabels ] Property [ protected $writeResult ] } - - Methods [11] { + - Methods [12] { Method [ final public method getWriteResult ] { - Parameters [0] { } } + Method [ final public method hasErrorLabel ] { + + - Parameters [1] { + Parameter #0 [ $label ] + } + } + Method [ public method __construct ] { - Parameters [3] { @@ -2473,21 +2593,29 @@ Extension [ extension #190 mongodb version 1.5.3 ] { - Static methods [0] { } - - Properties [5] { + - Properties [6] { Property [ protected $message ] Property [ protected $code ] Property [ protected $file ] Property [ protected $line ] + Property [ protected $errorLabels ] Property [ protected $resultDocument ] } - - Methods [11] { + - Methods [12] { Method [ final public method getResultDocument ] { - Parameters [0] { } } + Method [ final public method hasErrorLabel ] { + + - Parameters [1] { + Parameter #0 [ $label ] + } + } + Method [ public method __construct ] { - Parameters [3] { @@ -2537,14 +2665,22 @@ Extension [ extension #190 mongodb version 1.5.3 ] { - Static methods [0] { } - - Properties [4] { + - Properties [5] { Property [ protected $message ] Property [ protected $code ] Property [ protected $file ] Property [ protected $line ] + Property [ protected $errorLabels ] } - - Methods [10] { + - Methods [11] { + Method [ final public method hasErrorLabel ] { + + - Parameters [1] { + Parameter #0 [ $label ] + } + } + Method [ public method __construct ] { - Parameters [3] { @@ -2594,14 +2730,22 @@ Extension [ extension #190 mongodb version 1.5.3 ] { - Static methods [0] { } - - Properties [4] { + - Properties [5] { Property [ protected $message ] Property [ protected $code ] Property [ protected $file ] Property [ protected $line ] + Property [ protected $errorLabels ] } - - Methods [10] { + - Methods [11] { + Method [ final public method hasErrorLabel ] { + + - Parameters [1] { + Parameter #0 [ $label ] + } + } + Method [ public method __construct ] { - Parameters [3] { @@ -2765,14 +2909,22 @@ Extension [ extension #190 mongodb version 1.5.3 ] { - Static methods [0] { } - - Properties [4] { + - Properties [5] { Property [ protected $message ] Property [ protected $code ] Property [ protected $file ] Property [ protected $line ] + Property [ protected $errorLabels ] } - - Methods [10] { + - Methods [11] { + Method [ final public method hasErrorLabel ] { + + - Parameters [1] { + Parameter #0 [ $label ] + } + } + Method [ public method __construct ] { - Parameters [3] { diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec index 7da03b2..cc128c6 100644 --- a/php-pecl-mongodb.spec +++ b/php-pecl-mongodb.spec @@ -46,11 +46,11 @@ Summary: MongoDB driver for PHP Name: %{?sub_prefix}php-pecl-%{pecl_name} -%global upstream_version 1.5.3 -#global upstream_prever RC2 -#global upstream_lower ~rc2 +%global upstream_version 1.6.0 +%global upstream_prever alpha1 +%global upstream_lower ~alpha1 Version: %{upstream_version}%{?upstream_lower} -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: ASL 2.0 URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz @@ -328,6 +328,9 @@ exit $ret %changelog +* Mon Dec 3 2018 Remi Collet - 1.6.0~alpha1-1 +- update to 1.6.0alpha1 + * Sat Dec 1 2018 Remi Collet - 1.5.3-2 - EL-8 build (using bundled libmongc for now) -- cgit