All Versions
101
Latest Version
Avg Release Cycle
10 days
Latest Release
-

Changelog History
Page 6

  • v0.33.0 Changes

    September 15, 2020
    • โž• Adds support for Xcode 12 and Swift 5.3. (#1280)
    • โž• Adds workaround script for Carthage support in Xcode 12. Please see Carthage-3019 for details. TL;DR: cd into [YourProject]/Carthage/Checkouts/apollo-ios/scripts and then run ./carthage-build-workaround.sh to actually get Carthage builds that work. (#yolo committed to main)
  • v0.33.0-beta1 Changes

    September 11, 2020

    First beta of our new networking stack.

    • SPECTACULARLY BREAKING : The networking stack for HTTP requests has been completely rewritten. This is described in great detail in the RFC for the networking changes, as well as the updated documentation for Advanced Client Creation. Please, please, please file bugs or requests for clarification of the docs as soon as possible. Note that all changes until the networking stack comes out of beta will live on the betas/networking-stack branch. (#1341)
  • v0.32.1 Changes

    September 10, 2020
    • ๐Ÿ‘Œ Improves invalidation of a URLSesionClient to include cancellation of in-flight operations. (#1376)
  • v0.32.0 Changes

    September 02, 2020
    • ๐Ÿ›  Fixes an issue that would occur when a GraphQL query watcher's dependent keys would not get updated. (#1375)
    • โž• Adds an extensions dictionary property to GraphQLResult. (#1370)
    • ๐Ÿ“œ Makes a couple of response parsing helpers public for advanced use cases. (#1372)
  • v0.31.0 Changes

    August 20, 2020

    โž• Adds the ability to pause and resume a WebSocket connection without dumping existing subscriptions. (#1335)

    โž• Adds an initializer to SQLiteNormalizedCache that takes a SQLite.swift DatabaseConnection to more easily allow setup of pre-configured connections. (#1330)

    โž• Addresses a retain cycle that could cause memory leaks when using multiple instances of HTTPNetworkTransport.

    NOTE: If you're using URLSessionClient outside the context of HTTPNetworkTransport, make sure to call invalidate() on it when whatever is holding onto it hits deinit() to prevent leaks. (#1366)

  • v0.30.0 Changes

    July 17, 2020
    • ๐Ÿ’ฅ BREAKING : Updates the CLI to 2.30.1 to fix a long-standing issue where when generating operation IDs and their related JSON file, the correct operations + fragments would be used in generating the operation ID, but not output with the JSON file. This will slightly change the output in API.swift, but it also means we can remove a related workaround from the iOS SDK. (#1316)
    • ๐Ÿ’ฅ BREAKING : Removed the Cartfile which declared our dependencies, since we're now internally managing them with SPM, and newer versions of Carthage just use the SPM dependencies. Note that this can cause issues if you need to use a fork of dependencies, or if you're using an older version of Carthage. (#1311)
    • POSSIBLY BREAKING : Works around an issue that could cause some attempts to store untyped JSON dictionaries to throw unexpected errors about optional encoding. This also added handling of creating a dictionary from a JSONValue, which may cause problems if you've already implemented this yourself, but which should mostly just replace the need to implement it yourself. Please file issues ASAP if you run into problems here. (#1317)
    • Works around an issue causing some attempts to store arrays of JSON dictionaries to have arbitrary key ordering. (#1281)
    • โž• Adds clearer error descriptions to a few errors. (#1295)
  • v0.29.1 Changes

    July 02, 2020
    • โšก๏ธ Updates the CLI to 2.28.3 to fix an issue where linter failures would cause a silent failure exit. (#1284, #1288](#1288))
    • โž• Adds a check to swift scripting that the downloaded file has the correct SHASUM, otherwise forcing redownload. (#1288)
  • v0.29.0 Changes

    July 01, 2020
    • ๐Ÿ†• NEW: Swift scripting is officially out of Beta! Please check out our updated guide to integration. The tutorial should be updated to recommend using Swift Scripting within the next week or so. NOTE: The shell script is not deprecated yet, but will be shortly. (#1263)
    • ๐Ÿ’ฅ BREAKING: Found some workarounds to conditional conformance and updated all extensions to use the apollo.extensionMethod syntax introduced in 0.28.0. (#1256)
    • ๐Ÿ’ฅ BREAKING: Moved a few things into the new ApolloCore library. For CocoaPods and SPM users, this should be automatically picked up by your package manager. Carthage users, you will need to drag the new ApolloCore library into your project manually as you have with the other Apollo libs. (https://github.com/apollographql/apollo-ios/pull/1256)
    • ๐Ÿ’ฅ BREAKING: Updated to version 2.28.0 of the Apollo JS CLI. This includes moving a bunch of static let allocations to computed static vars to prevent memory overuse. (#1246)
    • Made GraphQLGetTransformer and its methods public and made a couple more methods on MultipartFormData public. (#1273)
    • ๐Ÿ›  Fixes an issue when uploading multiple files for different variables. (#1279, special thanks to #1081)
    • ๐Ÿ›  Fixes a crash when encoding GraphQLVariable objects which conform to JSONEncodable. (#1262)
  • v0.28.0 Changes

    May 28, 2020
    • ๐Ÿ’ฅ BREAKING: Changed a few things in the ApolloCodegen library to use object.apollo.extensionMethod syntax rather than object.apollo_extensionMethod. There's a few things that are still using apollo_ notation due to constraints around conditional conformance, but you should particularly check your swift scripts for changes around FileManager APIs. (#1183)
    • ๐Ÿ’ฅ BREAKING: NormalizedCache now has a method for explicitly clearing the cache synchronously, in addition to the existing method to clear it asynchronously. If you've got a custom NormalizedCache implementation, you'll need to add an implementation for this method. (#1186)
    • ๐Ÿ›  Fixed race conditions in URLSessionClient that were causing unexpected behavior. Turns out concurrency is hard! (#1227)
    • ๐Ÿ‘Œ Improved handling of a dependent key update cancelling an in-flight server fetch on a watcher. (#1156)
    • โž• Added option to Swift Codegen to pass in a prefix for custom scalars. (#1216)
    • โž• Added ability to change a header on a websocket connection and automatically reconnect. (#1224)
  • v0.27.1 Changes

    May 04, 2020
    • ๐Ÿ‘ Better defense against multithreading crashes in URLSessionClient. (#1184)
    • ๐Ÿ›  Fix for watchOS availability for URLSessionClient. (#1175)