Skip to content

Commit

Permalink
发布2.8.0版本
Browse files Browse the repository at this point in the history
  • Loading branch information
yancechen committed Oct 21, 2022
1 parent 91a362a commit 7d67c74
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 14 deletions.
12 changes: 10 additions & 2 deletions README-zh.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
![social preview](social-dark.png)

<p align="center">
<a href="https://pub.dev/packages/fair"><img src="https://img.shields.io/badge/pub-2.7.0-orange" alt="pub"></a>
<a href="https://pub.dev/packages/fair"><img src="https://img.shields.io/badge/pub-2.8.0-orange" alt="pub"></a>
<a href="https://github.com/wuba/fair"><img src="https://img.shields.io/badge/platform-flutter-blue.svg" alt="github"></a>
<a href="https://fair.58.com/"><img src="https://img.shields.io/badge/doc-fair.58.com-green.svg" alt="doc"></a>
<a href="https://github.com/wuba/fair/LICENSE"><img src="https://img.shields.io/badge/license-BSD-green.svg" alt="license"></a>
Expand Down Expand Up @@ -58,7 +58,7 @@ git clone https://github.com/wuba/fair.git
```yaml
# add Fair dependency
dependencies:
fair: 2.7.0
fair: 2.8.0

# add build_runner and compiler dependency
dev_dependencies:
Expand Down Expand Up @@ -114,6 +114,14 @@ data: {"fairProps": json.encode({})}),
```

## 🔨最近版本

### 2.8.0
更新时间:2022.10.21

- 适配 Flutter SDK 3.3.0+;
- 新增语法糖:Sugar.isNestedScrollViewHeaderSliversBuilder、Sugar.isButtonStyle、Sugar.isDuration、Sugar.popMenuButton、Sugar.sliverChildBuilderDelegate、Sugar.sliverGridDelegateWithFixedCrossAxisCount;
- 修复了一些bug。

### 2.7.0
更新时间:2022.08.10

Expand Down
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
![social preview](social-dark.png)
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
<p align="center">
<a href="https://pub.dev/packages/fair"><img src="https://img.shields.io/badge/pub-2.7.0-orange" alt="pub"></a>
<a href="https://pub.dev/packages/fair"><img src="https://img.shields.io/badge/pub-2.8.0-orange" alt="pub"></a>
<a href="https://github.com/wuba/fair"><img src="https://img.shields.io/badge/platform-flutter-blue.svg" alt="github"></a>
<a href="https://fair.58.com/"><img src="https://img.shields.io/badge/doc-fair.58.com-green.svg" alt="doc"></a>
<a href="https://github.com/wuba/fair/LICENSE"><img src="https://img.shields.io/badge/license-BSD-green.svg" alt="license"></a>
Expand Down Expand Up @@ -50,12 +50,12 @@ Assuming that the fair project and your own project are in the same folder:
```yaml
# add Fair dependency
dependencies:
fair: 2.7.0
fair: 2.8.0

# add build_runner and compiler dependency
dev_dependencies:
build_runner: ^2.0.0
fair_compiler: ^1.2.0
fair_compiler: ^1.3.0

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

## versions

### 2.8.0
updateDate:2022.10.21

- Add support of Flutter SDK 3.3.0+.
- Add Sugar:Sugar.isNestedScrollViewHeaderSliversBuilder、Sugar.isButtonStyle、Sugar.isDuration、Sugar.popMenuButton、Sugar.sliverChildBuilderDelegate、Sugar.sliverGridDelegateWithFixedCrossAxisCount.
- Fixed some bugs.

### 2.7.0
updateDate:2022.08.10

Expand Down
3 changes: 3 additions & 0 deletions compiler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## [1.3.0]
* Module split.

## [1.2.2]
* bugfix.

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

# add build_runner and compiler dependency
dev_dependencies:
build_runner: ^2.0.0
fair_compiler: ^1.2.2
fair_compiler: ^1.3.0

# switch "fair_version" according to the local Flutter SDK version
# 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
Expand Down
4 changes: 2 additions & 2 deletions compiler/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: fair_compiler
description: A complier which can generate Fair bundle for widget with annotation.
version: 1.2.2
version: 1.3.0
homepage: https://fair.58.com/

environment:
Expand All @@ -26,7 +26,7 @@ dependencies:
# path: ../annotation
http: ^0.13.3
fair_dart2dsl: ^1.0.1
fair_dart2js: ^1.2.0
fair_dart2js: ^1.3.0

dev_dependencies:
test: ^1.17.12
4 changes: 4 additions & 0 deletions dart2js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.3.0

- 模块拆分

## 1.2.0

- 支持static方法解析
Expand Down
2 changes: 1 addition & 1 deletion dart2js/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: fair_dart2js
description: Convert individual dart file to js.
version: 1.2.0
version: 1.3.0
homepage: https://fair.58.com/

environment:
Expand Down
5 changes: 5 additions & 0 deletions fair/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [2.8.0]
* Add support of Flutter SDK 3.3.0+.
* Add Sugar:Sugar.isNestedScrollViewHeaderSliversBuilder、Sugar.isButtonStyle、Sugar.isDuration、Sugar.popMenuButton、Sugar.sliverChildBuilderDelegate、Sugar.sliverGridDelegateWithFixedCrossAxisCount.
* Fixed some bugs.

## [2.7.0]
* Add support of Flutter SDK 3.0.0、3.0.1、3.0.2、3.0.3、3.0.4、3.0.5.
* Fixed some bugs.
Expand Down
4 changes: 2 additions & 2 deletions fair/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<img src="https://fair.58.com/logo.png">
</p>
<p align="center">
<a href="https://pub.dev/packages/fair"><img src="https://img.shields.io/badge/pub-2.7.0-orange" alt="pub"></a>
<a href="https://pub.dev/packages/fair"><img src="https://img.shields.io/badge/pub-2.8.0-orange" alt="pub"></a>
<a href="https://github.com/wuba/fair"><img src="https://img.shields.io/badge/platform-flutter-blue.svg" alt="github"></a>
<a href="https://fair.58.com/"><img src="https://img.shields.io/badge/doc-fair.58.com-green.svg" alt="doc"></a>
<a href="https://github.com/wuba/fair/LICENSE"><img src="https://img.shields.io/badge/license-BSD-green.svg" alt="license"></a>
Expand All @@ -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.7.0
fair: ^2.8.0
```
Wrap your app with FairApp Widget.
Expand Down
2 changes: 1 addition & 1 deletion fair/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: fair
description: Flutter Fair is a package used to update widget dynamically.
version: 2.7.0
version: 2.8.0
homepage: https://fair.58.com/

environment:
Expand Down

0 comments on commit 7d67c74

Please sign in to comment.