android / architecture-samples

A collection of samples to discuss and showcase different architectural tools and patterns for Android apps.
Apache License 2.0
44.3k stars 11.62k forks source link

Update kotlin #919

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.devtools.ksp (source) 1.7.21-1.0.8 -> 1.8.10-1.0.9 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-serialization-json 1.4.1 -> 1.5.0 age adoption passing confidence
org.jetbrains.kotlin.kapt (source) 1.8.0 -> 1.8.10 age adoption passing confidence
org.jetbrains.kotlin.plugin.serialization (source) 1.8.0 -> 1.8.10 age adoption passing confidence
org.jetbrains.kotlin.jvm (source) 1.8.0 -> 1.8.10 age adoption passing confidence
org.jetbrains.kotlin.android (source) 1.8.0 -> 1.8.10 age adoption passing confidence
org.jetbrains.kotlin:kotlin-gradle-plugin (source) 1.8.0 -> 1.8.10 age adoption passing confidence
org.jetbrains.kotlin:kotlin-stdlib-jdk8 (source) 1.8.0 -> 1.8.10 age adoption passing confidence
androidx.compose.compiler:compiler (source) 1.4.0 -> 1.4.3 age adoption passing confidence

Release Notes

google/ksp ### [`v1.8.10-1.0.9`](https://togithub.com/google/ksp/compare/1.8.0-1.0.9...1.8.10-1.0.9) [Compare Source](https://togithub.com/google/ksp/compare/1.8.0-1.0.9...1.8.10-1.0.9) ### [`v1.8.0-1.0.9`](https://togithub.com/google/ksp/releases/tag/1.8.0-1.0.9) [Compare Source](https://togithub.com/google/ksp/compare/1.8.0-1.0.8...1.8.0-1.0.9) #### New Features - Supported definitely non null type - Added corresponding `KSDefNonNullReference` for definitely non null types. - If you are implementing `KSVisitor` directly, you need to override `visitDefNonNullReference` in your visitor as well. - `excludedProcessors` is added to Gradle extensions to allow excluding certain processors. - `Any?` is added to unbounded type parameters #### Issues fixed - Incremental compilation fails with "Number of loaded files in snapshots differs" [#​1280](https://togithub.com/google/ksp/issues/1280) - Type T & Any can't be analyzed even in the latest version. [#​1127](https://togithub.com/google/ksp/issues/1127) - Can't differentiate between [@​A](https://togithub.com/A)(int.class) and [@​A](https://togithub.com/A)(Integer.class) [#​870](https://togithub.com/google/ksp/issues/870) - Non-embeddable compiler JAR compilations are broken in 1.0.7 [#​1155](https://togithub.com/google/ksp/issues/1155) - Need a way to specify and exclude processors [#​1234](https://togithub.com/google/ksp/issues/1234) - Bug of KSPropertyDeclaration.findOverridee() [#​1182](https://togithub.com/google/ksp/issues/1182) - KSTypeParameter#bounds returns when the bounds is another type parameter [#​1250](https://togithub.com/google/ksp/issues/1250) - Resolved KSTypeParameter doesn't equal the source [#​971](https://togithub.com/google/ksp/issues/971) #### Contributors Thanks for your contributions! [@​3flex](https://togithub.com/3flex) [@​danysantiago](https://togithub.com/danysantiago) ### [`v1.8.0-1.0.8`](https://togithub.com/google/ksp/releases/tag/1.8.0-1.0.8) [Compare Source](https://togithub.com/google/ksp/compare/1.7.22-1.0.8...1.8.0-1.0.8) KSP 1.0.8 for Kotlin 1.8.0. ### [`v1.7.22-1.0.8`](https://togithub.com/google/ksp/releases/tag/1.7.22-1.0.8) [Compare Source](https://togithub.com/google/ksp/compare/1.7.21-1.0.8...1.7.22-1.0.8) KSP 1.0.8 for Kotlin 1.7.22
Kotlin/kotlinx.serialization ### [`v1.5.0`](https://togithub.com/Kotlin/kotlinx.serialization/blob/HEAD/CHANGELOG.md#​150--2023-02-27) \================== This release contains all features and bugfixes from 1.5.0-RC plus some experimental features and bugfixes on its own (see below). Kotlin 1.8.10 is used as a default. ##### HoconEncoder and HoconDecoder interfaces and HOCON-specific serializers These interfaces work in a way similar to `JsonEncoder` and `JsonDecoder`: they allow intercepting (de)serialization process, making writing if custom HOCON-specific serializers easier. New `ConfigMemorySizeSerializer` and `JavaDurationSerializer` already make use of them. See more details in the [PR](https://togithub.com/Kotlin/kotlinx.serialization/pull/2094). Big thanks to [Alexander Mikhailov](https://togithub.com/alexmihailov) for contributing this! ##### Ability to read buffered huge strings in custom Json deserializers New interface `ChunkedDecoder` allows you to read huge strings that may not fit in memory by chunks. Currently, this interface is only implemented by Json decoder that works with strings and streams, but we may expand it later, if there's a demand for it. See more details in the [PR](https://togithub.com/Kotlin/kotlinx.serialization/pull/2012) authored by [Alexey Sviridov](https://togithub.com/fred01). ##### Bugfixes - Improve runtime exceptions messages ([#​2180](https://togithub.com/Kotlin/kotlinx.serialization/issues/2180)) - Added support for null values for nullable enums in lenient mode ([#​2176](https://togithub.com/Kotlin/kotlinx.serialization/issues/2176)) - Prevent class loaders from leaking when using ClassValue cache ([#​2175](https://togithub.com/Kotlin/kotlinx.serialization/issues/2175))
JetBrains/kotlin ### [`v1.8.10`](https://togithub.com/JetBrains/kotlin/releases/tag/v1.8.10): Kotlin 1.8.10 #### Changelog ##### Compiler - [`KT-55483`](https://youtrack.jetbrains.com/issue/KT-55483) K2: Fir is not initialized for FirRegularClassSymbol java/lang/invoke/LambdaMetafactory - [`KT-55729`](https://youtrack.jetbrains.com/issue/KT-55729) "None of the following functions can be called with the arguments supplied:" in 1.8.0 - [`KT-55769`](https://youtrack.jetbrains.com/issue/KT-55769) "ERROR: Could not find accessor": Android DataBinding fails with Kotlin 1.8.0 - [`KT-55308`](https://youtrack.jetbrains.com/issue/KT-55308) InnerClass attributes should be sorted (innermost last) ##### JavaScript - [`KT-56282`](https://youtrack.jetbrains.com/issue/KT-56282) KJS: Invalidate incremental cache in case of compiler internal errors - [`KT-55852`](https://youtrack.jetbrains.com/issue/KT-55852) JS: "IllegalStateException: Unexpected ir type argument" caused by List with star projection type - [`KT-55716`](https://youtrack.jetbrains.com/issue/KT-55716) KJS / IC: "Cannot read properties of undefined" with overriding variables with 1.8.0 - [`KT-55758`](https://youtrack.jetbrains.com/issue/KT-55758) KJS / IR: Checking implemented interface on a class implementing a [@​JsExport](https://togithub.com/JsExport) interface returns the wrong result ##### Reflection - [`KT-56093`](https://youtrack.jetbrains.com/issue/KT-56093) Metaspace leak in a Gradle plugin built with Kotlin 1.8.0 ##### Tools. Compiler plugins. Serialization - [`KT-56347`](https://youtrack.jetbrains.com/issue/KT-56347) \[Kotlin 1.8] Regression kotlinx.serialization compiler plugin internal error - [`KT-55681`](https://youtrack.jetbrains.com/issue/KT-55681) Serialization: NullPointerException after update to 1.8.0 caused by `@Serializer(forClass= ..)` - [`KT-56244`](https://youtrack.jetbrains.com/issue/KT-56244) kotlinx.serialization compiler intrinsic does not work with encodeToString function in 1.8.0 - [`KT-55683`](https://youtrack.jetbrains.com/issue/KT-55683) Serialization: "IllegalStateException: Expected to have a primary constructor" with expect class and companion object - [`KT-55682`](https://youtrack.jetbrains.com/issue/KT-55682) Serialization: "IllegalStateException: Function has no body: FUN name:serializer" with 1.8.0 ##### Tools. Gradle - [`KT-55697`](https://youtrack.jetbrains.com/issue/KT-55697) KGP 1.8.0 adds compileOnly dependencies to unit test compile classpath ##### Tools. Gradle. Multiplatform - [`KT-55730`](https://youtrack.jetbrains.com/issue/KT-55730) MPP / Gradle: compileKotlinMetadata fails to resolve symbols in additional source sets ##### Tools. Gradle. Native - [`KT-56280`](https://youtrack.jetbrains.com/issue/KT-56280) Gradle: freeCompilerArgs are no longer propagated from compilations to Native binaries ##### Tools. Kapt - [`KT-48013`](https://youtrack.jetbrains.com/issue/KT-48013) Kapt generates illegal stubs for private interface methods #### Checksums | File | Sha256 | | --- | --- | | kotlin-compiler-1.8.10.zip | 4c3fa7bc1bb9ef3058a2319d8bcc3b7196079f88e92fdcd8d304a46f4b6b5787 | | kotlin-native-linux-x86\_64-1.8.10.tar.gz | 4c5c8a82a63a3a9845be2514d536ca407340db7fc558b97c43ed003f866a9742 | | kotlin-native-macos-x86\_64-1.8.10.tar.gz | 52ea7cf2dfaae058fc00fc4e00ec89fefe5a7e4c83abeadb7531cc9346ff18db | | kotlin-native-macos-aarch64-1.8.10.tar.gz | 08cef514e9d582b0e7bcf3f592dd853270b535a4b765555db97381aeb8c92a85 | | kotlin-native-windows-x86\_64-1.8.10.zip | e8b9a04f0df3cdec6fa360a6781723fc8551e93c70dfd1aaffbd282b7cddc19d |

Configuration

📅 Schedule: Branch creation - "before 2am" (UTC), Automerge - At any time (no schedule defined).

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

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

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



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