Releases: cbeyls/HtmlConverterCompose
Releases · cbeyls/HtmlConverterCompose
1.0.2
Changes since 1.0.1:
Bug fix:
- Display the correct number of line breaks when a
<br>
tag is present between blocks requiring a single line break.
New features:
- Allow disabling paragraph logic completely by setting an undefined indent unit to work around a bug in Compose UI.
This release depends on:
- Kotlin 2.0.21
- Compose Multiplatform 1.7.0 (Jetpack Compose UI 1.7.1)
1.0.1
Changes since 0.9.5:
New features:
- Clickable links are now handled automatically and will be opened using the platform's default browser
- Replace
linkSpanStyle
withtextLinkStyles
to allow custom link styles for focused, hovered and pressed states - Add
linkInteractionListener
argument to allow overriding the default link click action.
Enhancements:
- Use the new
LinkAnnotation.Url
from Compose 1.7 in place of the deprecatedUrlAnnotation
to handle clickable anchor links.
This release depends on:
- Kotlin 2.0.21
- Compose Multiplatform 1.7.0 (Jetpack Compose UI 1.7.1)
0.9.5
0.9.4
0.9.3
Changes since 0.9.1:
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)
0.9.1
Changes since 0.9.0:
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)
0.9.0
Changes since 0.8.1:
New features:
- Support custom styling trough a new
HtmlStyle
argument (currently supportslinkSpanStyle
andindentUnit
) - 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)