diff --git a/CHANGELOG.md b/CHANGELOG.md index efae42e4e6..026e6d8689 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## v1.14.0 + +### New +- **Experimental support for the `@defer` directive:** You can now use the `@defer` directive in your operations and code generation will generate models that support asynchronously receiving the deferred selection sets. There is a helpful property wrapper with a projected value to determine the state of the deferred selection set, and support for cache reads and writes. This feature is enabled by default but is considered [experimental](https://www.apollographql.com/docs/resources/product-launch-stages/#experimental-features). Please refer to the [documentation](https://www.apollographql.com/docs/ios/fetching/defer/) for further details. +- **Add `debugDescription` to `SelectionSet` ([#3374](https://github.com/apollographql/apollo-ios/issues/3374)):** This adds the ability to easily print code generated models to the Xcode debugger console. See PR [#412](https://github.com/apollographql/apollo-ios-dev/pull/412). _Thanks to [@raymondk-nf](https://github.com/raymondk-nf) for raising the issue._ +- **Xcode 16 editor config files ([#3404](https://github.com/apollographql/apollo-ios/issues/3404)):** Xcode 16 introduced support for `.editorconfig` files that represent settings like spaces vs. tabs, how many spaces per tab, etc. We've added a `.editorconfig` file with the projects preferred settings, so that the editor will use them automatically. See PR [#419](https://github.com/apollographql/apollo-ios-dev/pull/419). _Thanks to [@TizianoCoroneo](https://github.com/TizianoCoroneo) for raising the issue._ + +### Fixed +- **Local cache mutation build error in Swift 6 ([#3398](https://github.com/apollographql/apollo-ios/issues/3398)):** Mutating a property of a fragment annotated with the `@apollo_client_ios_localCacheMutation` directive caused a compile time error in Xcode 16 with Swift 6. See PR [#417](https://github.com/apollographql/apollo-ios-dev/pull/417). _Thanks to [@martin-muller](https://github.com/martin-muller) for raising the issue._ + ## v1.13.0 ### New diff --git a/CLI/apollo-ios-cli.tar.gz b/CLI/apollo-ios-cli.tar.gz index b151b2e7f6..c293fa54b0 100644 Binary files a/CLI/apollo-ios-cli.tar.gz and b/CLI/apollo-ios-cli.tar.gz differ diff --git a/ROADMAP.md b/ROADMAP.md index 5d949ecccd..b2a316aa86 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -21,14 +21,14 @@ Please see our [patch releases milestone](https://github.com/apollographql/apoll As we identify feature sets that we intend to ship, we'll add to and update the subheadings in this section. We intend to keep this section in chronological order. In order to enable rapid and continuous feature delivery, we'll avoid assigning minor version numbers to these feature groups in the roadmap. -### [`@defer` support](https://github.com/apollographql/apollo-ios/issues/2395) +### `@defer` support - Available in release [1.14.0](https://github.com/apollographql/apollo-ios/releases/tag/1.14.0) The `@defer` directive enables your queries to receive data for specific fields asynchronously. This is helpful whenever some fields in a query take much longer to resolve than others. [Apollo Kotlin](https://www.apollographql.com/docs/kotlin/fetching/defer/) and [Apollo Client (web)](https://www.apollographql.com/docs/react/data/defer/) currently support this syntax, so if you're interested in learning more check out their documentation. Apollo iOS has released a preview version of this feature in the `preview-defer.1` branch. This will be released as an experimental feature in an upcoming `1.x` minor version. -The feature is being rolled out on the `preview-defer.n` tags (currently `preview-defer.2`): * ✅ Code generation * ✅ Partial incremental execution * ✅ Partial and incremental caching +* ✅ Local cache mutations * 🔲 Selection Set Initializers (_next_) ### [Improvements to code generation configuration and performance](https://github.com/apollographql/apollo-ios/milestone/67) diff --git a/Sources/Apollo/Constants.swift b/Sources/Apollo/Constants.swift index 23d04fae58..fba35724f7 100644 --- a/Sources/Apollo/Constants.swift +++ b/Sources/Apollo/Constants.swift @@ -1,5 +1,5 @@ import Foundation public enum Constants { - public static let ApolloVersion: String = "1.13.0" + public static let ApolloVersion: String = "1.14.0" }