Releases: sokil/php-mongo
Releases · sokil/php-mongo
1.12.3
- Fixed bug with naming of validator in errors array. Removed suffix 'validator'.
- Behavior refactoring.
- Old validator name is kept for back compatibility and will be removed in next versions
1.12.2
Operator
refactoring and bugfixes
- Fix Collection::update when update data set as array
1.12.1
- Set
Structure
to document as embedded document
1.12.0
- Apply chain of functions over result set
1.11.7
- Bug with passing behaviors, configured in mapping, to documents
1.11.6
- Refactor document validation exceptions. Exception
\Sokil\Mongo\Document\Exception\Validate
deprecated. Use \Sokil\Mongo\Document\InvalidDocumentException
.
- Allow to get matched params on regex mapping.
1.11.5
- Configure cursor when get document by id to slice embedded documents or other reason
- Add
Collection::update()
method that allow to define different update options
- Refactoring and bugfixes
1.11.4
- Allow unset field end check for empty value by php functions
unset
and isset
- Attach behaviors in mapping
- Bugfixes
1.11.3
Fixed bug with default values of collection options
1.11.2
AggragetePipelines
class renamed to Pipeline
. If you in some reason use it directly, use factory method Collection::greateAggregator()
instead
- Added some aggregation group accumulators and expressions
- Query builder's expression may be configured in mapping