SDKActive

Apollo Kotlin 5

Apollo Kotlin 5 is an incremental evolution of Apollo Kotlin 4, with a new normalized cache, rewritten WebSockets, and removed deprecated artifacts.

Open source page

Product features

Product features

Data Builders

Data Builders have been modified (details not provided).

Gradle Plugin Classloader Isolation

Apollo Gradle Plugin now uses classloader isolation and ServiceLoader API for compiler plugins.

New Normalized Cache

Replaced by a new implementation with pagination, expiration, garbage collection, trimming, and partial results.

Nullability Handling

Introduced @semanticNonNull and @catch for better nullability handling.

Removed Deprecated Artifacts

Removed apollo-gradle-plugin-external, downloadApolloSchema, apollo-idling-resource, and deprecated apollo-http-cache.

Rewritten WebSockets

WebSocket code rewritten with new package and default protocol graphql-ws.

Semantic NonNull

Fields nullable only for error reasons can be marked with @semanticNonNull and handled with @catch.