Skip to content

Commit 7d67c74

Browse files
committed
发布2.8.0版本
1 parent 91a362a commit 7d67c74

File tree

10 files changed

+41
-14
lines changed

10 files changed

+41
-14
lines changed

README-zh.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
![social preview](social-dark.png)
22

33
<p align="center">
4-
<a href="https://pub.dev/packages/fair"><img src="https://img.shields.io/badge/pub-2.7.0-orange" alt="pub"></a>
4+
<a href="https://pub.dev/packages/fair"><img src="https://img.shields.io/badge/pub-2.8.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>
@@ -58,7 +58,7 @@ git clone https://github.com/wuba/fair.git
5858
```yaml
5959
# add Fair dependency
6060
dependencies:
61-
fair: 2.7.0
61+
fair: 2.8.0
6262

6363
# add build_runner and compiler dependency
6464
dev_dependencies:
@@ -114,6 +114,14 @@ data: {"fairProps": json.encode({})}),
114114
```
115115

116116
## 🔨最近版本
117+
118+
### 2.8.0
119+
更新时间:2022.10.21
120+
121+
- 适配 Flutter SDK 3.3.0+;
122+
- 新增语法糖:Sugar.isNestedScrollViewHeaderSliversBuilder、Sugar.isButtonStyle、Sugar.isDuration、Sugar.popMenuButton、Sugar.sliverChildBuilderDelegate、Sugar.sliverGridDelegateWithFixedCrossAxisCount;
123+
- 修复了一些bug。
124+
117125
### 2.7.0
118126
更新时间:2022.08.10
119127

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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-2.7.0-orange" alt="pub"></a>
4+
<a href="https://pub.dev/packages/fair"><img src="https://img.shields.io/badge/pub-2.8.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,12 +50,12 @@ Assuming that the fair project and your own project are in the same folder:
5050
```yaml
5151
# add Fair dependency
5252
dependencies:
53-
fair: 2.7.0
53+
fair: 2.8.0
5454

5555
# add build_runner and compiler dependency
5656
dev_dependencies:
5757
build_runner: ^2.0.0
58-
fair_compiler: ^1.2.0
58+
fair_compiler: ^1.3.0
5959

6060
# switch "fair_version" according to the local Flutter SDK version
6161
# 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
@@ -111,6 +111,13 @@ If you need the hot update platform, please follow [FAIR PUSHY](https://github.c
111111

112112
## versions
113113

114+
### 2.8.0
115+
updateDate:2022.10.21
116+
117+
- Add support of Flutter SDK 3.3.0+.
118+
- Add Sugar:Sugar.isNestedScrollViewHeaderSliversBuilder、Sugar.isButtonStyle、Sugar.isDuration、Sugar.popMenuButton、Sugar.sliverChildBuilderDelegate、Sugar.sliverGridDelegateWithFixedCrossAxisCount.
119+
- Fixed some bugs.
120+
114121
### 2.7.0
115122
updateDate:2022.08.10
116123

compiler/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## [1.3.0]
2+
* Module split.
3+
14
## [1.2.2]
25
* bugfix.
36

compiler/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ A complier which can generate Fair bundle for widget with annotation.
55
![](http://pic1.58cdn.com.cn/nowater/jltx/n_v26dd88a1afa1c4cc9b186524f96ff3f65.png)
66
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
77
<p align="center">
8-
<a href="https://pub.dev/packages/fair"><img src="https://img.shields.io/badge/pub-1.2.2-orange" alt="pub"></a>
8+
<a href="https://pub.dev/packages/fair"><img src="https://img.shields.io/badge/pub-1.3.0-orange" alt="pub"></a>
99
<a href="https://github.com/wuba/fair"><img src="https://img.shields.io/badge/platform-flutter-blue.svg" alt="github"></a>
1010
<a href="https://fair.58.com/"><img src="https://img.shields.io/badge/doc-fair.58.com-green.svg" alt="doc"></a>
1111
<a href="https://github.com/wuba/fair/LICENSE"><img src="https://img.shields.io/badge/license-BSD-green.svg" alt="license"></a>
@@ -48,12 +48,12 @@ Assuming that the fair project and your own project are in the same folder:
4848
```yaml
4949
# add Fair dependency
5050
dependencies:
51-
fair: 2.7.0
51+
fair: 2.8.0
5252

5353
# add build_runner and compiler dependency
5454
dev_dependencies:
5555
build_runner: ^2.0.0
56-
fair_compiler: ^1.2.2
56+
fair_compiler: ^1.3.0
5757

5858
# switch "fair_version" according to the local Flutter SDK version
5959
# 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

compiler/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: fair_compiler
22
description: A complier which can generate Fair bundle for widget with annotation.
3-
version: 1.2.2
3+
version: 1.3.0
44
homepage: https://fair.58.com/
55

66
environment:
@@ -26,7 +26,7 @@ dependencies:
2626
# path: ../annotation
2727
http: ^0.13.3
2828
fair_dart2dsl: ^1.0.1
29-
fair_dart2js: ^1.2.0
29+
fair_dart2js: ^1.3.0
3030

3131
dev_dependencies:
3232
test: ^1.17.12

dart2js/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.3.0
2+
3+
- 模块拆分
4+
15
## 1.2.0
26

37
- 支持static方法解析

dart2js/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: fair_dart2js
22
description: Convert individual dart file to js.
3-
version: 1.2.0
3+
version: 1.3.0
44
homepage: https://fair.58.com/
55

66
environment:

fair/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [2.8.0]
2+
* Add support of Flutter SDK 3.3.0+.
3+
* Add Sugar:Sugar.isNestedScrollViewHeaderSliversBuilder、Sugar.isButtonStyle、Sugar.isDuration、Sugar.popMenuButton、Sugar.sliverChildBuilderDelegate、Sugar.sliverGridDelegateWithFixedCrossAxisCount.
4+
* Fixed some bugs.
5+
16
## [2.7.0]
27
* Add support of Flutter SDK 3.0.0、3.0.1、3.0.2、3.0.3、3.0.4、3.0.5.
38
* Fixed some bugs.

fair/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<img src="https://fair.58.com/logo.png">
33
</p>
44
<p align="center">
5-
<a href="https://pub.dev/packages/fair"><img src="https://img.shields.io/badge/pub-2.7.0-orange" alt="pub"></a>
5+
<a href="https://pub.dev/packages/fair"><img src="https://img.shields.io/badge/pub-2.8.0-orange" alt="pub"></a>
66
<a href="https://github.com/wuba/fair"><img src="https://img.shields.io/badge/platform-flutter-blue.svg" alt="github"></a>
77
<a href="https://fair.58.com/"><img src="https://img.shields.io/badge/doc-fair.58.com-green.svg" alt="doc"></a>
88
<a href="https://github.com/wuba/fair/LICENSE"><img src="https://img.shields.io/badge/license-BSD-green.svg" alt="license"></a>
@@ -19,7 +19,7 @@ We create Fair so we can dispatch UI changes to users as bundle(s), the way simi
1919
Use Flutter Fair require few steps. Add dependency inside `pubspec.yaml`.
2020
```yaml
2121
dependencies:
22-
fair: ^2.7.0
22+
fair: ^2.8.0
2323
```
2424
2525
Wrap your app with FairApp Widget.

fair/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: fair
22
description: Flutter Fair is a package used to update widget dynamically.
3-
version: 2.7.0
3+
version: 2.8.0
44
homepage: https://fair.58.com/
55

66
environment:

0 commit comments

Comments
 (0)