apollo-android v2.4.1 Release Notes

Release Date: 2020-10-05 // over 3 years ago
  • ๐Ÿ”– 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!