Skip to content

Commit 7f70e0a

Browse files
committed
Update maven central links
1 parent 4ea28fb commit 7f70e0a

File tree

4 files changed

+33
-19
lines changed

4 files changed

+33
-19
lines changed

CHANGELOG.md

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
11
Changelog
22
=========
33

4+
1.0.0-alpha03
5+
-------
6+
7+
This release removes the `printing` and `slideshow` modules to focus on the core Markdown and RichText functionalities. It also adds support for inline base64 images.
8+
9+
### Breaking Changes
10+
- The `printing` and `slideshow` modules have been removed. If you were using them, you will need to find an alternative or use a previous version of the library.
11+
12+
### New Features
13+
- **Inline Base64 Image Rendering**: Markdown images can now be rendered from inline base64-encoded data URIs.
14+
15+
### Updates & Maintenance
16+
- **Dependencies Updated**:
17+
- Compose Multiplatform updated to `1.8.2`.
18+
- Commonmark updated to `0.25.0`.
19+
- Dokka updated to `2.0.0`.
20+
- **Build & CI**:
21+
- Android Gradle Plugin and other dependencies have been updated.
22+
- CI now uses `actions/cache@v4`.
23+
- **Sample App**:
24+
- The Android sample app has been updated to reflect the removal of the `printing` and `slideshow` modules.
25+
- Theme handling in the sample app has been simplified.
26+
427
v0.11.0
528
------
629

@@ -64,24 +87,13 @@ Special thanks @zach-klippenstein @LouisCAD @russhwolf for their reviews and hel
6487
v0.7.0
6588
------
6689

67-
_2021-9-1_
68-
69-
* Improved markdown rendering for editor like environments (#46)
70-
* Finalized MaterialRichText API. (#47)
71-
* Move from BasicRichText/RichText to RichText/MaterialRichText + SetupMaterialRichText
72-
* Update docs accordingly
73-
* Cleaned RichTextString rendering from hacks that were left from earlier compose versions (#48)
74-
75-
v0.6.0
76-
------
77-
7890
_2021-8-6_
7991

8092
* RichText UI no longer depends on Material (#45)
8193
* A new artifact richtext-ui-material is published to easily integrate RichText for apps that use Material design.
8294
* Upgraded compose to 1.0.1 and kotlin to 1.5.21
8395

84-
v0.5.0
96+
v0.6.0
8597
------
8698

8799
_2021-7-29_
@@ -93,7 +105,7 @@ _2021-7-29_
93105
* Artifacts have moved from com.zachklipp.compose-richtext to com.halilibo.compose-richtext.
94106
* Similarly, documentation is also now available at halilibo.com/compose-richtext
95107

96-
v0.3.0
108+
v0.5.0
97109
------
98110

99111
_2021-5-18_
@@ -117,4 +129,4 @@ _2020-11-06_
117129

118130
* Initial release.
119131

120-
Thanks to @halilozercan for implementing Markdown support!
132+
Thanks to @halilozercan for implementing Markdown support!

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ subprojects {
144144
localProperties.getProperty("SONATYPE_PASSWORD") ?: System.getenv("SONATYPE_PASSWORD")
145145

146146
val releasesRepoUrl =
147-
uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2")
148-
val snapshotsRepoUrl = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
147+
uri("https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/")
148+
val snapshotsRepoUrl = uri("https://central.sonatype.com/repository/maven-snapshots/")
149149
val version = property("VERSION_NAME").toString()
150150
url = uri(
151151
if (version.endsWith("SNAPSHOT")) {

buildSrc/src/main/kotlin/richtext-kmp-library.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repositories {
1212

1313
kotlin {
1414
jvm()
15-
android {
15+
androidTarget {
1616
publishLibraryVariants("release")
1717
compilations.all {
1818
kotlinOptions.jvmTarget = "11"
@@ -22,7 +22,7 @@ kotlin {
2222
}
2323

2424
android {
25-
compileSdk = 34
25+
compileSdk = 36
2626
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
2727

2828
compileOptions {

desktop-sample/src/main/kotlin/com/halilibo/richtext/desktop/MarkdownSampleApp.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ fun main(): Unit = singleWindowApplication(
7979
horizontalArrangement = Arrangement.spacedBy(32.dp)
8080
) {
8181
Column(modifier = Modifier.weight(1f)) {
82-
RichTextStyleConfig(richTextStyle = richTextStyle, onChanged = { richTextStyle = it })
82+
DisableSelection {
83+
RichTextStyleConfig(richTextStyle = richTextStyle, onChanged = { richTextStyle = it })
84+
}
8385
BasicTextField(
8486
state = state,
8587
modifier = Modifier

0 commit comments

Comments
 (0)