Release 4.1.1: publish on macOS to restore Apple/iOS artifacts

This commit is contained in:
2026-06-08 08:37:35 +02:00
parent f60a5c4a86
commit 160d7c8059
5 changed files with 99 additions and 10 deletions

View File

@@ -30,14 +30,14 @@ Gradle (Kotlin DSL):
```kotlin
// commonMain for KMP projects, or any sourceSet/module where you need it
dependencies {
implementation("com.github.adriankuta:tree-structure:4.1.0") // latest version is on the badge above
implementation("com.github.adriankuta:tree-structure:4.1.1") // latest version is on the badge above
}
```
Gradle (Groovy):
```groovy
dependencies {
implementation "com.github.adriankuta:tree-structure:4.1.0"
implementation "com.github.adriankuta:tree-structure:4.1.1"
}
```
@@ -46,7 +46,7 @@ Maven:
<dependency>
<groupId>com.github.adriankuta</groupId>
<artifactId>tree-structure</artifactId>
<version>4.1.0</version>
<version>4.1.1</version>
</dependency>
```
@@ -160,7 +160,7 @@ that depends on the core.
`@Serializable` directly. Convert to and from the acyclic `TreeNodeDto` instead.
```kotlin
implementation("com.github.adriankuta:tree-structure-serialization:4.1.0")
implementation("com.github.adriankuta:tree-structure-serialization:4.1.1")
```
```kotlin
val json = Json.encodeToString(root.toDto())
@@ -172,7 +172,7 @@ val restored = Json.decodeFromString<TreeNodeDto<String>>(json).toTreeNode()
Traverse a tree as a cold `Flow`, which is handy inside coroutine and `ViewModel` pipelines.
```kotlin
implementation("com.github.adriankuta:tree-structure-coroutines:4.1.0")
implementation("com.github.adriankuta:tree-structure-coroutines:4.1.1")
```
```kotlin
root.preOrderFlow().collect { println(it.value) }
@@ -185,7 +185,7 @@ A `LazyTree` composable for Compose Multiplatform (JVM/desktop, iOS, Wasm). Only
are composed, and you decide how each node looks:
```kotlin
implementation("com.github.adriankuta:tree-structure-compose:4.1.0")
implementation("com.github.adriankuta:tree-structure-compose:4.1.1")
```
```kotlin
LazyTree(root) { node, depth, expanded, toggle ->
@@ -204,7 +204,7 @@ subtrees are reused, so updates are cheap and old roots stay valid. Backed by
`kotlinx.collections.immutable`.
```kotlin
implementation("com.github.adriankuta:tree-structure-immutable:4.1.0")
implementation("com.github.adriankuta:tree-structure-immutable:4.1.1")
```
```kotlin
val root = ImmutableTreeNode("World").addChild(ImmutableTreeNode("Europe"))