Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
a8a35ae
Attempted fix for integration test failing on CI (#2024)
AnthonyMDev Nov 9, 2021
ece5b5b
fix(deps): update dependency gatsby-theme-apollo-docs to v5.3.6 (#2026)
renovate[bot] Nov 10, 2021
55c5db8
Update apollo-tooling to v2.33.9 (#2028)
calvincestari Nov 12, 2021
8d48031
Gateway clarification based on license change
hwillson Nov 12, 2021
46957a3
Update SQLite.swift to version 13.0 (#2015)
Iron-Ham Nov 17, 2021
d93568f
Release `0.50.0` (#2031)
calvincestari Nov 17, 2021
3262cd0
fix(deps): update dependency gatsby-theme-apollo-docs to v5.3.8 (#2038)
renovate[bot] Nov 18, 2021
f1707b4
Update caching.mdx (#2042)
bogdanbeczkowski Nov 24, 2021
c3687d2
Update ROADMAP.md (#2053)
calvincestari Dec 7, 2021
f192578
Clean up Github API for performance tests
AnthonyMDev Dec 13, 2021
c3969d1
fix(deps): update dependency gatsby-theme-apollo-docs to v5.3.9 (#2062)
renovate[bot] Dec 13, 2021
dbd7b87
Make filesystem diagram a bit easier to understand (#2063)
designatednerd Dec 14, 2021
67d86ae
Allow periods in arguments to be ignored when parsing cacheKeys (#2057)
Iron-Ham Dec 15, 2021
5079b14
fix(deps): update dependency gatsby-theme-apollo-docs to v5.3.11 (#2068)
renovate[bot] Dec 16, 2021
4d8b5bb
fix(deps): update dependency gatsby-theme-apollo-docs to v5.3.12 (#2074)
renovate[bot] Dec 17, 2021
95ee510
Add tutorial on subscriptions to match Android (#2072)
designatednerd Dec 20, 2021
0358975
Bump mermaid from 8.13.6 to 8.13.8 in /docs (#2083)
dependabot[bot] Jan 6, 2022
d46bd37
chore(deps): update dependency engine.io to 4.1.2 [security] (#2094)
renovate[bot] Jan 13, 2022
60ecd70
chore(deps): update dependency follow-redirects to 1.14.7 [security] …
renovate[bot] Jan 13, 2022
d44820d
chore(deps): update dependency node-forge to 1.0.0 [security] (#2095)
renovate[bot] Jan 13, 2022
fbeee46
Add note about acceptable extensions for types of schema file. (#2059)
designatednerd Jan 19, 2022
a4e7b4f
Docs: Bump to Gatsby v3 (#2104)
jgarrow Jan 25, 2022
0c9aa54
fix(deps): pin dependency gatsby-theme-apollo-docs to 6.0.0 (#2113)
renovate[bot] Jan 26, 2022
161873b
fix(deps): pin dependency gatsby to 3.14.6 (#2123)
renovate[bot] Jan 29, 2022
63eacd1
Edits to intro and installation docs (#2125)
Feb 1, 2022
eb6cbe1
Fix tutorial URL and tweak downloading a schema article (#2133)
Feb 3, 2022
7538bef
Split advanced "Creating a client" content into separate article (#2143)
Feb 7, 2022
ca88016
Disable flaky integration test
AnthonyMDev Feb 8, 2022
f51e7c4
Update gatsby config to deploy 1.0 alpha docs
AnthonyMDev Feb 8, 2022
ec034e8
Update roadmap after 1.0.0-alpha.1 release (#2145)
calvincestari Feb 9, 2022
0beea3d
[v1.0.0 Alpha 1] JavascriptError @unchecked Sendable (#2147)
TizianoCoroneo Feb 11, 2022
bf4cb5a
Update documentation to clarify schema download format and filename (…
calvincestari Feb 14, 2022
3c58987
chore(deps): update dependency follow-redirects to 1.14.8 [security] …
renovate[bot] Feb 14, 2022
f409e81
Update license copyright notice
calvincestari Feb 15, 2022
cf713c1
Delete Jazzy config - not supported
calvincestari Feb 16, 2022
c188637
Update list of active maintainers
calvincestari Feb 16, 2022
2b607ec
[Fix #2170] Do not refetch query watcher from server after cache miss…
AnthonyMDev Feb 25, 2022
bf86e01
Add `graphql-ws` protocol support (#2168)
calvincestari Feb 25, 2022
8b6a50a
chore(deps): update dependency prismjs to 1.27.0 [security] (#2179)
renovate[bot] Feb 28, 2022
cb5f1ce
Release 0.51.0 (#2086)
calvincestari Feb 28, 2022
664c1f1
Enable lazy access to the request body creation for leverage in custo…
rickfast Mar 3, 2022
52bbeac
Release `0.51.1` (#2188)
calvincestari Mar 7, 2022
6aee64a
Updates for new docs infra (#2197)
trevorblades Mar 15, 2022
f916c5f
Remove files from old Gatsby docs theme (#2202)
jgarrow Mar 15, 2022
62f4554
Clear body on APQ retry in JSONRequest (#2206)
AnthonyMDev Mar 18, 2022
729fedb
Release 0.51.2 (#2207)
AnthonyMDev Mar 18, 2022
08a41ba
Fix changelog version.
AnthonyMDev Mar 18, 2022
fecf44b
Add netlify config for deploy previews (#2208)
trevorblades Mar 22, 2022
b25d1de
Add codegen option for excludes (#2205)
bannzai Mar 23, 2022
a5f6f5d
Fix typo (#2212)
changm4n Mar 23, 2022
b4f58e2
Start a docs production deploy when docs changes get merged (#2211)
trevorblades Mar 23, 2022
4772297
Bump minimist from 1.2.5 to 1.2.6 in /SimpleUploadServer (#2214)
dependabot[bot] Mar 23, 2022
79876e5
Bump node-fetch from 2.6.6 to 2.6.7 in /SimpleUploadServer (#2215)
dependabot[bot] Mar 23, 2022
a563c40
Add note to tutorial about the `graphql-ws` subscription library (#2219)
rkoron007 Mar 25, 2022
c8c3951
Update tutorial-obtain-schema.md (#2225)
Carrione Mar 29, 2022
26351b5
Update tutorial-execute-query.md (#2228)
Carrione Mar 29, 2022
ab160e4
chore: Update Xcode build tool versions on CircleCI (#2242)
calvincestari Apr 8, 2022
57f329d
chore: Update roadmap
calvincestari Apr 15, 2022
b9a6116
fix: Sandbox documentation links (#2254)
martinbonnin Apr 21, 2022
09003c7
ci: Update xcode image to fix Node version mismatch
calvincestari Apr 21, 2022
fc260c7
ci: Update Node version to match what is installed with Xcode 13.3.1 …
calvincestari Apr 21, 2022
90d2c34
chore: updates roadmap (#2258)
jpvajda Apr 27, 2022
51c686f
Update build phases example to propagate errors to Xcode (#2260)
adam-zethraeus May 3, 2022
eecef09
Add a comment about a new use of the X-APOLLO-OPERATION-NAME header (…
glasser May 5, 2022
c78e0b1
Set permissions for GitHub actions (#2248)
neilnaveen May 16, 2022
858c769
updates roadmap for june 2022 (#2295)
jpvajda Jun 6, 2022
51c81bd
Update CircleCI tool versions (#2304)
calvincestari Jun 8, 2022
402dd16
fix: `graphql_transport_ws` protocol should send 'complete' to end su…
calvincestari Jun 17, 2022
c0a8ce3
Replace print statement with CodegenLogger.log (#2348)
hiltonc Jun 29, 2022
d26751a
Fix buttons on docs root (#2369)
Jul 12, 2022
f214c8e
Expose GraphQLResultError Path String (#2361)
Jul 12, 2022
414cc63
Revert "Fix buttons on docs root (#2369)" (#2371)
trevorblades Jul 12, 2022
0c43e49
release: 0.52.0 (#2370)
calvincestari Jul 14, 2022
bfa089b
Fix typo (#2379)
mischa-hildebrand Jul 18, 2022
b2ed705
Fix incorrect parameter name (#2380)
mischa-hildebrand Jul 18, 2022
135acc4
chore: Update ROADMAP for Beta release cycle (#2393)
calvincestari Jul 25, 2022
928f9ea
Remove all instances of bitcode as not supported in Xcode 14 (#2398)
stareque-atlassian Jul 28, 2022
42646f7
Release 0.53.0 (#2406)
calvincestari Jul 29, 2022
5f31e2a
fix: checkout at tag with legacy optionals behavior (#2412)
calvincestari Aug 2, 2022
323ed07
Update version in Swift Scripting docs (#2416)
redryerye Aug 3, 2022
ddc8953
Re-added support for iOS 11
adamayoung Aug 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Release 0.51.0 (apollographql#2086)
* Update version number
* Update changelog
* Update SourceDocsLib dependecy
* Update generated documentation
* Update changelog with cache key caveat
* Update changelog for merging of apollographql#2147
* Update changelog for apollographql#2177 and apollographql#2168
* Update documentation
  • Loading branch information
calvincestari authored Feb 28, 2022
commit cb5f1ce6105e4b197cf973c915d51f7941840388
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change log

## v0.51.0
- **Allow periods in arguments to be ignored when parsing cacheKeys**: If your query arguments include periods they will no longer cause broken cache keys. This means the cached data for those queries can be correctly found and returned. The caveat with this change though is that if you use a persisted cache, after the upgrade you could see cache misses and the data would be refetched. [#2057](https://github.com/apollographql/apollo-ios/pull/2057) - _Thanks to [Hesham Salman](https://github.com/Iron-Ham) for the contribution._
- **Fixed - [`Sendable` class `JavaScriptError` cannot inherit from another class other than `NSObject`](https://github.com/apollographql/apollo-ios/issues/2146):** Xcode 13.3 introduced some additional requirements for `Error` types and `JavaScriptError` did not conform causing compile errors in `ApolloCodegenLib`. This change disables `Sendable` type checking for `JavaScriptError` while maintaining type-safety across concurrency boundaries. [#2147](https://github.com/apollographql/apollo-ios/pull/2147) - _Thank you to [Tiziano Coroneo](https://github.com/TizianoCoroneo) for the contribution._
- **Fixed - [Watcher using a policy that shouldn't hit the network, can still hit the network](https://github.com/apollographql/apollo-ios/issues/2170):** If the cache policy given to the `watch(query:cachePolicy:)` method of `ApolloClient` was `.returnCacheDataDontFetch` it could still trigger a remote fetch of the query. - _Thank you to [Peter Potrebic](https://github.com/potrebic) for raising the issue._
- **BREAKING CHANGE - [`graphql-ws` Protocol Support](https://github.com/apollographql/apollo-ios/issues/1622):** We've added official support for the [graphql-ws](https://github.com/enisdenjo/graphql-ws) library and its [`graphql-transport-ws`](https://github.com/enisdenjo/graphql-ws/blob/master/PROTOCOL.md) protocol. This is a breaking change because the `WebSocket` initializers now require you to specify which protocol to use.

## v0.50.0
- **Dropped SPM support for Swift 5.2**: The minimum version of the Swift tools and language compatibilty required to process the SPM manifest is Swift 5.3. This means a minimum of Xcode version 12 is required for Swift Package Manager support. [#1992](https://github.com/apollographql/apollo-ios/pull/1992)
- **Removed unnecessary assertion failure**: The completion handler on `returnResultAsyncIfNeeded` is defined as optional but if not included would cause debug builds to crash with an `assertionFailure` in the case of a `failure` of the `Result`. [#2005](https://github.com/apollographql/apollo-ios/pull/2005) - _Thank you to [Richard Topchii](https://github.com/richardtop) for raising this issue!_
Expand Down
2 changes: 1 addition & 1 deletion Configuration/Shared/Project-Version.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CURRENT_PROJECT_VERSION = 0.50.0
CURRENT_PROJECT_VERSION = 0.51.0
26 changes: 4 additions & 22 deletions SwiftScripts/Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions SwiftScripts/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import PackageDescription
let package = Package(
name: "Codegen",
platforms: [
.macOS(.v10_14)
.macOS(.v10_15)
],
dependencies: [
.package(name: "Apollo", path: ".."),
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "0.3.0"),
.package(url: "https://github.com/eneko/SourceDocs.git", .upToNextMinor(from: "1.2.0"))
.package(url: "https://github.com/apple/swift-argument-parser.git", .upToNextMinor(from: "1.0.2")),
.package(url: "https://github.com/eneko/SourceDocs.git", .upToNextMinor(from: "2.0.0"))
],
targets: [
.target(name: "Codegen",
Expand Down
9 changes: 9 additions & 0 deletions docs/source/api/Apollo/enums/CachePolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,12 @@ case returnCacheDataAndFetch
```

Return data from the cache if available, and always fetch results from the server.

## Properties
### `default`

```swift
public static var `default`: CachePolicy = .returnCacheDataElseFetch
```

The current default cache policy.
32 changes: 32 additions & 0 deletions docs/source/api/Apollo/extensions/NetworkTransport.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,44 @@ public extension NetworkTransport
```

## Properties
### `headerFieldNameApolloClientName`

```swift
static var headerFieldNameApolloClientName: String
```

The field name for the Apollo Client Name header

### `headerFieldNameApolloClientVersion`

```swift
static var headerFieldNameApolloClientVersion: String
```

The field name for the Apollo Client Version header

### `defaultClientName`

```swift
static var defaultClientName: String
```

The default client name to use when setting up the `clientName` property

### `clientName`

```swift
var clientName: String
```

### `defaultClientVersion`

```swift
static var defaultClientVersion: String
```

The default client version to use when setting up the `clientVersion` property.

### `clientVersion`

```swift
Expand Down
13 changes: 13 additions & 0 deletions docs/source/api/Apollo/protocols/GraphQLFragment.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,16 @@
```swift
public protocol GraphQLFragment: GraphQLSelectionSet
```

## Properties
### `fragmentDefinition`

```swift
static var fragmentDefinition: String
```

### `possibleTypes`

```swift
static var possibleTypes: [String]
```
6 changes: 6 additions & 0 deletions docs/source/api/Apollo/protocols/GraphQLSelectionSet.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ public protocol GraphQLSelectionSet
```

## Properties
### `selections`

```swift
static var selections: [GraphQLSelection]
```

### `resultMap`

```swift
Expand Down
8 changes: 8 additions & 0 deletions docs/source/api/Apollo/structs/GraphQLFile.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ public let fileURL: URL?
public let contentLength: UInt64
```

### `octetStreamMimeType`

```swift
public static let octetStreamMimeType = "application/octet-stream"
```

A convenience constant for declaring your mimetype is octet-stream.

## Methods
### `init(fieldName:originalName:mimeType:data:)`

Expand Down
9 changes: 9 additions & 0 deletions docs/source/api/ApolloAPI/enums/GraphQLEnum.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@ The underlying enum case. If the value is `__unknown`, this will be `nil`.
public var rawValue: String
```

### `allCases`

```swift
public static var allCases: [GraphQLEnum<T>]
```

A collection of all known values of the wrapped enum.
This collection does not include the `__unknown` case.

## Methods
### `init(_:)`

Expand Down
7 changes: 7 additions & 0 deletions docs/source/api/ApolloAPI/protocols/AnySelectionSet.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@
```swift
public protocol AnySelectionSet: ResponseObject
```

## Properties
### `selections`

```swift
static var selections: [Selection]
```
6 changes: 6 additions & 0 deletions docs/source/api/ApolloAPI/protocols/SchemaObjectType.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ public protocol SchemaObjectType: SchemaTypeEnum
```

## Properties
### `unknownCase`

```swift
static var unknownCase: Self
```

### `implementedInterfaces`

```swift
Expand Down
11 changes: 11 additions & 0 deletions docs/source/api/ApolloAPI/protocols/SelectionSet.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,14 @@
```swift
public protocol SelectionSet: ResponseObject, Equatable
```

## Properties
### `__parentType`

```swift
static var __parentType: SelectionSetType<Schema>
```

The GraphQL type for the `SelectionSet`.

This may be a concrete type (`ConcreteType`) or an abstract type (`Interface`).
4 changes: 2 additions & 2 deletions docs/source/api/ApolloCodegenLib/classes/JavaScriptError.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# `JavaScriptError`

```swift
public class JavaScriptError: JavaScriptObject, Error
public class JavaScriptError: JavaScriptObject, Error, @unchecked Sendable
```

An errror thrown during JavaScript execution.
An error thrown during JavaScript execution.
See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,12 @@ case typescript
```

The default, tried and true code generation engine

## Properties
### `default`

```swift
public static var `default`: CodeGenerationEngine
```

The current default for the code generation engine.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Designated initializer.
- outputFormat: The `OutputFormat` enum option to use to output generated code.
- customScalarFormat: How to handle properties using a custom scalar from the schema.
- suppressSwiftMultilineStringLiterals: Don't use multi-line string literals when generating code. Defaults to false.
- urlToSchemaFile: The URL to your schema file.
- urlToSchemaFile: The URL to your schema file. Accepted file types are `.json` for JSON files, or either `.graphqls` or `.sdl` for Schema Definition Language files.
- downloadTimeout: The maximum time to wait before indicating that the download timed out, in seconds. Defaults to 30 seconds.

### `init(targetRootURL:codegenEngine:downloadTimeout:)`
Expand Down
10 changes: 10 additions & 0 deletions docs/source/api/ApolloCodegenLib/structs/CodegenLogger.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ public struct CodegenLogger

Helper to get logs printing to stdout so they can be read from the command line.

## Properties
### `level`

```swift
public static var level = LogLevel.debug
```

The `LogLevel` at which to print logs. Higher raw values than this will
be ignored. Defaults to `debug`.

## Methods
### `log(_:logLevel:file:line:)`

Expand Down
1 change: 1 addition & 0 deletions docs/source/api/ApolloSQLite/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

## Extensions

- [SQLiteDatabase](extensions/SQLiteDatabase/)
- [SQLiteNormalizedCache](extensions/SQLiteNormalizedCache/)

This file was generated by [SourceDocs](https://github.com/eneko/SourceDocs)
31 changes: 31 additions & 0 deletions docs/source/api/ApolloSQLite/extensions/SQLiteDatabase.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
**EXTENSION**

# `SQLiteDatabase`
```swift
public extension SQLiteDatabase
```

## Properties
### `tableName`

```swift
static var tableName: String
```

### `idColumnName`

```swift
static var idColumnName: String
```

### `keyColumnName`

```swift
static var keyColumnName: String
```

### `recordColumName`

```swift
static var recordColumName: String
```
6 changes: 6 additions & 0 deletions docs/source/api/ApolloUtils/extensions/ApolloCompatible.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ extension ApolloCompatible
```swift
public var apollo: ApolloExtension<Self>
```

### `apollo`

```swift
public static var apollo: ApolloExtension<Self>.Type
```
8 changes: 8 additions & 0 deletions docs/source/api/ApolloUtils/protocols/ApolloCompatible.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,11 @@ var apollo: ApolloExtension<Base>
```

The `ApolloExtension` object for an instance

### `apollo`

```swift
static var apollo: ApolloExtension<Base>.Type
```

The `ApolloExtension` object for a type
1 change: 1 addition & 0 deletions docs/source/api/ApolloWebSocket/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

- [WSError.ErrorType](enums/WSError.ErrorType/)
- [WebSocket.OpCode](enums/WebSocket.OpCode/)
- [WebSocket.WSProtocol](enums/WebSocket.WSProtocol/)
- [WebSocketError.ErrorKind](enums/WebSocketError.ErrorKind/)

## Extensions
Expand Down
Loading