Skip to content

Commit e50fc01

Browse files
committed
1.0.0
1 parent 7491df5 commit e50fc01

3 files changed

Lines changed: 21 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11

2+
## `1.0.0`
3+
4+
- [42](https://github.com/dvajs/dva/pull/42)
5+
- Add namespace prefix for reducers and effects automatically
6+
- Add namespace prefix for dispatch in subscriptions, and put in effects
7+
- Delete api `dva/effects`, it's passed to effect as second argument
8+
- Simplify `app.start()`, move config to `dva()`
9+
- Change subscriptions format to Object, keep the same with effects and reducers
10+
- Replace assert with [invariant](https://github.com/zertosh/invariant) and [warning](https://github.com/BerkeleyTrue/warning)
11+
- Refactor testcase
12+
- [56](https://github.com/dvajs/dva/pull/56) - Remove router match from history, use [path-to-regexp](https://github.com/pillarjs/path-to-regexp) instead, [example](https://github.com/dvajs/dva-hackernews/commit/3314c7cf0751def7a87b351b87983aba0ba4b100)
13+
- [59](https://github.com/dvajs/dva/pull/59) - Add onEffect hook, so we can use plugin like [dva-loading](https://github.com/dvajs/dva-loading)
14+
- [71](https://github.com/dvajs/dva/pull/71) - Use handleActions directly to resize dva size by 46K (minified)
15+
16+
Docs: [Upgrade to 1.0.0](https://github.com/dvajs/dva/pull/42#issuecomment-241323617)
17+
218
## `0.0.16`
319

420
- Fix renderProps undefined when redirecting

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Coverage Status](https://img.shields.io/coveralls/dvajs/dva.svg?style=flat)](https://coveralls.io/r/dvajs/dva)
66
[![NPM downloads](http://img.shields.io/npm/dm/dva.svg?style=flat)](https://npmjs.org/package/dva)
77

8-
Lightweight elm-style framework based on react and redux.
8+
React and redux based, lightweight and elm-style framework.
99

1010
----
1111

@@ -19,7 +19,7 @@ Lightweight elm-style framework based on react and redux.
1919
- [Demos](#demos)
2020
- [dva 简介:Why dva and What's dva](https://github.com/dvajs/dva/issues/1)
2121
- [教程:教你如何一步步完成一个中型应用](https://github.com/dvajs/dva-docs/blob/master/zh/tutorial/01-%E6%A6%82%E8%A6%81.md)
22-
- [升级文档:Upgrade to 1.0.0-beta1](https://github.com/dvajs/dva/pull/42#issuecomment-241323617)
22+
- [升级文档:Upgrade to 1.0.0](https://github.com/dvajs/dva/pull/42#issuecomment-241323617)
2323

2424
扩展阅读:
2525

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "dva",
3-
"version": "1.0.0-beta4",
4-
"description": "Front-end framework based on react, redux, react-redux, react-router and redux-saga, inspired by elm and choo.",
3+
"version": "1.0.0",
4+
"description": "React and redux based, lightweight and elm-style framework.",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/dvajs/dva"
@@ -16,7 +16,6 @@
1616
"redux",
1717
"redux-saga",
1818
"elm",
19-
"choo",
2019
"framework",
2120
"frontend"
2221
],
@@ -102,4 +101,4 @@
102101
"mobile.js",
103102
"index.js"
104103
]
105-
}
104+
}

0 commit comments

Comments
 (0)