Skip to content

Commit 6f790b9

Browse files
apollo-bot2calvincestari
authored andcommitted
1 parent 97e8b74 commit 6f790b9

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## v1.25.0
4+
5+
### Fixed
6+
- **Narrowly Scoped `SelectionSet` Equality ([#3579](https://github.com/apollographql/apollo-ios/issues/3579)):** `SelectionSet` equality now uses a narrowly scoped algorithm that only compares fields in the underlying data that are relevant to the `SelectionSet`. This fixes a bug where a fragment read back from the graph doesn't match one created in memory by ensuring that equality checks for a fragment do not consider fields that are not included in the fragment, even if they are present in the data. Previous equality checks would simply compare the underlying `DataDict` dictionary which was incorrect. See PR [#771](https://github.com/apollographql/apollo-ios-dev/pull/771). _Thank you to [@potrebic](https://github.com/potrebic) for raising the issue._
7+
8+
**Note:** This change is fixing a long-standing bug in `SelectionSet` equality, however it may highlight previously hidden equality issues and appear to be a bug. If you're convinced this new equality behaviour exposes a bug please open a new issue and we can discuss it.
9+
310
## v1.24.0
411

512
### New

CLI/apollo-ios-cli.tar.gz

-1 Bytes
Binary file not shown.

Sources/Apollo/Constants.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Foundation
22

33
public enum Constants {
44
public static let ApolloClientName = "apollo-ios"
5-
public static let ApolloClientVersion: String = "1.24.0"
5+
public static let ApolloClientVersion: String = "1.25.0"
66

77
@available(*, deprecated, renamed: "ApolloClientVersion")
88
public static let ApolloVersion: String = ApolloClientVersion

0 commit comments

Comments
 (0)