Skip to content

Releases: cbeyls/HtmlConverterCompose

1.1.0

23 Jun 00:23
Compare
Choose a tag to compare

Changes since 1.0.4:

New features:

  • Opt-in support for CSS foreground and background text colors (#15) with the help of @mimai-hen
  • Javascript, WASM (experimental) and native MacOS (experimental) support (#14) thanks to @sargunv.

This release depends on:

  • Kotlin 2.1.21
  • Compose Multiplatform 1.8.0 (Jetpack Compose UI 1.8.0)

1.0.4

05 May 20:31
Compare
Choose a tag to compare

Changes since 1.0.3:

Bug fix:

  • Fix missing whitespace between root-level tags.

This release depends on:

  • Kotlin 2.1.20
  • Compose Multiplatform 1.7.3 (Jetpack Compose UI 1.7.6)

1.0.3

16 Feb 17:41
Compare
Choose a tag to compare

Changes since 1.0.2:

Bug fix:

  • Add missing line break in case of empty block at level 0 with no preceding non-empty block.

New features:

This release depends on:

  • Kotlin 2.1.0
  • Compose Multiplatform 1.7.3 (Jetpack Compose UI 1.7.6)

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)