Skip to content

Latest commit

 

History

History
42 lines (22 loc) · 3.88 KB

ROADMAP.md

File metadata and controls

42 lines (22 loc) · 3.88 KB

Roadmap

This document is meant to give the community some idea of where we're going with the iOS SDK in the short and longer term.

This document was last updated on June 16, 2020.

^ If that's more than three months ago, please file an issue asking @designatednerd to update this document. 😃

Short-Term

These are things we plan to be working on within the next 3 months.

  • Swift Codegen Rewrite, Continued: As outlined in much greater detail in the RFC issue, we're rewriting our code generation. This has taken somewhat longer than expected, but the following phases are still in progress:

    • Start generating code with Swift instead of Typescript. This will allow much easier community contribution to code generation, and allow us to take on a bunch of improvements like Hashable, Equatable, and potentially Identifiable without having to fight with Typescript to do it.
    • Add immutable caching to new generated code. Caching is currently heavily tied into our existing parsing mechanism. We're going to separate that out in two phases: The first will allow caching that cannot be changed by the consumer.
    • Add mutable caching to new generated code. This is the final stage of updating caching: Allowing caching that can be changed by the consumer.
    • Remove Old Codegen. Once all this is built, older codegen will be deprecated.

    You can follow this effort through the Swift Codegen GitHub project.

  • Updated Networking Architecture: We've seen some significant limitations of using a delegate-based system crop up, particularly in terms of flexibility. We'll be outlining and working on a new architecture that uses something somewhat similar to Apollo Link on the web and ApolloInterceptor on Android, to allow you to intercept and modify both outgoing network requests and the responses to those requests.

    Please keep an eye out for an RFC coming later this summer with significantly more detail in the Issues tab.

  • New Apple Software Support: It's that time of year! We'll be carefully working with betas of Xcode 12, iOS 14, and other related software to make sure everything still works on those versions. Check back after WWDC for updates on whether there are new technologies we plan to support.

  • General bug-bashing: There's still a few outstanding general issues and small feature requests I'd like to address, and we'll be dealing with any new issues as they come up.

Long-Term

These are things we plan to be working on beyond the next 3 months.

We're very open to any help we can get on these if your goals would be advanced by making these things work better sooner.

  • Dependency Manager test suite. We've seen a few issues around things that work well for at least one of the three major iOS dependency managers, but causes problems in others. We plan to make a repo that we can use to automatically test for common issues against new versions of the library on CocoaPods, Carthage, and Swift Package Manager before they're released.

  • Wrapper libraries. A very highly voted suggestion in our fall 2019 developer survey was wrapper libraries for concurrency helpers like RxSwift, Combine, and PromiseKit.

    Note that we are not locked into any particular set of other dependencies to support yet, but we anticipate these will be wrappers in a separate repository that have Apollo as a dependency. As individual wrappers move into nearer-term work, we'll outline which specific ones we'll be supporting.