Skip to content

Commit

Permalink
## 12.1.0 * Migrate to Flutter 3.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zmtzawqlp committed Aug 17, 2023
1 parent d7741ac commit 358c55e
Show file tree
Hide file tree
Showing 22 changed files with 744 additions and 746 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/checker.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/pub_dry_run.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/pub_publish.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/pub_publish_manually.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish

on:
release:
types: [ published ]
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Publish
uses: k-paxian/dart-package-publisher@master
with:
credentialJson: ${{ secrets.CREDENTIAL_JSON }}
flutter: true
skipTests: true
26 changes: 26 additions & 0 deletions .github/workflows/publishable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publishable

on:
push:
branches:
- main
pull_request:
branches:
- main
paths:
- "**.md"
- "**.yaml"
- "**.yml"

jobs:
publish-dry-run:
name: Publish dry-run with packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: k-paxian/dart-package-publisher@master
with:
credentialJson: 'MockCredentialJson'
flutter: true
dryRunOnly: true
skipTests: true
79 changes: 79 additions & 0 deletions .github/workflows/runnable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Runnable (stable)

on:
push:
branches:
- main
pull_request:
branches:
- main
paths-ignore:
- "**.md"

jobs:
analyze:
name: Analyze on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11.x'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Log Dart/Flutter versions
run: |
dart --version
flutter --version
- name: Prepare dependencies
run: flutter pub get
- name: Analyse the repo
run: flutter analyze lib example/lib
- name: Run tests
run: flutter test
- name: Generate docs
run: |
dart pub global activate dartdoc
dart pub global run dartdoc .
test_iOS:
needs: analyze
name: Test iOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11.x'
- uses: subosito/[email protected]
with:
channel: stable
- run: dart --version
- run: flutter --version
- run: flutter pub get
- run: cd example; flutter build ios --no-codesign

test_android:
needs: analyze
name: Test Android
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11.x'
- uses: subosito/[email protected]
with:
channel: stable
- run: dart --version
- run: flutter --version
- run: flutter pub get
- run: sudo echo "y" | sudo $ANDROID_HOME/tools/bin/sdkmanager "ndk;21.4.7075529"
- run: cd example; flutter build apk --debug
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 12.1.0

* Migrate to Flutter 3.13.0

## 12.0.1

* Fix issue that wrong cursor position on macos. (https://github.com/fluttercandies/extended_text_field/issues/210)
Expand Down
4 changes: 2 additions & 2 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ linter:
- hash_and_equals
- implementation_imports
# - invariant_booleans # too many false positives: https://github.com/dart-lang/linter/issues/811
- iterable_contains_unrelated_type
# - iterable_contains_unrelated_type
# - join_return_with_assignment # not yet tested
- library_names
- library_prefixes
# - lines_longer_than_80_chars # not yet tested
- list_remove_unrelated_type
# - list_remove_unrelated_type
# - literal_only_boolean_expressions # too many false positives: https://github.com/dart-lang/sdk/issues/34181
# - missing_whitespace_between_adjacent_strings # not yet tested
- no_adjacent_strings_in_list
Expand Down
60 changes: 29 additions & 31 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ packages:
dependency: transitive
description:
name: collection
sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c"
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.17.1"
version: "1.17.2"
csslib:
dependency: transitive
description:
Expand Down Expand Up @@ -76,11 +76,10 @@ packages:
extended_text:
dependency: "direct main"
description:
name: extended_text
sha256: "75ddf28ce7d5be33a050ff2179b6567b4b98e6225ad3e61e4c3748f7448c25f7"
url: "https://pub.flutter-io.cn"
source: hosted
version: "11.0.0"
path: "../../extended_text"
relative: true
source: path
version: "11.0.1"
extended_text_field:
dependency: "direct overridden"
description:
Expand All @@ -89,13 +88,12 @@ packages:
source: path
version: "12.0.1"
extended_text_library:
dependency: transitive
dependency: "direct overridden"
description:
name: extended_text_library
sha256: c06fbd8e3b6eedadf50cd6c109bbbd80921a6c43e4422d3b4ec9d4cb36ce4555
url: "https://pub.flutter-io.cn"
source: hosted
version: "11.0.2"
path: "../../extended_text_library"
relative: true
source: path
version: "11.1.0"
fake_async:
dependency: transitive
description:
Expand Down Expand Up @@ -143,14 +141,6 @@ packages:
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.15.1"
js:
dependency: transitive
description:
name: js
sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.6.7"
loading_more_list:
dependency: "direct main"
description:
Expand All @@ -171,18 +161,18 @@ packages:
dependency: transitive
description:
name: matcher
sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb"
sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e"
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.12.15"
version: "0.12.16"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724
sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41"
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.2.0"
version: "0.5.0"
meta:
dependency: transitive
description:
Expand Down Expand Up @@ -224,10 +214,10 @@ packages:
dependency: transitive
description:
name: source_span
sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250
sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.9.1"
version: "1.10.0"
stack_trace:
dependency: transitive
description:
Expand Down Expand Up @@ -264,10 +254,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb
sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.5.1"
version: "0.6.0"
url_launcher:
dependency: "direct main"
description:
Expand Down Expand Up @@ -348,6 +338,14 @@ packages:
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.0.2"
web:
dependency: transitive
description:
name: web
sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.1.4-beta"
sdks:
dart: ">=3.0.0-0 <4.0.0"
flutter: ">=3.10.0"
dart: ">=3.1.0-185.0.dev <4.0.0"
flutter: ">=3.13.0"
10 changes: 5 additions & 5 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ publish_to: none
version: 1.0.0+1

environment:
sdk: '>=2.17.0 <4.0.0'
flutter: ">=3.10.0"
sdk: '>=3.0.0 <4.0.0'
flutter: ">=3.13.0"
dependencies:

# The following adds the Cupertino Icons font to your application.
Expand Down Expand Up @@ -45,16 +45,16 @@ dependency_overrides:
# extended_text_library:
# version: ^11.0.0-dev.1
# hosted: "https://pub.dev"
# extended_text:
#extended_text:
# # git:
# # url: https://github.com/fluttercandies/extended_text.git
# # ref: refactor
# path: ../../extended_text
path: ../../extended_text
#extended_text_library:
# # git:
# # url: https://github.com/fluttercandies/extended_text_library.git
# # ref: refactor
#path: ../../extended_text_library
#path: ../../extended_text_library
# For information on the generic Dart part of this file, see the
# following page: https://www.dartlang.org/tools/pub/pubspec

Expand Down
Loading

0 comments on commit 358c55e

Please sign in to comment.