Releases: alcaeus/mongo-php-adapter
1.0.11
I'm happy to announce that version 1.0.11 of mongo-php-adapter is now available.
Release highlights
This release fixes an issue with MongoCursor
objects passing a batchSize
of 0 by default, causing errors in sharded setups.
All issues and pull requests under this release may be found under the 1.0.11 milestone.
Feedback
Please use the issue tracker to report any issues that you may encounter.
Installation
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
If your project already has a dependency on ext-mongo
, the command above may
not work. This is due to a bug in composer, see composer/composer#5030.
To fix this, you can use the --ignore-platform-reqs
switch when running the
above command, or when running composer update
with no composer.lock
file
present.
1.0.10
I'm happy to announce that version 1.0.10 of mongo-php-adapter is now available.
Release highlights
This release fixes an issue when dealing with microseconds with leading zeroes in MongoDate
objects.
All issues and pull requests under this release may be found under the 1.0.10 milestone.
Feedback
Please use the issue tracker to report any issues that you may encounter.
Installation
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
If your project already has a dependency on ext-mongo
, the command above may
not work. This is due to a bug in composer, see composer/composer#5030.
To fix this, you can use the --ignore-platform-reqs
switch when running the
above command, or when running composer update
with no composer.lock
file
present.
1.0.9
I'm happy to announce that version 1.0.9 of mongo-php-adapter is now available.
Release highlights
This release fixes a regression introduced with 1.0.8 relating to query projections with numeric field names. It also fixes type conversion when using BSON types in queries and makes the options
parameter in MongoDB::createCollection
optional to make the method signature consistent with the legacy driver.
All issues and pull requests under this release may be found under the 1.0.9 milestone.
Feedback
Please use the issue tracker to report any issues that you may encounter.
Installation
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
If your project already has a dependency on ext-mongo
, the command above may
not work. This is due to a bug in composer, see composer/composer#5030.
To fix this, you can use the --ignore-platform-reqs
switch when running the
above command, or when running composer update
with no composer.lock
file
present.
1.0.8
I'm happy to announce that version 1.0.8 of mongo-php-adapter is now available.
Release highlights
This release fixes a few inconsistencies with the legacy driver regarding query projections and write concern. It also fixes a bug when getting a document from a DBRef
object and exposes all index options when calling `MongoCollection::getIndexInfo``.
All issues and pull requests under this release may be found under the 1.0.8 milestone.
Feedback
Please use the issue tracker to report any issues that you may encounter.
Installation
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
If your project already has a dependency on ext-mongo
, the command above may
not work. This is due to a bug in composer, see composer/composer#5030.
To fix this, you can use the --ignore-platform-reqs
switch when running the
above command, or when running composer update
with no composer.lock
file
present.
1.0.7
I'm happy to announce that version 1.0.7 of mongo-php-adapter is now available.
Release highlights
This release fixes the error codes used in calls to trigger_error
. PHP does not allow using E_ERROR
and E_WARNING
in trigger_error
, so this minor break compared to ext-mongo
is unavoidable.
All issues and pull requests under this release may be found under the 1.0.7 milestone.
Feedback
Please use the issue tracker to report any issues that you may encounter.
Installation
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
If your project already has a dependency on ext-mongo
, the command above may
not work. This is due to a bug in composer, see composer/composer#5030.
To fix this, you can use the --ignore-platform-reqs
switch when running the
above command, or when running composer update
with no composer.lock
file
present.
1.0.6
I'm happy to announce that version 1.0.6 of mongo-php-adapter is now available.
Release highlights
This release fixes a wrongly capitalized class in MongoId
and adds proper JSON serialization to the same class via the JsonSerializable
interface.
All issues and pull requests under this release may be found under the 1.0.6 milestone.
Feedback
Please use the issue tracker to report any issues that you may encounter.
Installation
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
This package declares that it provides ext-mongo
; Composer only allows this replacement to apply if composer.json
or a dependency contain a requirement, see composer/composer#2690.
Therefore, you either need to have a dependency on a package which requires ext-mongo
, such as doctrine/mongodb
, in your project:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"doctrine/mongodb": "dev-master"
}
or you need to explicitly require ext-mongo
yourself in composer.json
:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"ext-mongo": "*"
}
1.0.5
I'm happy to announce that version 1.0.5 of mongo-php-adapter is now available.
Release highlights
This release fixes an error when passing both the update
parameter and option to MongoCollection::findAndModify
and improves the exception handling for bulk write operations. Last but not least, calling MongoCollection::getIndexInfo
will now correctly report indexes with the unique option set.
All issues and pull requests under this release may be found under the 1.0.5 milestone.
Feedback
Please use the issue tracker to report any issues that you may encounter.
Installation
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
This package declares that it provides ext-mongo
; Composer only allows this replacement to apply if composer.json
or a dependency contain a requirement, see composer/composer#2690.
Therefore, you either need to have a dependency on a package which requires ext-mongo
, such as doctrine/mongodb
, in your project:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"doctrine/mongodb": "dev-master"
}
or you need to explicitly require ext-mongo
yourself in composer.json
:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"ext-mongo": "*"
}
1.0.4
I'm happy to announce that version 1.0.4 of mongo-php-adapter is now available.
Release highlights
This release fixes passing read preference and write concern options in the constructor for MongoClient
. There is also a small bugfix with MongoCollection::aggregate
, fixing behavior when passing aggregation stages as individual arguments.
All issues and pull requests under this release may be found under the 1.0.4 milestone.
Feedback
Please use the issue tracker to report any issues that you may encounter.
Installation
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
This package declares that it provides ext-mongo
; Composer only allows this replacement to apply if composer.json
or a dependency contain a requirement, see composer/composer#2690.
Therefore, you either need to have a dependency on a package which requires ext-mongo
, such as doctrine/mongodb
, in your project:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"doctrine/mongodb": "dev-master"
}
or you need to explicitly require ext-mongo
yourself in composer.json
:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"ext-mongo": "*"
}
1.0.3
I'm happy to announce that version 1.0.3 of mongo-php-adapter is now available.
Release highlights
This release fixes a bug in MongoCursor::count
that would cause an error when counting a cursor that has been iterated as well as an issue when using BSON types in a projection for MongoCollection::findOne
or MongoCollection::find
.
All issues and pull requests under this release may be found under the 1.0.3 milestone.
Feedback
Please use the issue tracker to report any issues that you may encounter.
Installation
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
This package declares that it provides ext-mongo
; Composer only allows this replacement to apply if composer.json
or a dependency contain a requirement, see composer/composer#2690.
Therefore, you either need to have a dependency on a package which requires ext-mongo
, such as doctrine/mongodb
, in your project:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"doctrine/mongodb": "dev-master"
}
or you need to explicitly require ext-mongo
yourself in composer.json
:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"ext-mongo": "*"
}
1.0.2
I'm happy to announce that version 1.0.2 of mongo-php-adapter is now available.
Release highlights
This release fixes a bug in MongoCollection::hasNext
method that could lead to wrong data being returned as well as a bug when passing database objects to the MongoClient::selectCollection
method.
All issues and pull requests under this release may be found under the 1.0.2 milestone.
Feedback
Please use the issue tracker to report any issues that you may encounter.
Installation
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
This package declares that it provides ext-mongo
; Composer only allows this replacement to apply if composer.json
or a dependency contain a requirement, see composer/composer#2690.
Therefore, you either need to have a dependency on a package which requires ext-mongo
, such as doctrine/mongodb
, in your project:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"doctrine/mongodb": "dev-master"
}
or you need to explicitly require ext-mongo
yourself in composer.json
:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"ext-mongo": "*"
}