diff --git a/CHANGELOG.md b/CHANGELOG.md index 63a87ad4a..ef578629d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -120,11 +120,6 @@ This release comes with: + _ regions: [DatabaseRegionConvertible], + fetch: @escaping (Database) throws -> Value) + -> ValueObservation> -+ static func tracking( -+ _ regions: [DatabaseRegionConvertible], -+ fetchDistinct fetch: @escaping (Database) throws -> Value) -+ -> ValueObservation> -+ where Value: Equatable + static func combine(_ o1: ValueObservation, ...) + -> ValueObservation<...> +} @@ -134,6 +129,11 @@ This release comes with: + -> ValueObservation> +} ++ extension ValueObservation where Reducer: ValueReducer, Reducer.Value: Equatable { ++ public func distinctUntilChanged() ++ -> ValueObservation> ++ } + +extension ValueObservation { + func mapReducer(_ transform: @escaping (Database, Reducer) throws -> R) + -> ValueObservation