From 8e7c403fb92f6bd42c3102e985ebdd5b8c99865a Mon Sep 17 00:00:00 2001
From: chenyouyu
-
+
@@ -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
Wu
💻 📖
Penta
💻 📖
-
haijun
💻 📖
+
陈有余
💻 📖
陈有余
💻 📖
yangyang
💻
wan
💻
diff --git a/README.md b/README.md
index 17849dca..ffc09aba 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
![social preview](social-dark.png)
bujie
💻
Wu
💻 📖
Penta
💻 📖
-
haijun
💻 📖
+
陈有余
💻 📖
陈有余
💻 📖
yangyang
💻
wan
💻
diff --git a/compiler/CHANGELOG.md b/compiler/CHANGELOG.md
index e1b0a105..1f5b081f 100644
--- a/compiler/CHANGELOG.md
+++ b/compiler/CHANGELOG.md
@@ -1,3 +1,6 @@
+## [1.1.0]
+* Support singleton parsing.
+
## [1.0.1]
* bugfix.
diff --git a/compiler/pubspec.yaml b/compiler/pubspec.yaml
index 3b67cd33..7c03ac02 100644
--- a/compiler/pubspec.yaml
+++ b/compiler/pubspec.yaml
@@ -1,6 +1,6 @@
name: fair_compiler
description: A complier which can generate Fair bundle for widget with annotation.
-version: 1.0.1
+version: 1.1.0
homepage: https://fair.58.com/
environment:
@@ -26,7 +26,7 @@ dependencies:
# path: ../annotation
http: ^0.13.3
fair_dart2dsl: ^1.0.1
- fair_dart2js: ^1.0.0
+ fair_dart2js: ^1.1.0
dev_dependencies:
test: ^1.17.12
diff --git a/dart2js/CHANGELOG.md b/dart2js/CHANGELOG.md
index 687440ba..7a66b8ea 100644
--- a/dart2js/CHANGELOG.md
+++ b/dart2js/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 1.1.0
+
+- 支持单例解析
+
## 1.0.0
- Initial version, created by Stagehand
diff --git a/dart2js/pubspec.yaml b/dart2js/pubspec.yaml
index 485d5623..79593174 100644
--- a/dart2js/pubspec.yaml
+++ b/dart2js/pubspec.yaml
@@ -1,6 +1,6 @@
name: fair_dart2js
description: Convert individual dart file to js.
-version: 1.0.0
+version: 1.1.0
homepage: https://fair.58.com/
environment:
diff --git a/example/pubspec.yaml b/example/pubspec.yaml
index cdf60a91..4008ca05 100644
--- a/example/pubspec.yaml
+++ b/example/pubspec.yaml
@@ -19,7 +19,7 @@ dev_dependencies:
flutter_test:
sdk: flutter
build_runner: ^2.0.0
- fair_compiler: ^1.0.1
+ fair_compiler: ^1.1.0
dependency_overrides:
fair_version:
diff --git a/fair/CHANGELOG.md b/fair/CHANGELOG.md
index ea2c5769..5064f210 100644
--- a/fair/CHANGELOG.md
+++ b/fair/CHANGELOG.md
@@ -1,3 +1,8 @@
+## [2.5.0]
+* Add support of flutter 2.8.0、2.8.1.
+* Support singleton parsing.
+* Add Sugar:Sugar.colorsWithOpacity、Sugar.switchCase、Sugar.convertToString.
+
## [2.4.1]
* Fix FairLogger import problem.
* Upgrade Analyzer to 2.3.0.
diff --git a/fair/README.md b/fair/README.md
index d9676b52..e21375b0 100644
--- a/fair/README.md
+++ b/fair/README.md
@@ -2,7 +2,7 @@
bujie
💻
- + @@ -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: