This changelog references the relevant changes done in minor version updates.
All issues and pull requests under this release may be found under the 1.0.11 milestone.
- #170 fixes a
MongoCursorobject passing abatchSizeof 0 by default, causing errors in sharded setups.
All issues and pull requests under this release may be found under the 1.0.10 milestone.
- #163 fixes an error
when dealing with milliseconds with leading zeroes in
MongoDateobjects.
All issues and pull requests under this release may be found under the 1.0.9 milestone.
- #157 fixes a regression introduced in 1.0.8 when using query projection with numeric field names.
- #155 fixes the handling of BSON types when converting legacy types to BSON types.
- #154 makes the
optionsparameter inMongoDB::createCollectionoptional.
All issues and pull requests under this release may be found under the 1.0.8 milestone.
- #151 allows using boolean values when passing a write concern option to an insert or update. While never documented, this was happily accepted by the legacy driver.
- #150 adds missing
options to
MongoCollection::indexInfo. - #149 fixes calls to
MongoDB::getDBRefwith references containing a$dbfield with a different value than the current database. - #145 fixes query projections in the legacy syntax. While never documented, this was happily accepted by the legacy driver.
All issues and pull requests under this release may be found under the 1.0.7 milestone.
- #139 fixes a wrong
error code in calls to
trigger_error.
All issues and pull requests under this release may be found under the 1.0.6 milestone.
- #126 fixes a class name that was improperly capitalized.
- #130 fixes JSON
serialization of
MongoIdobjects.
All issues and pull requests under this release may be found under the 1.0.5 milestone.
- #117 adds a missing
flag to indexes when calling
MongoCollection::getIndexInfo. - #120 throws the proper
MongoWriteConcernExceptionwhen encountering bulk write errors. - #122 fixes an error in
MongoCollection::findAndModifywhen specifying both theupdateparameter as well as theupdateoption.
All issues and pull requests under this release may be found under the 1.0.4 milestone.
- #115 fixes an error
where using the alternate syntax for
MongoCollection::aggregatewould lead to empty aggregation pipelines - #116 fixes a bug where read preference and write concern was not applied if it was passed in the constructor.
All issues and pull requests under this release may be found under the 1.0.3 milestone.
- #96 fixes errors when
calling
counton a cursor that has been iterated fully. The fix removes a performance improvement when callingcounton a cursor that has been opened.MongoCursor::countnow always re-issues acountcommand to the server. - #98 fixes an error where using BSON types in a query projection would result in wrong results.
- #99 ensures that the
secandusecproperties forMongoDateare cast to int.
All issues and pull requests under this release may be found under the 1.0.2 milestone.
- #90 ensures that database and collection names are properly cast to string on creation.
- #94 fixes an error in
MongoCursor::hasNextthat led to wrong data being returned.
All issues and pull requests under this release may be found under the 1.0.1 milestone.
- #85 fixes calls to
MongoCollection::countusing the legacy syntax of providingskipandlimitarguments instead of anoptionsarray. - #88 fixes an error
where a call to
MongoCollection::distinctwith a query did not convert legacy BSON types to the new driver types.
All issues and pull requests under this release may be found under the 1.0.0 milestone.
- #74 fixes running an aggregation command and returning a result document instead of a result cursor. This bug was fixed in the underlying mongo-php-library.
- #71 adds checks to
all class files to prevent class declarations when
ext-mongois already loaded and not using an autoloader. - #72 fixes wrong
argument order in the constructor for the
Timestamptype. - #75 adds a warning to
MongoCursor::timeoutto let people now cursor timeouts are no longer supported. - #77 adds support for
the
updateoption infindAndModifycalls.
All issues and pull requests under this release may be found under the 1.0.0-BETA1 milestone.
- #52 fixes behavior of
MongoCollection::updatewhen no update operators have been given. - #53 fixes an error where some operations would send an invalid query to the MongoDB server, causing command failures.
- #54 and #55 fix the handling of documents with numeric keys.
- #56 fixes the
behavior of
MongoGridFS::findOnewhen no results are found. - #59 adds handling for
the
includeSystemCollectionsparameter inMongoDB::getCollectionInfoandMongoDB::getCollectionNames. - #62 removes the manual comparison of index options to rely on the MongoDB server to decide whether an index already exists.
- #63 prevents serialization of driver classes which are not serializable.
Initial development release.