Releases: apollographql/apollo-kotlin
v1.2.0
Important: this release removes usage of old code generator (https://www.npmjs.com/package/apollo-codegen) entirely. This is point of no return.
Remove old NPM code generator (#1555)
Resolve null pointer exception on detail screen (#1591)
Supress "UNUSED_ANONYMOUS_PARAMETER" to prevent warnings in generated Kotlin code (#1595)
Coroutines: add ApolloCall.toFlow()
(#1581)
Add option for outputting transformed queries (#1599)
Fix Fragments map function skip possible types check (#1608)
Place directives after arguments in field source (#1615)
fix exception throw due to adding httpBody to get request. (#1598)
Allow shared custom types (#1592)
Fix query duplicated fields by merging them (#1618)
Proper merge fields (#1624)
Fix issue with bad wrapping for EnumType Kotlin code generation (#1625)
Add support for introspection queries (#1626)
Rework transformed query output to include separate fragments (#1631)
Report if fragment can't be spread (#1633)
Fix issue with stack overflow when parsing circle referenced input types (#1643)
v1.1.3
v1.1.2
v1.1.1
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
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
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
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
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
v1.0.0-alpha4
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)