0.34.0 • Time series, listing collections, $jsonSchema and Mongo 8.x¶
Drivers¶
- Added
timeSeriesinMongoCollection.create()(#275, !308, e2f17baa) - Added
MongoCollection.infos()(#290, !309) - Added
MongoDatabase.collections()(7dccafd2) - Added
MongoIterable.map {}(6f255447) - Added more information to driver exceptions to facilitate debugging (1ee941a3, e70872be, 6578fd3e)
- Allow configuring the BSON factory and context at the collection level (c03074f8)
- Fixed
find()which overrode the read preference and read concern configured at the collection level (#342, !335, thanks Sejal Patel!)
Driver (Multiplatform)¶
- Rewrite of the lazy documents (!311)
BSON¶
Int32is now implicitly converted whenInt64is expected (!312)- Added
Schemafor JSONSchema-like validation (#333, !321) - Fixed incorrect parsing in BsonPath (ee2aa079)
DSL¶
- Added the
$addToSetaccumulator (!329) - Added the
$jsonSchemafilter operator (#333, !321) - Commands now give access to their options (38947b88)
Deployment¶
- KtMongo is now tested with MongoDB 8.3.11 (!315)
- Fixed a MavenCentral deployment issue with the Sync driver (#341, !334, thanks Sejal Patel!)
- Removed support for the platform
watchosArm32, which will be removed in Kotlin 2.5 (382f54fb)
Dependencies¶
- Kotlin 2.4.20
- KotlinX.Serialization 1.13.0
- KotlinX.IO 0.9.3
- Ktor 3.6.2
- MongoDB Java & Kotlin driver 5.15.0
- KMongo 5.12.0
- Slf4j 2.0.20
Browse the documentation for this version • View release in GitLab