Skip to content

Commit ac5d369

Browse files
committed
Bump version before release
- Add older entries to CHANGELOG.md - LaunchedEffect is unnecessarily expensive for logging
1 parent 47e0b4f commit ac5d369

3 files changed

Lines changed: 43 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,45 @@
11
Changelog
22
=========
33

4+
v0.11.0
5+
------
6+
7+
_2022_02_09_
8+
9+
* Upgrade Coil to 2.0.0-alpha06 by @msfjarvis in https://github.com/halilozercan/compose-richtext/pull/72
10+
11+
## New Contributors
12+
* @msfjarvis made their first contribution in https://github.com/halilozercan/compose-richtext/pull/72
13+
14+
**Full Changelog**: https://github.com/halilozercan/compose-richtext/compare/v0.10.0...v0.11.0
15+
16+
v0.10.0
17+
------
18+
19+
_2021_12_05_
20+
21+
This release celebrates the release of Compose Multiplatform 1.0.0 🎉🥳
22+
23+
v0.9.0
24+
------
25+
26+
_2021_11_20_
27+
28+
This release is mostly a version bump.
29+
- Jetpack Compose: 1.1.0-beta03
30+
- Jetbrains Compose: 1.0.0-beta5
31+
- Kotlin: 1.5.31
32+
33+
Other changes:
34+
35+
* Fix link formatting in index page of docs by in https://github.com/halilozercan/compose-richtext/pull/60
36+
* CodeBlock fixes in https://github.com/halilozercan/compose-richtext/pull/62
37+
* Update CHANGELOG.md to include releases after the transfer in https://github.com/halilozercan/compose-richtext/pull/64
38+
* Add info panels similar to bootstrap alerts #54 in https://github.com/halilozercan/compose-richtext/pull/63
39+
40+
41+
**Full Changelog**: https://github.com/halilozercan/compose-richtext/compare/v0.8.1...v0.9.0
42+
443
v0.8.1
544
------
645

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ kotlin.code.style=official
2222
systemProp.org.gradle.internal.publish.checksums.insecure=true
2323

2424
GROUP=com.halilibo.compose-richtext
25-
VERSION_NAME=0.11.0
25+
VERSION_NAME=0.12.0
2626

2727
POM_DESCRIPTION=A collection of Compose libraries for advanced text formatting and alternative display types.
2828

richtext-commonmark/src/jvmMain/kotlin/com/halilibo/richtext/markdown/HtmlBlock.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ package com.halilibo.richtext.markdown
22

33
import androidx.compose.foundation.text.BasicText
44
import androidx.compose.runtime.Composable
5-
import androidx.compose.runtime.LaunchedEffect
6-
import androidx.compose.runtime.SideEffect
5+
import androidx.compose.runtime.DisposableEffect
76

87
@Composable
98
internal actual fun HtmlBlock(content: String) {
10-
LaunchedEffect(Unit) {
9+
DisposableEffect(Unit) {
1110
println("Html blocks are rendered literally in Compose Desktop!")
11+
onDispose { }
1212
}
1313
BasicText(content)
1414
}

0 commit comments

Comments
 (0)