Skip to content

Releases: umijs/umi

[email protected]

24 Apr 08:40
Compare
Choose a tag to compare

Unreleased (2018-04-24)

🐛 Bug Fix

  • umi-build-dev
    • #372 fix(umi-build-dev): /index.html should be resolved in dev mode. (@sorrycc)

Committers: 1

[email protected]

24 Apr 07:17
Compare
Choose a tag to compare

[email protected] (2018-04-24)

🚀 Enhancement

  • af-webpack, babel-preset-umi, umi-build-dev, umi-test, umi
    • #371 feat: lock babel related dependency version since it's in beta. (@sorrycc)
  • af-webpack, umi-build-dev
    • #370 feat: don't connect socket if SOCKET_SERVER is set to none. (@sorrycc)
  • umi-build-dev
    • #364 feat(umi-build-dev): don't generate service-worker related files if disabled or in dev mode. (@sorrycc)
    • #363 feat(umi-build-dev): improve error output for plugin not found. (@sorrycc)
  • af-webpack
    • #360 feat(af-webpack): add preprocessor for config. (@jdz321)
  • umi-build-dev, umi
  • umi-plugin-dva, umi
    • #348 feat(umi-plugin-dva): expose immer when { immer: true }. (@sorrycc)
  • umi-plugin-dva
    • #347 feat(umi-plugin-dva): built-in path-to-regexp and object-assign. (@sorrycc)

🐛 Bug Fix

  • umi-plugin-dll
    • #362 fix(umi-plugin-dll): umi-fastclick not found. (@sorrycc)
  • umi-build-dev
    • #342 fix(umi-build-dev): ./page as pages root don't work. (@sorrycc)

Committers: 2


中文版 CHANGELOG:

  • 改进路由,支持动态可选路由,权限路由,面包屑,切换动效等,#351
  • 更新路由文档,https://umijs.org/docs/zh-Hans/router.html
  • 锁定 babel 相关依赖版本,#371
  • 支持通过 SOCKET_SERVER=none 禁用 socket 连接,某些场景需要,#370
  • service worker 的临时脚本在 dev 和禁用后不生成,#364
  • 改进 umi 插件找不到时的报错提示,#363
  • umi-plugin-dva: 内置常用依赖 immer、path-to-regexp 和 object-assign,#347, #348
  • umi-plugin-dll: 修复 umi-fastclick 找不到的问题
  • 修复单数模式下 ./page 目录不生效的问题,#342

[email protected]

13 Apr 06:51
Compare
Choose a tag to compare

[email protected] (2018-04-13)

🚀 Enhancement

  • af-webpack
    • #327 feat(af-webpack): support disable detect-port via DETECT_PORT=none. (@sorrycc)
    • #322 feat(af-webpack): support umi dev with https server. (@gaokai)

🐛 Bug Fix

  • umi-build-dev
    • #319 fix(umi-buil-dev): global.scss don't work. (@sorrycc)

Committers: 2


中文版 CHANGELOG:

  • 通过 HTTPS=true 环境变量支持 https 服务器, #322
  • 通过 DETECT_PORT=none 禁用端口检测,解决某些环境下端口检测始终会冲突的问题,#327
  • 修复 global.scss、global.sass 不生效的问题,#319

[email protected]

11 Apr 08:59
Compare
Choose a tag to compare

1.1.5 (2018-04-11)

🚀 Enhancement

  • umi-build-dev
    • #311 feat(umi-build-dev): resolve local react and react-dom if specified in package.json. (@sorrycc)
    • #307 feat(umi-build-dev): support disable fastclick via opts. (@sorrycc)
    • #305 feat(umi-build-dev): resolve global.sass and global.scss if exists. (@sorrycc)
  • umi
  • af-webpack
    • #294 feat(af-webpack):add progress-bar-webpack-plugin for indicating progress of build process. (@dickeylth)
    • #293 feat(af-webpack): support opts.tsConfigFile and resolve default tsconfig.json under cwd. (@sorrycc)
  • umi-plugin-dva
    • #303 feat(umi-plugin-dva): integrate dva-immer with opts { immer: true }. (@sorrycc)

🐛 Bug Fix

  • af-webpack, umi-build-dev
    • #310 fix(umi-build-dev): variable path should be placed later. (@sorrycc)
  • umi-build-dev

Committers: 3


中文版 CHANGELOG:

  • [email protected]:升级 dva 依赖,并支持通过 { immer: true } 使用 dva-immer, #303
  • 优先找 pacakge.json 中声明的 react 和 react-dom 版本,#311
  • 支持通过 .umirc.js 里通过 disableFastClick 禁用 fastclick 脚本的引入,#307
  • 全局样式支持 global.sass 和 global.scss,#305
  • 添加简单的 umi help 信息,#298
  • 添加 webpack 构建的进度条提示,#294
  • 修复指定了 APP_ROOT 后 tsconfig.json 没有找对的问题,#293
  • 修复变量路由的顺序问题,#310
  • 修复全局样式的载入顺序为最后载入,便于覆盖 antd 等库的样式,#308

