Skip to content

Releases: KazaiMazai/SwiftletModel

Release v0.15.2

19 Dec 13:17
60228f9

Choose a tag to compare

What's Changed

Full Changelog: 0.15.1...0.15.2

Release v0.15.1

18 Dec 19:39
02f0dfd

Choose a tag to compare

What's Changed

Full Changelog: 0.15.0...0.15.1

Release v0.15.0

20 Nov 23:25
34f7325

Choose a tag to compare

Breaking changes

Context parameter was moved from query(...), filter(...), sort(...) methods to resolve(in:) method.
Migration guide:

  1. update to 0.14.x, fix deprecation warnings by passing context parameter to resolve(in:) methods
  2. update to 0.15.x and fix extra context parameter in query(...), filter(...), sort(...) methods.
Message
-   .query(in: context)
+   .query()
    .sorted(by: \.date)
    .with(\.$replies) { replies in
        replies
            .sorted(by: \.text.count)
            .filter(\.text.count > 3)
            .id(\.$replyTo)
    }
-   .resolve()
+   .resolve(in: context)

What's Changed

Full Changelog: 0.14.0...0.15.0

Release v0.14.0

20 Nov 20:05
88f431b

Choose a tag to compare

Deprecation Notice

For the ease of the upcoming future updates, context should be provided to resolve method explicitly:

Chat.query("1", in: context)
-     .resolve()
+     .resolve(in: context)

What's Changed

Full Changelog: 0.13.0...0.14.0

Release v0.13.0

18 Nov 00:19
4f4db70

Choose a tag to compare

What's Changed

Full Changelog: 0.12.5...0.13.0

Release v0.12.5

06 Nov 19:28
260d7d9

Choose a tag to compare

What's Changed

Full Changelog: 0.12.4...0.12.5

Release v0.12.4

01 Oct 14:06
3bee6d8

Choose a tag to compare

What's Changed

Full Changelog: 0.12.3...0.12.4

0.12.3

26 Apr 18:50
2074bb0

Choose a tag to compare

What's Changed

Full Changelog: 0.12.2...0.12.3

Release v0.12.0

26 Apr 13:13
5cdb320

Choose a tag to compare

What's Changed

Full Changelog: 0.11.0...0.12.0

Release v0.11.0

23 Apr 14:09
dc9c1c4

Choose a tag to compare

What's Changed

Breaking changes

EntityModelProtocol 's renamings:

-static func batchQuery(with nested: Nested..., in context: Context) -> QueryList<Self>     
+static func queryAll(with nested: Nested..., in context: Context) -> QueryList<Self>

Full Changelog: 0.10.0...0.11.0