Releases: xp-forge/mongodb
Releases · xp-forge/mongodb
0.9.0: Replicaset support
- Implemented #9: Reconnect - according to specification, by checking
a connection with the ping command if it has been not used for a
defined number of seconds (defaulting to 5)
(@thekid) - Merged PR #10: Sessions. Adds support for passing sessions to all of
the database and collection methods.
(@thekid) - Merged PR #5: Add support for mongodb+srv. This adds support for DNS
seed lists, as well as reading from and writing to separate connections
based on the read preference supplied.
(@thekid)
0.8.0: Protocol error handling
- Changed implementation to raise
peer.ProtocolExceptioninstead of
low-level socket errors
(@thekid)
0.7.2: SASL authentication fixes
0.7.1: XP11 compatibility
- Made library compatible with XP 11 - @thekid
0.7.0: SSL / TLS support, PHP 8.1 fixes
- Fixed PHP 8.1 compatibility for IteratorAggregate / ArrayAccess return
type declarations
(@thekid) - Fixed issue #4: Cannot handle binary subtype 3 - @thekid
- Enable SSL/TLS if
ssl=trueortls=trueis passed in the connection
string parameters; implements feature request #2
(@thekid) - Made
paramsforCollection::command()optional - @thekid
0.6.0: Simplified API
0.5.3: Socket reading fix
- Fixed reading to ensure we have enough bytes when reading packets
(@thekid)
0.5.2: NULL fix
0.5.1: Aggregation fixes for transactions
- Rewrote
count()anddistinct()to use aggregation pipelines. See
https://docs.mongodb.com/manual/core/transactions/#count-operation and
https://docs.mongodb.com/manual/core/transactions/#distinct-operation
(@thekid)
0.5.0: Aggregation
- Added new methods
Collection::distinct()andCollection::count()
(@thekid) - Added new method
Collection::aggregate()to perform aggregations, see
https://docs.mongodb.com/manual/reference/command/aggregate/ and
https://docs.mongodb.com/manual/reference/operator/aggregation/lookup/
(@thekid) - Fixed all places where
_idwas assumed to always holdObjectIds.
(@thekid)