cookpad / LicenseToolsPlugin

Gradle plugin to check library licenses and generate license pages for Android
Apache License 2.0
174 stars 29 forks source link

Update dependency com.squareup.moshi:moshi-kotlin-codegen to v1.11.0 #65

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Update Change
com.squareup.moshi:moshi-kotlin-codegen minor 1.9.2 -> 1.11.0

Release Notes

square/moshi ### [`v1.11.0`](https://togithub.com/square/moshi/blob/master/CHANGELOG.md#Version-1110) _2020-10-04_ - New: Kotlin extension functions and properties. Use of these extensions is only possible from Kotlin, and requires the Kotlin stdlib dependency. This release does not have any Kotlin requirement and can be used Kotlin-free from Java. ```kotlin /** Extension alternative to [Types.nextAnnotations()]. */ fun Set.nextAnnotations(): Set? /** Extension alternative to [Types.getRawType()]. */ val Type.rawType: Class<*> /** Extension alternative to [Types.arrayOf()]. */ fun KClass<*>.asArrayType(): GenericArrayType /** Extension alternative to [Types.arrayOf()]. */ fun Type.asArrayType(): GenericArrayType ``` - New: Experimental Kotlin extensions. These depend on unreleased APIs and may break in a future release of Kotlin. If you are comfortable with this, add `@ExperimentalStdlibApi` at the callsite or add this argument to your Kotlin compiler: `"-Xopt-in=kotlin.ExperimentalStdlibApi"`. ```kotlin /** Returns the adapter for [T]. */ inline fun Moshi.adapter(): JsonAdapter /** Returns the adapter for [ktype]. */ fun Moshi.adapter(ktype: KType): JsonAdapter /** Adds an adapter for [T]. */ inline fun Moshi.Builder.addAdapter(adapter: JsonAdapter): Moshi.Builder /** Extension alternative to [Types.arrayOf()]. */ fun KType.asArrayType(): GenericArrayType /** Extension alternative to [Types.subtypeOf()]. */ inline fun subtypeOf(): WildcardType /** Extension alternative to [Types.supertypeOf()]. */ inline fun supertypeOf(): WildcardType ``` - New: `JsonReader.nextSource()`. This returns an Okio `BufferedSource` that streams the UTF-8 bytes of a JSON value. Use this to accept JSON values without decoding them, to delegate to another JSON processor, or for streaming access to very large embedded values. - New: `Moshi.Builder.addLast()`. Use this when installing widely-applicable adapter factories like `KotlinJsonAdapterFactory`. Adapters registered with `add()` are preferred (in the order they were added), followed by all adapters registered with `addLast()` (also in the order they were added). This precedence is retained when `Moshi.newBuilder()` is used. - New: `setTag()`, `tag()` methods on `JsonReader` and `JsonWriter`. Use these as a side-channel between adapters and their uses. For example, a tag may be used to track use of unexpected data in a custom adapter. - Fix: Don't crash with a `StackOverflowError` decoding backward-referencing type variables in Kotlin. This caused problems for parameterized types like `MyInterface>`. - Upgrade: [Okio 1.17.5][okio_1_7_5]. - Upgrade: [Kotlin 1.4.10][kotlin_1_4_10]. ### [`v1.10.0`](https://togithub.com/square/moshi/blob/master/CHANGELOG.md#Version-1100) _2020-08-26_ - New: Upgrade to Kotlin 1.4.0. - New: `JsonReader.promoteNameToValue()` makes it easier to build custom `Map` adapters. - New: `Options.strings()`. - New: `PolymorphicJsonAdapterFactory.withFallbackJsonAdapter()` makes it possible to handle unrecognized types when encoding and decoding. - New: Add `JsonWriter.jsonValue` API - New: Code gen now generates precise proguard rules on-the-fly. - New: Improve error when incorrectly trying to use a collection class like `ArrayList` instead of `List` - Fix: Prevent R8 from keeping all `@Metadata` annotations - Fix: Avoid VerifyErrors on Android 4.4 devices when using R8 - Fix: Fix resolution of types in superclass settable properties ### [`v1.9.3`](https://togithub.com/square/moshi/blob/master/CHANGELOG.md#Version-193) _2020-06-11_ - Fix: Tweak a shrinker rule to mitigate an R8 bug which was causing classes unrelated to the Kotlin adpater code generation to be retained. - Fix: Ensure that the Kotlin adapter code generation does not line wrap in the middle of a string if your JSON keys contain spaces. - Fix: Strip type annotations before emitting type references like `Foo::class` in the Kotlin adapter code generation. - Fix: Separate the runtime check for Kotlin's `DefaultConstructorMarker` from the check for `Metadata`. A shrinker may have removed `Metadata` and we should still check for `DefaultConstructorMarker`.

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

k4zy commented 3 years ago

duplicated: https://github.com/cookpad/LicenseToolsPlugin/pull/63

renovate[bot] commented 3 years ago

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will now ignore this update (1.11.0). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the ignoreDeps array of your renovate config.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.