Skip to content

Commit

Permalink
chore: prepare release 0.9.3 and add CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeyls committed Jan 22, 2024
1 parent fa66a4f commit acaf2e3
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 3 deletions.
71 changes: 71 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
Change Log
==========

## Version 0.9.3

_2024-01-22_

Bug fixes:
- Don't apply span styles on line breaks immediately preceding the opening tag
- Fix too many line breaks added when a <br> tag is followed by a simple block.

New features:
- Add basic support for `<hr>` (and `<hr/>`) tag for paragraph separation.

Enhancements:
- Only add span styles on non-empty portions of text
- Improve memory usage when parsing unpaired tags.

This release depends on:
- Kotlin **1.9.21**
- Compose Multiplatform **1.5.11** (Jetpack Compose UI **1.5.4**)

## Version 0.9.1

_2024-01-03_

Bug fix:
- Properly support `<br>` and `</br>` tags in addition to `<br/>` tags. (Thanks to @tfcporciuncula for the report)

This release depends on:
- Kotlin **1.9.10**
- Compose Multiplatform **1.5.11** (Jetpack Compose UI **1.5.4**)

## Version 0.9.0

_2023-12-22_

New features:
- Support custom styling trough a new `HtmlStyle` argument (currently supports `linkSpanStyle` and `indentUnit`)
- Proper support for ordered lists, including nested ones
- Support for 2 levels of bold (bold and black)
- Headings are now shown in bold.

This release depends on:
- Kotlin **1.9.10**
- Compose Multiplatform **1.5.11** (Jetpack Compose UI **1.5.4**)

## Version 0.8.1

_2023-12-21_

Bug fix:
- Fix paragraph indent size for Compose Desktop (doesn't support em units yet, only sp).

New feature:
- Add a multiplatform sample app.

This release depends on:
- Kotlin **1.9.10**
- Compose Multiplatform **1.5.11** (Jetpack Compose UI **1.5.4**)

## Version 0.8.0

_2023-12-19_

Initial public release.
See README.md for details.

This release depends on:
- Kotlin **1.9.10**
- Compose Multiplatform **1.5.11** (Jetpack Compose UI **1.5.4**)
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Add the dependency to your **module**'s `build.gradle` or `build.gradle.kts` fil

```kotlin
dependencies {
implementation("be.digitalia.compose.htmlconverter:htmlconverter:0.9.1")
implementation("be.digitalia.compose.htmlconverter:htmlconverter:0.9.3")
}
```

Expand All @@ -34,7 +34,7 @@ For Kotlin Multiplatform projects:
sourceSets {
val commonMain by getting {
dependencies {
implementation("be.digitalia.compose.htmlconverter:htmlconverter:0.9.1")
implementation("be.digitalia.compose.htmlconverter:htmlconverter:0.9.3")
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ SONATYPE_CLOSE_TIMEOUT_SECONDS=1500
RELEASE_SIGNING_ENABLED=true

GROUP=be.digitalia.compose.htmlconverter
VERSION_NAME=0.9.1
VERSION_NAME=0.9.3

POM_DESCRIPTION=HTML Converter for Compose
POM_URL=https://github.com/cbeyls/HtmlConverterCompose
Expand Down

0 comments on commit acaf2e3

Please sign in to comment.