Skip to content

Releases: umijs/umi

[email protected]

01 Jun 07:08
Compare
Choose a tag to compare

[email protected] (2018-06-01)

🚀 Enhancement

  • umi-build-dev
    • #584 feat(umi-build-dev): disable COMPILE_ON_DEMAND by default. (@sorrycc)
    • #567 feat(umi-build-dev): add new hook modifyConfig. (@sorrycc)
    • #547 feat(umi-build-dev): improve proxy. (@sorrycc)
  • af-webpack
    • #581 feat: add config typescript for awesome-typescript-loader. (@xiaohuoni)
    • #579 feat(af-webpack): disable hard source and tsconfigpathsplugin by default. (@sorrycc)
  • umi-plugin-dva
    • #576 feat: model文件名是默认的 dva model namespace. (@xc1427)
    • #555 refact(umi-plugin-dva): refact and add testcases. (@sorrycc)
  • umi-build-dev, umi
    • #566 feat: support redirect params. (@sorrycc)
    • #564 feat: compatible with bigfish's routes via BIGFISH_COMPAT. (@sorrycc)

🐛 Bug Fix

  • umi-build-dev
    • #585 fix(umi-build-dev): config change don't update service's config. (@sorrycc)
    • #578 fix(umi-build-dev): winPath causes NotFound route crash. (@sorrycc)
    • #573 fix(umi-build-dev): route problem with htmlSuffix + _layout.js. (@sorrycc)
    • #570 fix(umi-build-dev): route order problem if have index/_layout.js. (@sorrycc)
    • #568 fix(umi-build-dev): hashHistory don't work if it's configured in plugin. (@sorrycc)
  • af-webpack
    • #559 fix(af-webpack): wrong url if HTTPS is set. (@sorrycc)
    • #558 fix(af-webpack): exports undefined problem if es5ImcompatibleVersions is set. (@sorrycc)
  • umi-plugin-dva, umi

Committers: 4


中文版 CHANGELOG :

  • 🌟 默认关闭按需编译,通过 COMPILE_ON_DEMAND=1 开启,#584
  • 🌟 默认关闭 hard source 和 tsconfigpathsplugin,通过环境变量 HARD_SOURCE 和 TS_CONFIG_PATHS_PLUGIN 开启,#579
  • 🌟 改进 proxy,调整到 mock 之前,且支持 hot reload,修改后无需重启 umi server,#492
  • 🌟 支持通过 typescript 配置项配置 awesome-typescript-loader,#581
  • 🌟 支持 redirect params,#566
  • 🌟 通过环境变量 BIGFISH_COMPAT 兼容内部的 bigfish 框架路由,#564
  • 🌟 umi-plugin-dva: 允许省略 model 里的 namespace,默认以文件名为 namespace,#576
  • 🌟 umi-plugin-dva: 重构并添加用例,#555
  • 🐞 修复配置在插件里某些场景下不生效的问题,#585
  • 🐞 修复 winPath 导致 windows 下 NotFound 路由出错的问题,#578
  • 🐞 修复配置了 exportStatic: htmlSuffix 并且使用了 _layout.js 时的匹配问题,#573
  • 🐞 修复使用了 index/_layout.js 时路由的顺序问题,#570
  • 🐞 修复使用 HTTPS 时显示和自动在浏览器里打开的 url 地址不正确的问题,#559
  • 🐞 修复使用 es5ImcompatibleVersions 配置后报 export undefined 的问题,#558
  • 🐞 修复 route 没有 component 时报错的问题,#551

[email protected]

23 May 09:52
Compare
Choose a tag to compare

[email protected] (2018-05-23)

🚀 Enhancement

  • umi-plugin-polyfill
  • umi-build-dev
    • #532 feat(umi-build-dev): proxy config. (@sorrycc)
    • #515 feat(umi-build-dev): support config via env, e.g. config.{env}.js. (@sorrycc)
  • umi-build-dev, umi
  • af-webpack
    • #504 feat(af-webpack): move node_modules before af-webpack's node_modules. (@sorrycc)

🐛 Bug Fix

  • umi-build-dev
    • #533 fix(umi-build-dev): bigfish routes compatible when use relative path with indexRoute.component. (@sorrycc)
    • #531 fix(umi-build-dev): redirect don't compatible with bigfish's style. (@sorrycc)
    • #511 fix(umi-build-dev): config/config.js don't work. (@sorrycc)
  • Other
  • af-webpack, umi-build-dev
    • #526 fix: import from lost dep will cause 100% cpu. (@sorrycc)
  • umi-plugin-dva

Committers: 3


中文版 CHANGELOG:

  • 🌟 新增 umi-plugin-polyfill,一键兼容 IE,#517 [@xiaohuoni]
  • 🌟 支持通过 config.{process.envUMI_ENV}.js 扩展配置,#515
  • 🌟 支持通过配置 disableHash 禁用 hash,#529
  • 🌟 webpack 优先 resolve node_modules,然后再是 af-webpack 的 node_modules 目录,#504
  • 🐞 修复引用一个不存在的依赖在 cnpm/tnpm 下会导致 100% CPU 的问题,#526
  • 🐞 修复和 bigfish 框架(内部)路由的兼容问题,#533#531
  • 🐞 修复 config/config.js 不工作的问题,#511
  • 🐞 修复 guessJSFileFromPath.js 的浏览器兼容语法问题,#530 [@hansnow]
  • 🐞 修复 umi-plugin-dva 在处理 redirect 路由时的兼容问题,#505 [@xiaohuoni]

