Releases: sokil/php-mongo
Releases · sokil/php-mongo
1.16
- Add validation of structure, set as embedded document
\Sokil\Mongo\Structure\Arrayable
moves to\Sokil\Mongo\ArrayableInterface
Structure::$_modifiedFields
andStructure::$_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
1.15.1
1.15
- 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;