Skip to content

Commit f1a4c34

Browse files
committed
[enhanced] v0.7.0
1 parent 1632678 commit f1a4c34

File tree

3 files changed

+28
-31
lines changed

3 files changed

+28
-31
lines changed

packages/enhanced/CHANGELOG.md

Lines changed: 22 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,33 @@
1-
## 0.7.0-dev.2021080801
1+
## 0.7.0
22

3-
- BREAKING: `RenderMode.Column` is now `.column` (`ListView` and `SliverList` have the same change)
4-
- Add support for error & loading builder (#547, thanks @DFelten)
5-
- Improve whitespace handling (#551)
6-
- Fix `min-width` being ignored (#544)
7-
- Fix portrait video (#553)
8-
9-
## 0.7.0-dev.2021061301
10-
11-
- BREAKING: `buildColumnPlaceholder` removed `trimMarginVertical` named param
12-
- BREAKING: `buildColumnWidget` removed `tsh` param
13-
- BREAKING: `onTapAnchor` replaced `anchorContext` param with `scrollTo`
14-
- Add support for `WidgetFactory.buildTextSpan`
15-
- Add support for `HtmlWidget.renderMode` (#484)
16-
17-
## 0.7.0-dev.2021052101
18-
19-
- Requires Flutter 2.2
3+
- Flutter 2.2
4+
- BREAKING: Remove `HtmlWidget.buildAsyncBuilder` (#575)
5+
- BREAKING: Remove `HtmlWidget.hyperlinkColor` (#571)
6+
- BREAKING: Change `HtmlWidget.onTapUrl` signature to return a `FutureOr<bool>`. (#563)
207
- Show click cursor for `A` tag (#322)
8+
- Add support for `HtmlWidget.renderMode` (#484)
9+
- Add support for error & loading builder for network image (#547, thanks @DFelten)
10+
- Improve `text-decoration` support (#569)
11+
- Add support for `HtmlWidgetState.scrollToAnchor` (#577)
12+
- Implement `HtmlWidget.onErrorBuilder` and `onLoadingBuilder` (#575)
13+
- Fix bug border+background (#516)
2114
- Fix incorrect UL/OL tag closing
22-
- Fix bug padding+background+h2 (#523)
15+
- Fix `CssSizingValue` equality check
16+
- Fix missing block margins on empty tag (#580)
2317

24-
## 0.7.0-dev.2021051501
18+
This release includes some changes that may require migration if you have a custom `WidgetFactory`:
2519

26-
- BREAKING: Change method signature `WidgetFactory.buildImageWidget`
27-
- BREAKING: Replace `WidgetFactory.getListStyleMarker` with `getListMarkerText`
28-
- Add `WidgetFactory.buildListMarker` (#511)
29-
- Add image loading builder to core widget factory (#517)
30-
- Fix bug border+background (#516)
20+
- Remove `TextStyleHtml.maxLines` and `.textOverflow` (#570)
21+
- Remove `WidgetFactory.buildColumnPlaceholder` param `trimMarginVertical`
22+
- Remove `WidgetFactory.buildColumnWidget` param `tsh`
23+
- Change `WidgetFactory.buildImageWidget` params
24+
- Replace `WidgetFactory.getListStyleMarker` with `getListMarkerText`
25+
- Remove `WidgetFactory.imageLoadingBuilder` and `imageErrorBuilder` (#575)
26+
- Replace `WidgetFactory.onTapAnchor` param `anchorContext` with `scrollTo`
3127

3228
## 0.6.2
3329

30+
- Add support for `AUDIO` tag (#530)
3431
- Restore `computeLineMetrics` usage in Flutter web. (#561)
3532
- Improve whitespace handling (#551)
3633
- Fix negative margin/padding throwing exception (#510)

packages/enhanced/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Add this to your app's `pubspec.yaml` file:
2727

2828
```yaml
2929
dependencies:
30-
flutter_widget_from_html: ^0.7.0-0
30+
flutter_widget_from_html: ^0.7.0
3131
```
3232
3333
## Usage

packages/enhanced/pubspec.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: flutter_widget_from_html
2-
version: 0.7.0-dev.2021080801
2+
version: 0.7.0
33
description: Flutter package to render html as widgets that supports hyperlink, image, audio, video, iframe and many other tags.
44
homepage: https://github.com/daohoangson/flutter_widget_from_html
55

@@ -10,11 +10,11 @@ environment:
1010
dependencies:
1111
flutter:
1212
sdk: flutter
13-
flutter_widget_from_html_core: ^0.7.0-dev.2021080801
14-
fwfh_cached_network_image: ">=0.6.1+2 <0.8.0"
15-
fwfh_chewie: ^0.6.1+2
13+
flutter_widget_from_html_core: ^0.7.0
14+
fwfh_cached_network_image: ^0.7.0
15+
fwfh_chewie: ^0.7.0
1616
fwfh_just_audio: ^0.6.2
17-
fwfh_svg: ^0.7.0-0
17+
fwfh_svg: ^0.7.0
1818
fwfh_url_launcher: ^0.6.1+2
1919
fwfh_webview: ^0.6.1+2
2020
html: ^0.15.0

0 commit comments

Comments
 (0)