Releases: element-plus/element-plus
2.9.2
2.9.2
2025-01-03
Features
-
Components [select-v2] add
fit-input-width
prop (#18834 by @YiMo1) -
Components [select, select-v2] add loading class to validateIcon (#19379 by @LoTwT)
-
Components [table] add allow-drag-last-column prop (#19374 by @btea)
Bug fixes
-
Components [select] resolve 'false' display issue when dropdown hides on search clear (#19244 by @DDDDD12138)
-
Components [date-picker] model-value unexpected changes when type is week (#16795 by @FrontEndDog)
-
Components [menu] fix
sliceIndex
calculation error (#19164 by @wen-lun) -
Components [anchor] scroll whether link is selected at the top (#18047 by @k983551019)
-
Components [focus-trap] tryFocus is invalid for document.body (#19272 by @tolking)
-
Components [inputnumber, input] resolve styling issues caused by using
prefix
andsuffix
(#19042 by @DDDDD12138) -
Components [color-picker] optimize the flickering issue (#18872 by @momei-LJM)
-
Theme-chalk [input-tag] correct input-tag placeholder color (#19386 by @DDDDD12138)
-
Components prevent blur event when is disabled (#19320 by @DDDDD12138)
-
Components [table] the overflowTooltip cannot be refreshed (#19440 by @xingyixiang)
-
Components [upload] unable to delete files in removeFile (#19437 by @ly-yewu)
-
Components [page-header] use
$slots
instead ofuseSlots
(#19455 by @Dsaquel) -
Components [select] input width fills the remaining width (#19292 by @tolking)
-
Style(components): [notification] word wrap (#17052 by @Liao-js)
-
Perf(components): [table] prioritize use rowKey to determine whether it is selected (#19451 by @tolking)
2.9.1
2.9.1
2024-12-13
Features
- Components [dropdown] add triggerKeys attribute (#19124 by @hanchao-c0ldwave)
- Components [tree-v2]
filter-method
support third parameter (#19177 by @btea) - Components [badge] add content slot (#18922 by @xing403)
Bug fixes
- Components [input-tag] trigger the add of tag when Chinese is Composing (#19079 by @tolking)
- Components [notification] display html as string (#19068 by @Dsaquel)
- Components [select] use option.isDisabled as the source of truth (#19137 by @makedopamine)
- Components [input] disabled state wrapper cursor style (#19176 by @btea)
- Components [select-v2] empty value check error in inputRef (#19140 by @Liao-js)
- Components [select] modify the logic of update the watch option (#18931 by @YiMo1)
- Components [table-v2] dynamic height causes overall calculation errors (#19082 by @hanchao-c0ldwave)
- Revert pkg pr new to main version (#19254 by @Aslemammad)
Refactors
- Components [alert] introduce hasDesc helper (#19085 by @zhangenming)
2.9.0
2.9.0
2024-11-29
Breaking changes
- See #15834
Features
- Components [tree-v2] add
props.class
prop (#18911 by @zzjiaxiang) - Components [notification] add support for message as a Function (#18558 by @DDDDD12138)
- I18n add Malay(ms) translation (#18932 by @hcw2175)
- Components [table] expose scroll event (#12524 by @blesstosam)
- Components [tree-v2] add slot
empty
(#18980 by @zhixiaotong) - Components [transfer] add custom empty slot for transfer panels (#18929 by @piskesocute)
- Components [select] add tabindex attribute (#19034 by @tolking)
- Components [input-tag] new component (#18885 by @tolking)
Bug fixes
- Components [select] keep the selected label (#18549 by @warmthsea)
- Types improve styles type by CSSProperties (#18942 by @thinkasany)
- Components [image-viewer] unable to capture focus (#17919 by @tolking)
- Components [tag] make stubbed Transition work in tests (#18928 by @purepear)
- Components [tree-select] expose
selectedLabel
(#18981 by @zhixiaotong) - Components [cascader] multiple selection mode tag causes height change (#18285 by @zzjiaxiang)
- Components [calendar] respect table semantics (#18552 by @Jungzl)
- Components [select] the disabled state should render the input tag (#18443 by @btea)
- Components [date-picker] resolve v-model type inconsistency (#18888 by @DDDDD12138)
- Components [input] the cursor error when click show-password (#19003 by @tolking)
- Components [select] change states.filtertedOptionsCount to filteredOptionsCount.value (#19010 by @makedopamine)
- Components [table] fixed column style when lazyload title (#19020 by @btea)
- Components [input-number] Chinese can be displayed in the numeric input box (#19018 by @yuxi-ovo)
- Components [time-picker] add passive modifier on touchstart event (#19046 by @Dsaquel)
- Components [notification] type declaration error and four types of methods are missing context parameters (#18951 by @YiMo1)
- Components [time-picker] click the Cancel button twice to close time picker (#18938 by @thinkasany)
- Style(components): [button] keep default hover color of link unchanged (#17050 by @btea)
- Style(components): [table] use
--font-size-base
for default font size (#18725 by @DDDDD12138)
2.8.8
2.8.8
2024-11-15
Features
-
Components [skeleton]
throttle
supports values ββas object (#17041 by @chenweiyi) -
Components [select] add
offset
andshow-arrow
prop (#18837 by @DDDDD12138) -
Components [description-item] add labelWidth prop (#18673 by @Lakphy)
Bug fixes
-
Utils[vue] ensure
flattedChildren
traverse component's subTree (#18649 by @ddeerdevil) -
Components [select] prevent keyboard from deleting disabled option (#18752 by @cszhjh)
-
Theme-chalk sass
!global assignments
deprecation warning (#18711 by @warmthsea) -
Components [picker] fix popup not opening when editable is false (#18767 by @DDDDD12138)
-
Components [mention] keyboard control options not work as expected (#18751 by @btea)
-
Components [segmented] invisible active indicator after clearing selection (#18818 by @DDDDD12138)
-
Components [mention] ref dom array order error when list changes (#18787 by @warmthsea)
-
Components [table]
table-layout:auto
fixed column misalignment (#18736 by @btea) -
Components [table] failed to insert tooltip when show-overflow-tooltip is enabled (#18317 by @xingyixiang)
-
Components [select] getValueIndex empty error (#18867 by @warmthsea)
-
Components [select & select-v2] status-icon is invalid (#18101 by @WangYJEE)
-
Components [pagination] input style loss (#18878 by @ToyCat93)
-
Components time-picker disabled-[hours/minutes/seconds] (#13364 by @StephenKe) (#14216)
-
Components numpadEnter does not work like the Enter (#18855 by @tolking)
-
Components [select-v2] resolve overlap of tags and placeholder (#18388 by @tuskermanshu)
-
Components [table] repeat setting the height style (#16054 by @betavs)
Refactors
-
Improvement: [select] optimize the effect of keyboard switching options (#18773 by @btea)
-
Components [select] simplify code (#18810 by @makedopamine)
2.8.7
2.8.7
2024-11-01
Features
-
Components [date-picker] add
show-now
prop (#18625 by @btea) -
Components [date-picker] accessibility enhancement (#18109 by @tolking)
-
Components segmented support vertical direction (#18653 by @thinkasany)
Bug fixes
-
Components [table-v2] header rendering is misplaced (#18628 by @btea)
-
Components [tree] highlight the corresponding node after data reset (#18578 by @momei-LJM)
-
Components [slider] no render popper dom when showTooltip is false (#18667 by @zzjiaxiang)
-
Hooks [useId] SSR hydration error caused by id in [email protected]+ (#18647 by @tolking)
-
Components [select-v2] group label overflow hidden (#18551 by @zzjiaxiang)
-
Components [select] error parameters of getValueIndex (#14173 by @tolking)
-
Downgrade vue-tsc to 2.0.28 (#18737 by @makedopamine)
Refactors
-
Theme-chalk update Sass functions to prep for 3.0.0 (#18579 by @wjp980108)
-
Replace Array.isArray with the built-in isArray (#18671 by @zzjiaxiang)
-
Replace typeof fn with the built-in isFunction (#18705 by @zzjiaxiang)
-
Replace typeof number with the built-in isNumber (#18706 by @zzjiaxiang)
-
Replace type checking with built-in functions (#18720 by @zzjiaxiang)
-
Style(components): [popper] popper border error (#18635 by @Liao-js)
-
Chore(components): [tour] remove redundant check for 'open' variable (#18668 by @cszhjh)
-
Chore(components): [descriptions] optimize the labelAlign (#18644 by @zzjiaxiang)
2.8.6
2.8.6
2024-10-18
Features
Bug fixes
-
Components [dropdown-item] remove redundant attributes (#18340 by @betavs)
-
Components [select-v2] data echo abnormality (#18334 by @betavs)
-
Components [segmented] no option to not render (#18509 by @btea)
-
Progress bar get stuck when navigating between routes (#18586 by @makedopamine)
-
Revert(components): [table-v2] #18179 & fix header checkbox z-index (#18554 by @warmthsea)
2.8.5
2.8.5
2024-10-11
Features
- I18n update germany translations (#18447 by @MaikoTan)
- Components [mention] explicit export dropdownVisible (#18460 by @SorrowX)
- Components [select & select-v2] explicit export
selectedLabel
(#18350 by @warmthsea)
Bug fixes
- Play dayjs cahce miss (#18381 by @makedopamine)
- Theme-chalk upgrade SASS version and fix deprecated color function (#18376 by @lvzhenbo)
- Components [transfer] render the option's label correctly when there's only an empty comment in the default slot (#18416 by @LoTwT)
- Components [table] cancel layout update when component unmount (#18440 by @btea)
- Hooks [lockscreen] compatible with document non-existence (#18445 by @btea)
- Components [mention] native event triggered twice (#18453 by @SorrowX)
- Components [select] use
blur
in the tooltip slot has no effect (#18335 by @warmthsea) - Hooks rendering multiple popper container DOM in SSR/SSG (#18482 by @tolking)
- Components [select] the blur not triggered when click the outside (#18478 by @tolking)
- Components [table] the last column shuld not allow drag (#18444 by @btea)
Refactors
- Components [badge] show-zero implement (#18360 by @warmthsea)
- Docs remove Vite (#18383 by @makedopamine)
2.8.4
2.8.4
2024-09-27
Features
-
Components [autocomplete] add getData to exposes (#18237 by @dormadekhin)
-
Components [date-picker] add
placement
&fallback-placements
(#18310 by @btea) -
Components [input-number] add prefix and suffix (#17993 by @guze2003)
-
Components [cascader] update cascader component to expost presentText (#18338 by @0song)
-
Components add the ability to append table filter panel, select and pagination size dropdowns to any element (#14318 by @Karolis-Stoncius)
-
Components [table] export
updateKeyChildren
method & correct version (#17709 by @warmthsea)
Bug fixes
-
Components [segmented] item may be undefined (#18199 by @vaebe)
-
Components
step-strictly
is true and should keep the initial value and step matching (#18277 by @KESHAOYE) -
Components [scrollbar] compatibility with
wrapRef
does not exist (#18311 by @btea) -
I18n improve translations of Persian (Farsi) (#18290 by @Notorious-Ali)
-
Components [checkbox] default false if no false-value attr (#18187 by @tuskermanshu)
-
Components [carousel] fix style when use motionBlur (#18329 by @momei-LJM)
-
Components [descriptions-cell] redundant slot function calls (#18330 by @betavs)
-
Components [avatar] remove outline from el-avatar component (#18303 by @DDDDD12138)
-
Components [color-picker] support dynamic change of showAlpha prop (#18280 by @chensuifengran)
-
Style(components): [form-item] top-label change to
inline-block
element (#18293 by @warmthsea) -
Style(components): [transfer] delete input__inner
border-radius
(#18351 by @warmthsea)
2.8.3
2.8.3
2024-09-13
Features
- Components [scrollbar] add tabindex to scrollbar wrap content (#14320 by @Karolis-Stoncius)
- Components [tree-v2] support
node-drop
event (#16935 by @MoConWu) - Components [collapse] collpase item supports custom icon (#18215 by @kimverchan)
- Components [cascader-panel] add
empty
slot (#16274 by @btea)
Bug fixes
- Components [menu] move ulStyle from render to setup to fix memory leak (#18122 by @ShirleyYoung19)
- Components [table-v2] sass declaration deprecation error (#18218 by @gaoyia)
- Components [select-v2] label display error when re-rendering (#18128 by @btea)
- Components [tooltip] change ariaHidden value after closed the dropdown (#18207 by @tolking)
- Components [color-picker] supports dynamic change of colorFormat (#18135 by @SKSQ2529720581)
- Components [time-picker] close pick when click clear on pick open (#15390 by @wzc520pyfm)
- Components [table] the disabled checkbox are selected (#18034 by @tolking)
2.8.2
2.8.2
2024-09-06
Features
- Components [check-tag] add disabled prop (#17936 by @HaceraI)
- Components [config-provider] support more message config (#18106 by @btea)
Bug fixes
- The disabled state should not trigger focus (#18012 by @btea)
- Components [pagination] global size dynamic modification error (#18004 by @btea)
- Components [table] getColumnIndex may be undefned (#16782 by @406087475)
- Components [tag] leave animations not working (#18006 by @makedopamine)
- Components [select] switching single/multiple generates an error (#18030 by @tolking)
- The disabled state should not trigger focus (#18108 by @btea)
- Components [el-tree-select] fix lazy and multiple select node (#17903 by @gaoxuan-haxibiao)
- Theme-chalk [select] remove unnecessary codes of the select border (#18116 by @LoTwT)
- Components [select] call the exposes blur is invalid (#17691 by @tolking)
- Components [mention] replace props.disabled with useFormDisabled (#18119 by @tolking)
- Components [tree-v2] expand all ancestor nodes of the specified node (#18077 by @dadaguai-git)
- Theme-chalk [select] box-shadow noise (#18120 by @HaceraI)
- Hooks PopperContainer cannot be recreated when body is recreated (#18121 by @kimverchan)
- Components [calendar] improve range validation (#18125 by @btea)
- Components [table-v2] columns missing key field (#17891 by @betavs)
- Components [tabs] active-bar not move with the tab label changes (#18165 by @btea)
- Components [message] max affects grouping display (#18189 by @dadaguai-git)
- Components [table-v2] header checkbox cover fixedHeader when scroll (#18179 by @kimverchan)
Refactors
- Import shared utilities from @element-plus/utils (#18048 by @makedopamine)