apollo-android v2.4.6 Release Notes

Release Date: 2020-11-30 // about 1 year ago
  • 🔖 Version 2.4.6 is a minor release with fixes around multiplatform, normalized cache and others. Many thanks to @tylerbwong and @lwasyl for their work on the metalava integration and enum serialization respectively.

    Full Changelog

    [Normalized cache] Add interface for classes generated for enum types and fix sealed classes json representation (#2776)
    🔧 [Multiplatform] fix NSURLSession configuration (#2777)
    ✅ [Test] adding test coverage (#2770)
    ⏪ [Runtime] revert to okhttp 3 to support older versions of Android (#2769)
    🔌 [Gradle Plugin] make convertApolloSchema never up-to-date (#2761)
    [Multiplatform] Do not use Java8 Duration (#2767)
    🏗 [Build scripts] Fix error.NonExistentClass in Metalava Signature Files (#2755)
    📦 [codegen] Honor packageName for schema types as well (#2759)

Previous changes from v2.4.5

  • 🔖 Version 2.4.5 is a minor release with Gradle plugin improvements for manipulating schemas as well as a few other bugfixes.


    You can now convert your schema from Json to SDL and vice-versa:

    ./gradlew convertApolloSchema --from schema.json --to schema.sdl


    📄 You can now push a schema to your Apollo Studio registry:

    ./gradlew uploadApolloSchema --key $key --graph $graph --schema schema.sdl

    Full Changelog

    🍱 ✨ New

    🔌 [Gradle Plugin] add ./gradlew convertApolloSchema --from schema.json --to schema.sdl (#2757)
    🔌 [Gradle plugin] Add pushApolloSchema (#2737)
    [Publishing] add version and a few other attributes to the jar Manifest (#2736)
    👍 [Runtime] Introduce custom error class for better error handling (#2751)

    🛠 👷‍ Fixes

    [Codegen] Fix capitalized field names in input objects (#2746)