Skip to content

Releases: orlandos-nl/MongoKitten

7.2.14

08 Feb 21:45
Compare
Choose a tag to compare

What's Changed

  • Support unique compound indexes using SortedIndex(..).unique()

Full Changelog: 7.2.13...7.2.14

7.2.13

12 Jan 08:56
8b33fd0
Compare
Choose a tag to compare

What's Changed

Full Changelog: 7.2.12...7.2.13

7.2.11

05 Jan 09:37
Compare
Choose a tag to compare

Fix thread-safety issues in MongoCluster

7.2.10: Merge pull request #299 from orlandos-nl/add-logger-to-MongoDatabase

10 Oct 14:21
5e889df
Compare
Choose a tag to compare

7.2.7

07 Sep 16:57
Compare
Choose a tag to compare
add unchecked pipeline aggregates for lookup in meow

7.2.4

06 Sep 10:47
Compare
Choose a tag to compare
add setField for optional in updatequery

7.2.3

06 Sep 09:00
Compare
Choose a tag to compare
Update field encoding so that it uses the generic path

7.2.2

26 Aug 21:55
055a858
Compare
Choose a tag to compare

What's Changed

Full Changelog: 7.2.1...7.2.2

7.2.1

14 Aug 18:47
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 7.2.0...7.2.1

7.2.0: Merge pull request #288 from orlandos-nl/jw-upsert-success-check-fix-7.0

08 Aug 14:16
5641e17
Compare
Choose a tag to compare

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.