Releases: orlandos-nl/MongoKitten
7.2.1
7.2.0: Merge pull request #288 from orlandos-nl/jw-upsert-success-check-fix-7.0
additions:
- The
.buildIndexes
method - Adds typesafe indexes to Meow
Typesafe indexes allow for fully typesafe migrations such as:
try await meow.migrate("Unique Email", on: User.self) { migrator in
migrator.add { users in
try await users.buildIndexes { user in
UniqueIndex(named: "unique-email", field: user.$email)
}
}
}
fixes:
- Small fix for upserting returning a failed result when adding a new entry to the database. This resulted in migrations throwing an error (even though the migration itself might have succeeded) when running migrations on an empty database.
6.7.6: Merge pull request #289 from orlandos-nl/jw-upsert-success-check-fix-6.x
Small fix for upserting returning a failed result when adding a new entry to the database. This resulted in migrations throwing an error (even though the migration itself might have succeeded) when running migrations on an empty database.
7.1.0
7.0.1
Fixes some compile errors when using swift 5.6
7.0.0
After a long time of hard work, we're finally able to release a 7.0!
Highlights
This time, we're putting async/await in the drivers seat! Not only are all API's over from EventLoopFuture to async/await, but we've also added support for AsyncSequence to cursors. If a cursor's Task gets cancelled, the cursor will also stop iterating.
KeyPath Queries
Meow was actually the place of invention of KeyPath queries - years ago. But we were never quite happy with the final solution. This time around, we're happy with the result and are excited to share it!
7.0 - Async/Await & KeyPath Queries
After a long time of hard work, we're finally able to release a 7.0 beta!
Some highlights
This time, we're putting async/await in the drivers seat! Not only are all API's over from EventLoopFuture to async/await, but we've also added support for AsyncSequence to cursors. If a cursor's Task gets cancelled, the cursor will also stop iterating.
KeyPath Queries
Meow was actually the place of invention of KeyPath queries - years ago. But we were never quite happy with the final solution. This time around, we're happy with the result and are excited to share it!
6.7.4
6.7.3
Added write concern support for collection APIs
Merge pull request #271 from orlandos-nl/write-concern Added write concern support for insert APIs.