Releases: xp-forge/mongodb
Releases · xp-forge/mongodb
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)
3.2.0: Write errors handling
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
helloandisMastercommands 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)