Skip to content

Releases: sokil/php-mongo

1.16

23 Jun 21:17
Compare
Choose a tag to compare
  • Add validation of structure, set as embedded document
  • \Sokil\Mongo\Structure\Arrayable moves to \Sokil\Mongo\ArrayableInterface
  • Structure::$_modifiedFields and Structure::$_originalData set private
  • Document::_data is not deprecated, and replaced with propected property Document::schema.
  • Documents not allowed to be cloned
  • Removed 'validator' suffix from names of validation errors in array of validation errors Document::getErrors()

1.15.2

27 Apr 07:32
Compare
Choose a tag to compare

Update version of Event Dispatcher

1.15.1

10 Mar 10:23
Compare
Choose a tag to compare

Allow delete indexes

1.15

01 Mar 20:18
Compare
Choose a tag to compare
  • Removed Collection::createPipeline(). Use Collection::createAggregator;
  • Aggregator options may be passed as arguments of Collection::aggregate($pipelines, $options) or configured through methods of Pipeline;
  • Experimental feature: aggregation returns Cursor, if third parameter passed Collection::aggregate($pipelines, $options, $asCursor);
  • Collection::explainAggregate() is deprecated. Use Pipeline::explain();
  • Added debug mode to Client;

1.14

30 Jan 09:39
Compare
Choose a tag to compare

Full text search added

1.13.9

13 Jan 09:11
Compare
Choose a tag to compare

Fixed bug #121 - Getting relation when document pool disabled

1.13.8

03 Jan 17:48
Compare
Choose a tag to compare

Added $addToSet operator

1.13.7

28 Sep 12:07
Compare
Choose a tag to compare

Batch operations

1.13.6

25 Aug 06:42
Compare
Choose a tag to compare

Support of $unwind pipeline in aggregation

1.13.5

07 Aug 12:59
Compare
Choose a tag to compare

Fix getting HAS_ONE and BELONGS relation when related object not found