Skip to content

Releases: sokil/php-mongo

1.12.3

18 Jan 15:26
Compare
Choose a tag to compare
  • 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

13 Jan 14:24
Compare
Choose a tag to compare
  • Operator refactoring and bugfixes
  • Fix Collection::update when update data set as array

1.12.1

09 Jan 08:09
Compare
Choose a tag to compare
  • Set Structure to document as embedded document

1.12.0

08 Jan 22:05
Compare
Choose a tag to compare
  • Apply chain of functions over result set

1.11.7

06 Jan 20:04
Compare
Choose a tag to compare
  • Bug with passing behaviors, configured in mapping, to documents

1.11.6

06 Jan 14:30
Compare
Choose a tag to compare
  • 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

06 Jan 07:29
Compare
Choose a tag to compare
  • 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

04 Jan 18:26
Compare
Choose a tag to compare
  • Allow unset field end check for empty value by php functions unset and isset
  • Attach behaviors in mapping
  • Bugfixes

1.11.3

31 Dec 08:33
Compare
Choose a tag to compare

Fixed bug with default values of collection options

1.11.2

30 Dec 22:44
Compare
Choose a tag to compare
  • 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