Skip to content

Releases: cbeyls/HtmlConverterCompose

1.0.2

19 Oct 22:56
Compare
Choose a tag to compare

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

16 Oct 23:52
Compare
Choose a tag to compare

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 with textLinkStyles 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 deprecated UrlAnnotation 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

29 Mar 16:55
Compare
Choose a tag to compare

Changes since 0.9.4:

Updated dependencies.

This release depends on:

  • Kotlin 1.9.23
  • Compose Multiplatform 1.6.1 (Jetpack Compose UI 1.6.3)

0.9.4

24 Jan 15:11
Compare
Choose a tag to compare

Changes since 0.9.3:

Bug fixes:

  • Fix incorrect number of line breaks around empty blocks and paragraphs
  • Fix incorrect block indentation after nested block.

This release depends on:

  • Kotlin 1.9.21
  • Compose Multiplatform 1.5.11 (Jetpack Compose UI 1.5.4)

0.9.3

22 Jan 15:15
Compare
Choose a tag to compare

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

03 Jan 16:58
Compare
Choose a tag to compare

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

22 Dec 17:40
Compare
Choose a tag to compare

Changes since 0.8.1:

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)

0.8.1

21 Dec 11:24
Compare
Choose a tag to compare

Changes since 0.8.0:

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)

0.8.0

19 Dec 22:16
Compare
Choose a tag to compare

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)