[email protected]

17 May 10:02
Compare
Choose a tag to compare

[email protected] (2018-05-17)

🚀 Enhancement

  • umi-build-dev
  • umi-plugin-dva
  • af-webpack, umi-plugin-dll
    • #490 feat(af-webpack): enable hard-source-webpack-plugin to boost performance. (@sorrycc)

Committers: 3

[email protected]

16 May 08:59
Compare
Choose a tag to compare

[email protected] (2018-05-16)

🐛 Bug Fix

  • umi-build-dev
    • #485 fix(umi-build-dev): throw error when route have no path. (@sorrycc)
    • #478 fix(umi-build-dev): proxy in .umirc.js don't work. (@sorrycc)
  • umi-plugin-routes
    • #480 fix(umi-plugin-routes): exclude don't work under windows. (@xiaohuoni)

Committers: 2

[email protected]

15 May 09:43
Compare
Choose a tag to compare

[email protected] (2018-05-15)

🐛 Bug Fix

  • umi-build-dev
    • #470 fix(umi-build-dev): sigular layout directory don't work. (@sorrycc)
    • #469 fix(umi-build-dev): page count incorrent if config routes with _routes.json. (@sorrycc)
    • #468 fix(umi-build-dev): /index.html generate failed when exportStatic is set. (@sorrycc)
  • umi-plugin-dva

Committers: 1

[email protected]

15 May 03:48
Compare
Choose a tag to compare

[email protected] (2018-05-15)

🚀 Enhancement

  • umi-build-dev
    • #459 feat(umi-build-dev): add ROUTES_MODIFIER placeholder for runtime routes update. (@sorrycc)
    • #454 feat(umi-build-dev): support config umi via config/config.js. (@sorrycc)
  • af-webpack, umi-build-dev, umi
  • umi-build-dev, umi
  • umi-build-dev, umi-test
  • af-webpack, umi-build-dev, umi-plugin-dll, umi-plugin-routes

🐛 Bug Fix

  • umi-test, umi
  • umi-build-dev
    • #460 fix(umi-build-dev): dynamic import code splitting. (@sorrycc)
    • #402 fix: router replace don't work with dynamic routes in windows. (@boxcc)
    • #435 fix(umi-build-dev): webpackChunkName don't work. (@sorrycc)
  • umi-test
    • #452 fix(umi-test): module-resovle pllugin conflict and json ext support. (@sorrycc)
  • af-webpack, umi-build-dev, umi
  • umi

Committers: 4


中文版 CHANGELOG:

  • 💄 重构路由部分逻辑,保证 95%+ 的测试覆盖率,#414
  • 💄 重构中间件部分,调整顺序,dev 404 不走中间件,而是通过路由实现,支持 HMR,#433
  • 💄 重构 HTML 文件的生成,#437
  • 🌟 路由文件模板添加 ROUTES_MODIFIER 占位,可通过插件在运行时调整路由配置,使用参考具体案例#459
  • 🌟 支持通过 .umirc.js 配置 webpack 配置(原 .webpackrc),#458
  • 🌟 添加 .umirc.js 的别名 config/config.js#454
  • 🌟 路由配置支持 redirect 属性,#453
  • 🌟 新增 TS_CONFIG_PATHS_PLUGIN 环境变量,遇到启动卡很久的用户可以把这个值配为 none 试试,#369
  • 🌟 umi-plugin-dva 新增 exclude 配置项,[@xiaohuoni],#431
  • 🌟 新增插件 umi-plugin-datahub,mock 方案的另一选项
  • 🐞 修复 umi test 出错时 exit code 不对,#461
  • 🐞 修复重构后 code splitting 的问题,并做了一些改进,规则详见 issue,#460
  • 🐞 修复动态路由(包含 $,而 $ 有特殊含义)替换在 windows 下不正常的问题,[@boxcc],#402
  • 🐞 修复 webpackChunkName 在某版本后不工作的问题,注释里少了引号,#435
  • 🐞 修复 umi test 在项目中有定义 module-resolver 后冲突的问题,#452
  • 🐞 修复 windows 下使用 APP_ROOT 后的路径问题(egg-with-umi 的场景),#444
  • 🐞 修复未正确包含 d.ts 文件的问题,[@zhang740],#410

[email protected]

04 May 00:25
Compare
Choose a tag to compare

[email protected] (2018-05-04)

🚀 Enhancement

  • af-webpack, umi-build-dev
    • #421 feat: support disable files watch with WATCH_FILES=none. (@sorrycc)

Committers: 1

[email protected]

03 May 07:45
Compare
Choose a tag to compare

[email protected] (2018-05-03)

🚀 Enhancement

  • af-webpack, umi-build-dev, umi-plugin-datahub
  • umi-plugin-dva

Committers: 2

[email protected]

28 Apr 03:54
Compare
Choose a tag to compare

[email protected] (2018-04-28)

🚀 Enhancement

  • af-webpack
    • #407 feat(af-webpack): new option es5ImcompatibleVersions. (@sorrycc)

🐛 Bug Fix

  • umi

Committers: 2

[email protected]

27 Apr 08:06
Compare
Choose a tag to compare

[email protected] (2018-04-27)

🚀 Enhancement

  • umi-plugin-es5-imcompatible-versions
    • #399 new plugin: umi-plugin-es5-imcompatible-versions. (@sorrycc)

🐛 Bug Fix

  • umi-build-dev
    • #391 fix: import global css failed when have multiple global css files. (@xiaohuoni)

Committers: 2