Releases: xp-forge/mongodb
Releases · xp-forge/mongodb
Release list
3.10.0: Retryable I/O
- Merged PR #68: Retry reads and writes when protocol errors occur. See
https://www.mongodb.com/docs/manual/core/retryable-reads/ and
https://www.mongodb.com/docs/manual/core/retryable-writes/
(@thekid) - Made it possible to run commands like replSetReconfig via
run()in
bothcom.mongodb.MongoConnectionandcom.mongodb.Collectionclasses
(@thekid) - Fixed
com.mongodb.Error::newInstance()when receiving errors without
code and codeName fields
(@thekid) - Fixed Undefined variable $params when running
MongoConnection::run()
(@thekid) - Merged PR #67: Add packet out-of-order detection, preventing inconsistent
protocol state from causing confusing errors on subsequent requests.
Closes the corresponding connection.
(@thekid)
3.9.0: I/O exceptions
- Merged PR #65: Refactor I/O exceptions, dropping XP 10 support in the
doing. See xp-framework/core#363 for a write-up on the reason behind
this and the plan to move forward.
(@thekid)
3.8.0: Compatibility
3.7.0: Encrypted support
3.6.1: PHP 8.5 compatibility
- Fixed E_DEPRECATED: chr(): Providing a value not in-between 0 and 255
is deprecated, this is because a byte value must be in the[0, 255]
interval in PHP 8.5+
(@thekid)
3.6.0: Snappy
3.5.0: Library compatibility
- Added compatibility with
xp-framework/mathversion 10.0+ - @thekid
3.4.0: Compression
3.3.0: Query API, Document utilities
- Merged PR #58: Add query API to collections. This adds two new methods
to thecom.mongodb.Collectionclass, query() and first().
(@thekid) - Merged PR #59: Add fields API to Document. This allows addressing fields
via dot-notation and provides a fluent API to modifications
(@thekid) - Merged PR #57: Add
Document::create()which creates a document with
an object ID
(@thekid)