diff --git a/.github/workflows/backward_compatibility.yml b/.github/workflows/backward_compatibility.yml index 8c5ba2a5d..616edbd48 100644 --- a/.github/workflows/backward_compatibility.yml +++ b/.github/workflows/backward_compatibility.yml @@ -22,12 +22,6 @@ jobs: package: - core - enhanced - - fwfh_cached_network_image - - fwfh_chewie - - fwfh_just_audio - - fwfh_svg - - fwfh_url_launcher - - fwfh_webview name: ${{ matrix.package }} runs-on: ubuntu-latest @@ -80,51 +74,3 @@ jobs: with: flutter-version-file: packages/${{ matrix.package }}/pubspec.yaml - run: flutter test - - core: - strategy: - matrix: - channel: - - beta - - master - - stable - - # In case one of these fails, create a new PR against the `release/*` branch - name: core@${{ matrix.channel }} - runs-on: ubuntu-latest - continue-on-error: true - defaults: - run: - working-directory: packages/core - env: - GOLDEN_SKIP: "yes" - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - name: Update pubspec.yaml - run: | - set -e - - sudo snap install yq - - # delete all overrides and use pub.dev versions - yq e 'del(.dependency_overrides)' -i pubspec.yaml - - # output for debugging - cat pubspec.yaml - - name: Setup Flutter - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 # v2.19.0 - with: - channel: ${{ matrix.channel }} - - run: flutter test - - html_flex: - runs-on: ubuntu-latest - continue-on-error: true - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - name: Verify hashes - run: | - set -e - - _scripts=$( cat packages/core/lib/src/widgets/html_flex.dart | head -n 22 | tail -n 21 ) - bash -c "$_scripts" diff --git a/.github/workflows/demo_app.yml b/.github/workflows/demo_app.yml index 554526ab3..06e44e68a 100644 --- a/.github/workflows/demo_app.yml +++ b/.github/workflows/demo_app.yml @@ -28,6 +28,7 @@ jobs: uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 # v2.19.0 with: cache: true + flutter-version: 3.29.0 - uses: gradle/actions/setup-gradle@06832c7b30a0129d7fb559bcc6e43d26f6374244 # v4.3.1 - run: echo JAVA_HOME=$JAVA_HOME_17_X64 >> $GITHUB_ENV diff --git a/.github/workflows/flutter.yml b/.github/workflows/flutter.yml index 001c8f50d..d0efa6d02 100644 --- a/.github/workflows/flutter.yml +++ b/.github/workflows/flutter.yml @@ -31,6 +31,7 @@ jobs: uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 # v2.19.0 with: cache: true + flutter-version: 3.29.0 # TODO: investigate why this fail on GitHub Actions # - run: dart format --set-exit-if-changed --output none . diff --git a/.github/workflows/integration_test.yml b/.github/workflows/integration_test.yml index 10fb811a3..e95b9bdcc 100644 --- a/.github/workflows/integration_test.yml +++ b/.github/workflows/integration_test.yml @@ -23,6 +23,7 @@ jobs: uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 # v2.19.0 with: cache: true + flutter-version: 3.29.0 - uses: gradle/actions/setup-gradle@06832c7b30a0129d7fb559bcc6e43d26f6374244 # v4.3.1 with: # only update gradle cache from demo_app.yml jobs @@ -33,7 +34,7 @@ jobs: run: | set -e - dart pub global activate patrol_cli + dart pub global activate patrol_cli 3.6.0 cd demo_app flutter build apk --config-only @@ -70,6 +71,7 @@ jobs: uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 # v2.19.0 with: cache: true + flutter-version: 3.29.0 - name: Unlock Fastlane secrets env: @@ -84,7 +86,7 @@ jobs: run: | set -e - dart pub global activate patrol_cli + dart pub global activate patrol_cli 3.6.0 cd demo_app/ios fastlane patrol_build diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index fd628a459..184625c98 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.16.1 + +- Fix `text-align: center` inside tables (#1451) + ## 0.16.0 - Requires Flutter 3.22 (#1403) diff --git a/packages/core/pubspec.yaml b/packages/core/pubspec.yaml index 5569e06cd..29ef2d171 100644 --- a/packages/core/pubspec.yaml +++ b/packages/core/pubspec.yaml @@ -1,5 +1,5 @@ name: flutter_widget_from_html_core -version: 0.16.0 +version: 0.16.1 description: Flutter package to render html as widgets that focuses on correctness and extensibility. homepage: https://github.com/daohoangson/flutter_widget_from_html/tree/master/packages/core diff --git a/packages/enhanced/CHANGELOG.md b/packages/enhanced/CHANGELOG.md index 187d4cd37..da3ab35b6 100644 --- a/packages/enhanced/CHANGELOG.md +++ b/packages/enhanced/CHANGELOG.md @@ -1,3 +1,11 @@ +## 0.16.1 + +- Add support for just_audio@0.10.4 (requires Flutter 3.27, #1448) +- Add support for video_player_platform_interface@6.3.0 (#1475) +- Add support for webview_flutter_android@4.6.0 (#1475) +- Add support for webview_flutter_wkwebview@3.20.0 (#1452) +- Fix `text-align: center` inside tables (#1451) + ## 0.16.0 - Requires Flutter 3.22 (#1403) diff --git a/packages/enhanced/pubspec.yaml b/packages/enhanced/pubspec.yaml index 5d79c0d97..6669a8171 100644 --- a/packages/enhanced/pubspec.yaml +++ b/packages/enhanced/pubspec.yaml @@ -1,5 +1,5 @@ name: flutter_widget_from_html -version: 0.16.0 +version: 0.16.1 description: Flutter package to render html as widgets that supports hyperlink, image, audio, video, iframe and many other tags. homepage: https://github.com/daohoangson/flutter_widget_from_html @@ -10,13 +10,13 @@ environment: dependencies: flutter: sdk: flutter - flutter_widget_from_html_core: ^0.16.0 - fwfh_cached_network_image: ^0.16.0 - fwfh_chewie: ^0.16.0 - fwfh_just_audio: ^0.16.0 - fwfh_svg: ^0.16.0 - fwfh_url_launcher: ^0.16.0 - fwfh_webview: ^0.15.4 + flutter_widget_from_html_core: ">=0.16.0 <0.18.0" + fwfh_cached_network_image: ^0.16.1 + fwfh_chewie: ^0.16.1 + fwfh_just_audio: ">=0.16.0 <0.18.0" + fwfh_svg: ^0.16.1 + fwfh_url_launcher: ^0.16.1 + fwfh_webview: ^0.15.5 html: ^0.15.0 dependency_overrides: diff --git a/packages/fwfh_chewie/pubspec.yaml b/packages/fwfh_chewie/pubspec.yaml index 4f8ebb16f..62e92198b 100644 --- a/packages/fwfh_chewie/pubspec.yaml +++ b/packages/fwfh_chewie/pubspec.yaml @@ -23,7 +23,7 @@ dev_dependencies: sdk: flutter lint: any plugin_platform_interface: any - video_player_platform_interface: ">=5.0.0 <7.0.0" + video_player_platform_interface: 6.2.0 funding: - https://patreon.com/daohoangson diff --git a/packages/fwfh_webview/pubspec.yaml b/packages/fwfh_webview/pubspec.yaml index c844f9d63..1f2911126 100644 --- a/packages/fwfh_webview/pubspec.yaml +++ b/packages/fwfh_webview/pubspec.yaml @@ -14,8 +14,8 @@ dependencies: logging: ^1.0.0 web: ">=0.3.0 <2.0.0" webview_flutter: ^4.0.1 - webview_flutter_android: ">=3.10.0 <5.0.0" - webview_flutter_wkwebview: ^3.6.0 + webview_flutter_android: 4.5.0 + webview_flutter_wkwebview: 3.20.0 dependency_overrides: flutter_widget_from_html_core: