apollo-android v3.0.0 Release Notes
-
2021-12-15
๐ This is the first stable release for ~Apollo Android 3~ Apollo Kotlin 3 ๐!
๐ There is documentation, โก๏ธ a migration guide and a blog post coming soon (we'll update these notes when it's out).
In a nutshell, Apollo Kotlin 3 brings:
- ๐ coroutine APIs for easier concurrency
- ๐ multiplatform support makes it possible to run the same code on Android, JS, iOS, MacOS and linux
- ๐ responseBased codegen is a new optional codegen that models fragments as interfaces
- SQLite batching makes reading from the SQLite cache significantly faster
- ๐ Test builders offer a simple APIs to build fake models for your tests
- ๐ The @typePolicy and @fieldPolicy directives make it easier to define your cache ids at compile time
- ๐ The @nonnull directive catches null values at parsing time, so you don't have to deal with them in your UI code
๐ Feel free to ask questions by either opening an issue on our GitHub repo , joining the community or stopping by our channel in the KotlinLang Slack(get your invite here).