Skip to content

Releases: dvajs/dva

[email protected]

20 Sep 07:53
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

[email protected] (2018-09-20)

💅 Enhancement

  • dva-core, dva-immer, dva-loading, dva-no-router, dva-react-router-3, dva
    • #1908 feat: upgrade babel to 7, and use @babel/runtime-corejs2 (@sorrycc)
  • dva-loading

Committers: 4

[email protected]

10 Aug 03:25
Compare
Choose a tag to compare

[email protected] (2018-08-10)

🐛 Bug Fix

💅 Enhancement

  • dva-core
  • dva-no-router, dva
  • dva-no-router
    • #1849 chore: include missed *.d.ts files for dva-no-router in package.json. (@baurine)

Committers: 5

[email protected]

11 Jun 07:53
Compare
Choose a tag to compare

[email protected] (2018-06-11)

🐛 Bug Fix

📝 Documentation

Committers: 2

[email protected]

01 Jun 07:40
Compare
Choose a tag to compare

[email protected] (2018-06-01)

🐛 Bug Fix

  • dva
    • #1698 Fix incorrect Typescript definition for router. (@shapel)

💅 Enhancement

  • dva-core
    • #1661 enhance: saga-effect take should be able to take multi actions;. (@sjy)
    • #1690 feat: Support put.resolve to wait the effect to resolve. (@macroxing)
    • #1532 feat: Add extension args to onError hook. (@macroxing)
    • #1627 feat(dva-core): migrate to redux@4. (@sorrycc)
  • dva-immer
    • #1729 Feat(dva-immer): compatibility with normal reducer modify pattern. (@paranoidjk)
  • dva

Committers: 14


中文版 CHANGELOG:

  • 支持 put.resolve 调用其他的 effect,#1690
  • dva-immer 兼容旧的 reducer 写法,所以现在就可以在旧项目里用起来了,#1729
  • 升级 redux 到 4,#1627
  • take 支持多个 action,#1661
  • onError 提供额外的 args,#1532
  • 修复 ts 定义,#1668#1698

[email protected]

18 Apr 08:10
Compare
Choose a tag to compare

[email protected] (2018-04-18)

🐛 Bug Fix

  • dva

Committers: 1

[email protected]

10 Apr 08:06
Compare
Choose a tag to compare

Improvement

  • support Typescript, #1248
  • new dva plugin: umi-immer, #1595
  • dva/dynamic support return Promise with model Array, #1355
  • update deps for react-router-redux and redux-saga,#1330
  • throw error when action's type is empty, #1607
  • Refact: update scripts, umd bundle with rollup, test with jest, es module, ..., #1594

Bugfix

  • 修复 dva/dynamic 在动态加载没完成但组件已被卸载时报 setState 警告,#1391
  • fix redux-saga bundled twice, #1610
  • fix model without reducers will lose state after it's injected, #1608
  • fix register the model will affecting itself, #1605
  • fix typo, extitraReducers to extraReducers, #1522
  • fix return Promises when trigger the same effect multiple times, #1602
  • fix the known root container, #1589, #1591

中文版 CHANGELOG :

改进

  • 新增 Typescript 支持, #1248
  • 新增 dva 插件 umi-immer,允许在 reducer 中直接修改对象进行更新,后续会写文章介绍, #1595
  • 新增 dva/dynamic 支持返回数组格式的 model Promise, #1355
  • 增加在 action type 为空时报错, #1607
  • 更新 react-router-redux 依赖版本,修复 peerDependencies 警告问题,#1330
  • Refact: update scripts, umd bundle with rollup, test with jest, es module, ..., #1594

Bugfix

  • 修复 dva/dynamic 在动态加载没完成但组件已被卸载时报 setState 警告,#1391
  • 修复 redux-saga 被打包两次的问题,压缩后尺寸减少 8K, #1610
  • 修复没有 reducers 的 model 在动态注入后会丢失 state 的问题, #1608
  • 修复 model 注册时会修改自己的问题, #1605
  • 修复 typo,extitraReducers -> extraReducers, #1522
  • 修复触发同一个 effect 多次返回的 Promise 不对的问题, #1602
  • 修复 root container 显示 known 的问题, #1589, #1591

[email protected] (November 13, 2017)

13 Nov 07:23
Compare
Choose a tag to compare

Enhancement

  • Rewrite dva/dynamic, 060a6a7
  • Support dynamic.setDefaultLoadingComponent, #1332
  • Check module.default before model is registered, so dva/dynamic should work without babel-plugin-add-module-exports

[email protected]

16 Sep 06:55
Compare
Choose a tag to compare

💅 Enhancement

  • dva-core
    • #1227 feat(dva-core): support set devtool option with window.__REDUX_DEVTOOLS_EXTENSION__OPTIONS. (@sorrycc)
    • #1224 feat(dva-core): support e.preventDefault() in onError to prevent reject. (@sorrycc)

Committers: 1

[email protected]

15 Sep 09:56
Compare
Choose a tag to compare

[email protected] (2017-09-15)

🐛 Bug Fix

  • dva
    • #1209 Fix history.listen don't return the unlisten function, and it makes HMR work again. (@yangbin1994)

Committers: 2

[email protected]

10 Sep 07:49
Compare
Choose a tag to compare

[email protected] (2017-09-10)

🐛 Bug Fix

  • dva-loading
    • #1204 Fix dva-loading: dispatch multiple effects of the same model will break the model loading state. (@sorrycc)

Committers: 1