Skip to content

Commit

Permalink
fix(deps): update kotlin (#4774)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.devtools.ksp](https://goo.gle/ksp)
([source](https://redirect.github.com/google/ksp)) | `2.0.21-1.0.28` ->
`2.1.0-1.0.29` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin/2.1.0-1.0.29?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin/2.1.0-1.0.29?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin/2.0.21-1.0.28/2.1.0-1.0.29?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin/2.0.21-1.0.28/2.1.0-1.0.29?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| org.jetbrains.kotlin.plugin.parcelize | `2.0.21` -> `2.1.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.jetbrains.kotlin.plugin.parcelize:org.jetbrains.kotlin.plugin.parcelize.gradle.plugin/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.jetbrains.kotlin.plugin.parcelize:org.jetbrains.kotlin.plugin.parcelize.gradle.plugin/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.jetbrains.kotlin.plugin.parcelize:org.jetbrains.kotlin.plugin.parcelize.gradle.plugin/2.0.21/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.jetbrains.kotlin.plugin.parcelize:org.jetbrains.kotlin.plugin.parcelize.gradle.plugin/2.0.21/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| org.jetbrains.kotlin.android | `2.0.21` -> `2.1.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.jetbrains.kotlin.android:org.jetbrains.kotlin.android.gradle.plugin/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.jetbrains.kotlin.android:org.jetbrains.kotlin.android.gradle.plugin/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.jetbrains.kotlin.android:org.jetbrains.kotlin.android.gradle.plugin/2.0.21/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.jetbrains.kotlin.android:org.jetbrains.kotlin.android.gradle.plugin/2.0.21/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[org.jetbrains.kotlinx:kotlinx-coroutines-test](https://redirect.github.com/Kotlin/kotlinx.coroutines)
| `1.9.0` -> `1.10.1` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.jetbrains.kotlinx:kotlinx-coroutines-test/1.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.jetbrains.kotlinx:kotlinx-coroutines-test/1.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.jetbrains.kotlinx:kotlinx-coroutines-test/1.9.0/1.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.jetbrains.kotlinx:kotlinx-coroutines-test/1.9.0/1.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[org.jetbrains.kotlinx:kotlinx-coroutines-android](https://redirect.github.com/Kotlin/kotlinx.coroutines)
| `1.9.0` -> `1.10.1` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.jetbrains.kotlinx:kotlinx-coroutines-android/1.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.jetbrains.kotlinx:kotlinx-coroutines-android/1.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.jetbrains.kotlinx:kotlinx-coroutines-android/1.9.0/1.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.jetbrains.kotlinx:kotlinx-coroutines-android/1.9.0/1.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>google/ksp (com.google.devtools.ksp)</summary>

###
[`v2.1.0-1.0.29`](https://redirect.github.com/google/ksp/releases/tag/2.1.0-1.0.29)

[Compare
Source](https://redirect.github.com/google/ksp/compare/2.1.0-1.0.28...2.1.0-1.0.29)

##### Updates

- KSP2: Sanitize dots to underscores in suffixes of internals by
[@&#8203;ting-yuan](https://redirect.github.com/ting-yuan) in
[https://github.com/google/ksp/pull/2229](https://redirect.github.com/google/ksp/pull/2229)
- KSP2: clean up legacy incremental code by
[@&#8203;ting-yuan](https://redirect.github.com/ting-yuan) in
[https://github.com/google/ksp/pull/2231](https://redirect.github.com/google/ksp/pull/2231)

##### Contributors

Thanks to everyone who reported bugs and participated in discussions!

###
[`v2.1.0-1.0.28`](https://redirect.github.com/google/ksp/releases/tag/2.1.0-1.0.28)

[Compare
Source](https://redirect.github.com/google/ksp/compare/2.0.21-1.0.28...2.1.0-1.0.28)

##### What's Changed

- Bump Kotlin to 2.1.0 by
[@&#8203;mkmuir0](https://redirect.github.com/mkmuir0) in
[https://github.com/google/ksp/pull/2235](https://redirect.github.com/google/ksp/pull/2235)
- Update intellij to 233.13135.128 by
[@&#8203;ting-yuan](https://redirect.github.com/ting-yuan) in
[https://github.com/google/ksp/pull/2238](https://redirect.github.com/google/ksp/pull/2238)

**Full Changelog**:
google/ksp@2.1.0-RC2-1.0.28...2.1.0-1.0.28

</details>

<details>
<summary>Kotlin/kotlinx.coroutines
(org.jetbrains.kotlinx:kotlinx-coroutines-test)</summary>

###
[`v1.10.1`](https://redirect.github.com/Kotlin/kotlinx.coroutines/blob/HEAD/CHANGES.md#Version-1101)

[Compare
Source](https://redirect.github.com/Kotlin/kotlinx.coroutines/compare/1.10.0...1.10.1)

- Fixed binary incompatibility introduced for non-JVM targets in
[#&#8203;4261](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4261)
([#&#8203;4309](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4309)).

###
[`v1.10.0`](https://redirect.github.com/Kotlin/kotlinx.coroutines/blob/HEAD/CHANGES.md#Version-1100)

[Compare
Source](https://redirect.github.com/Kotlin/kotlinx.coroutines/compare/1.9.0...1.10.0)

- Kotlin was updated to 2.1.0
([#&#8203;4284](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4284)).
- Introduced `Flow.any`, `Flow.all`, and `Flow.none`
([#&#8203;4212](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4212)).
Thanks, [@&#8203;CLOVIS-AI](https://redirect.github.com/CLOVIS-AI)!
- Reorganized `kotlinx-coroutines-debug` and `kotlinx-coroutines-core`
code to avoid a split package between the two artifacts
([#&#8203;4247](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4247)).
Note that directly referencing `kotlinx.coroutines.debug.AgentPremain`
must now be replaced with
`kotlinx.coroutines.debug.internal.AgentPremain`. Thanks,
[@&#8203;sellmair](https://redirect.github.com/sellmair)!
- No longer shade byte-buddy in `kotlinx-coroutines-debug`, reducing the
artifact size and simplifying the build configuration of client code.
Thanks, [@&#8203;sellmair](https://redirect.github.com/sellmair)!
- Fixed `NullPointerException` when using Java-deserialized
`kotlinx-coroutines-core` exceptions
([#&#8203;4291](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4291)).
Thanks, [@&#8203;AlexRiedler](https://redirect.github.com/AlexRiedler)!
- Properly report exceptions thrown by `CoroutineDispatcher.dispatch`
instead of raising internal errors
([#&#8203;4091](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4091)).
Thanks, [@&#8203;zuevmaxim](https://redirect.github.com/zuevmaxim)!
- Fixed a bug that delayed scheduling of a `Dispatchers.Default` or
`Dispatchers.IO` task after a `yield()` in rare scenarios
([#&#8203;4248](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4248)).
- Fixed a bug that prevented the `main()` coroutine on Wasm/WASI from
executing after a `delay()` call in some scenarios
([#&#8203;4239](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4239)).
- Fixed scheduling of `runBlocking` tasks on Kotlin/Native that arrive
after the `runBlocking` block was exited
([#&#8203;4245](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4245)).
- Fixed some terminal `Flow` operators sometimes resuming without taking
cancellation into account
([#&#8203;4254](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4254)).
Thanks, [@&#8203;jxdabc](https://redirect.github.com/jxdabc)!
- Fixed a bug on the JVM that caused coroutine-bound `ThreadLocal`
values not to get cleaned when using non-`CoroutineDispatcher`
continuation interceptors
([#&#8203;4296](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4296)).
-   Small tweaks, fixes, and documentation improvements.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/tuskyapp/Tusky).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTIuMCIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOltdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Conny Duck <[email protected]>
Co-authored-by: Konrad Pozniak <[email protected]>
  • Loading branch information
3 people authored Jan 10, 2025
1 parent 9cf658a commit ccd9fe9
Show file tree
Hide file tree
Showing 7 changed files with 369 additions and 7 deletions.
6 changes: 6 additions & 0 deletions app/lint.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@
<issue id="Recycle" severity="error" />
<issue id="KeyboardInaccessibleWidget" severity="error" />

<!-- these three don't work with Kotlin 2.1 for some reason
https://github.com/tuskyapp/Tusky/pull/4774 -->
<issue id="StateFlowValueCalledInComposition" severity="ignore" />
<issue id="CoroutineCreationDuringComposition" severity="ignore" />
<issue id="FlowOperatorInvokedInComposition" severity="ignore" />

<!-- Mark all other lint issues as warnings -->
<issue id="all" severity="warning" />
</lint>
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class ComposeTokenizerTest(
companion object {
@Parameterized.Parameters(name = "{0}")
@JvmStatic
fun data(): Iterable<Any> {
fun data(): Iterable<Array<Any>> {
return listOf(
arrayOf("@mention", 0, 8),
arrayOf("@ment10n", 0, 8),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class StatusLengthTest(
companion object {
@ParameterizedRobolectricTestRunner.Parameters(name = "{0}")
@JvmStatic
fun data(): Iterable<Any> {
fun data(): Iterable<Array<Any>> {
return listOf(
arrayOf("", 0),
arrayOf(" ", 1),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ class LinkHelperTest {
companion object {
@Parameterized.Parameters(name = "match_{0}")
@JvmStatic
fun data(): Iterable<Any> {
fun data(): Iterable<Array<Any>> {
return listOf(
arrayOf("https://mastodon.foo.bar/@User", true),
arrayOf("http://mastodon.foo.bar/@abc123", true),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class NumberUtilsTest(private val input: Long, private val want: String) {

@Parameterized.Parameters(name = "formatNumber_{0}")
@JvmStatic
fun data(): Iterable<Any> {
fun data(): Iterable<Array<Any>> {
return listOf(
arrayOf(0, "0"),
arrayOf(1, "1"),
Expand Down
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ androidx-work = "2.9.1"
androidx-room = "2.6.1"
bouncycastle = "1.70"
conscrypt = "2.5.3"
coroutines = "1.9.0"
coroutines = "1.10.1"
diffx = "1.1.1"
emoji2 = "1.4.0"
filemoji-compat = "3.2.7"
glide = "4.16.0"
# Deliberate downgrade, https://github.com/tuskyapp/Tusky/issues/3631
glide-animation-plugin = "3.0.2"
hilt = "2.55"
kotlin = "2.0.21"
kotlin = "2.1.0"
image-cropper = "4.3.2"
material = "1.12.0"
material-drawer = "9.0.2"
Expand All @@ -54,7 +54,7 @@ xmlwriter = "1.0.4"

[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
google-ksp = "com.google.devtools.ksp:2.0.21-1.0.28"
google-ksp = "com.google.devtools.ksp:2.1.0-1.0.29"
hilt-android = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" }
Expand Down
356 changes: 356 additions & 0 deletions gradle/verification-metadata.xml

Large diffs are not rendered by default.

0 comments on commit ccd9fe9

Please sign in to comment.