changelog for 2.5.0 (#14207)

pull/14217/head
Zhi Cun 2019-01-25 15:13:24 +08:00 committed by hetech
parent 32a4c139a9
commit 15b57cbb22
3 changed files with 85 additions and 16 deletions

View File

@ -1,5 +1,27 @@
## Changelog
### 2.5.0
*2019-01-25*
#### New features
- DatePicker
- Add `validate-event` attribute (by @ziyoung in #13531)
- Tag
- Add `click` event (by @licdream in #14106)
- DateTimePicker
- `pickerOptions` support `selectableRange` option (by @eeeeeeeason)
- I18n
- support Kyrgyz language (by @zzjframework in #14174)
#### Optimization
- Upgrade to webpack@4 (by @jikkai in #14173)
- Input
- Simplify implementation (by @wacky6 in #13471)
- Update Axure fileadd new components(by @ziyoung in #13773)
A lot of bugfixes in Autocomplete, Table, Cascader, Tree and so on, [more info](https://github.com/ElemeFE/element/releases/tag/v2.5.0).
### 2.4.11
*2018-11-21*
@ -66,17 +88,17 @@
*2018-09-14*
- Fixed DatePicker not triggering form validation, #12328 #12348
- Fixed DatePicker throwing errors in multiple mode, #12347
- Fixed DatePicker not triggering form validation, #12328 #12348
- Fixed DatePicker throwing errors in multiple mode, #12347
- Fixed incorrect position of DatePicker spinner, #12415 (by @rang-ali)
- Fixed automatic filling of DatePicker input box, #12521 (by @abdallanayer)
- Fixed Input not highlighted in Cascader, #12341
- Fixed wrong order of Tabpane, #12346
- Fixed wrong order of Tabpane, #12346
- Fixed incorrect position of ColorPicker cursor, #12376 (by @cnwhy)
- Fixed the style of Submenu, #2457
- Fixed not highlighted after Submenu is selected, #12479
- Fixed incorrect values selected by Cascader, #12508 (by @huangjinqiang)
- Fixed incorrect value of Pagination input box, #12525
- Fixed incorrect value of Pagination input box, #12525
- Fixed order that Pagination triggers events, #12530
- Fixed Table Filter not displayed, #12539
- Fixed Tree unable to delete nodes, #12684
@ -111,7 +133,7 @@
- Fixed Table setting `class-name` does not work for `expand` column, #12006
- Added `toggleAllSelection` method for Table, #12047
- Fixed wrong position of suffix slot when Input contains Select, #12108
- Fixed wrong position of suffix slot when Input contains Select, #12108
- Fixed `line-height` of Option unable to set, #12120
- Fixed TimeSelect with default value of `null` could not be assigned after executing `resetField`, #12010
- Fixed keydown event which is not arrow key does not work in Tree, #12008
@ -188,7 +210,7 @@
- Added `precision` attribute, #11281
- Tabs
- Added `before-leave` attribute, #11259
- Added `lazy` attribute, #11167by @Kingwl
- Added `lazy` attribute, #11167(by @Kingwl)
- Table
- Added `sort` method to manually sort the table, #11311
@ -343,7 +365,7 @@
- Pagination
- Fixed `current-change` event wrongly triggering without user interaction, #10247
- DatePicker
- Now the date and time value in the dropdown panel are correctly formatted based on the `format` attribute, #10174by @remizovvv
- Now the date and time value in the dropdown panel are correctly formatted based on the `format` attribute, #10174(by @remizovvv)
- Upload
- Fixed `accept` attribute not working when `drag` is true, #10278
@ -436,7 +458,7 @@
- Dropdown
- Fixed dropdown menu incorrect positioning when the page only has a horizontal scrollbar in some browsers, #9138 (by @banzhuanmei)
- Table
- Fixed an error in calculating number of fixed columns after the column data changes, #9188by @kolesoffac
- Fixed an error in calculating number of fixed columns after the column data changes, #9188(by @kolesoffac)
- Fixed the border of the last column of the grouped header not properly displayed, #9326
- Fixed incorrect positioning of table header in Safari, #9327
- Fixed expanded row collapsing when the table data changes, #9462

View File

@ -1,5 +1,27 @@
## Changelog
### 2.5.0
*2019-01-25*
#### New features
- DatePicker
- Add `validate-event` attribute (by @ziyoung in #13531)
- Tag
- Add `click` event (by @licdream in #14106)
- DateTimePicker
- `pickerOptions` support `selectableRange` option (by @eeeeeeeason)
- I18n
- support Kyrgyz language (by @zzjframework in #14174)
#### Optimization
- Upgrade to webpack@4 (by @jikkai in #14173)
- Input
- Simplify implementation (by @wacky6 in #13471)
- Update Axure fileadd new componentsby @ziyoung in #13773
A lot of bugfixes in Autocomplete, Table, Cascader, Tree and so on, [more info](https://github.com/ElemeFE/element/releases/tag/v2.5.0).
### 2.4.11
*2018-11-21*
@ -67,17 +89,17 @@
*2018-09-14*
- Corregido que DatePicker no activaba la validación del Form, #12328 #12348
- Corregidos el lanzamiento de errores del DatePicker en modo múltiple, #12347
- Corregido que DatePicker no activaba la validación del Form, #12328 #12348
- Corregidos el lanzamiento de errores del DatePicker en modo múltiple, #12347
- Corregida la posición incorrecta del spinner del DatePicker, #12415 (por @rang-ali)
- Se ha corregido el llenado automático del input del DatePicker, #12521 (por @abdallanayer)
- Corregida el input no resaltada en Cascader, #12341
- Corregido el orden incorrecto de Tabpane, #12346
- Corregido el orden incorrecto de Tabpane, #12346
- Corregida la posición incorrecta del cursor de ColorPicker, #12376 (por @cnwhy)
- Corregido el estilo del Submenú, #2457
- Corregido el resaltado después de seleccionar el Submenú, #12479
- Corregidos los valores incorrectos seleccionados por Cascader, #12508 (por @huangjinqiang)
- Corregido el valor incorrecto del input de Paginación, #12525
- Corregido el valor incorrecto del input de Paginación, #12525
- Se ha corregido el orden en que la paginación desencadena los eventos, #12530
- Corregido que no se mostraba el Table Filter, #12539
- Corregido Tree que era incapaz de borrar nodos, #12684
@ -112,7 +134,7 @@
- Se ha corregido en Table que `class-name` no funcionaba para las columnas `expand`, #12006
- Se ha añadido el método `toggleAllSelection` para Table, #12047
- Corregida la posición incorrecta del `suffix slot` cuando Input contiene Select, #12108
- Corregida la posición incorrecta del `suffix slot` cuando Input contiene Select, #12108
- Corregido que el `line-height` de Option no se establecia, #12120
- Corregido que TimeSelect con valor por defecto `null` no podia ser asignado después de ejecutar `resetField`, #12010
- Arreglado el evento `keydown` que cuando no era una tecla de flecha no funciona en Tree, #12008
@ -375,7 +397,7 @@
- Corregido Table con fila expandible no calculaba la altura cuando la fila era expandida, #9484
- Corregido que cuando se escribia la fecha de forma manual en DateTimePicker no se disparaba el evento `change`, #9913
- Corregido que Select mostraba sus opciones cuando se hacia click con el botón derecho del mouse en el Input, #9894 (by @openks)
- Agregado el atributo `tooltip-class` para Slider, #9957
- Agregado el atributo `tooltip-class` para Slider, #9957
- Ahora Select permanecera enfocado despues de la selección, #9857 (by @Seebiscuit)
- Agregado el atributo `target-order` para Transfer, #9960
@ -734,7 +756,7 @@
- Atributo `theme` eliminado. El color de Menu se puede configurar utilizando `background-color`, `text-color` y `active-text-color`
- Input
- Atributo `icon` eliminado. Ahora el icono del sufijo puede configurarse usando el atributo `suffix-icon` o el slot con nombre `suffix`.
- Eliminado el atributo `on-icon-click` y el evento `click`. Ahora para añadir el manejador de clics en los iconos, por favor use los slots con nombre.
- Eliminado el atributo `on-icon-click` y el evento `click`. Ahora para añadir el manejador de clics en los iconos, por favor use los slots con nombre.
- El evento `change` se comporta ahora como el nativo, que se activa sólo en la perdida del foco o presionando enter. Si necesita responder a las entradas de usuario en tiempo real, puede utilizar el evento `input`.
- Autocomplete
- Atributo `custom-item` eliminado. Ahora la plantilla de sugerencias del input se puede personalizar utilizando `scoped slot`

View File

@ -1,5 +1,30 @@
## 更新日志
### 2.5.0
*2019-01-25*
#### 新特性
- DatePicker
- 添加 `validate-event` 属性by @ziyoung in #13531
- Tag
- 添加 `click` 事件 by @licdream in #14106
- DateTimePicker
- `pickerOptions` 支持 `selectableRange` 选项by @eeeeeeeason
- I18n
- 新增吉尔吉斯坦语by @zzjframework in #14174
#### 优化
- 升级 Webpack 到 4.x by @jikkai in #14173
- Input
- 简化 `el-input` 的实现 by @wacky6 in #13471
- 更新 Axure 文件新增组件by @ziyoung in #13773
#### 其他
- `README.md` 新增钉钉群二维码,欢迎扫码加入!
还有包括 Autocomplete、Table、Cascader、Tree 等等组件的问题修复和优化,[详情](https://github.com/ElemeFE/element/releases/tag/v2.5.0)。
### 2.4.11
*2018-11-21*
@ -40,7 +65,7 @@
- 用户可以使用 scoped-slot 来自定义表头,#13012by @ivanseidel
- 修复 IE 下 Select 输入框不能输入的问题,#13034by @GaliMU
- Select 多选时,选项不换行,#12329 by @akki-jat
- Select 下拉列表展开后,箭头图标也可以正确显示,#12353by @firesh
- Select 下拉列表展开后,箭头图标也可以正确显示,#12353by @firesh
- 修复 Select 的 size 属性不生效的问题,#13070
- 多选时可以清除 Select 已选中的值,#13049by @ZSkycat
- 修复最后一个 TabNav 不能删除的问题,#13039