Commit Graph

  • f49f677bfc Suppress common warnings in generated classes (#1028) Zac Sweers 2019-11-17 09:40:49 -05:00
  • f7dbde2114 Upgrade to KotlinPoet 1.4.4 (#1027) Jesse Wilson 2019-11-16 22:54:29 -05:00
  • 4241918d6b Handle enclosing visibility + cache metadata parsing (#1026) Zac Sweers 2019-11-16 22:27:25 -05:00
  • ca207b2e06 Revert "Don't allow toJson() serialization on polymorphic defau… (#1025) Jesse Wilson 2019-11-16 22:04:57 -05:00
  • fde0ce0eb5 Fixed typo in readme (#1018) Andrew Orobator 2019-11-12 17:12:58 -05:00
  • d25abb1ee5 Fix incorrect type variance being applied on generated adapters (#1010) Zac Sweers 2019-11-08 14:35:13 -08:00
  • 3c0e3edff3 Merge pull request #994 from square/z/defaultToJson Zac Sweers 2019-11-03 15:32:50 -05:00
  • 7cf365cdbf Fix nullable properties (#992) Zac Sweers 2019-11-02 21:55:20 -04:00
  • fe34a577e7 Check against non-nullable known primitives when rendering class… (#993) Zac Sweers 2019-11-02 15:15:29 -04:00
  • c8c7121e76 Unwrap nested typealiases in code gen (#996) Zac Sweers 2019-11-02 09:43:08 -04:00
  • 6323a0b7c8 Don't allow toJson() serialization on polymorphic default values Zac Sweers 2019-10-31 15:13:22 -04:00
  • 541b53964c Add abstract function note to 1.9.1 changelog Zac Sweers 2019-10-30 23:34:36 -04:00
  • 878e9a86d6 [maven-release-plugin] prepare for next development iteration Jesse Wilson 2019-10-30 23:26:50 -04:00
  • 0af27a39a6 [maven-release-plugin] prepare release moshi-parent-1.9.1 Jesse Wilson 2019-10-30 23:26:43 -04:00
  • 6ec87f0fc1 Update changelog for 1.9.1. Jesse Wilson 2019-10-30 23:23:29 -04:00
  • 092175ae90 Fix handling of typealiases in non-classname envs + wildcard fix… (#987) Zac Sweers 2019-10-30 21:15:28 -04:00
  • ac789070e8 Merge pull request #988 from square/z/regressionForAbstract Jesse Wilson 2019-10-30 21:11:05 -04:00
  • 9a0294c3a0 Handle non-property parameters in kotlin code gen (#982) Zac Sweers 2019-10-30 21:06:04 -04:00
  • 510d189e4e Add an abstract non-unit function regression for #974 Zac Sweers 2019-10-30 20:24:22 -04:00
  • a384bd0429 KotlinPoet 1.4.3 (#986) Zac Sweers 2019-10-30 19:36:57 -04:00
  • 13c5ac5e26 KotlinPoet 1.4.3 Egor Andreevici 2019-10-30 18:59:09 -04:00
  • 0aacfc7430 Support 32+ parameter constructors in code gen (#978) Zac Sweers 2019-10-30 16:48:00 -04:00
  • 4f1c8a5eda Fix support for classes w/ multiple constructors in code gen (#976) Zac Sweers 2019-10-30 00:39:08 -04:00
  • 6acebfaca6 More documentation on configuring Kotlin Jesse Wilson 2019-10-29 08:18:09 -04:00
  • 55441313cc Update changelog for 1.9.0. Jesse Wilson 2019-10-29 08:12:37 -04:00
  • 4637950bab [maven-release-plugin] prepare for next development iteration Jesse Wilson 2019-10-29 07:57:56 -04:00
  • 0c8005bcee [maven-release-plugin] prepare release moshi-parent-1.9.0 Jesse Wilson 2019-10-29 07:57:49 -04:00
  • d5a43e35f3 Update to KotlinPoet 1.4.2 (#972) Zac Sweers 2019-10-29 07:51:17 -04:00
  • 73bc12735e Merge pull request #970 from square/jwilson.1027.remove_new_k_apis Jesse Wilson 2019-10-28 20:19:11 -04:00
  • c72b856b05 Don't add new public APIs for Kotlin type inference Jesse Wilson 2019-10-27 21:14:00 -04:00
  • ed20823c2f Merge pull request #791 from square/eric.2019-01-15.multiple-transient-constructor-parameters Jesse Wilson 2019-10-27 16:17:03 -04:00
  • efb0fc0923 Support multiple transient properties in KotlinJsonAdapter. Eric Cochran 2019-01-15 10:36:43 -08:00
  • 5912dfaaf6 Merge pull request #966 from square/jwilson.1026.onlyonce Jesse Wilson 2019-10-27 00:04:49 -04:00
  • 53b045eb86 Look up kotlin.Metadata::class only once Jesse Wilson 2019-10-26 23:59:27 -04:00
  • c3cb07989e Merge pull request #965 from square/jwilson.1026.specify_ordering Jesse Wilson 2019-10-26 23:11:38 -04:00
  • 02cf66f129 Specify precedence when a subtype has multiple labels Jesse Wilson 2019-10-26 22:57:00 -04:00
  • 537b22f1c3 Merge pull request #964 from square/jwilson.1026.warn_dont_fail Jesse Wilson 2019-10-26 22:08:49 -04:00
  • eea2981fac Go back to using Unsafe APIs to create instances without constructors. Jesse Wilson 2019-10-26 22:02:49 -04:00
  • 2a79428891 Merge pull request #963 from jzbrooks/kotlin-enum-values Zac Sweers 2019-10-26 15:05:17 -04:00
  • 01b7ea4ba2 Update to KotlinPoet 1.4.1/Kotlin 1.3.50 (#956) Zac Sweers 2019-10-26 15:04:51 -04:00
  • 8460155dc5 Keep synthesized values() for EnumJsonAdapter Justin Brooks 2019-10-26 12:20:11 -05:00
  • 870fee4332 Generate optimized toString() (#957) Zac Sweers 2019-10-19 16:11:51 -04:00
  • 2cf3f0204c Merge pull request #943 from square/jakew/value-sink/2019-09-27 Jesse Wilson 2019-10-17 23:45:38 -04:00
  • b4e6715248 Added codegen support for inline classes (#923) Burkhard Mittelbach 2019-10-17 00:17:23 +02:00
  • ae8b62b3ee Fix TypeVariable/WildcardType recursion causing stackoverflows (#948) Zac Sweers 2019-10-15 18:01:48 -04:00
  • 3816dbda74 Add JsonWriter.valueSink for streaming data Jake Wharton 2019-09-27 10:01:08 -04:00
  • dbed99d71b Fix @field:Json parameters annotations always taking precedence (#946) Zac Sweers 2019-10-05 21:26:43 -04:00
  • 9dc331f20c Update kotlin-compile-testing to 1.2.3 Zac Sweers 2019-09-30 22:52:19 -04:00
  • 666d87be65 added test for internal property without backing field (#921) (#947) Burkhard Mittelbach 2019-10-05 22:51:48 +02:00
  • f51de08caf added test for transient delegate in kotlin code gen (#922) (#942) Burkhard Mittelbach 2019-10-05 22:50:34 +02:00
  • 7804d74318 Report json name if different from property name in kotlin (#917) Zac Sweers 2019-09-30 23:04:21 -04:00
  • 336ca952b0 Use char literals for array and object start/end (#944) Zac Sweers 2019-09-30 15:27:38 -04:00
  • ecb7083abf Use char literals for array and object start/end Jake Wharton 2019-09-30 14:40:12 -04:00
  • 52aaf9cc84 Merge pull request #933 from square/z/throwOnMissingTypeVars Jesse Wilson 2019-09-26 21:57:23 -04:00
  • 20aa604489 Merge pull request #940 from square/jakew/skip-name-message/2019-09-26 Jesse Wilson 2019-09-26 21:56:49 -04:00
  • 12d37ffdc3 Point at the offending name when failing on unknown Jake Wharton 2019-09-26 20:36:31 -04:00
  • 86736461c6 Fix misspelled codgen package in tests (#937) Zac Sweers 2019-09-25 23:48:31 -04:00
  • 902a935f89 Shade kotlinpoet-metadata and kotlinx-metadata (#936) Zac Sweers 2019-09-25 23:15:06 -04:00
  • 54d07b6cbf Migrate to KotlinPoet-metadata (#903) Zac Sweers 2019-09-25 22:22:44 -04:00
  • 5f98e93698 Switch to kotlin-compile-testing for JsonClassCodegenProcessorTe… (#928) Zac Sweers 2019-09-25 16:41:31 -04:00
  • 96fe3e1417 Throw on missing type variables in Types.newParameterizedType* methods Zac Sweers 2019-09-24 18:27:36 -04:00
  • c0639316b1 Don't try to access unsafe APIs on android 29+ (#913) Zac Sweers 2019-09-24 16:05:12 -04:00
  • 1e541fc66c Use raw type for kclass references in dynamic invocation code gen (#911) Zac Sweers 2019-09-12 21:55:47 -04:00
  • dd0e3807d3 Fail on sealed classes in KotlinJsonAdapterFactory and code gen (#914) Zac Sweers 2019-09-12 20:38:46 -04:00
  • a67b4d6a72 Inline mask generation and constructor invocation (#908) Zac Sweers 2019-09-12 16:42:31 -04:00
  • 7a4f3513a1 Don't generate generic type information in adapter lookup (#919) Zac Sweers 2019-09-12 16:29:53 -04:00
  • 489b178a9b Only add constructor property if it will be used (#918) Zac Sweers 2019-09-12 16:07:41 -04:00
  • 71cf745852 Don't re-wrap nullsafe/nonnull adapters if they are already one (#909) Zac Sweers 2019-09-12 14:14:49 -04:00
  • 98092d0727 Update KotlinPoet to 1.3.0 (#915) Zac Sweers 2019-09-12 14:13:23 -04:00
  • 1978581b3d Make Rfc3339DateJsonAdapter null-safe (#910) Zac Sweers 2019-09-11 07:22:02 -04:00
  • c820314107 Followups from #896 (#907) Zac Sweers 2019-09-11 04:55:24 -04:00
  • ea300997a1 Decouple code gen API from apt and kotlin-metadata (#816) Zac Sweers 2019-09-08 21:24:10 -04:00
  • 5a4530b7d9 Fast followups from #899 (#901) Zac Sweers 2019-09-08 19:15:02 -04:00
  • 619be26e95 Refactor missing/null properties to helper utils instead (#900) Zac Sweers 2019-09-08 17:36:58 -04:00
  • 329d0e14b0 Invoke defaults constructor in kotlin code gen (#896) Zac Sweers 2019-09-08 17:24:25 -04:00
  • 711de52ae1 Clean up warnings in KotlinJsonAdapter (#899) Zac Sweers 2019-09-04 21:39:35 -04:00
  • 7f720c03c9 Merge pull request #898 from ZacSweers/z/excludeMore Jake Wharton 2019-09-04 21:12:58 -04:00
  • 319d7c8bd5 Don't reflect on kotlinx and update doc Zac Sweers 2019-09-04 20:58:56 -04:00
  • 9db91f2dce Kotlin-reflect QoL APIs (#875) Zac Sweers 2019-09-04 20:24:59 -04:00
  • 73cc9656ba Merge pull request #876 from ZacSweers/z/rawTypeMessage Jake Wharton 2019-09-04 14:16:56 -04:00
  • 6ffb94647b Switch to openjdk8 for travis builds (#885) Zac Sweers 2019-08-07 22:56:03 -04:00
  • 25fcbb2637 Improve message and match in tests Zac Sweers 2019-07-08 12:40:55 -04:00
  • aea8675252 Pass raw type rather than possibly-generic type in platform type error Zac Sweers 2019-07-02 18:22:39 -04:00
  • 687acba760 removed limitation where subtypes should be unique (#856) Nuno Gomes 2019-06-20 16:39:19 +01:00
  • 54c44c5570 Merge pull request #871 from ZacSweers/z/kotlin1340 Jesse Wilson 2019-06-19 21:47:41 -04:00
  • 6a1a15b974 Update to Kotlin 1.3.40 Zac Sweers 2019-06-19 20:06:50 -05:00
  • 10ac30b0ed Merge pull request #868 from sullis/maven-compiler-plugin-3.8.1 Jesse Wilson 2019-06-19 06:38:45 -04:00
  • 0142e2aaf0 maven-compiler-plugin 3.8.1 Sean Sullivan 2019-06-18 17:00:31 -04:00
  • f1965f0f46 Merge pull request #821 from Syeberman/sye/covariant-map-values Jesse Wilson 2019-06-06 10:49:51 -04:00
  • 7e417840e2 Support covariant Map values, which are used by Kotlin Sye van der Veen 2019-04-30 11:12:04 -04:00
  • 0943ef5a61 Allow custom generators (#847) Zac Sweers 2019-05-15 20:42:08 -04:00
  • a5020ddb3c Support gradle incremental processing in code gen (#824) Zac Sweers 2019-04-17 18:12:11 -07:00
  • 11a547023c Merge pull request #834 from square/jakew/dont-wrap/2019-04-10 Jesse Wilson 2019-04-10 08:38:38 -07:00
  • bcb6fd4a4d Don't wrap between throw and exception type Jake Wharton 2019-04-10 10:28:30 -04:00
  • 3994723c3c Use StringBuilder to deduplicate String constants Oliver Bestmann 2019-03-27 18:51:14 +01:00
  • 30c973e494 Merge pull request #825 from square/z/kotlin13 Zac Sweers 2019-03-25 20:00:40 -07:00
  • 1c3dc89da1 Update to Kotlin 1.3.21 Zac Sweers 2019-03-25 19:44:03 -07:00
  • 3e848c0cdd Use KotlinPoet's MemberName for emptySet import. (#818) Eric Cochran 2019-03-14 02:57:08 -07:00
  • be6f3eb2af Unconditionally close the peeked JsonReader. (#810) Eric Cochran 2019-02-17 17:00:29 -08:00
  • a83a9b79e4 Use peekJson in the DefaultOnDataMismatchAdapter example. (#809) Eric Cochran 2019-02-15 17:09:50 -08:00