apollo-android v2.4.6 Release Notes

Release Date: 2020-11-30 // 11 months 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)