- Add support for Xcode 13
- Bump Sourcery version to 1.0.2.
- Bump min iOS version to 9.0.
- Add support to Swift 5.1
- Add support to Swift 5
- Fix wrong generation for Realm
List
andLinkingObjects
- Add support for type
RealmOptional
- Change script to generate
PredicateFlow-Realm
. Please use this:
"$PODS_ROOT/Sourcery/bin/sourcery" --sources "$SRCROOT/Tests" --sources "$PODS_ROOT/RealmSwift" --templates "$SRCROOT/Tests/PredicateFlow-Realm.stencil" --output "$SRCROOT/Tests/Models/PredicateFlow.generated.swift"
- Add support to generate fields of type
List
andLinkingObjects
, if you usePredicateFlow-Realm.stencil
.
- Add new stencil template for PredicateFlow/Realm,
PredicateFlow-Realm.stencil
. - Add auto-excluding code quality check of PredicateFlow generated file if you use SwiftLint.
- Add support for min, max, average, sum, value of LinkingObjects and List in PredicateFlow/Realm.
- Add support to init a LinkingObjects using PredicateField.
- Add support for min, max, average, sum in PredicateFlow/Realm.
- Add support to Xcode 10 and Swift 4.2
-
To build a new predicate property, now you must use the new builder API.
Old API New API CollectionProperty("foo", compoundFieldBuilder)
builder.collection("foo")
ObjectProperty("foo", compoundFieldBuilder)
builder.object("foo")
StringPredicateProperty("foo", compoundFieldBuilder)
builder.string("foo")
BoolPredicateProperty("foo", compoundFieldBuilder)
builder.bool("foo")
PredicateProperty("foo", compoundFieldBuilder)
builder.generic("foo")
- Add support for subquery.
- Add support for querying LinkingObjects in PredicateFlow/Realm.