Releases: xp-forge/mongodb
Releases · xp-forge/mongodb
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)
2.1.0: Retry NotPrimary
2.0.0: Command options
The second major release adds the possibility to pass additional options to all commands, including read preference as well as read and write concerns.
- Merged PR #40: Implement read and write concerns, implementing #11.
See https://www.mongodb.com/docs/manual/reference/read-concern/ and
https://www.mongodb.com/docs/manual/reference/write-concern/
(@thekid) - Merged PR #41: Remove deprecated Collection::command(), superseded in
1.4.0 with the newrun()
method, see #21.
(@thekid) - Merged PR #39: Refactor all methods to receive options varargs. Passing
additional options to methods such as find can be accomplished by
creatingOptions
instances.
(@thekid)