11![ social preview] ( social-dark.png )
22<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
33<p align =" center " >
4- <a href =" https://pub.dev/packages/fair " ><img src =" https://img.shields.io/badge/pub-3.1 .0-orange " alt =" pub " ></a >
4+ <a href =" https://pub.dev/packages/fair " ><img src =" https://img.shields.io/badge/pub-3.2 .0-orange " alt =" pub " ></a >
55 <a href =" https://github.com/wuba/fair " ><img src =" https://img.shields.io/badge/platform-flutter-blue.svg " alt =" github " ></a >
66 <a href =" https://fair.58.com/ " ><img src =" https://img.shields.io/badge/doc-fair.58.com-green.svg " alt =" doc " ></a >
77 <a href =" https://github.com/wuba/fair/LICENSE " ><img src =" https://img.shields.io/badge/license-BSD-green.svg " alt =" license " ></a >
@@ -50,15 +50,16 @@ Assuming that the fair project and your own project are in the same folder:
5050``` yaml
5151# add Fair dependency
5252dependencies :
53- fair : 3.1 .0
53+ fair : 3.2 .0
5454
5555# add build_runner and compiler dependency
5656dev_dependencies :
5757 build_runner : ^2.0.0
58- fair_compiler : ^1.6 .0
58+ fair_compiler : ^1.7 .0
5959
6060# switch "fair_version" according to the local Flutter SDK version
61- # Flutter SDK 3.3.x(3.3.0、3.3.1、3.3.2、3.3.3、3.3.4、3.3.5、3.3.6) -> flutter_3_3_0
61+ # Flutter SDK 3.7.x(3.7.0、3.7.1、3.7.2、3.7.3、3.7.4、3.7.5、3.7.6、3.7.7、3.7.8、3.7.9、3.7.10) -> flutter_3_7_0
62+ # Flutter SDK 3.3.x(3.3.0、3.3.1、3.3.2、3.3.3、3.3.4、3.3.5、3.3.6、3.3.7、3.3.8、3.3.9、3.3.10) -> flutter_3_3_0
6263# Flutter SDK 3.0.x(3.0.0、3.0.1、3.0.2、3.0.3、3.0.4、3.0.5) -> flutter_3_0_0
6364# Flutter SDK 2.10.x(2.10.0、2.10.1、2.10.2、2.10.3) -> flutter_2_10_0
6465# Flutter SDK 2.8.x(2.8.0、2.8.1) -> flutter_2_8_0
@@ -67,7 +68,7 @@ dev_dependencies:
6768# Flutter SDK 1.22.6 -> flutter_1_22_6
6869dependency_overrides :
6970 fair_version :
70- path : ../fair/flutter_version/flutter_3_3_0
71+ path : ../fair/flutter_version/flutter_3_7_0
7172` ` `
7273
7374**step3:Wrap your app with FairApp Widget**
@@ -173,6 +174,24 @@ Hot update platform: [FAIR PUSHY](https://github.com/wuba/FairPushy)
173174
174175## versions
175176
177+ ### 3.2.0
178+ updateDate:2023.04.12
179+
180+ - Adjust the order of dispose calls, not above the tree, subsequent operations stop
181+ - Add generic FairPlugin js and dart code, reuse the same interaction logic, add example comments
182+ - Json parsing compatibility
183+ - Add exception catching and log printing when executeFunction is called with V8 engine in Android
184+ - Fix SliverGridDelegateWithFixedCrossAxisCount conversion error.
185+ - SugarMap and SugarMapEach inputs support other Sugar expressions
186+ - Optimize the performance of ifEqual ifEqualBool switchCase
187+ - Fix Domain not recognizing index and item in sugar
188+ - Make AOT also follow conditions before executing code
189+ - Fix SugarMap and SugarMapEach set input does not support other Sugar syntax
190+ - Abstract Domain, add IndexDomain, MapEachDomain, support nested Domains
191+ - New FunctionDomain generic Domain, generate corresponding parameters for function callbacks for FunctionDomain to use.
192+ - Added NullableIndexedWidgetBuilder, IndexedWidgetBuilder, WidgetBuilder, TransitionBuilder common Sugar support
193+ - Some known issues fixed
194+
176195### 3.1.0
177196updateDate:2023.03.14
178197
0 commit comments