Releases: xp-forge/mongodb
Releases · xp-forge/mongodb
3.1.0: CosmosDB support
- Merged PR #53: Support connecting to Azure Cosmos DB:
- Fixed Expected type binData but found string. during authentication
- Try both
hello
andisMaster
commands to retrieve server information - Handle hostname aliases returned inside server information
See https://www.mongodb.com/docs/drivers/cosmosdb-support/
(@thekid)
3.0.0: Lazy connections
- Heads up: Dropped support for PHP < 7.4 as well as XP Core <= 9.
See xp-framework/rfc#343
(@thekid) - Merged PR #51: Defer connecting the MongoDB cluster until actual I/O is
performed. Implements the lazy by default option suggested in #50.
(@thekid)
2.5.1: Credentials encoding fix
2.5.0: Reconnect performance
2.4.1: ObjectID & forked subprocesses fix
- Fixed possible collisions in
ObjectId::create()
when used within a
forked subprocess by including the process ID in the random value's
calculation.
(@thekid)
2.4.0: Retry accessor
2.3.1: No primary fix
- Fixed "undefined index primary" when no primary is available - @thekid
2.3.0: XP 12 compatibility
- Made compatible with XP 12 - @thekid
2.2.0: FindAndModify
- Merged PR #44: Add
equals()
methods for wrapper classes - @thekid - Merged PR #45: Implement Collection
modify()
andremove()
via
https://www.mongodb.com/docs/manual/reference/command/findAndModify/
(@thekid) - Fixed
upsert()
inconsistency withupdate()
anddelete()
in how
it handles the query parameter
(@thekid)