diff --git a/.circleci/config.yml b/.circleci/config.yml index 16c40c66b9..4fa5576d76 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,13 +1,28 @@ version: 2.1 orbs: codecov: codecov/codecov@1.0.2 +executors: + default-executor: + docker: + - image: sub6resources/flutter-melos:1.0.1 + resource_class: large + shell: /bin/bash jobs: build: - docker: - - image: cirrusci/flutter + executor: default-executor steps: - checkout - run: flutter --version - - run: flutter test --coverage + - run: + name: Setup melos + command: | + melos --version + melos bootstrap + - run: + name: Run Test Suite + command: melos run test + - run: + name: Generate Coverage Report + command: melos run gen_coverage - codecov/upload: - file: coverage/lcov.info + file: coverage_report/lcov.info diff --git a/.gitignore b/.gitignore index 34258e6aad..c6c6f73888 100644 --- a/.gitignore +++ b/.gitignore @@ -151,3 +151,6 @@ modules.xml **/flutter_export_environment.sh /example/ios/Flutter/Flutter.podspec + +packages/**/pubspec_overrides.yaml +pubspec_overrides.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 44cc2c1cb7..f9b4ac1319 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,38 @@ -## [3.0.0-alpha.5] - June 9, 2022: +## 3.0.0-alpha.8 + + - **FIX**: Add meta as dev dependency for flutter_html_svg. + +## 3.0.0-alpha.7 + + - **FIX**: Add meta as a dev dependency. + - **DOCS**: Update CHANGELOG.md for 3.0.0-alpha.6. + +## 3.0.0-alpha.6 + + - **FIX** #731 Resolve newline `
` 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 + +## 3.0.0-alpha.5 - June 9, 2022: * Fixed hot reloads, thanks @arjenmels * Fixed link taps not working * Improvements in README -## [3.0.0-alpha.3] - April 14, 2022: +## 3.0.0-alpha.3 - April 14, 2022: * Fixed styling not being applied to list item markers * [video] Fixed crash when iframe or video tags used unsupported/incorrect height or width -## [3.0.0-alpha.2] - January 5, 2022: +## 3.0.0-alpha.2 - January 5, 2022: * **BREAKING** Full modularization using split packages; see our upgrade guide or use flutter_html_all -## [3.0.0-alpha.1] - December 21, 2021: +## 3.0.0-alpha.1 - December 21, 2021: * **BREAKING** Reworked custom renders pending full modularation in 3.0.0 * Extended support custom render when using SelectableHtml * Updated flutter_svg to 1.0.0 @@ -18,14 +40,14 @@ * Automatic disposal of video and audio controllers * Fix block elements bottom spacing in table cells -## [2.2.1] - December 8, 2021: +## 2.2.1 - December 8, 2021: * 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 -## [2.2.0] - November 29, 2021: +## 2.2.0 - November 29, 2021: * Explicitly declare multiplatform support * Extended and fixed list-style (marker) support * Basic support for height/width css properties @@ -38,34 +60,34 @@ * Prevent crash on empty tag and tables with both colspan/rowspan * Prevent crash on use of negative margins in css -## [2.1.5] - October 7, 2021: +## 2.1.5 - October 7, 2021: * Ignore unsupported custom style selectors when using fromCss * Fix SVG tag usage inside tables * Properly fix regression in usage of line breaks -## [2.1.4] - October 3, 2021: +## 2.1.4 - October 3, 2021: * Fix regression in usage of line breaks in body being stripped -## [2.1.3] - October 1, 2021: +## 2.1.3 - October 1, 2021: * Update minimum versions of dependencies for Flutter 2.5 compatibility * Extended and fixed support for css shadow * Fix block tags with explicit whitespace from being stripped -## [2.1.2] - September 2, 2021: +## 2.1.2 - September 2, 2021: * Allow setting selectionControls with SelectableHtml * Fix onLinkTap not working with SelectableHtml * Don't crash when parsing unsupported :hover * Prevent endless loading when using animated images -## [2.1.1] - July 28, 2021: +## 2.1.1 - July 28, 2021: * Stable release with all 2.1.1-preview.X changes -## [2.1.1-preview.0] - July 27, 2021: +## 2.1.1-preview.0 - July 27, 2021: * Improves hr tag support * Fixes a leading whitespace issue * Fixes some crashes with CSS parsing -## [2.1.0] - June 3, 2021: +## 2.1.0 - June 3, 2021: * 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 @@ -81,10 +103,10 @@ * Updates external dependencies * Raised minimum Flutter version to 2.2.0 -## [2.0.0] - April 29, 2021: +## 2.0.0 - April 29, 2021: * Stable release with all 2.0.0-nullsafety.X changes -## [2.0.0-nullsafety.1] - April 29, 2021: +## 2.0.0-nullsafety.1 - April 29, 2021: * Support basic MathML * Support inner links * Supply full context tree to custom render @@ -98,7 +120,7 @@ * Fixed `failed assertion` error when tap-scrolling on any link * Updated dependencies -## [2.0.0-nullsafety.0] - March 5, 2021: +## 2.0.0-nullsafety.0 - March 5, 2021: * Nullsafety support * Official Flutter Web support * New features & fixes for lists: @@ -111,7 +133,7 @@ * Fixed `