[email protected]

30 Mar 06:33
Compare
Choose a tag to compare

1.1.4 (2018-03-30)

🚀 Enhancement

  • umi-build-dev, umi-plugin-dva
    • #280 feat: support config singular in .umirc.js. (@sorrycc)
    • #278 feat: disable code-splitting via disableDynamicImport config in .umirc.js. (@sorrycc)
  • af-webpack, umi-build-dev, umi-test, umi
  • af-webpack
    • #72 feat(af-webpack): use HashedModuleIdsPlugin. (@pigcan)
  • umi-plugin-dva
    • #275 feat(umi-plugin-dva): config dva via dva.js. (@sorrycc)
  • umi-plugin-dll
    • #273 feat(umi-plugin-dll): enable cache and gzip for umi.dll.js. (@sorrycc)

🐛 Bug Fix

  • umi-build-dev
    • #276 fix(umi-build-dev): 404 page generate failed when exportStatic is set. (@sorrycc)

Committers: 2


中文版 CHANGELOG:

  • 支持在 .umirc.js 里配置 disableDynamicImport 禁用 Code Splitting,#278
  • 支持在 .umirc.js 里配置 singular 启用单数目录,src/layout/index.js, src/page, model (umi-plugin-dva) 等,#280
  • 升级依赖 [email protected], autoprefixer@8, chokidar@2, cross-spawn@6 等,#279
  • hash 构建开启 HashedModuleIdsPlugin,#72
  • [email protected]: 改进扩展 dva 的方式,通过 src/dva.js,#275
  • [email protected]: umi.dll.js 开启 gzip 压缩和缓存头,#273
  • 修复设置 exportStatic 且有 404.js 时构建出错的问题,#276

[email protected]

28 Mar 05:42
Compare
Choose a tag to compare

1.1.3 (2018-03-28)

🚀 Enhancement

  • umi-plugin-yunfengdie
    • #270 feat(umi-plugin-yunfengdie): add tip about disableServiceWorker. (@paranoidjk)
  • umi-plugin-dll

🐛 Bug Fix

  • umi-build-dev
    • #269 fix(umi-build-dev): 404 page don't work in build. (@sorrycc)

Committers: 3


中文版 CHANGELOG:

[email protected]

26 Mar 09:02
Compare
Choose a tag to compare

1.1.2 (2018-03-26)

🚀 Enhancement

  • umi-build-dev
    • #260 feat(umi-build-dev): load files in mock/ automatically if .umirc.mock.js don't exists. (@sorrycc)
  • af-webpack
    • #259 feat(af-webpack): enable babel cache, and support disable it with BABEL_CACHE=none. (@sorrycc)
  • af-webpack, umi-build-dev, umi-plugin-dll, umi

🐛 Bug Fix

  • umi-build-dev

Committers: 2


中文版 changelog:

  • 新增 umi-plugin-dll,以 antd-admin 为例,可提速 1 倍,#258
  • 默认开启 babel 缓存,可通过 BABEL_CACHE=none 禁用, #259
  • 改进 mock,.umirc.mock.js 不存在时自动载入 mock 文件夹下的 JS 文件, #260
  • 修复第一级目录是变量目录时不生效的问题,#254

[email protected]

24 Mar 01:10
Compare
Choose a tag to compare

1.1.1 (2018-03-24)

🐛 Bug Fix

  • umi-build-dev
    • #253 fix: winPath problem in nested routes. (@boxcc)

Committers: 1

[email protected]

23 Mar 08:37
Compare
Choose a tag to compare

1.1.0 (2018-03-23)

🚀 Enhancement

  • umi-build-dev, umi-plugin-dva, umi-plugin-routes, umi
    • #236 feat(umi-build-dev): support nested routes. (@sorrycc)
  • umi-build-dev
    • #240 feat(umi-build-dev): watch _routes.json's change and regenerate router. (@sorrycc)
  • af-webpack

🐛 Bug Fix

  • umi-build-dev
    • #248 fix(umi-build-dev): react-dom/server can't resolve. (@sorrycc)

Committers: 2


中文版 changelog:

  • 支持路由嵌套,详见文档#236
  • 改进 Disconnected Message 样式,#229
  • 监听 _routes.json 变动自动生效,#240
  • 修改默认的 publicPath 为 /static/#174
  • 修复 react-dom/server 不能被 resolve 到, #248

[email protected]

15 Mar 09:28
Compare
Choose a tag to compare

1.0.8 (2018-03-15)

🚀 Enhancement

  • af-webpack, babel-preset-umi, eslint-config-umi, umi-build-dev, umi-plugin-dva, umi-plugin-routes, umi-plugin-yunfengdie, umi

🐛 Bug Fix

  • umi-plugin-dva
    • #217 fix(umi-plugin-dva): endless loop if route if outside of the pages dir. (@sorrycc)

Committers: 1


中文版 changelog:

  • 新增 umi-plugin-routes, 详见 #222
  • 修复 umi-pugin-dva 一个无限循环问题,#217