diff --git a/CHANGELOG.md b/CHANGELOG.md index b3d7445b8..3a7e932eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -60,6 +60,44 @@ GRDB adheres to [Semantic Versioning](https://semver.org/), with one expection: - [#574](https://github.com/groue/GRDB.swift/pull/574): SwiftLint - [#576](https://github.com/groue/GRDB.swift/pull/576): Expose table name and full-text filtering methods to DerivableRequest +### API Diff + +```diff +-extension QueryInterfaceRequest { +- func matching(_ pattern: FTS3Pattern?) -> QueryInterfaceRequest +-} +-extension QueryInterfaceRequest { +- func matching(_ pattern: FTS5Pattern?) -> QueryInterfaceRequest +-} ++extension TableRequest where Self: FilteredRequest { ++ func matching(_ pattern: FTS3Pattern?) -> Self ++} ++extension TableRequest where Self: FilteredRequest { ++ func matching(_ pattern: FTS5Pattern?) -> Self ++} + + protocol Association: DerivableRequest { +- associatedtype OriginRowDecoder ++ associatedtype OriginRowDecoder: TableRecord + } + +-struct BelongsToAssociation: AssociationToOne { } +-struct HasManyAssociation: AssociationToMany { } +-struct HasManyThroughAssociation: AssociationToMany { } +-struct HasOneAssociation: AssociationToOne { } +-struct HasOneThroughAssociation: AssociationToOne { } ++struct BelongsToAssociation: AssociationToOne { } ++struct HasManyAssociation: AssociationToMany { } ++struct HasManyThroughAssociation: AssociationToMany { } ++struct HasOneAssociation: AssociationToOne { } ++struct HasOneThroughAssociation: AssociationToOne { } + +-struct QueryInterfaceRequest: DerivableRequest { } ++struct QueryInterfaceRequest: FilteredRequest, JoinableRequest, OrderedRequest, SelectionRequest { } ++extension QueryInterfaceRequest: TableRequest where RowDecoder: TableRecord { } ++extension QueryInterfaceRequest: DerivableRequest where RowDecoder: TableRecord { } +``` + ## 4.1.1