Releases: mikepenz/multiplatform-markdown-renderer
Releases · mikepenz/multiplatform-markdown-renderer
v0.33.0-b02
Caution
This release contains multiple breaking changes, upgrade with caution.
Key differences from previous versions:
- The parsing of the
Markdowncontent is now asynchronous, and the ui uses 3 states to update respectively- Loading state -> By default, an empty
Box - Success state -> Same as before
- Error state -> By default, an empty
Box(Will never apply unless a different parser is provided)
- Loading state -> By default, an empty
- New
rememberMarkdownStateAPI to get observable state of the parsed content - Links are looked up ahead of time to construct the map of available destinations. This enables reference links to work
MarkdownAPI was expanded with additional configs
🚀 Features
- Introduce dependency update plugin | Update
ktorto3.1.2- PR: #345
- Move parsing into producer | Introduce loading / error state
- PR: #346
- Introduce support for reference links
- PR: #347
- Provide
MarkdownStateobject with observable state- PR: #348
🐛 Fixes
- Use
textfrom typography for checkbox text style- PR: #343
Contributors:
v0.33.0-b01
v0.32.0
Important
This release contains behavior changes.
EOL is now considered a ' ' (space) and won't include a new line anymore. This is in line with most markdown specifications. More details here.
Warning
This release contains breaking changes
The MarkdownTypography includes a new table TextStyle to offer additional flexibility on providing a different style for tables.
🚀 Features
- Add depth to
BulletHandler- PR: #325
- Move primary text color specification to text styles
- PR: #326
- Support image in tables
- PR: #327
- Add option to make EOL be a new line (for direct APIs)
- PR: #339
🐛 Fixes
rememberthe state created byderivedStateOf- PR: #323
- Improve code fence handling to support varying code fence structures.
- PR: #331
- Change EOL handling from
\nto a single space- PR: #338
💬 Other
- Dependency updates
- PR: #334
Contributors:
v0.32.0-b02
v0.32.0-b01
v0.31.0
🚀 Features
- Hover icon on linked text
- PR: #288
- Expose table row and header to offer more configuration flexibility on tables
- PR: #290
- Refactor to use
withLinkintroduced in Compose 1.7 for links in the annotated string- PR: #294
- Introduce support for complex blockquotes
- PR: #309
- Improve accessibility for MarkdownHeader.
- PR: #318
- Update dependencies
- PR: #320
- Introduce support for task list items
- PR: #317
🐛 Fixes
- Add more configuration options for list paddings
- PR: #281
- Fix inline link might navigate wrong
- PR: #292
- Fix import not failing in local build
- PR: #295
- Adjust how HARD_LINE_BREAK is interpreted
- PR: #305
- Better handle BR and EOL occurrences
- PR: #307
- Fix AUTOLINK in LINK causing issues
- PR: #313
🧪 Tests
- Introduce new snapshot tests
- PR: #310
💬 Other
- Update dependencies
- PR: #282
- Update sample app icon
- PR: #291
- Include convention plugin from version-catalog
- PR: #293
- Enhance backwards compatiblity
- PR: #306
- Update to Coil 3.1.0
- PR: #308
- Retrieve
markdownComponentsviaLocalMarkdownComponents- PR: #312
- Include Binary Compatibility Validator
- PR: #314
- Setup m3 snapshot tests alongside m2 tests
- PR: #321
Contributors:
v0.31.0-rc01
v0.31.0-b04
v0.31.0-b03
v0.31.0-b02
🚀 Features
- Hover icon on linked text
- PR: #288
- Thanks @Saif-Alhaider
- Expose table row and header to offer more configuration flexibility on tables
- PR: #290
🐛 Fixes
- Fix inline link might navigate wrong link
- PR: #292
💬 Other
- Update sample app icon
- PR: #291