Releases: Sub6Resources/flutter_html
Releases · Sub6Resources/flutter_html
3.0.0-beta.2
What's Changed
- Fix image source matcher tests so they actually run correctly by @Sub6Resources in #1086
- Feature/add font family fallback by @kaiquegazola in #1079
- Fix issues brought up by pub.dev score analyzer by @Sub6Resources in #1088
- Support inferred mrow for msqrt. by @RyosukeFukatani in #1108
- Add support for auto horizontal margins by @zbarbuto in #879
- New CSSBoxWidget and lots of bug fixes by @Sub6Resources in #1135
- Add basic melos support by @Sub6Resources in #1147
- Fix analysis and code format issues by @Sub6Resources in #1148
- Release Version 3.0.0-alpha.6 by @Sub6Resources in #1149
- flutter_html_math: escape braces by @fukatani in #1163
- feat: Support mtable, mtd, mtr for draw matrix. by @fukatani in #1164
- Fix Lists and upgrade List support to CSS3 by @Sub6Resources in #1161
- fix: Fix issue with font scaling introduced in 3.0.0-alpha.6 by @Sub6Resources in #1173
- feat: Support mfenced. by @fukatani in #1174
- feat: Support mmultiscripts. by @fukatani in #1175
- fix SelectableHtml not rebuild when data change by @docaohuynh in #1111
- Correct margin collapse by @arjanmels in #1237
- Adding tests for SVG and fixing height/width bug by @jlyonsmith in #1202
- Fix missing headers parameter by @ndelanou in #1203
- Improve video by @arjanmels in #1236
- Fix: Aspect ratio exception when height is 0 by @ib-8 in #1222
- Migrate
CustomRender
toHtmlExtension
by @Sub6Resources in #1176 - feat: Add WrapperExtension helper by @Sub6Resources in #1264
- fix: a tag should not style as link if href is not provided by @Sub6Resources in #1265
- feat: support vertical-align in inline styles by @Sub6Resources in #1266
- fix: Cleaned up whitespace processing and added whitespace tests by @Sub6Resources in #1267
- Use proper
<figure>
stylesheet by @Sub6Resources in #1269 - Corrected accessibility text scaling by @arjanmels in #1259
- fix: improve API for ExtensionContext and export marker.dart by @Sub6Resources in #1273
- Added "display: Display.block" to table by @arjanmels in #1278
- fix: start list items on a new line by @nico-famedly in #1281
- feat: Update CssBoxWidget to handle rtl marker boxes by @Sub6Resources in #1270
- Mark Summary and Details as block items by @arjanmels in #1276
New Contributors
- @RyosukeFukatani made their first contribution in #1108
- @fukatani made their first contribution in #1163
- @docaohuynh made their first contribution in #1111
- @jlyonsmith made their first contribution in #1202
- @ndelanou made their first contribution in #1203
- @ib-8 made their first contribution in #1222
- @nico-famedly made their first contribution in #1281
Full Changelog: 3.0.0-alpha.5...flutter_html-v3.0.0-beta.2
Version 3.0.0 alpha 5
- [core] Fixed hot reloads, thanks @arjenmels
- [core] Fixed link taps not working
Version 3.0.0 alpha 4
- [video] Fixed compilation issue
Version 3.0.0 alpha 3
- Fixed styling not being applied to list item markers
- [video] Fixed crash when iframe or video tags used unsupported/incorrect height or width
Version 2.2.1
- Allow styling on ruby tags
- Allow width/height/alignment styling on table/tr/td tags
- Prevent images causing rebuilding and leaking memory
- Fixes display of list items on iOS with font weights below 400
- Prevent crash on negative margins or paddings
Version 2.1.1
- Improves hr tag support
- Fixes a leading whitespace issue
- Fixes some crashes with CSS parsing
Version 2.1.0
- SelectableHtml widget (supporting a subset of tags) which allow text selection
- Fixed shrinkWrap to actually shrink the horizontal space
- Support style tags to apply styling from inline css
- Support applying styles from Flutter themes
- Mouse hover on links when using Flutter Web
- Allow custom anchor link tap implementations
- Support additional list styling options
- Fix several minor whitespace issues in text flow
- Fixed specific colspan/rowspan usages in tables
- Fixed whitespace issues around images
- Swallow duplicate ids to prevent crashing the widget
- Fixes crashing tap detection when using both link and image taps
- Updates external dependencies
- Raised minimum Flutter version to 2.2.0
Version 2.0.0
- Stable release with all 2.0.0-nullsafety.X changes
Version 2.0.0-nullsafety.0
Important: this is a pre-release version
Breaking: this requires nullsafety support, Dart >=2.12.0 and Flutter >=2.0.0
- Nullsafety support
- Official Flutter Web support
- New features & fixes for lists:
- Support start attribute (e.g.
start="5";
) - Support RTL direction
- Support setting padding - you can remove the starting padding if you choose
- Fixed unknown character box on iOS when font-weight is below w400
- Support start attribute (e.g.
- Upgraded link functions to provide more granular control
- Fixed errors in text-decoration parsing
- Fixed
<audio>
on iOS ("_duration called on null" exception) - Updated dependencies
Version 1.3.0
Breaking: this release requires Flutter 1.26 or later
- New image loading API
- Image loading with request headers, from relative paths and custom loading widget
- SVG image support from network or local assets
- Support for
<details>
/<summary>
tags - Allow returning spans from custom tag renders
- Inline font styling
- Content-based table column sizing
- Respect iframe sandbox attribute
- Fixed text flow and styling when using tags inside
<a>
links - Fixed issue where
shrinkWrap
property would not constrain the widget to take up the space it needs- See the Notes for an example usage with
shrinkWrap
- See the Notes for an example usage with
- Fixed issue where iframes would not update when their
src
s changed in the HTML data - Updated dependencies for Flutter 1.26+