Version 2.4.1 brings a bunch of bug fixes, support for Gradle configuration cache and better Apollo Studio integration.
Gradle configuration cache
Apollo Android now supports Gradle configuration cache. Configuration cache is still an incubating Gradle feature. If you notice any warning in your builds, please file an issue
Studio integration
Users of Apollo Studio can now use the built-in ApolloClientAwarenessInterceptor
to get more insights about their Android clients. Check the related documentation for more details how to do this.
Also, the Gradle plugin can now download schemas from the registry in addition to using introspection. To download a schema from the registry, use the --graph
argument:
./gradlew downloadApolloSchema --graph $APOLLO_GRAPH --key $APOLLO_KEY --schema schema.[json | sdl]
Full Changelog
✨ New
[Gradle Plugin] add registry download (#2617)
[Runtime] add a client awareness OkHttp interceptor (#2603)
[Gradle Plugin] configuration cache compatibility (#2608)
👷 Fixes
[Compiler] fix line wrapping on long lines with forEach
lambda. (#2621)
[Compiler] fix cache key for arguments that contain lists (#2592)
[Gradle Plugin] fix absolute paths in windows (#2615)
⚙️ Internal
[Runtime] Fix some operation log calls (#2599)
❤️ External contributors
Many thanks to @SamuelFrankSmith, @BenSchwab, @moshkit, @annieechen for their awesome work on codegen, runtime, documentation and help keep the project in good shape in general!