Skip to content

Update composeAdaptiveLayout to v1.1.2 - autoclosed#127

Closed
renovate[bot] wants to merge 1 commit intomainfrom
renovate/composeadaptivelayout
Closed

Update composeAdaptiveLayout to v1.1.2 - autoclosed#127
renovate[bot] wants to merge 1 commit intomainfrom
renovate/composeadaptivelayout

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 29, 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.2 age adoption passing confidence
org.jetbrains.compose.material3.adaptive:adaptive 1.0.0 -> 1.1.2 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 force-pushed the renovate/composeadaptivelayout branch from 423bcb9 to 33f907c Compare December 2, 2024 11:14
@renovate renovate bot force-pushed the renovate/composeadaptivelayout branch from 33f907c to a34bf05 Compare December 24, 2024 09:27
@renovate renovate bot force-pushed the renovate/composeadaptivelayout branch from a34bf05 to 0594a40 Compare May 6, 2025 15:34
@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 0594a40 to b667a17 Compare May 20, 2025 11:23
@renovate renovate bot changed the title Update composeAdaptiveLayout to v1.1.0 Update composeAdaptiveLayout to v1.1.1 May 20, 2025
@renovate renovate bot force-pushed the renovate/composeadaptivelayout branch from b667a17 to 66d6064 Compare June 17, 2025 20:05
@renovate renovate bot changed the title Update composeAdaptiveLayout to v1.1.1 Update composeAdaptiveLayout to v1.1.2 Jun 17, 2025
@renovate renovate bot changed the title Update composeAdaptiveLayout to v1.1.2 Update composeAdaptiveLayout to v1.1.2 - autoclosed Jul 5, 2025
@renovate renovate bot closed this Jul 5, 2025
@renovate renovate bot deleted the renovate/composeadaptivelayout branch July 5, 2025 21:51
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.

0 participants