Releases: ElemeFE/element
Releases · ElemeFE/element
2.8.0
New features
- Divider
- Add divider component (#15055 by @island205)
- Rate
- Add custom colors and icon-classes by passing a object (#15051 by @SimonaliaChen)
- Link
- Calendar
- Icon
- Alert
- Add dark theme (#15041 by @island205)
- Image
- Add image component (#15117 by @SimonaliaChen)
- Collapse
- Carousel
- Pagination
- Slider
- Input
- InputNumber
- Tooltip, Dropdown, Popover
Bug fixes
- Notification
- Form
- Pagination
- Table
- Fix load bug in lazy mode (#15101 by @ziyoung)
- Fix cell width when colspan is grater than 1 (#15196 by @ziyoung)
- Improve performance (#14868 by @ziyoung)
- Don't emit triggers sort-change during initialization (#14625 by @PeanutWatson)
- Equal behaviour for height and max-height (#14660 by @arthurdenner)
- Dialog
- Alert
- Tabs
- Message
- Fix type definition (#14968 by @agoni1212)
- Select
- Tree
- Delete current node after it removed (#14604 by @sinchang)
- Improve performance (#14881 by @ChenZhuoSteve)
- Dropdown
- Slider
- Menu
- Directive
- RepeatClick: use Date.now() instead of new Date() (#14776 by @pavelmash)
- Upload
- Theme
Optimization
- Chore
- Update changelog zh-cn (#14965 by @iamkun)
- Hide demo description when it's empty (#15014 by @ziyoung)
- Display dev server info by default by @iamkun)
- Fix 2.6.0 changelog error (#15026 by @iamkun)
- Update build config (#14821 by @abc3660170)
- Add hmr (#15221 by @SimonaliaChen)
- Use sourcemap in dev environment (#15087 by @ibufu)
Docs - Rename variable in docs (#14602 #15003 #15094 #15105 by @liupl)
- Fix upload doc error (#15023 by @iamkun)
- Update Form custom validator doc (#15040 by @iamkun)
- Update Tabs docs to display vertical tabs (#15053 by @iamkun)
- Use eleme.cn as domain (#15139 by @ziyoung)
- Fix Image route name (#15194 by @iamkun)
- Remove duplicated fr translation (#15207 by @iamkun)
Breaking changes
- Rate
- Select
新特性
- Divider
- 新增 Divider 组件 (#15055 by @island205)
- Rate
- 支持通过对象自定义 colors 与 icon-classes 属性 (#15051 by @SimonaliaChen)
- Link
- Calendar
- Icon
- Alert
- 新增高饱和度主题 (#15041 by @island205)
- Image
- 新增 Image 组件 (#15117 by @SimonaliaChen)
- Collapse
- Carousel
- Pagination
- Slider
- Input
- InputNumber
- Tooltip, Dropdown, Popover
Bug fixes
- Notification
- Form
- Pagination
- Table
- 修复懒加载时加载数据的 bug (#15101 by @ziyoung)
- 在合并单元格时,修复单元格的宽度计算不正确的问题 (#15196 by @ziyoung)
- 提升表格的性能 (#14868 by @ziyoung)
- 初始化时不再触发 sort-change 事件 (#14625 by @PeanutWatson)
- 让 height 与 max-height 属性的行为保持一致 (#14660 by @arthurdenner)
- Dialog
- Alert
- Tabs
- Message
- 修复 typescript 定义文件 (#14968 by @agoni1212)
- Select
- Tree
- 当前节点被删除后,选中的节点也应该删除 (#14604 by @sinchang)
- 提升性能 (#14881 by @ChenZhuoSteve)
- Dropdown
- Slider
- Menu
- Directive
- RepeatClick: 使用 Date.now 提升性能 (#14776 by @pavelmash)
- Upload
- Theme
Optimization
- Chore
- 更新中文 changelog (#14965 by @iamkun)
- 当 demo 描述为空时,不再显示 (#15014 by @ziyoung)
- 显示 DevServer 的信息 (#15028 by @iamkun)
- 修复 2.6 changelog 的 bug (#15026 by @iamkun)
- 更新构建脚本 (#14821 by @abc3660170)
- 本次开发时支持热更新 (#15221 by @SimonaliaChen)
- 本地开发时,加载 sourcemap (#15087 by @ibufu)
Docs - 重命名 demo 中的变量 (#14602 #15003 #15094 #15105 by @liupl)
- 修复 upload 文档中的错误 (#15023 by @iamkun)
- 更新 Form 文档 (#15040 by @iamkun)
- 更新 Tabs 文档 (#15053 by @iamkun)
- 使用 eleme.cn 作为新域名 (#15139 by @ziyoung)
- 修复 Image 组件的路由名 (#15194 by @iamkun)
- 删除多余的法语翻译 (#15207 by @iamkun)
Breaking changes
2.7.2
修复
优化
Bug fixes
Optimization
2.7.1
修复
- Select
- 清空时设置 value 为 null (#14322 by @aaronfulkerson)
- Input
- Table
- Dialog
- Form
优化
- 文档
Bug fixes
- Select
- Set value to null when cleared (#14322 by @aaronfulkerson)
- Input
- Table
- Dialog
- Form
Optimization
2.7.0
新特性
修复
- Tabs
- 阴影样式使用全局主颜色 (#14558 by @Richard-Choooou)
- 当 label 改变时触发更新 (#14496 by @akki-jat)
- Table
- NavMenu
- 修复点击 el-submenu 多次触发 childMenu 问题 (#14443 by @PanJiaChen)
- Dropdown
- ColorPicker
- Tree
- Tooltip
- Docs
- 更新 Cascader 文档 (#14442 by @panhezeng)
- Style
优化
New features
Bug fixes
- Tabs
- Use primary color as boxShadow color (#14558 by @Richard-Choooou)
- Rerender when label changes (#14496 by @akki-jat)
- Table
- NavMenu
- Fix click el-submenu trigger childMenu pop again bug (#14443 by @PanJiaChen)
- Dropdown
- ColorPicker
- Tree
- Tooltip
- Docs
- Update cascader docs (#14442 by @panhezeng)
- Style
Optimization
2.6.3
2.6.2
新特性
- DatePicker
- i18n
- Docs
修复
- Input
- DatePicker
- Steps
- Docs
- 重命名 Table 文档中的变量 (#14587 by @likwotsing)
- 添加法语文档索引 (#14565 by @iamkun)
- 修复 TimePicker 文档页的样式 (#14579 by @ziyoung)
- 重命名 Upload 文档中的变量 (#14593 by @liupl)
- 在 Form 文档中 添加的 async-validator 文档 (#14694 by @iamkun)
- 修复 Tooltip 文档的 bug (#14748 by @iamkun)
- 修复笔误 (#14751 by @2bj)
- 修复 Switch 在移动端 Webkit 浏览器的高亮问题 (#14703 by @VladG0r)
优化
- Chore:
New features
- DatePicker
- i18n
- Docs
Bug fixes
- Input
- DatePicker
- Steps
- Docs
- Rename variable in Table docs (#14587 by @likwotsing)
- Add french search index (#14565 by @iamkun)
- Fix TimePicker page style (#14579 by @ziyoung)
- Rename variable in Upload docs (#14593 by @liupl)
- Update Form async validator docs (#14694 by @iamkun)
- Fix tooltip doc error (#14748 by @iamkun)
- Fix typo (#14751 by @2bj)
- Fix highlighting control elements for Webkit touch (#14703 by @VladG0r)
Optimization
- Chore
- Update ci build script (#14600 by @ziyoung)
- Update ga tracking (#14560 by @iamkun)
- Add more ga event (#14633 by @iamkun)
- Update discusion group (#14741 by @iamkun)
- Update test deps and conf (#14735 by @wacky6)
- Upgrade gulp (#14745 by @ziyoung)
- Use codepen to display demo & fix doc error (#14747 by @ziyoung)
2.6.1
2.6.0
New features
- Timeline
- DropdownItem
- Add icon prop to
el-dropdown-item
(by @gabrielboliveira in #14088)
- Add icon prop to
- Input
- Add show-password props (by @phshy0607 in #13966)
- Select
- Autocomplete
- Add highlight-first-item prop (by @YamenSharaf in #14269)
- I18n
- Created Armenian locale (by @hamletbarsamyan in #14214)
- Docs
Optimization
- Alert
- Input
- InputNumber
- Remove unnecessary parseFloat (by @JuniorTour in #14172)
- Menu
- Add support for
el-menu-item
without index (by @georgyfarniev in #13298)
- Add support for
- Table
- Upload
- Popup
- Optimize code (by @KAionro in #14413)
- Docs
- Add more detail about how to run play mode for contribution (by @island205 in #14355)
- Warn input as a controlled component. (by @wacky6 in #14463)
- Update Table doc (by @luguokong in #14329)
- Update input doc (by @iamkun in #14437)
- Update custom-theme docs (by @wangguohao in #14297)
- Make the icon style change when hover on it (by @tuxinghuan in #14295)
- Build
- Install stale for issue handling (by @island205 in #14392)
Bug fixes
- Menu
- MessageBox
- Fix type definition (by @NateScarlet in #14278)
- ScrollBar
- Switch
- Table
- Tabs & Dropdown
- Tree
- Docs
新特性
- Timeline
- DropdownItem
el-dropdown-item
支持添加 icon (by @gabrielboliveira in #14088)
- Input
- 添加
show-password
属性,支持配置显示密码按钮 (by @phshy0607 in #13966)
- 添加
- Select
- Autocomplete
- 添加
highlight-first-item
属性,控制是否默认突出显示远程搜索建议中的第一项 (by @YamenSharaf in #14269)
- 添加
- I18n
- 添加亚美尼亚语支持 (by @hamletbarsamyan in #14214)
- Docs
优化
- Alert
- InputNumber
-移除多余的parseFloat
(by @JuniorTour in #14172) - Menu
- 支持
el-menu-item
不添加 index (by @georgyfarniev in #13298)
- 支持
- Table
- Upload
- Popup
- 移除无用代码 (by @KAionro in #14413)
- Docs
- 添加更多文档说明如何贡献代码 (by @island205 in #14355)
- 添加
el-input
是受控组件的警示 (by @wacky6 in #14463) - 优化 Table 的文档 (by @luguokong in #14329)
- 更新 Input 文档 (by @iamkun in #14437)
- 优化自定义主题文档 (by @wangguohao in #14297)
- 为 Icon 文档添加 hover 效果 (by @tuxinghuan in #14295)
- Build
- 使用 Stale 来管理过时(暂定1年)的 Issue 和 PR (by @island205 in #14392)
问题修复
- Menu
- MessageBox
- 修复 TS 定义 (by @NateScarlet in #14278)
- ScrollBar
- Switch
- Table
- Tabs & Dropdown
- Tree
- Docs
2.5.4
修复
- 构建: 修复
.babelrc
配置问题——导致 Tree 等组件没有动画 (by @island205 in #14282)
Bug fixes
- Build: Fix babel config issue which lead to collapse transition broken (by @island205 in #14282)