Skip to content

Commit f9f46b1

Browse files
AnthonyMDevclaude
andcommitted
Update CHANGELOG for v2.1.0-rc-1 release
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent aeb31c5 commit f9f46b1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
## v2.1.0-rc-1
44

5+
### New
6+
- **WebSocket Transport:** Apollo iOS 2.0 now supports WebSocket connections using the `graphql-transport-ws` protocol for subscriptions, queries, and mutations. See the [WebSocket Transport documentation](https://www.apollographql.com/docs/ios/networking/websocket-transport) for setup and usage details.
7+
- **ApolloURLSession delegate injection ([#899](https://github.com/apollographql/apollo-ios-dev/pull/899)):** Added support for injecting a custom `URLSessionTaskDelegate` into `ApolloURLSession`, enabling delegate callback handling. _Thank you to [@hammy-e](https://github.com/hammy-e) for the contribution._
8+
- **Make `JSONRequest.useGetForQueries` mutable ([#897](https://github.com/apollographql/apollo-ios-dev/pull/897)):** The `useGetForQueries` property on `JSONRequest` is now a `var`, allowing interceptors to mutate the request directly instead of copying it. _Thank you to [@nevil](https://github.com/nevil) for the contribution._
9+
10+
### Fixed
11+
- **Add preflight HTTP header for CSRF prevention ([#900](https://github.com/apollographql/apollo-ios-dev/pull/900)):** Added the `X-Apollo-Operation-Name` header to requests to satisfy Apollo Router's CSRF prevention requirements.
12+
13+
### Improved
14+
- **Use dictionary for `objectType(forTypename:)` lookup ([#918](https://github.com/apollographql/apollo-ios-dev/pull/918)):** Replaced the generated `switch` statement in `SchemaMetadata.objectType(forTypename:)` with a static dictionary lookup, improving deserialization performance by ~75% for schemas with many types (4000+). _Thank you to [@erneestoc](https://github.com/erneestoc) for the contribution._
515

616
## v2.0.6
717

0 commit comments

Comments
 (0)