Skip to content

Commit 31132a4

Browse files
committed
chore(publish): prepare for 0.6.1
1 parent da51ffe commit 31132a4

File tree

6 files changed

+21
-17
lines changed

6 files changed

+21
-17
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased] - TBD
44

5+
## [0.6.1] - Dec 10, 2023
6+
57
### viewmodel
68

79
- On _non-Android targets_: `ViewModel.viewModelScope` does not use `Dispatchers.Default` as a fallback.
@@ -247,7 +249,9 @@ Share everything including data, domain, presentation, and UI.
247249

248250
- Initial release.
249251

250-
[Unreleased]: https://github.com/hoc081098/kmp-viewmodel/compare/0.6.0...HEAD
252+
[Unreleased]: https://github.com/hoc081098/kmp-viewmodel/compare/0.6.1...HEAD
253+
254+
[0.6.1]: https://github.com/hoc081098/kmp-viewmodel/releases/tag/0.6.1
251255

252256
[0.6.0]: https://github.com/hoc081098/kmp-viewmodel/releases/tag/0.6.0
253257

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ Its principal advantage is that it caches state and persists it through configur
1919
[![Build sample](https://github.com/hoc081098/kmp-viewmodel/actions/workflows/sample.yml/badge.svg)](https://github.com/hoc081098/kmp-viewmodel/actions/workflows/sample.yml)
2020
[![Publish Release](https://github.com/hoc081098/kmp-viewmodel/actions/workflows/publish-release.yml/badge.svg)](https://github.com/hoc081098/kmp-viewmodel/actions/workflows/publish-release.yml)
2121
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
22-
[![Kotlin version](https://img.shields.io/badge/Kotlin-1.9.0-blueviolet?logo=kotlin&logoColor=white)](http://kotlinlang.org)
22+
[![Kotlin version](https://img.shields.io/badge/Kotlin-1.9.21-blueviolet?logo=kotlin&logoColor=white)](http://kotlinlang.org)
2323
[![KotlinX Coroutines version](https://img.shields.io/badge/Kotlinx_Coroutines-1.7.3-blueviolet?logo=kotlin&logoColor=white)](https://github.com/Kotlin/kotlinx.coroutines/releases/tag/1.7.3)
24-
[![Compose Multiplatform version](https://img.shields.io/badge/Compose_Multiplatform-1.5.0-blueviolet?logo=kotlin&logoColor=white)](https://github.com/JetBrains/compose-multiplatform/releases/tag/v1.5.0)
24+
[![Compose Multiplatform version](https://img.shields.io/badge/Compose_Multiplatform-1.5.11-blueviolet?logo=kotlin&logoColor=white)](https://github.com/JetBrains/compose-multiplatform/releases/tag/v1.5.0)
2525
[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fhoc081098%2Fkmp-viewmodel&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com)
2626
![badge][badge-jvm]
2727
![badge][badge-android]
@@ -49,10 +49,10 @@ Liked some of my work? Buy me a coffee (or more likely a beer)
4949
- `jvm` (must add `kotlinx-coroutines-swing`/`kotlinx-coroutines-javafx` to your dependencies to
5050
make sure `Dispatchers.Main` available).
5151

52-
> [!NOTE]
52+
> [!NOTE]
5353
> If you are targeting `Desktop` and not using `JetBrains Compose Multiplatform`, you should provide the dependency `org.jetbrains.kotlinx:kotlinx-coroutines-swing` **or** `org.jetbrains.kotlinx:kotlinx-coroutines-javafx`,
5454
> the `ViewModel.viewModelScope` depends on `Dispatchers.Main` provided by this library on Desktop.
55-
>
55+
>
5656
> If you are using `JetBrains Compose Multiplatform` and targeting `Desktop`, you should provide `org.jetbrains.kotlinx:kotlinx-coroutines-swing`.
5757
5858
- `js` (`IR`).
@@ -64,7 +64,7 @@ Liked some of my work? Buy me a coffee (or more likely a beer)
6464

6565
## Docs
6666

67-
### 0.x release docs: https://hoc081098.github.io/kmp-viewmodel/docs/0.x
67+
### **0.x release** docs: https://hoc081098.github.io/kmp-viewmodel/docs/0.x
6868

6969
### Snapshot docs: https://hoc081098.github.io/kmp-viewmodel/docs/latest
7070

docs/viewmodel-compose.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ kotlin {
2323
sourceSets {
2424
val commonMain by getting {
2525
dependencies {
26-
api("io.github.hoc081098:kmp-viewmodel-compose:0.6.0")
26+
api("io.github.hoc081098:kmp-viewmodel-compose:0.6.1")
2727
}
2828
}
2929
}
@@ -46,7 +46,7 @@ dependencyResolutionManagement {
4646

4747
// build.gradle.kts
4848
dependencies {
49-
api("io.github.hoc081098:kmp-viewmodel-compose:0.6.1-SNAPSHOT")
49+
api("io.github.hoc081098:kmp-viewmodel-compose:0.6.2-SNAPSHOT")
5050
}
5151
```
5252

docs/viewmodel-savedstate.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ kotlin {
3737
sourceSets {
3838
val commonMain by getting {
3939
dependencies {
40-
api("io.github.hoc081098:kmp-viewmodel-savedstate:0.6.0")
40+
api("io.github.hoc081098:kmp-viewmodel-savedstate:0.6.1")
4141
}
4242
}
4343
}
@@ -53,7 +53,7 @@ kotlin {
5353
[...]
5454
framework {
5555
baseName = "shared"
56-
export("io.github.hoc081098:kmp-viewmodel-savedstate:0.6.0") // required to expose the classes to iOS.
56+
export("io.github.hoc081098:kmp-viewmodel-savedstate:0.6.1") // required to expose the classes to iOS.
5757
}
5858
}
5959
}
@@ -66,7 +66,7 @@ kotlin {
6666
binaries {
6767
framework {
6868
baseName = "shared"
69-
export("io.github.hoc081098:kmp-viewmodel-savedstate:0.6.0") // required to expose the classes to iOS.
69+
export("io.github.hoc081098:kmp-viewmodel-savedstate:0.6.1") // required to expose the classes to iOS.
7070
}
7171
}
7272
}
@@ -99,7 +99,7 @@ dependencyResolutionManagement {
9999

100100
// build.gradle.kts
101101
dependencies {
102-
api("io.github.hoc081098:kmp-viewmodel-savedstate:0.6.1-SNAPSHOT")
102+
api("io.github.hoc081098:kmp-viewmodel-savedstate:0.6.2-SNAPSHOT")
103103
}
104104
```
105105

docs/viewmodel.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ kotlin {
2323
sourceSets {
2424
val commonMain by getting {
2525
dependencies {
26-
api("io.github.hoc081098:kmp-viewmodel:0.6.0")
26+
api("io.github.hoc081098:kmp-viewmodel:0.6.1")
2727
}
2828
}
2929
}
@@ -39,7 +39,7 @@ kotlin {
3939
[...]
4040
framework {
4141
baseName = "shared"
42-
export("io.github.hoc081098:kmp-viewmodel:0.6.0") // required to expose the classes to iOS.
42+
export("io.github.hoc081098:kmp-viewmodel:0.6.1") // required to expose the classes to iOS.
4343
}
4444
}
4545
}
@@ -52,7 +52,7 @@ kotlin {
5252
binaries {
5353
framework {
5454
baseName = "shared"
55-
export("io.github.hoc081098:kmp-viewmodel:0.6.0") // required to expose the classes to iOS.
55+
export("io.github.hoc081098:kmp-viewmodel:0.6.1") // required to expose the classes to iOS.
5656
}
5757
}
5858
}
@@ -75,7 +75,7 @@ dependencyResolutionManagement {
7575

7676
// build.gradle.kts
7777
dependencies {
78-
api("io.github.hoc081098:kmp-viewmodel:0.6.1-SNAPSHOT")
78+
api("io.github.hoc081098:kmp-viewmodel:0.6.2-SNAPSHOT")
7979
}
8080
```
8181

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ kotlin.incremental=true
2525
# POM
2626
GROUP=io.github.hoc081098
2727
# HEY! If you change the major version here be sure to update publish-release.yaml doc target folder!
28-
VERSION_NAME=0.6.1-SNAPSHOT
28+
VERSION_NAME=0.6.1
2929
POM_INCEPTION_YEAR=2023
3030

3131
POM_URL=https://github.com/hoc081098/kmp-viewmodel

0 commit comments

Comments
 (0)