Skip to content
This repository has been archived by the owner on Nov 11, 2020. It is now read-only.

Latest commit

 

History

History
55 lines (48 loc) · 3.88 KB

CHANGELOG-1.2.md

File metadata and controls

55 lines (48 loc) · 3.88 KB

CHANGELOG for 1.2.x

This changelog references the relevant changes (bug and security fixes) done in 1.2.x patch versions.

1.2.2 (2016-03-19)

  • #250: Fix wrong syntax for dateToString operator

1.2.1 (2015-11-24)

  • #229: Fix EagerCursor::skip() method calling limit method of base cursor instead of skip method
  • #231: Remove count method declaration in CursorInterface to fix fatal error for PHP 5.3
  • #237: Fix bug where timeout is set to 1 ms

1.2.0 (2015-08-18)

  • #171: Implement $minDistance query operator and geoNear option
    • Adds minDistance() method to query builder
  • #183: Rewrite Collection::update() "multi" option to "multiple"
  • #184: Query builder support for $text operator in MongoDB 2.6
    • Adds language(), text(), selectMeta(), and sortMeta() methods to query builder
  • #186: Fixed Connection::convertWriteTimeout() docs
  • #192: Support $meta expressions in Cursor::sort()
    • This is typically used for sorting by text search scores
  • #197: Support aggregation command cursors and client options
    • Introduces a CommandCursor class, which decorates a MongoCommandCursor
    • Command cursors require driver 1.5+
    • Socket timeouts for command cursors require driver 1.6+
  • #201: Fix issue when an operator follows equals()
  • #203: Ensure Query projection option is renamed for findAndModify
  • #205: Don't pass empty arrays to array_combine()
  • #209: Add a common cursor interface
    • The Cursor and EagerCursor classes implement this interface
  • #212: Query builder support for new update operators in MongoDB 2.6
    • Adds bitAnd(), bitOr(), bitXor(), currentDate(), max(), min(), and mul() methods to query builder
  • #213: Add aggregation builder
    • The builder may be created with Collection::createAggregationBuilder()
    • Top-level builder methods correspond to pipeline operators
  • #214: Removes parameter type hint from Builder::geoWithin()
    • Now accepts an array or GeoJson\Geometry\Geometry instance
  • #215: Add test environment preferring lowest package dependencies
  • #222: Add support for MongoCollection::parallelCollectionScan()
  • #223: Support $useKeys option when EagerCursor converts to an array
  • #224: Support client and socket timeout options in Collection::count()
    • Collection::count() now supports an options array as its second argument ($limit integer is still supported)
    • Socket timeout (i.e. socketTimeoutMS) may be specified alongside command options
  • #225: Include all cursor methods in cursor interface
    • Expands the common CursorInterface to support all methods in Cursor and EagerCursor
    • Allows ODM to be more agnostic when decorating a Cursor or EagerCursor
  • #226: Implement getter for cursor useIdentifierKeys option