diff --git a/.circleci/config.yml b/.circleci/config.yml index 10d516f594..16c40c66b9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,4 +1,6 @@ -version: 2 +version: 2.1 +orbs: + codecov: codecov/codecov@1.0.2 jobs: build: docker: @@ -6,4 +8,6 @@ jobs: steps: - checkout - run: flutter --version - - run: flutter test \ No newline at end of file + - run: flutter test --coverage + - codecov/upload: + file: coverage/lcov.info diff --git a/.github/flutter_html_screenshot.png b/.github/flutter_html_screenshot.png index dabafb0807..d8ecc1ac28 100644 Binary files a/.github/flutter_html_screenshot.png and b/.github/flutter_html_screenshot.png differ diff --git a/.github/flutter_html_screenshot2.png b/.github/flutter_html_screenshot2.png new file mode 100644 index 0000000000..dae0da9143 Binary files /dev/null and b/.github/flutter_html_screenshot2.png differ diff --git a/.github/flutter_html_screenshot3.png b/.github/flutter_html_screenshot3.png new file mode 100644 index 0000000000..75a065879d Binary files /dev/null and b/.github/flutter_html_screenshot3.png differ diff --git a/.gitignore b/.gitignore index 6668947c28..faea8257c6 100644 --- a/.gitignore +++ b/.gitignore @@ -146,3 +146,5 @@ modules.xml # End of https://www.gitignore.io/api/flutter,jetbrains+all **/.flutter-plugins-dependencies + +**/flutter_export_environment.sh diff --git a/.metadata b/.metadata new file mode 100644 index 0000000000..45789c722a --- /dev/null +++ b/.metadata @@ -0,0 +1,10 @@ +# This file tracks properties of this Flutter project. +# Used by Flutter tool to assess capabilities and perform upgrades etc. +# +# This file should be version controlled and should not be manually edited. + +version: + revision: 20e59316b8b8474554b38493b8ca888794b0234a + channel: stable + +project_type: package diff --git a/CHANGELOG.md b/CHANGELOG.md index 51bd0eb420..1c20251fd6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,33 @@ +# [1.0.0] +* BREAKING CHANGES (see the [Migration Guide](https://github.com/Sub6Resources/flutter_html/wiki/1.0.0-Migration-Guide) for a full overview of breaking changes.): + * The default parser has been completely rewritten and the RichText parser has been removed. + * `useRichText` no longer is necessary (The new parser uses RichText under the hood) + * `customRender` now works for the default parser. +* Adds support for `