Releases: orlandos-nl/MongoKitten
Releases · orlandos-nl/MongoKitten
7.2.14
What's Changed
- Support unique compound indexes using
SortedIndex(..).unique()
Full Changelog: 7.2.13...7.2.14
7.2.13
What's Changed
- Update CI. by @Andrewangeta in #302
- Automatically execute a QueryCursor once it's used as an AsyncSequence by @Joannis in #301
- Update logger label by @Andrewangeta in #303
Full Changelog: 7.2.12...7.2.13
7.2.11
7.2.10: Merge pull request #299 from orlandos-nl/add-logger-to-MongoDatabase
7.2.7
add unchecked pipeline aggregates for lookup in meow
7.2.4
7.2.3
Update field encoding so that it uses the generic path
7.2.2
What's Changed
- Adds tests and fixes for transaction. by @Andrewangeta and @Joannis in #294
Full Changelog: 7.2.1...7.2.2
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.