Skip to content

Commit f445ce3

Browse files
committed
Prepare Alpha 4 Release
1 parent d39c1be commit f445ce3

File tree

4 files changed

+71
-60
lines changed

4 files changed

+71
-60
lines changed

Apollo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 56 additions & 58 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

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

3+
## v1.0.0-alpha.4
4+
5+
This is the fourth Alpha Release of Apollo iOS 1.0. This first major version will include a new code generation engine, better generated models, and many syntax and performance improvements across the entire library. The primary goal of Apollo iOS 1.0 is to stabilize the API of the model layer and provide a foundation for future feature additions and evolution of the library.
6+
7+
* **Client Controlled Nullability (CCN) is now supported!**
8+
* CCN is an experimental new feature addition to GraphQL. This feature allows you to override the optionality of fields from a schema in your client operations. CCN can help you create cleaner generated models that require less optional unwrapping.
9+
* You can read more about CCN [here](https://github.com/graphql/graphql-spec/issues/867).
10+
* Because CCN is an experimental feature, the API is subject to change before its final release.
11+
* Apollo iOS 1.0.0 is the first client to provide support for this new functionality! Huge thanks to [@twof](https://github.com/twof)!
12+
* **Fixed - Names of generated objects are now correctly uppercased.**
13+
* **Fixed - Names of inline fragments with inclusion conditions were sometimes generated incorrectly.**
14+
* **Fixed - `__typename` field is now selected by executor on all entities automatically.**
15+
316
## v1.0.0-alpha.3
417

518
This is the third Alpha Release of Apollo iOS 1.0. This first major version will include a new code generation engine, better generated models, and many syntax and performance improvements across the entire library. The primary goal of Apollo iOS 1.0 is to stabilize the API of the model layer and provide a foundation for future feature additions and evolution of the library.

Sources/ApolloCodegenLib/Templates/SwiftPackageManagerModuleTemplate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ struct SwiftPackageManagerModuleTemplate: TemplateRenderer {
2828
.library(name: "\(moduleName.firstUppercased)", targets: ["\(moduleName.firstUppercased)"]),
2929
],
3030
dependencies: [
31-
.package(url: "https://github.com/apollographql/apollo-ios.git", from: "1.0.0-alpha.3"),
31+
.package(url: "https://github.com/apollographql/apollo-ios.git", from: "1.0.0-alpha.4"),
3232
],
3333
targets: [
3434
.target(

Tests/ApolloCodegenTests/CodeGeneration/Templates/SwiftPackageManagerModuleTemplateTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class SwiftPackageManagerModuleTemplateTests: XCTestCase {
9292
// given
9393
let expected = """
9494
dependencies: [
95-
.package(url: "https://github.com/apollographql/apollo-ios.git", from: "1.0.0-alpha.3"),
95+
.package(url: "https://github.com/apollographql/apollo-ios.git", from: "1.0.0-alpha.4"),
9696
],
9797
"""
9898
// when

0 commit comments

Comments
 (0)