Skip to content

Release Version 3.0.0-alpha.6 #1149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
## 3.0.0-alpha.6 - *September 2022*

- **FIX** #731 Resolve newline `<br>` issue
- **FIX** Align the baseline of inline content with the baseline of its parent flow, even if it has padding or borders
- **FIX** Improved fontSize inheritance when cascading styles
- **FIX** `auto` margins now work for any `Display.BLOCK` element.
- **FIX** `auto` width and height is now the default, rather than `null`
- **FIX** New CSSBoxWidget that handles calculations of child sizes for a more accurate HTML/CSS layout
- **BREAKING** New `Margin`, `Height`, and `Width` classes that allow `em`, `rem`, `px`, `auto`, and `%` values to be given
- **FEAT** Negative margins are now allowed
- **FIX** Updated default `p` and `h1-6` styles to use `em` for better font scaling
- **BREAKING** Package now requires Dart sdk >= Dart 2.17
- **FIX**: Apply margins to <table> properly. (7581ea79)
- **FIX**: Use enum instead of const int internally in length.dart. (9dc7f08c)
- **FIX**: Change CSSBoxWidget to CssBoxWidget. (a62449a7)
- **FIX**: fix textShadow color declaration handler. (77ffe7cb)
- **FIX**: ol use default style. (1c2412a2)
- **FIX**: Crash when a tr tag includes text node. (ba8301c9)
- **FEAT**: exposes fontFamilyFallback parameter. (1d65aafd)

## [3.0.0-alpha.5] - June 9, 2022:
* Fixed hot reloads, thanks @arjenmels
* Fixed link taps not working
Expand Down
4 changes: 4 additions & 0 deletions packages/flutter_html_all/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
## 3.0.0-alpha.6

- Update a dependency to the latest release.

## [3.0.0-alpha.2] - January 5, 2022:
* Initial modularized flutter_html release; use flutter_html_all for full tag support or flutter_html for just the basics
16 changes: 8 additions & 8 deletions packages/flutter_html_all/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_html_all
description: All optional flutter_html widgets, bundled into a single package.
version: 3.0.0-alpha.5
version: 3.0.0-alpha.6
homepage: https://github.com/Sub6Resources/flutter_html

environment:
Expand All @@ -11,13 +11,13 @@ dependencies:
flutter:
sdk: flutter
html: '>=0.15.0 <1.0.0'
flutter_html: '>=3.0.0-alpha.5 <4.0.0'
flutter_html_audio: '>=3.0.0-alpha.3 <4.0.0'
flutter_html_iframe: '>=3.0.0-alpha.3 <4.0.0'
flutter_html_math: '>=3.0.0-alpha.3 <4.0.0'
flutter_html_svg: '>=3.0.0-alpha.3 <4.0.0'
flutter_html_table: '>=3.0.0-alpha.3 <4.0.0'
flutter_html_video: '>=3.0.0-alpha.3 <4.0.0'
flutter_html: ^3.0.0-alpha.6
flutter_html_audio: ^3.0.0-alpha.4
flutter_html_iframe: ^3.0.0-alpha.4
flutter_html_math: ^3.0.0-alpha.4
flutter_html_svg: ^3.0.0-alpha.4
flutter_html_table: ^3.0.0-alpha.4
flutter_html_video: ^3.0.0-alpha.5
# flutter_html_audio:
# path: ../flutter_html_audio
# flutter_html_iframe:
Expand Down
4 changes: 4 additions & 0 deletions packages/flutter_html_audio/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
## 3.0.0-alpha.4

- **FIX**: Change CSSBoxWidget to CssBoxWidget. (a62449a7)

## [3.0.0-alpha.2] - January 5, 2022:
* Initial modularized flutter_html release; use flutter_html_audio if you need support for the `<audio>` tag
4 changes: 2 additions & 2 deletions packages/flutter_html_audio/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_html_audio
description: This extension package allows the <audio> tag to be rendered using the flutter_html package
version: 3.0.0-alpha.3
version: 3.0.0-alpha.4
homepage: https://github.com/Sub6Resources/flutter_html

environment:
Expand All @@ -11,7 +11,7 @@ dependencies:
flutter:
sdk: flutter
html: '>=0.15.0 <1.0.0'
flutter_html: '>=3.0.0-alpha.3 <4.0.0'
flutter_html: ^3.0.0-alpha.6
# flutter_html:
# path: ../..

Expand Down
4 changes: 4 additions & 0 deletions packages/flutter_html_iframe/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.0.0-alpha.4

- **FIX**: Change CSSBoxWidget to CssBoxWidget. (a62449a7)

## [3.0.0-alpha.3] - April 14, 2022:
* Fixed crash when iframe or video tags used unsupported/incorrect height or width

Expand Down
4 changes: 2 additions & 2 deletions packages/flutter_html_iframe/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_html_iframe
description: This extension package allows the <iframe> tag to be rendered using the flutter_html package
version: 3.0.0-alpha.3
version: 3.0.0-alpha.4
homepage: https://github.com/Sub6Resources/flutter_html

