Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 1.94 KB

CHANGELOG.md

File metadata and controls

30 lines (17 loc) · 1.94 KB

Change log

vNEXT

v0.9.4

  • Updated required version of apollo-cli to 1.9. A nice addition to 1.9.2 is that Swift Enums now conforms to Hashable enabling among other things comparision between fetch objects. (#578)
  • Fixed internal bug that caused infinite reconnection cycle when connection is lost. A reconnectionInterval was added as a workaround. (#368)
  • Fixed internal bug that prevents the wrongType case being returned by the JSONDecodingError implementation of Matchable. (#367)
  • Added delegate for WebTransport which can handle connection/reconnection/disconnection events of websocket. (#379)

v0.9.1

  • Since apollo-codegen is now part of the new apollo-cli, the build script used to generate API.swift needs to be updated. See the docs for the updated script.

v0.6.0

  • Added read and write functions for fine-grained manual store updates.

  • Added support for pluggable asynchronous caches, with an optional experimental SQLite implementation.

  • Fragments are now merged into the parent result, so you only need to go through fragments when you want to pass a fragment explicitly.

  • Generated result models are no longer immutable (but still obey value semantics).

  • Generated result models now have memberwise initializers (when they represent a concrete type) or type-specific factory methods (when they represent multiple possible types).

  • Any generated result model can be safely initialized from a JSON object (init(jsonObject:) and converted into a jsonObject.

  • Generated input objects now differentiate between a property being null and a property not being present.