Releases: xp-forge/mongodb
Releases · xp-forge/mongodb
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=true
ortls=true
is passed in the connection
string parameters; implements feature request #2
(@thekid) - Made
params
forCollection::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
_id
was assumed to always holdObjectId
s.
(@thekid)
0.4.0: Updates
- Merged PR #1: Implement update operation. Currently supports update operator
expressions, replacement documents and pipelines will be added later.
(@thekid) - Changed
insert()
to generate and return object IDs if not supplied in
passed documents. Consistent with how most MongoDB drivers handle this, see
https://docs.mongodb.com/manual/reference/method/db.collection.insert/#id-field
(@thekid)
0.3.1: Decimal128 fix
- Fixed large decimal128 number parsing from a string - @thekid