environment:
Expand All @@ -11,7 +11,7 @@ dependencies:
flutter:
sdk: flutter
html: '>=0.15.0 <1.0.0'
flutter_html: '>=3.0.0-alpha.3 <4.0.0'
flutter_html: ^3.0.0-alpha.6
# flutter_html:
# path: ../..

Expand Down
4 changes: 4 additions & 0 deletions packages/flutter_html_math/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
## 3.0.0-alpha.4

- Update a dependency to the latest release.

## [3.0.0-alpha.2] - January 5, 2022:
* Initial modularized flutter_html release; use flutter_html_math if you need support for the `<math>` tag and its children
4 changes: 2 additions & 2 deletions packages/flutter_html_math/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_html_math
description: This extension package allows the <math> tag to be rendered using the flutter_html package
version: 3.0.0-alpha.3
version: 3.0.0-alpha.4
homepage: https://github.com/Sub6Resources/flutter_html

environment:
Expand All @@ -11,7 +11,7 @@ dependencies:
flutter:
sdk: flutter
html: '>=0.15.0 <1.0.0'
flutter_html: '>=3.0.0-alpha.3 <4.0.0'
flutter_html: ^3.0.0-alpha.6
# flutter_html:
# path: ../..

Expand Down
4 changes: 4 additions & 0 deletions packages/flutter_html_svg/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
## 3.0.0-alpha.4

- Update a dependency to the latest release.

## [3.0.0-alpha.2] - January 5, 2022:
* Initial modularized flutter_html release; use flutter_html_svg if you need support for svg support via `<svg>` tag, base64-encoded inline svgs or network svg images
4 changes: 2 additions & 2 deletions packages/flutter_html_svg/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_html_svg
description: This extension package allows the <svg> tag and svg-based img sources to be rendered using the flutter_html package
version: 3.0.0-alpha.3
version: 3.0.0-alpha.4
homepage: https://github.com/Sub6Resources/flutter_html

environment:
Expand All @@ -11,7 +11,7 @@ dependencies:
flutter:
sdk: flutter
html: '>=0.15.0 <1.0.0'
flutter_html: '>=3.0.0-alpha.3 <4.0.0'
flutter_html: ^3.0.0-alpha.6
# flutter_html:
# path: ../..

Expand Down
5 changes: 5 additions & 0 deletions packages/flutter_html_table/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
## 3.0.0-alpha.4

- **FIX**: Apply margins to <table> properly. (7581ea79)
- **FIX**: Change CSSBoxWidget to CssBoxWidget. (a62449a7)

## [3.0.0-alpha.2] - January 5, 2022:
* Initial modularized flutter_html release; use flutter_html_table if you need support for the `<table>` tag
4 changes: 2 additions & 2 deletions packages/flutter_html_table/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: flutter_html_table
description: This extension package allows the <table> tag to be rendered using the flutter_html package

version: 3.0.0-alpha.3
version: 3.0.0-alpha.4
homepage: https://github.com/Sub6Resources/flutter_html

environment:
Expand All @@ -12,7 +12,7 @@ dependencies:
flutter:
sdk: flutter
html: '>=0.15.0 <1.0.0'
flutter_html: '>=3.0.0-alpha.3 <4.0.0'
flutter_html: ^3.0.0-alpha.6
# flutter_html:
# path: ../..

Expand Down
4 changes: 4 additions & 0 deletions packages/flutter_html_video/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.0.0-alpha.5

- Update a dependency to the latest release.

## [3.0.0-alpha.4] - April 20, 2022:
* Fixed compilation issue

Expand Down
4 changes: 2 additions & 2 deletions packages/flutter_html_video/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_html_video
description: This extension package allows the <video> tag to be rendered using the flutter_html package
version: 3.0.0-alpha.4
version: 3.0.0-alpha.5
homepage: https://github.com/Sub6Resources/flutter_html

environment:
Expand All @@ -11,7 +11,7 @@ dependencies:
flutter:
sdk: flutter
html: '>=0.15.0 <1.0.0'
flutter_html: '>=3.0.0-alpha.3 <4.0.0'
flutter_html: ^3.0.0-alpha.6
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whilst not a big problem at all, as they are dependencies on our own libs, this does make it slightly less free for our users to, for example, use a flutter_html (core) 3.1.0 with flutter_html_video 3.0. Therefor, when we publish minor releases such as 3.1.0 we need to also release updates to our sub-libraries. Again, not a big problem at all but if melos supports it we might want to keep the less restrictive <4.0.0.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good point. Unfortunately, I'm not sure that melos supports that, and I could see how that is a little more complex to implement on their end.

I'll look a little deeper into that though and open a ticket with melos if there isn't one already, to see if that's something they're considering.

# flutter_html:
# path: ../..

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_html
description: A Flutter widget rendering static HTML and CSS as Flutter widgets.
version: 3.0.0-alpha.5
version: 3.0.0-alpha.6
homepage: https://github.com/Sub6Resources/flutter_html

environment:
Expand Down