Skip to content

Releases: umijs/umi

[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

[email protected]

14 Mar 08:33
Compare
Choose a tag to compare

🚀 Enhancement

  • umi-build-dev
    • #210 feat(umi-build-dev): support disable HTML generatation via HTML=none. (@sorrycc)
    • #209 feat(umi-build-dev): support config outputPath in .umirc.js. (@sorrycc)
    • #203 feat(umi-build-dev): move css link to the tag. (@sorrycc)
  • umi
  • af-webpack
    • #191 feat(af-webpack): support use comment in eslintrc. (@sorrycc)

🐛 Bug Fix

  • umi-build-dev
    • #211 fix(umi-build-dev): extraBabelPresets and extraBabelPlugins don't work. (@sorrycc)
  • umi-build-dev, umi-plugin-yunfengdie
    • #208 fix(umi-plugin-yunfengdie): css publicPath problem. (@sorrycc)
  • af-webpack
    • #205 fix(af-webpack): image loader match failed when have directory named *.html. (@sorrycc)
  • umi-plugin-dva

Committers: 1


中文版 CHANGELOG :

  • 支持通过 HTML=none 禁用 HTML 的生成,#210
  • 支持通过在 .umirc.js 里配置 outputPath,#209
  • 移动 <link rel="stylesheet" /></head> 标签内,#203
  • 改进 typescript 定义,#192
  • 支持在 .eslintrc 里使用注释,#191
  • 修复 extraBabelPresets 和 extraBabelPlugins 不生效的问题,#211
  • 修复云凤蝶插件里 CSS 里引用图片的路径问题,[email protected]#208
  • 修复目录名包含 .html 时 image loader 出错的问题,#205
  • 修复 umi-plugin-dva 的 ts 问题,#204

[email protected]

08 Mar 06:30
Compare
Choose a tag to compare
  • umi test support extend jest config with jest.config.js, #182
  • feat(af-webpack): new config cssModulesWithAffix, #182
  • feat(umi): support config cwd with process.env.APP_ROOT, #184
  • fix: layout don't support ts, tsx and jsx affix, #187

  • umi test 支持通过 jest.config.js 进行扩展配置,#182
  • 新的 .webpackrc 配置项 cssModulesWithAffix,#182
  • 通过环境变量 APP_ROOT 支持 cwd 的配置,方便接入 egg,#184
  • 修复 layout 不支持 ts、tsx、jsx 后缀的问题, #187

[email protected]

07 Mar 03:46
Compare
Choose a tag to compare
  • fix: winPath problem for global-js and hd plugin, #172
  • fix: don't minify font values for CSS, #166

[email protected]

07 Mar 03:47
Compare
Choose a tag to compare
  • feat: improve models resolve, #173

[email protected]

06 Mar 08:27
Compare
Choose a tag to compare

More on #161.

  • feat: specify context.path when generating HTML content
  • feat: support global.js
  • feat: support custom hd solution with hd.js
  • fix: exact property incorrent when using _routes.json, Close #160
  • feat: don't remove attribute quotes for HTML files
  • feat(af-webpack): support config urlLoaderExcludes

  • 生成 HTML 内容时额外传入 context.path 给模板
  • 约定 src/global.(j|t)sx? 为 JS 入口文件,对应 CSS 的 global.(css|less),你可以在这里引用 polyfill 或其他文件
  • 约定 src/hd.js 为自定义的 hd 方案文件(注意:要先开 hd 配置)
  • 修复 _routes.json 里声明非 exact 时不生效的问题,Close #160
  • 压缩 HTML 文件时不移除引号(内部流程上的一个工具不支持。。)
  • 支持在 .webpackrc 里配置 urlLoaderExcludes