Skip to content

Releases: apollographql/apollo-kotlin

v0.4.0

27 Jul 00:41
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

Apollo Android v0.4.0

Fix stackoverflow crash in clearing normalized cache, make clear httpcache public (#563)
Handle list with null items (#567)
Add invalidate cached item by key from Apollo store (#568)
Change CacheControl to Interceptor based Fetcher (#556)
Generate operation id and add option to send to server instead of document (#569)
Introduce Apollo Store Operation (#573)
Input field marshaller (#576)
Replace Moshi with generated marshaller for operation json serialization (#578)
Fix issue with serializing list of objects (#580)
Remove Moshi from cache layer (#582)
Builder improvements proposal (#421)
Model ApolloCall/Query/Fetcher state as FSM (#577)
Fix issue with ArrayIndexOutOfBoundsException for list items with null (#586)
Second attempt to fix ArrayIndexOutOfBoundException (#587)

v0.3.3

11 Jul 02:27
Compare
Choose a tag to compare
v0.3.3 Pre-release
Pre-release

Apollo Android v0.3.3

Introduce Apollo store write API for GraphQL operation/fragment
Add flag that indicates whether response came from cache or not

v0.3.2

16 Jun 00:07
Compare
Choose a tag to compare
v0.3.2 Pre-release
Pre-release

Apollo Android v0.3.2

#522 Fix missing symbol for input type with default enum value
#524 Fix issue parentType.getFields is not a function for apollo-codegen
#526 Add JavaDoc generation for input types

v0.3.1

12 Jun 22:18
Compare
Choose a tag to compare
v0.3.1 Pre-release
Pre-release

Apollo Android v0.3.1

#426 Add memoizing toString()/hashCode()
#440, #481 Fix package prefixes
#434 Make generated class structure even more flat
#439 Generate fields javadocs from schema description
#428 Feature application interceptors
#445 Display output of apollo-integration task
#447 Emit whole response instead just data in Rx wrapper
#444 Docs for classes in apollo-api module
#471 ApolloParseException is thrown in case response json data field is null
#458 Custom cache key resolver
#472 CustomTypeAdater cannot map to scalar type
#475 Apply the apollo plugin at an earlier stage
#414 Add CacheHeaders
#473 Introduce ApolloCallCanceledException
#480 Read operation/fragment from store
#485 Refactor HttpCache
#494 Builder for no parameters
#461 Add a schema introspection task
#499 Add Java8 Optional generation
#491 Prepare for query re-fetching
#500 Remove unnecessary null check from equals/hashcode
#505 Handle Java reserved words
#504 Introduce explicit re-fetch query for mutation operation
#506 Add custom GraphQL error attributes
#469 Espresso idling resource for Apollo GraphQL client
#515 Fix bug with input type builder assigning double to int
#509 Add re-fetch query watchers
#517 Add Deprecated annotation generation

v0.3.0

16 Apr 22:12
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Apollo Android v0.3.0

#368 Refactor package structure
#379 Introduce ApolloExceptions
#388 Java docs
#392 Flatten class generation
#396 Rename Cache to ApolloStore, CacheStore to Normalized cache; Add ability to clearAll from CacheStore
#405 Add Factory to create NormalizedCaches injected with Scalar adapters
#409 Extract Android specific stuff to separate module
#410 Add Java 8 Optional Api map, flatmap
#407 RxJava2 Module

v0.2.2

29 Mar 22:59
Compare
Choose a tag to compare
v0.2.2 Pre-release
Pre-release

Apollo Android v0.2.2

Introduces a new ApolloClient API with caching and RxJava support

#218 Remove apollo-converter
#230 Drop stream response reader support
#226 Allow multiple schema files
#245 Make ApolloClient generic, add CallAdapter
#246 Cache interceptor
#260 Add Normalized Cache structure and Response normalization
#298 SqlStore
#312 Add Query Watching
#313 Introduce Apollo dispatcher for async calls
#322 Generate Optional instead of null
#330 Add read/write transactions to cache interface
#331 Make Response object return optional if such config selected
#339 Add global configuration for cache control
#340 Fix singularize for list only
#341 RxJava1 bindings
#342 Add record field serialization
#348 Add bounded memory LRU cache
#365 Response body empty when HttpException throw
#363 Handle missing record in SqlStore
#371 use compiled sql statements, use update for merge

v0.2.1

20 Feb 00:49
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release

Apollo Android v0.2.1

This will be the latest version that depends on Retrofit. We are currently working on an ApolloClient with Caching which will depend only on Okhttp.

#213 Keep enum const case the same as defined in schema
#211 update the sample with ResponseFieldMappers.MAPPERS
#207 Fix generation enum javadoc with special symbol
#202 Generate map initialized with POJO Mappers
#176 update the README.md to 0.2.1
#200 Drop wildcard generation for lists
#191 Fix generation of nested structures with the same name results in compiler errors
#197 update the setup instructions
#193 Equals and hashcode for POJO
#194 Fix issue with union type
#192 Add toString method generation for POJO
#188 Add final keyword generation for pojo fields
#187 Add missing cast to String for enum field
#182 Fix issue with import object for custom scalar type
#181 Add missing annotation generation
#178 Enable Mapper class generation for abstract models
#177 Add fallback to Object in case if there is no custom scalar type mapping specified
#174 Update sample with latest changes to converter
#168 Move :apollo-converters:pojo to apollo-converter
#165 Add support of handling custom scalar types to OperationRequest
#163 Update sample app with the latest changes to compiler
#156 Update Mapper generation to use factories
#160 Use the same artifactids and jar name as on sonatype
#150 use proper singularized version of species in the sample
#157 Refactor API Field
#158 Fix missing factory accessor method for fragments
#141 fix Fragment class imports in Operation code generation

v0.1.0

02 Feb 22:23
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

Apollo Android initial release v0.1.0

This is the very first release of Apollo Android.
It provides a basic support for GraphQL model generation. The Android plugin will generate "plain old Java objects" that represent your query according to the schema.json file provided.
We are still working on the documentation (readme, javadocs, etc.) so, in the meantime, please refer to the existing sample project and unit/integration tests for examples of how to use the plugin.