Skip to content

Releases: apollographql/apollo-kotlin

v1.1.3

03 Sep 00:52
bdbc209
Compare
Choose a tag to compare

Fix issue with checking if one type is assignable from another (#1570)

v1.1.2

02 Sep 20:04
e627fc0
Compare
Choose a tag to compare

Fix issue with reference to variable from array argument (#1561)
Fix issue with missing fragment specification for top level inline fragment (#1562)
Add validation for inline fragment type condition (#1565)

v1.1.1

27 Aug 17:28
f94c7a2
Compare
Choose a tag to compare

Fix issue with deep nested referenced fragments (#1530)
Make Data wrapper node to be optional for schema introspection json (#1531)
Update ANTLR grammar to make separator optional in inline input values (#1532)
Fix issue with deep transitive referenced input types not generated (#1535)
Fix issue with duplicated fragment definition in query (#1536)
Fix 1522 package name regression (#1544)
Add more descriptive message for non supported anonymous operations (#1546)

v1.1.0

22 Aug 23:27
c579d50
Compare
Choose a tag to compare

Importent: there 2 major changes introduced by this release:

  • minimum supported Gradle version is bumped up to 5.1.1
  • new code generation engine (enabled by default) that doesn't depend on Node JS Apollo codegen module. If you run into any issues with new engine and want to switch back to old one, set system build property apollographql.useExperimentalCodegen to false: apollographql.useExperimentalCodegen=false.

In next release old code generation engine will be removed completely.

New code generation engine (#1482, #1484, #1488, #1491, #1493, #1499, #1500, #1505, #1512)
Modernize build and fix deprecated gradle API usages (#1476)
Drop Rx1 support (#1508)
Enable new code gen by default (#1515)

v1.0.2

26 Jul 17:45
44d5255
Compare
Choose a tag to compare

Breaking Changes: Having systemProp.apollographql.useGlobalApolloCodegen=true will require you to have apollo-codegen globally installed and will not fallback to local installation anymore.

Avoid possible types verification generation for non optional fragments (#1410)
Generate Java annotation to suppress unchecked warnings for marshaller (#1422)
Generate Kotlin input type models as data classes (#1421)
Fix issue with Kotlin code generation to read optional enum type (#1428)
Add visitor spec to generate visitor interface and compatible visitor method for Java (#1414)
Don't send content type JSON for GET requests (#1431)
Add types to prevent warnings in the IDE (#1450)
Fix NPE with httpcall been released before execution (#1442)
Fix: Speed up build configuration time (#1451)

Release 1.0.1

01 Jul 03:31
6562102
Compare
Choose a tag to compare

Support graphql file upload (#1286)
Fix bad line wrapping for enum safeValueOf Kotlin model generation (#1304)
Fix operation wrapData to accept optional argument for Kotlin models (#1303)
Fix issue with wrong operation name generated for Kotlin models (#1308)
Fix code generation for input list fields marshaling (#1310)
Use Any instead of Object in unmapped custom scalar types (#1309)
Enable file upload in nested object (#1313)
Make npm install and code gen tasks cacheable (#1338)
Add support of .gql file extension (#1341)
Propagate network error for CacheAndNetworkFetcher (#1342)
Don't send extensions in query payload when auto persistence disabled (#1340)
Fix usages of internal OkHttp APIs (#1357)
Fix issue with Kotlin model generation for non nullable lists (#1361)
do not try to compile java files if we don't generate any (#1353)
Add support to exclude GraphQL files (#1374)
Support send HttpGetMethod for Persisted Queries (#1376)
Move after evaluate down to the place where it really needed (#1396)

v1.0.0

14 May 03:47
a19c7a3
Compare
Choose a tag to compare

Notify subscription server connection open (#1212)
Use separate packageNames for separate modules. (#1208)
Fix the name of the artifact (#1199)
Fix the ConcurrentModificationException in RealSubscriptionManager#stop (#1214)
Updated compile to implementation in gradle (#1220)
Updated "Downloading a Schema" (#1225)
Preserve null list items when parsing the response (#1211)
Added null check for response 'data' field before parsing payload (#1216)
Add support of Kotlin model generation (#1102)
Update gradle version + fix issue with enum (#1266)
Fix optional input type description (#1269)
Fix Input type marshalling Kotlin code gen (#1270)
Replace JSR250 dependency annotation with plain comment. (#1279)
Provide configuration to send query as HTTP GET (#1291)
Try to fix issue with local Apollo codegen CLI not found error (#1294)

v1.0.0-alpha5

28 Jan 16:40
b34fbfc
Compare
Choose a tag to compare

Fix issue with operation id doesn't match the SHA of query (#1185)
Notify subscription listener when connection is terminated (#1175)
Coroutines extensions (#1169)
Stop subscriptions (#1025)

v1.0.0-alpha4

08 Jan 02:52
e3205fc
Compare
Choose a tag to compare

Fix issue operation constructor argument with NotNull annotation (#1117)
Address warnings for apollo configuration extension (#1121)
Skip out-of-date directories/folders, process files only (#1125)
Make plugin resistant to applying order (#1120)
Fix issue with warnings for extension properties access right (#1128)
Fix clash of names when GraphQL schema defines own Operation object (#1129)
Fix for Input class equal method (#1138)
Capitalize generated class name for GraphQL enum type (#1148)
Add support for Auto Persisted Queries (#1137)
Fix issue with operation id doesn't match query document (#1167)
Remove forcing fragments with inline fragments to be always nullable (#1168)

v1.0.0-alpha3

13 Nov 21:19
a806bb9
Compare
Choose a tag to compare

Fix mistyped property name (#1033)
Fix issue field type generated with lowercase (#1051)
Handle ApolloCacheHeaders.DO_NOT_STORE in http cache. (#1050)
Handle lowercase enum as default value in input objects (#1058)
Fix issue class name formatted with lower case after singularize it (#1059 #1056)
Added support for Instant Apps (#1067)
Added support for com.android.feature plugin (#1070)
Add transient modifier to all generated metafields (#1086)
Rx support for ApolloStoreOperation (#1073)