Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 13, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.jetbrains.compose.material3.adaptive:adaptive-layout 1.0.0 -> 1.1.1 age adoption passing confidence
org.jetbrains.compose.material3.adaptive:adaptive 1.0.0 -> 1.1.1 age adoption passing confidence

Release Notes

JetBrains/compose-jb (org.jetbrains.compose.material3.adaptive:adaptive-layout)

v1.1.1

Desktop

Fixes
API changes

If you use Dispatchers.Swing or Dispatchers.Main in your code, add this dependency into build.gradle.kts:

dependencies {
    implementation("org.jetbrains.kotlinx:kotlinx-coroutines-swing:$coroutinesVersion")
}

Also, usage of Dispatchers.Swing or Dispatchers.Main inside internals of Compose is implementation details, and can be changed in the future. If you need to avoid race conditions with Compose UI, you can obtain appropriate coroutine scope via rememberCoroutineScope:

import androidx.compose.runtime.DisposableEffect
import androidx.compose.runtime.remember
import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.ui.ExperimentalComposeUiApi
import androidx.compose.ui.window.application

@​OptIn(ExperimentalComposeUiApi::class, androidx.compose.foundation.ExperimentalFoundationApi::class)
fun main() = application {
    val scope = rememberCoroutineScope()
    val someApplicationObject = remember(scope) { SomeApplicationObject(scope) }
    
    DisposableEffect(Unit) {
        SomeGlobalObject.init(scope)
        onDispose {  }
    }
}

v1.1.0

Desktop

Features
Fixes
API changes
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.compose.ui.window.singleWindowApplication

private var time by mutableStateOf(System.nanoTime())
private var frame by mutableStateOf(0)

fun main() = singleWindowApplication {
    if (frame == 0) {
        frame++
    } else if (frame == 1) {
        val duration = ((System.nanoTime() - time) / 1E6).toLong()
        println("First frame millis: $duration")
    }
}

Dependencies

This version of Compose Multiplatform is based on the next Jetpack Compose libraries:

v1.0.1

This is basically 1.0.0 that works with Kotlin 1.6.10


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.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update dependency org.jetbrains.compose.material3.adaptive:adaptive-layout to v1.0.1 Update composeAdaptiveLayout to v1.0.1 Nov 13, 2024
@renovate renovate bot force-pushed the renovate/composeadaptivelayout branch from 6e75761 to e2d7d29 Compare December 20, 2024 21:20
@renovate renovate bot force-pushed the renovate/composeadaptivelayout branch from e2d7d29 to da07d68 Compare December 31, 2024 11:02
@renovate renovate bot force-pushed the renovate/composeadaptivelayout branch from da07d68 to b0ad3b4 Compare January 23, 2025 17:44
@renovate renovate bot force-pushed the renovate/composeadaptivelayout branch from b0ad3b4 to 2465526 Compare February 26, 2025 22:50
@renovate renovate bot force-pushed the renovate/composeadaptivelayout branch from 2465526 to 581747e Compare April 24, 2025 10:06
@renovate renovate bot force-pushed the renovate/composeadaptivelayout branch from 581747e to ed9de48 Compare May 6, 2025 19:30
@renovate renovate bot changed the title Update composeAdaptiveLayout to v1.0.1 Update composeAdaptiveLayout to v1.1.0 May 6, 2025
@renovate renovate bot force-pushed the renovate/composeadaptivelayout branch from ed9de48 to 8a8ad47 Compare May 20, 2025 15:59
@renovate renovate bot changed the title Update composeAdaptiveLayout to v1.1.0 Update composeAdaptiveLayout to v1.1.1 May 20, 2025
@renovate renovate bot changed the title Update composeAdaptiveLayout to v1.1.1 Update composeAdaptiveLayout to v1.1.1 - autoclosed Jun 8, 2025
@renovate renovate bot closed this Jun 8, 2025
@renovate renovate bot deleted the renovate/composeadaptivelayout branch June 8, 2025 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant