diff --git a/README-zh.md b/README-zh.md index a6368069..fb3b167c 100644 --- a/README-zh.md +++ b/README-zh.md @@ -1,7 +1,7 @@ ![social preview](social-dark.png)
- + @@ -54,7 +54,7 @@ git clone https://github.com/wuba/fair.git ```yaml # add Fair dependency dependencies: - fair: 2.4.1 + fair: 2.5.0 # add build_runner and compiler dependency dev_dependencies: @@ -63,12 +63,13 @@ dev_dependencies: path: ../fair/compiler # switch "fair_version" according to the local Flutter SDK version +# Flutter SDK 2.8.x(2.8.0、2.8.1) -> flutter_2_8_0 # Flutter SDK 2.5.x(2.5.0、2.5.1、2.5.2、2.5.3) -> flutter_2_5_0 # Flutter SDK 2.0.6 -> flutter_2_0_6 # Flutter SDK 1.22.6 -> flutter_1_22_6 dependency_overrides: fair_version: - path: ../fair/flutter_version/flutter_2_5_0 + path: ../fair/flutter_version/flutter_2_8_0 ``` **step3:将App替换为FairApp** @@ -144,7 +145,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
- + @@ -43,7 +43,7 @@ Assuming that the fair project and your own project are in the same folder: ```yaml # add Fair dependency dependencies: - fair: 2.4.1 + fair: 2.5.0 # add build_runner and compiler dependency dev_dependencies: @@ -52,12 +52,13 @@ dev_dependencies: path: ../fair/compiler # switch "fair_version" according to the local Flutter SDK version +# Flutter SDK 2.8.x(2.8.0、2.8.1) -> flutter_2_8_0 # Flutter SDK 2.5.x(2.5.0、2.5.1、2.5.2、2.5.3) -> flutter_2_5_0 # Flutter SDK 2.0.6 -> flutter_2_0_6 # Flutter SDK 1.22.6 -> flutter_1_22_6 dependency_overrides: fair_version: - path: ../fair/flutter_version/flutter_2_5_0 + path: ../fair/flutter_version/flutter_2_8_0 ``` **step3:Wrap your app with FairApp Widget** @@ -136,7 +137,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
- + @@ -19,7 +19,7 @@ We create Fair so we can dispatch UI changes to users as bundle(s), the way simi Use Flutter Fair require few steps. Add dependency inside `pubspec.yaml`. ```yaml dependencies: - fair: ^2.4.1 + fair: ^2.5.0 ``` Wrap your app with FairApp Widget. diff --git a/fair/pubspec.yaml b/fair/pubspec.yaml index 147c3ece..06273124 100644 --- a/fair/pubspec.yaml +++ b/fair/pubspec.yaml @@ -1,6 +1,6 @@ name: fair description: Flutter Fair is a package used to update widget dynamically. -version: 2.4.1 +version: 2.5.0 homepage: https://fair.58.com/ environment: @@ -16,7 +16,7 @@ dependencies: # fair_annotation: # path: ../annotation - fair_version: ^2.5.0+1 + fair_version: ^2.8.0 # fair_version: # path: ../flutter_version/flutter_2_5_0 flat_buffers: ^2.0.5 diff --git a/flutter_version/flutter_2_8_0/CHANGELOG.md b/flutter_version/flutter_2_8_0/CHANGELOG.md new file mode 100644 index 00000000..7dfe6816 --- /dev/null +++ b/flutter_version/flutter_2_8_0/CHANGELOG.md @@ -0,0 +1,22 @@ +## 2.8.0 +* Generated from flutter 2.8.0 + +## 2.5.0+1 +* Generated from flutter 2.5.0 +* Add the LinearGradient to the mapping table + +## 2.5.0 +* Generated from flutter 2.5.0 + +## 2.0.6+2 +* Generated from flutter 2.0.6 +* Add the LinearGradient to the mapping table + +## 2.0.6+1 +* Generated from flutter 2.0.6 + +## 1.22.6 +* Generated from flutter 1.22.6 + +## 0.2.0 +* Generated from flutter 1.22.4 diff --git a/flutter_version/flutter_2_8_0/LICENSE b/flutter_version/flutter_2_8_0/LICENSE new file mode 100644 index 00000000..9db6e925 --- /dev/null +++ b/flutter_version/flutter_2_8_0/LICENSE @@ -0,0 +1,25 @@ +Copyright (C) 2005-present, 58.com. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of 58.com nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/flutter_version/flutter_2_8_0/README.md b/flutter_version/flutter_2_8_0/README.md new file mode 100644 index 00000000..79315db2 --- /dev/null +++ b/flutter_version/flutter_2_8_0/README.md @@ -0,0 +1,32 @@ +Widget mapping used by [fair] + +**Tips:** + +- If your Flutter SDK is 2.0.6, we recommend that you use fair_version 2.0.6+2, like this: + +```yaml +dependency_overrides: + fair_version: 2.0.6+2 +``` + +- If your Flutter SDK is 2.5.0/2.5.1/2.5.2/2.5.3, we recommend that you use fair_version 2.5.0+1, like this: + +```yaml +dependency_overrides: + fair_version: 2.5.0+1 +``` + +- If your Flutter SDK is 2.8.0/2.8.1, we recommend that you use fair_version 2.8.0, like this: + +```yaml +dependency_overrides: + fair_version: 2.8.0 +``` + +- v1.22.4 generated from Flutter SDK 1.22.4 +- v1.22.6 generated from Flutter SDK 1.22.6 +- v2.0.6+1 generated from Flutter SDK 2.0.6 +- v2.0.6+2 generated from Flutter SDK 2.0.6 +- v2.5.0 generated from Flutter SDK 2.5.0 +- v2.5.0+1 generated from Flutter SDK 2.5.0 +- v2.8.0 generated from Flutter SDK 2.8.0 \ No newline at end of file diff --git a/flutter_version/flutter_2_8_0/pubspec.yaml b/flutter_version/flutter_2_8_0/pubspec.yaml index 66234cb1..6dc3966b 100644 --- a/flutter_version/flutter_2_8_0/pubspec.yaml +++ b/flutter_version/flutter_2_8_0/pubspec.yaml @@ -1,6 +1,6 @@ name: fair_version description: Fair binding for Flutter v2.8.0 -version: 0.2.0 +version: 2.8.0 homepage: https://fair.58.com/ environment: