Skip to content

Commit

Permalink
1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Sep 8, 2016
1 parent 7491df5 commit e50fc01
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@

## `1.0.0`

- [42](https://github.com/dvajs/dva/pull/42)
- Add namespace prefix for reducers and effects automatically
- Add namespace prefix for dispatch in subscriptions, and put in effects
- Delete api `dva/effects`, it's passed to effect as second argument
- Simplify `app.start()`, move config to `dva()`
- Change subscriptions format to Object, keep the same with effects and reducers
- Replace assert with [invariant](https://github.com/zertosh/invariant) and [warning](https://github.com/BerkeleyTrue/warning)
- Refactor testcase
- [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)
- [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)
- [71](https://github.com/dvajs/dva/pull/71) - Use handleActions directly to resize dva size by 46K (minified)

Docs: [Upgrade to 1.0.0](https://github.com/dvajs/dva/pull/42#issuecomment-241323617)

## `0.0.16`

- Fix renderProps undefined when redirecting
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Coverage Status](https://img.shields.io/coveralls/dvajs/dva.svg?style=flat)](https://coveralls.io/r/dvajs/dva)
[![NPM downloads](http://img.shields.io/npm/dm/dva.svg?style=flat)](https://npmjs.org/package/dva)

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

----

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

扩展阅读:

Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "dva",
"version": "1.0.0-beta4",
"description": "Front-end framework based on react, redux, react-redux, react-router and redux-saga, inspired by elm and choo.",
"version": "1.0.0",
"description": "React and redux based, lightweight and elm-style framework.",
"repository": {
"type": "git",
"url": "https://github.com/dvajs/dva"
Expand All @@ -16,7 +16,6 @@
"redux",
"redux-saga",
"elm",
"choo",
"framework",
"frontend"
],
Expand Down Expand Up @@ -102,4 +101,4 @@
"mobile.js",
"index.js"
]
}
}

0 comments on commit e50fc01

Please sign in to comment.