January 13, 2025 1 min read 0.6.0 • Map of strings and documentation improvements DSL Add isMapEmpty & isMapNotEmpty (#33, 75c62ebb, !28) Add the get() operator for Map (#33, 70473b4d, !28) Documentation Add link to the documentation website in the main README (!27) Shorten the main README (!27) Continue reading
January 8, 2025 1 min read 0.5.1 • Embedded documentation Documentation The reference is now embedded directly into the documentation website (experimental, 8d613304, !25) Dependencies Kotlin 2.1.0 Continue reading
December 11, 2024 1 min read 0.5.0 • Collection.isEmpty, .$., .$[]., improved documentation website DSL Added the filter operator Collection.isEmpty (#21, !21) Added the filter operator Collection.isNotEmpty (#21, !21) Added the positional operator: .$. (!22) Added the all positional operator: .$[]. (!22) Website Added a documentation page for CRUD operations (!22) Added a documentation page for bulkWrite (!22) Added a documentation page for nested fields access, including arrays (!22) Continue reading
November 21, 2024 1 min read 0.4.0 • Insert, delete, drop, and a configuration tutorial Drivers Add insertOne, insertMany (!16) Add deleteOne, deleteMany (!14) Add drop (!14) Query DSL Add InsertOneOptions, DeleteOneOptions (!16) Add DeleteOptions (!14) Add DropOptions (!14) Rename any to anyValue, and anyObject to any (#11, !16) Add a documentation header for AbstractCompoundExpression (#12, !16) Add a link to tracking issues in operators' documentation (#13, !16) Documentation Initialize the website (!15) Add a tutorial for setting up everything (!15) Add a contribution guide for integration tests (!16) Add pages introducing how to find and update data (!18) Add an explanation of the benefits of KtMongo over KMongo (!18) Add a comparison between KtMongo and KMongo (!18) Simplify the design of the home page (!17) Continue reading
November 14, 2024 1 min read 0.3.0 • count(), update(), bulkWrite(), abstract tree management and options Drivers Added count() Added countEstimated() Added updateOne(), updateMany(), upsertOne() Added findOneAndUpdate() Added filtered collections Added an 'options' lambda to all operations Added CountOptions.limit() Improved MongoCollection.toString() Added bulkWrite() DSL The BsonContext is now available in all expressions Abstract over tree management with the new '.tree' package Reorganize all operations from XXXExpressions to XXXOperators interfaces (to allow delegation) Add Expression.toBsonDocument BSON Added buildBsonArray Deployment Added an integration test to ensure the driver is compatible with 3 stable MongoDB versions Continue reading
October 28, 2024 1 min read 0.2.0 • find(), basic filter and update operators Drivers Create MongoCollection and MongoIterable (!8) Implement find, findOne (!8) DSL Create Expression (!2) Create Path and Field to refer to MongoDB fields using Kotlin variables (!3) Implement basic filter operators (!3) $and, $or, $not $eq, $ne, $in $exists, $type $gt, $gte, $lt, $lte $elemMatch, $all *notNull variants Implement basic update operators (!7) $set, $setOnInsert, $unset $inc $rename BSON Mark all functions as @LowLevelApi (!2) Dependencies Kotlin 2.0.20 (!5) Continue reading
September 10, 2024 1 min read 0.1.0 • Initial prototype BSON Typesafe BSON writer (!1) Continue reading