|
1 | 1 |  |
2 | 2 | <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> |
3 | 3 | <p align="center"> |
4 | | - <a href="https://pub.dev/packages/fair"><img src="https://img.shields.io/badge/pub-2.6.1-orange" alt="pub"></a> |
| 4 | + <a href="https://pub.dev/packages/fair"><img src="https://img.shields.io/badge/pub-2.7.0-orange" alt="pub"></a> |
5 | 5 | <a href="https://github.com/wuba/fair"><img src="https://img.shields.io/badge/platform-flutter-blue.svg" alt="github"></a> |
6 | 6 | <a href="https://fair.58.com/"><img src="https://img.shields.io/badge/doc-fair.58.com-green.svg" alt="doc"></a> |
7 | 7 | <a href="https://github.com/wuba/fair/LICENSE"><img src="https://img.shields.io/badge/license-BSD-green.svg" alt="license"></a> |
@@ -50,22 +50,23 @@ Assuming that the fair project and your own project are in the same folder: |
50 | 50 | ```yaml |
51 | 51 | # add Fair dependency |
52 | 52 | dependencies: |
53 | | - fair: 2.6.1 |
| 53 | + fair: 2.7.0 |
54 | 54 |
|
55 | 55 | # add build_runner and compiler dependency |
56 | 56 | dev_dependencies: |
57 | 57 | build_runner: ^2.0.0 |
58 | 58 | fair_compiler: ^1.2.0 |
59 | 59 |
|
60 | 60 | # switch "fair_version" according to the local Flutter SDK version |
| 61 | +# 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 |
61 | 62 | # Flutter SDK 2.10.x(2.10.0、2.10.1、2.10.2、2.10.3) -> flutter_2_10_0 |
62 | 63 | # Flutter SDK 2.8.x(2.8.0、2.8.1) -> flutter_2_8_0 |
63 | 64 | # Flutter SDK 2.5.x(2.5.0、2.5.1、2.5.2、2.5.3) -> flutter_2_5_0 |
64 | 65 | # Flutter SDK 2.0.6 -> flutter_2_0_6 |
65 | 66 | # Flutter SDK 1.22.6 -> flutter_1_22_6 |
66 | 67 | dependency_overrides: |
67 | 68 | fair_version: |
68 | | - path: ../fair/flutter_version/flutter_2_10_0 |
| 69 | + path: ../fair/flutter_version/flutter_3_0_0 |
69 | 70 | ``` |
70 | 71 |
|
71 | 72 | **step3:Wrap your app with FairApp Widget** |
@@ -109,6 +110,19 @@ For more details, please refer to [https://fair.58.com](https://fair.58.com) |
109 | 110 |
|
110 | 111 | ## versions |
111 | 112 |
|
| 113 | +### 2.7.0 |
| 114 | +updateDate:2022.08.10 |
| 115 | + |
| 116 | +- Add support of Flutter SDK 3.0.0、3.0.1、3.0.2、3.0.3、3.0.4、3.0.5. |
| 117 | +- Fixed some bugs. |
| 118 | + |
| 119 | +#### Fair |
| 120 | +- Fair supports loading bundle files on the phone disk path; |
| 121 | +- Adapt to Flutter SDK 2.10.0, 2.10.1, 2.10.2, 2.10.3; |
| 122 | +- Dart2JS supports parsing static methods; |
| 123 | +- When running, the page error message prompts optimization; |
| 124 | +- Syntactic sugar supports parsing Model data. |
| 125 | + |
112 | 126 | ### 2.6.0 |
113 | 127 | updateDate:2022.07.05 |
114 | 128 |
|
|
0 commit comments