* add 4.10.0 changelog * bump 4.10.0 * update changelog * Update changelog * fix typo * update changelog * update changelog * docs: Update CHANGELOG.zh-CN.md Co-authored-by: 偏右 <afc163@gmail.com> Co-authored-by: 二货机器人 <smith3816@gmail.com> Co-authored-by: 偏右 <afc163@gmail.com>
170 KiB
order | title | toc | timeline |
---|---|---|---|
6 | Change Log | false | true |
antd
strictly follows Semantic Versioning 2.0.0.
Release Schedule
- Weekly release: patch version at the end of every week for routine bugfix (anytime for urgent bugfix).
- Monthly release: minor version at the end of every month for new features.
- Major version release is not included in this schedule for breaking change and new features.
4.10.0
2021-01-04
🎉 Happy New Year!
- 🐞 Fix the compatibility issue of less 4.0.0.
- 🐞 Fix the problem of cursor jumping when Typography is editable. #28545
- 🐞 Fix the problem that repeatedly clicking on expanded nodes when Tree dynamically loads data will lead to wrong status.#28349 @liuchao233
- 🐞 Fix the problem that TreeSelect & Select cannot open the dropdown menu when it's
searchValue
has value. #28574 - 🐞 Fix Dropdown disabled menu item link style. #28578
- 🐞 Fix Progress
steps
display accuracy issue. #28530 @gaoryrt - 🐞 Fix Radio align issue in Chrome. #28616
- 🐞 Fix Collapse arrow position not aligned when change @collapse-header-padding variable. #28507
- 💄 Optimize the white border style of Card images. #28624
- Input
- Modal
- 🆕 Modal.method adds an
afterClose
callback that will be triggered after the Modal is completely closed. #28053 @liuchao233 - 🐞 Fix the problem that Modal can be dragged outside the viewport. #28438 @mumiao
- 🆕 Modal.method adds an
- Table
- 🐞 Fix the problem that Table childrenColumnName and checkStrictly={false} cannot be used together. #28568
- 🐞 Fix Table selection abnormal behavior when inside Checkbox.Group. #28576
- 🐞 Fix the problem that the sticky header style is messy when there is no data. #28323
- 🐞 Fix the problem that
onChange
listener always receives empty list asfilters
parameter if use a customfilterDropdown
. #28627 @Meowu - 🆕 Adds
expandable.columnWidth
to customize the width of the expanded column. #28249 - 🆕 Adds clear all option from selection. #28580 @n0ruSh
- Image
- 🐞 Fix the misalignment issue of Image component.#28439 @MoeCasts
- 💄 Adds preview style. #28235
- 🆕 Adds functionality for zoom in\out by sliding the wheel. #react-component/image/52 @OmriGM
- 🆕 Support separate settings url for preview images. #react-component/image/56 @wangcch
- Upload
- 🐞 Fix a warning even when not using
transformFile
. #28455 @YanYuanFE - 🐞 Fix Upload
fileList
cannot work with data that is produced by immer. #28636 @mumiao - 🆕 Upload adds a new
maxCount
property to limit the number of files. #28367
- 🐞 Fix a warning even when not using
- DatePicker
- 🚀 Optimize the logic of
disabledDate
. #react-component/picker/191 - 🆕 Adds
onKeyDown
callback. #react-component/picker/138 @conquera99
- 🚀 Optimize the logic of
- Select
- 🐞 Fix issue where
options
update does not trigger the selection box content update. #react-component/select/580 @jameslahm - 🐞 Fix the problem that the dropdown box cannot be opened after clicking the option with
tagRender
. react-component/select/582 @mumiao - 🐞 Fix the problem that
tokenSeparators
can not recognize the separator correctly under Chinese input method. #28564 - 🆕 Adds
scrollTo
to theref
. #react-component/select/565 - 🆕
maxTagCount
supportsresponsive
inmultiple
mode. #28520
- 🐞 Fix issue where
- 🆕 Slider add a new
range.draggableTrack
prop. #28592 - 🆕 Descriptions support setting
labelStyle
&contentStyle
directly. #28613 - 🆕 message added a new
onClick
callback that will be triggered when the message is clicked. #28148 @ZeroTo0ne - 🆕 The
scrollToFirstError
property of the Form adds support for setting the position for scrolling. #28272 @vouis - 🆕 Steps support reponsive which allows to turn off reponsive change. #28459
- 🌐 Localization
- 🇭🇷 Improved Croatian language support. #28458
- TypeScript
- ⚒️ Fix
title
type of PageHeader. #28374 @zhukovvandrei
- ⚒️ Fix
4.9.4
2020-12-16
- 🐞 Fix Menu delayed hover color transition in Chrome. #28372
- 🐞 Fix Tree node connection line position problem. #28354 @maksnester
- 💄 Fix Table fixed column
z-index
which makes Dropdown not showing on top. #28346 - TypeScript
- 🤖 Fix
message.loading()
return type. #28362
- 🤖 Fix
4.9.3
2020-12-14
- 💄 Fix Badge standalone motion blink when show/hide. #28240
- 🐞 Fix Table
filters
not support number and boolean type. #28220 @Meowu - 💄 Remove Tree hover background color when
selectable={false}
. #28269 - 💄 Fix Statistics decimal font size. #28223
- TypeScript
- 🤖 Fix Tree
draggable
TS definition. #28262 @DavidSichau - 🤖 Fix Image.PreviewGroup TS definition. #28263 @liuchao233
- 🤖 Improve
message().then
TS definition. #28304 - 🤖 Fix TransferProps
titles
to ReactNode. #28326 @jacklee814
- 🤖 Fix Tree
4.9.2
2020-12-06
- Table
- Dropdown
- 🐞 Fix
overlayInnerStyle
not work in Tooltip. #27682 @jasepellerin - 💄 Fix Layout overflow style for Table
sticky
. #28176 - 💄 Fix Steps
progressDot
broken style of first step. #28126 @ZeroTo0ne - 💄 Optimize Modal
useModal
performance by isolating elements render to avoid the component to rerender. #28122 @TotooriaHyperion - 💄 Fix TextArea showCount style while using with Form. #28130 @AlanCutFlim
- 💄 Fix Tag cursor style in Tree node. #28219
- 🛠 Remove
@ant-design/css-animation
for better bundle size. #28201 - RTL
- 💄 Fix the style of Alert. #28108 @jesse3mh9a
- 🐞 Fix Tree
dropIndicator
style of defaultltr
direction. #28150 @kagawagao
- TypeScript
4.9.1
2020-12-01
4.9.0
2020-11-30
- Modal
- 🆕 Modal support
focusTriggerAfterClose
to disable auto focus back. #27985 @molokovev - 🐞 Fix Modal hooks not trigger
onCancel
. #28063 @JuniorTour - 🐞 Fix Modal sometime not popup from the click position. #28037
- 🆕 Support
closable
andcloseIcon
api for Modal.method. #27909 @MrHeer
- 🆕 Modal support
- 💄 Reduce Table selection column width to
32px
. #28073 - Image
- Collapse
- 🐞 Fix Cascader bug that empty data can be selected. #28062 @n0ruSh
- 🆕 Alert support
action
prop. #25892 @jesse3mh9a - 🔥 Tree refactor drag behavior. Add
dropIndicatorRender
andallowDrop
prop. #26462 @07akioni - 🆕 Space support
wrap
for auto break line. #27910 - 🆕 Descriptions.Item support
labelStyle
&contentStyle
props. #27897 - 🆕 Form.List support
initialValue
. #27872 - 🆕 Menu supports
expandIcon
, and optimize default expand icon style. #27565 - 🆕 Input and TextArea add
setSelectionRange
ofref
. #27584 @appleshell - 🆕 Select support
filterSort
to order the filtered options. #27523 @n0ruSh - 🇰🇿 Add Kazakh locale. #27589 @nodkz
4.8.6
2020-11-27
- 🐞 Fix Badge style blink when mounted. #28003
- 💄 Reduce Modal style size. #27998
- 🐞 Fix Layout.Sider can not collapse when
width='0'
. #28000 - 🐞 Fix Menu style when using none Ant Design icons. #27983
- Input
- 🐞 Fix Typography.Link clicking copy button will redirect. #27982
- 🐞 Fix Carousel throws error
Unable to preventDefault inside passive event listener
. #27957 - 🌐 Improve data picker locale for
en_GB
andzh_TW
. #28016 @abz53378 - RTL
- TypeScript
- 🤖 Fix Upload
beforeUpload
definition. #27946 @bingling0084 - 🤖 Provided a separate type definition for Carousel reference. #27935 @ocassio
- 🤖 Fix Upload
4.8.5
2020-11-22
- 🐞 Fix that Spin can't render children
0
. #27839 @liuchao233 - 💄 Fix the RangePicker panel interaction style. #27894
- 💄 Fix Switch
loading
style. #27860 - 💄 Optimize Skeleton color to fit dark background. #27836
- 💄 Adjust Statistic
deciaml
font size. #27884 - 🛠 Refactor Checkbox、Layout.Sider and TextArea with React hooks. #27739 #27719 #27693
- 🛠 Refactor BackTop、Badge、UploadList with
rc-motion
instead ofrc-animate
. #27840 #27848 #27923 - RTL
- 💄 Fix the style of the Tree switch icon in RTL mode. #27876
- TypeScript
4.8.4
2020-11-16
- 💄 Fix Button and Form loading style. #27794
- 🐞 Fix Modal.confirm locale missing after close it. #27797
- 🐞 Fix Button/Anchor throws
findDOMNode is deprecated
in React 17. #27755 @hosseinmd
4.8.3
2020-11-14
- 🛠 Refactor Carousel with React hooks. #27694
- 🛠 Refactor
<Typography editable />
with React hooks. #27655 - 🐞 Fixed the problem that form behaves abnormally when namepath is an array.. #27664
- 💄 Fix DateRangePicker hover effect position when hover over start or end cell of in range row. #27731 @AlanCutFlim
- 🐞 Fix Select
mode=tags
cannot input whitespace normally. #27726 @baxtergu - 💄 Fix the mouse style when Typography.Link is
disabled
. #27734 - 🐞 Fix Menu dropdown animation start twice when appear. #27663
- 💄 Fix Avatar style when
src
is Image component. #27691 - 💄 Fix Select multiple cursor position. #27689
- 🐞 Fix TextArea emoji been cut when enable
maxLength
. #27679 @372623460jh - 🐞 Fix small size RangePicker active bar align issue. #27673 @Ifeinstein
- 💄 Add
@radio-border-width
. #27703
4.8.2
2020-11-09
- 🐞 Fix Pagination lost jumper margin style. #27650
- 🐞 Fix Steps
type="navigation"
last item broken style. #27654
4.8.1
2020-11-08
- 🛠 Refactor TreeSelect with React hooks. #27593
- 🛠 Refactor Layout with React hooks. #27595
- 🐞 Fix Select abnormal outline style in Form validation. #27607
- 🐞 Fix Pagination extra
margin-right
when enable size changer. #27610 - 🐞 Fix Input.Search
enterButton={null}
throw error. #27591 @davidebianchi - 🐞 fix Avatar.Group
size
not working. #27531 - 🐞 Fix vertical Tabs long title cause tab width changes. #27569
- 🐞 Fix Table filters didn't display in
column.children
. #27435 @JhonXY - 💄 Fix Steps style that inside another Steps. #27514
- TypeScript
- RTL
- 💄 Fix Progress.Line
strokeColor
direction error in RTL mode. #27515
- 💄 Fix Progress.Line
4.8.0
2020-11-02
- Image
- 🆕 ConfigProvider support
form.requiredMark
. #27322 - 🆕 Statistic support
loading
prop. #26811 @appleshell - Avatar
- 🆕 Row support
noWrap
to make Col in line. #27469 - Tree
- Modal
- Input
- Table
- Typography
- Steps
- 🐞 Fix PageHeader that empty dom will be displayed when
title
is empty. #27485 - 🐞 Fix Slider keep tooltip align with handle when dragging. #27489
- 🐞 Fix RangePicker selected range border style. #27438
- 💄 Adjust Collapse arrow position align with first line. #27363
- 💄 Fix Descriptions style when
label
use block element. #27375 - 💄 Fix Select abnormal border style in Form validation. #27378
4.7.3
2020-10-24
- Form
- Typography
- Input
- 🐞 Fix Upload.List preview image fit size issue. #27312 @JuniorTour
- 🐞 Fix Notification no wrap with long text. #27285 @littleee
- 🐞 Fix Menu inside flexable container will not shrink properly. #27253
- 🌐 Fix en_US, en_GB and ga_IE gramma. #27259 @yasikovsky
- 🐞 Fix Tag with customize
closeIcon
breaks line issue. #27226 @handycode
4.7.2
2020-10-19
- 💄 Fix Layout.Sider
light
theme lost styles. #27227 @lingjieee - 💄 Fix TextArea wrapped with additional div when
showCount
isfalse
, and passclassName
andstyle
to outer wrapper whenshowCount
istrue
. #27216 - 🐞 Fix Checkbox.Group TS2559 error. #27231
4.7.1
2020-10-18
- DatePicker
- Typography
- 💄 Fix Descriptions
ant-descriptions-item-content
and add styleword-break:break-word;
. #27195 @WLyKan - 🐞 Fix clear Password value attribute in controlled mode. #27191
- 🐞 Optimize Notification width in small screen. #27189
- 🐞 Fix Cascader className duplicate. #27187 @huntdream
- 🐞 Fix the issue that the Drawer will trigger form submit. #27175
- 🐞 Fix Dropdown icon missing margin. #27165
- 💄 Fix Layout.Sider
collapsedWidth
cannot work without modifying@menu-collapsed-width
. #27154 - 🐞 Fix Tabs
animated={true}
not working for panels. #27145 - 🐞 Fix Divider color when contains text. #27134
- 💄 Fix the cursor style when the Radio option is selected and disabled. #27125
- 🇪🇸 Add missing translations in es_ES. #27079 @gersongams
- RTL
- 💄 Optimize the style of Input.TextArea character count in RTL mode. #27098
- TypeScript
- 🤖 Button shape remove undeclared doc type. #27159
- 🤖 Add optional
rules
property intoFormListProps
. #27164 @huntdream
4.7.0
2020-10-10
- 🔥 Input.TextArea support word count. #26952 @zhangchen915
- DatePicker
- Form
- Upload
- Table
- 🆕 Table
sticky
now supportgetContainer
. #26973 - 🐞 Fix Table should not render dropdown filter icon when filterDropdown is
undefined
. #27002 @shangyilim
- 🆕 Table
- Modal
- 🛠 Refactor Modal animation code so that it will remove all dom element by
destroyOnClose
when closed. #26940 - 🆕 Modal add
modalRender
prop which can be used for draggable dialog. #26507 @jhoneybee
- 🛠 Refactor Modal animation code so that it will remove all dom element by
- 🆕 Space add
split
prop. #26948 - 🆕 Image
preview
prop now supportvisible
andonVisibleChange
. #26915 - 🆕 InputNumber will trigger
onStep
prop when click up/down buttons. #27075 - 🆕 Avatar
size
support responsive config. #26244 @willamesoares - 🐞 Fix Radio.Button children cannot apply Tooltip. #27050
- RTL
- ⬅️ Fix List action button position in RTL mode. #26964
- ⬅️ Fix Transfer pagination style in RTL mode. #26960
- ⬅️ Fix Upload style in RTL mode. #26961
- ⬅️ Optimize Tag style to avoid the interaction between theme and RTL mode. #26955
- ⬅️ Optimize Cascader and Tree style of the data expansion loading icon in RTL mode. #27010
- TypeScript
- 🤖 Fix typo
TimeLineItemProps
toTimelineItemProps
. #27001 @mgcrea - 🤖 Fix Slider missing
autoFocus
prop. #26995 @shangyilim - 🤖 Fix Slider
step
prop not acceptingnull
value. #26984 @shangyilim - 🤖 Fix Slider.Range
trackStyle
andhandleStyle
should be array. #27033 - 🤖 Optimize Tag
onClose
TypeScript definition. #26932 - 🤖 Improve Form TypeScript definition to support
getFieldsValue
return generic type withoutnamePath
argument. #26791
- 🤖 Fix typo
- Locale
- 🇧🇾 Add Belarusian locale. #27028 @StIvan8
- 🇯🇵 Fix Japanese locale. #27043 @iorikingdom
- 🇹🇭 Add Thai locale for Pickers. #26993 @anawinwz
- 🇹🇷 Add Turkish locale of Form optional text. #27017 @alperTunca
- 🇵🇱 Add Polish locale of Table. #26913 @daczczcz1
4.6.6
2020-09-27
- 🐞 Fix Steps first item shifts in small screen. #26894
- 💄 Fix Divider border style not work when text is provided. #26863
- 🐞 Fix Radio.Button validation error highlight. #26849 @dhorelik
- 💄 Fix Typography link-decoration style. #26854 @vineetvk01
- Locale
- TypeScript
4.6.5
2020-09-20
- 💄 Fix Descriptions item long text ellipsis issue. #26820
- 🐞 Fix Menu unexpected scrollbar when show and hide. #26817
- 🐞 Fix
@layout-sider-background
cannot set to linear gradient color. #26810 - 🐞 Fix Select compositing status lost when input first letter in Chinese. #26796
- 🐞 Fix Table
@table-sticky-zindex
less compile error issue. #26800 @chimp1nski - Button
- 💄 Fix TimePicker column align issue, add
@picker-time-panel-column-width
and@picker-time-panel-column-height
less variables. #26784 - 🐞 Fix AutoComplete warning when using
placeholder
andallowClear
. #26765 - 🐞 Fix Space show items when it's render empty dom. #26721 @knobo
- 🛠 Dedupe
rc-trigger
version to reduce package size. #26803 - TypeScript
- 🤖 Cascader add
name
andid
props definition. #26660 @alwaysloseall
- 🤖 Cascader add
4.6.4
2020-09-13
- 💄 style: Card card image has extra 1px border. #26659
- 💄 Fix Select
placeholder
color not same as Input. #26651 @wangcch - 🐞 Fix Menu not support React.Fragment inside. #26656
- 🐞 Fix TextArea different behavior with Input when set
value
toundefined
. #26652 - 🐞 Fix Motion related issue like Upload align flash and Form.Item with
help
ssr issue. #26628 - 🐞 Fix Typography.Link warning
Invalid value for prop navigate
when using with react-router. #26623 - 🐞 Fix Table pagination missing when is above table. #26618
- 🐞 Fix Upload in control miss file when upload multiple file in same time. #26612
- TypeScript
- 🤖 Fix Table that sorter
compare
andmultiple
should be optional. #26686
- 🤖 Fix Table that sorter
4.6.3
2020-09-06
- 🛎 Sort props
className
to the end. #26602 - Table
- 🐞 Fix Modal closing cause scroll position jump up. #26538
- 🐞 Fix the type declaration of onError in
customRequest
options of Upload. #26601 @yingpengsha - 🐞 Shutdown Select/TreeSelect autocomplete list in Chrome. #26590
- 🐞 Fix Cascader value overwritten when filtering. #26569 @lich-yoo
- 🐞 Fix Modal jump out of screen in some situations. #25765 @tanmoyopenroot
- 🐞 Fix Radio.Group not working properly, when is used in legacy Form. #26555 @willc001
- 🐞 Fix Pagination align issue in windows. #26549
- 🐞 Fix Form with
help
make ssr un-sync issue. #26542 - 🐞 Fix Avatar doesn't scale fallback text well when display is none. #26522 @zhangyu1818
- TypeScript
4.6.2
2020-08-31
- Upload
- 💄 Fix Select focus shadow style. #26465 @Rainy
- Table
- 🐞 Fix Table Pagination not hide with empty data when show on top position. #26143 @zhangchen915
- 💄 Fix Table expand icon size issue when
@font-size-base
is12px
. #26409
- Space
- 🐞 Fix Badge not work when
status
orcolor
is empty. #26375 @zhangchen915 - 💄 Fix Tree draggable transition style. #26387
- 🐞 Fix
colorPalette is not defined
when customize theme in some situation. #26395 - TypeScript
- 🐞 Fix TimePicker.RangePicker typescript need
picker
issue. #26446 - 🐞 Upload extended
showUploadList
of Upload withremoveIcon
anddownloadIcon
properties. #26406 @bencallaway
- 🐞 Fix TimePicker.RangePicker typescript need
- RTL
- 🐞 Fix the rtl style of Col. #26479 #26482 @TrueMoein
4.6.1
2020-08-24
- TypeScript
- 🐞 Fix Upload type declaration missing
children
. #26347
- 🐞 Fix Upload type declaration missing
4.6.0
2020-08-23
- 💄 Darker
@text-color
for WCAG 2.0 on contrast ratio. #25630 - 🔥 New Image component. #26296
- 🔥 Table support
sticky
prop to sticky header and scroll bar. #25939 - 🛠 Refactor Upload via hooks. #26196
- Form
- 🆕 VirtualList support no blink jump and fix Select blank dropdown issue. #26306
- Typography
- 🐞 Fix Transfer
filterOption
not trigger when search spaces. #26335 - Progress
- 🐞 Fix Textarea don't display
defaultValue
whenvalue
isundefined
. #26327 - Cascader
- 🗑 Remove deprecated
Button.Group
and please use Space component instead. #26260 - Select
- 🆕 Select support
onClear
prop. #25907 - 🐞 Fix Select
mode="tags"
showing duplicated items when search. #25907 - 🐞 Fixed the style exception that was disabled when Select focused. #26255
- 🐞 Fix Select icon overlap with selections when
showArrow
enabled. #26168 @zhangchen915
- 🆕 Select support
- DatePicker
- 🐞 Fix Pagination font family style. #26230 @albertms10
- 🐞 Fix Space children remount in some case. #26219
- Badge
- 💄 Add
@badge-color
less variable. #26159 - 🆕 Badge support
size
prop. #25851 @moonrailgun
- 💄 Add
- 🆕 Tabs
tabBarExtraSlot
support extra position. #25138 @jesse3mh9a - 💄 Optimize the display effect of Descriptions when there is more content. #25903
- 🆕 message could be detroied by
message.desctroy(key)
. #26052 @lihqi - 💄 Adjust InputNumber handler bar to be hidden when
readOnly
. #25998 - Locale
- 🌐 Add Galician locale support. #26015 @barreeeiroo
- 🇱🇹 Add Lithuanian locale support. #26312 @mslotvinskij
- 🌐 Use
kmr_IQ
to replaceku_IQ
. #26030
- RTL
- TypeScript
- 🤖 Fix Form.Item
initialValue
missing definition. #26292 @miaoyuxinbaby - 🤖 Form support generic type. #25937
- 🤖 Fix Form.Item
4.5.4
2020-08-12
- 🐞 Fix Form.Item
hidden
not working in less. #26152 - 🐞 Fix Dropdown render issue when
overlay
is string. #26135 - 🐞 Fix Table pagination disappear when last record in last page is deleted. #26133 @QoVoQ
- Tree
- 🐞 Fix Tree.DirectoryTree can not use
scrollTo
with ref. #26129 - 🐞 Fix Tree lost line between top level nodes when enable
showLine
. #25991 @zhangchen915
- 🐞 Fix Tree.DirectoryTree can not use
- 💄 Add
@badge-color
less variable. #26159 - RTL
- TypeScript
- 🐞 Fix Slider
handleStyle
andtrackStyle
TypeScript definitions. #26160
- 🐞 Fix Slider
4.5.3
2020-08-08
- Menu
- Table
- Form
- Transfer
- Cascader
- Select
- 🐞 Fix Breadcrumb.Item lost separator after wrapping in component. #25984 @flyerH
- 🐞 Fix InputNumber dark theme handler background color. #26072
- 🐞 Fix the missing
key
of Avatar.Group. #26098 - 💄 Adjusts Mentions
readOnly
mouse style to native style. #25977 - 💄 Add
@btn-line-height
. #26014 - 💄 Optimize Pagination style when
simple
type anddisabled
. #26008 - 🐞 Fix Modal
useModal
missing style issue. #25967 - 🐞 Fix Steps RTL style when use
progress
. #26075 - 🌐 Improve Arabic locale. #26094 @Mohelm97
- 🌐 Improve fr_FR localization. #26034 @Thanaen
4.5.2
2020-08-02
- 🐞 Fix Slider tooltip abnormal visibility. #25945 @lihqi
- 🐞 Fix Divider color in dark mode. #25922
- 🐞 Fix Radio.Button text color when
disabled
andchecked
. #25911 - 🐞 Fix Carousel children height smaller then parent node issue. #25906
- 🐞 Fix Table
indentSize
couldn't be zero value. #25890 @OmriGM - 🐞 Fix List
actions
show cursor outside clickable area. #25961 - 🇷🇺 Improve Russian locale. #25958 @addictional
- RTL
4.5.1
2020-07-28
- 🐞 Fix Badge style causing build error. #25863
- 🐞 Fix Menu in
horizontal
dark
status Menu.Item background style glitch. #25850 - 💄 Optimize Divider color in none-white background. #25855
- 💄 Remove multiple Select choice animation of item. #25852
- TypeScript
- Export Form
FormList
interface. #25849
- Export Form
4.5.0
2020-07-28
- 🆕 Input and Input.TextArea support
bordered
prop. #25617 - 🆕 Add
useMessage
hook for Message to supportcontext
access. #25422 - 🆕 Tree support
titleRender
to customize all nodes' content. #25624 - 🆕 Descriptions add
extra
prop. #25512 @zzz111 - 🆕 Add
Modal.config
to setrootPrefixCls
for Modal statis methods. #25613 - 🆕 Drawer support
push
prop for multi-Drawer linkage. #25445 @jinxin0112 - 🆕 Add Badge.Ribbon component. #25456
- 🆕 Steps support
percent
prop to show step icon progress. #25839 - 💄 Menu.Item's blue indicator line and dropdown width are the same as its content's width in
horizontal
mode. #25622 - Avatar
- DatePicker
- 🆕 DatePicker support date-fns. #25822 @fireairforce
- 🆕 Improve DatePicker hovering experience, the placeholder will change to format value of target-date when hovering a date cell. (#25050). #25784 @Kermit-Xuan
- 🆕 RangePicker
onCalendarChange
addrange
param to indicate currently activated pane. #25568 @Kim-Wing-Fung - 🆕 DatePicker support
panelRender
to customize panel. #25488 - 🐞 Fix QuarterPicker not working, remove DatePicker.XxxPicker and recommend
picker='xxx'
usage instead. #25768
- Form
- 🆕 Form.List support array in
remove
method. #25638 @fireairforce - 🆕 Form.Item supports
dependencies
to control updating logic with render propschildren
. #25408 - 🆕 Adjust Form.Item validateFist to validate in order. Origin logic use parallel to validate. #25321
- 🐞 Fix Form.Item sometime not clean up prev error message. #25737
- 🐞 Fix Form.Item not collect
validateStatus
when children Form.Item withnoStyle
has an error. #25734 - 🐞 Fix Form.Item setting
labelCol={{ offset: number }}
doesn't work if layout is vertical. #25713 @zhangchen915 - ⌨️ Form add
role="alert"
attribute on validation message node to import accessibility. #25735 @AlbertAZ1992
- 🆕 Form.List support array in
- Calendar
- 🐞 Fix Calendar
validRange
preventsdisabledDate
. #25626 @zhangchen915 - 🐞 Fix Calendar
validRange
not working on month selection dropdown. #25626 @zhangchen915
- 🐞 Fix Calendar
- 🐞 Fix Table
indeterminate
returned bygetCheckboxProps
not working. #25649 - 🐞 Fix Select clear icon position in Form.Item. #25728
- 🐞 Fix Pagination mouse style of the page turning button. #25772
- 🐞 Fix TreeSelect
treeNodeLabelProp
affect tree node render result. #25755 - 🐞 Fix Carousel
findDOMNode
warning in strict mode. #25744 - 🐞 Fix Radio causing SSR build errors with
webpack@4.44.0
. 25821 @Kermit-Xuan - 🐞 Fix Tabs focus & active state color when disabled. 25827 hsuanxyz
- 💄 Card action pane color is unified with body color. #25722
- ⌨️ Improve Alert/message/notification accessibility by adding role attribute. #25774
- 🇭🇰 Add zh_HK localization. #25731 @wuchu
- 🇩🇪 Improve Form de_DE localization. #25823 @LukeTimeWalker
4.4.3
2020-07-20
- 🐞 Fix Layout
trigger
cannot customize zero width to trigger. #25653 - 🐞 Fix Form.Item
help
style when verification fails. #25582 @zhangchen915 - 🐞 Fix Descriptions abnormal style inside Table
expandedRowRender
. #25593 - 💄 Add
@zindex-popconfirm: 1060
less variable, and improve@zindex-tooltip
into1070
. #25693 - 🛠 Upgrade
react-slick
to reduce bundle size. #25599 - 🌐 Improve Catalan ca_ES localization. #25583 @albertms10
- 🇸🇦 Improve ar_EG localization. #25587 @amir5000
- TypeScript
- 🐞 Fix Upload
customRequest
file interface. #25598 @AlbertAZ1992
- 🐞 Fix Upload
4.4.2
2020-07-11
- 🛠 Adjust Alert animation to remove directly dom operation. #dd8e9f8 @Yunfly
- Select
- 🐞 Fix Form.Item warning for
preserve
as invalidate dom prop. #25518 - 🐞 Fix Card cover margin bug when bordered is false. #25515 @yutingzhao1991
- 💄 Adjust Typography style to set
overflow-wrap: break-word
as default. #25516 - 🐞 Fix Table
expandedRowRender
nested Table cell background color. #25498 - 🐞 Fix Popover wrong positioning on Radio.Button. #25449 @zgoby
- 🐞 Fix RangePicker clear icon position issue when
size=small
. #25458 - 🆕 Upload supports to show thumbnail for non-image files as
thumbUrl
configured inonChange
event. #25432 @AlbertAZ1992 - 🐞 Fix Table
onChange
triggered multiple times when change page size. #25520 @zhangchen915 - 🛠 Remove
babel-runtime
and add@babel/runtime
in dependencies, reduce gzipped bundle size18.6KB
. #25530 - 🇪🇸 Improve es_ES localization. #25460 @gersongams
4.4.1
2020-07-06
- Menu
- 🐞 Fix Input disabled
backgroundColor
is override when inside aerror
orwarning
Form.Item. #25385 - 🐞 Fix Table header extra border of right side column. #25378
- 🐞 Fix Grid ResponsiveObserve not been unsubscribed correctly. #25319 @zhangchen915
- 🐞 Fix Progress
successPercent
warning message and correctsuccess.progress
tosuccess.percent
. #25356 @fireairforce - 🐞 Fix PageHeader Tabs unnecessary
margin-bottom
. #25340 @dickeylth - Form
- Radio
- 🐞 Fix Radio.Group throw
Function components cannot be given refs
warning message. #25328 - 🐞 Fix Radio.Group style with extra spaces in
children
. #25304 @ElderJames
- 🐞 Fix Radio.Group throw
- 🐞 Fix Drawer click mask will trigger close event multiple times. #25313
- 🐞 Fix Skeleton Button/Avatar/Input/Image default width to auto. #25303
- 🇺🇦 Update uk_UA localization. #25402 @kitsoRik
- 🇳🇴 Update nb_NO localization. #25374 @Johannes-Andersen
- TypeScript
- 🐞 Fix Slider
onChange
definition. #25358 @CornerSkyless - 🐞 Fix Tooltip custom color type definition. #25315 @CornerSkyless
- 🐞 Fix Slider
4.4.0
2020-06-29
- 🔥 Optimize RangePicker interaction that any picker selection will popup another picker panel. #25135
- 🔥 Add Skeleton.Image. #24805 @fireairforce
- Form
- Table
- 🆕 Table
onChange
addaction
in extra argument. #24697 - 🆕 Table support
rowSelection.dirty
to enable cachekey
with ajax. #24718 - 🐞 Table supports
rowSelection.checkStrictly
. #24931 - 🐞 Fix Table
onSelectAll
'schangeRows
parameter is incorrect. #24931 - 🐞 Fix Table expand buttons of leaf rows in tree data can still be clicked. #24931
- 🐞 Fix Table expand icon still interative when hidden. #25170
- 🆕 Table
- TimePicker
- Cascader
- Menu
- 🆕 Menu support
triggerSubMenuAction
(hover or click). #25127 @hydRAnger - 🐞 Fix Menu.SubMenu background color in dark theme. #25205
- 🆕 Menu support
- Tabs
- 🆕 Pagination support
onChange
called whenpageSize
change. #24964 @fireairforce - 🆕 Tabs support
addIcon
to customize add icon node. #25006 - 🐞 Fix Tabs can not close in IE11. #25200
- 🆕 Pagination support
- Pagination
- 🐞 Improve Pagination accessibility by fixing a W3C error. #25119
- DatePicker
- 🆕 Fix month and quarter picker's toggle button size of DatePicker component. #25035 @fireairforce
- 🆕 DatePicker support
showNow
. TimePicker supportshowNow
. #25032
- Drawer
- 🆕 Dropdown component support
arrow
prop. #23869 @wendellhu95 - 🐞 Fix Drawer
getContainer={false}
cause scrollbar missing in some situation. #25273
- 🆕 Dropdown component support
- 🆕 Fix Rate render unexpectedly when
value
is1.6
or2.6
. #24993 - 🆕 Menution support
autoSize
prop. #24961 @Kermit-Xuan - 🆕 Remove the 140px width limit on vertical dot Steps.Step. #24907
- 🆕 Move Result children to end of component. #24945
- 🆕 Add Rate
character
support(RateProps)=> ReactNode
customization. #24903 - 🆕 Add
optionType
api to set Radio type in Radio.Group when useoptions
. #24809 - 🆕 Add
closeIcon
to customize Tag close icon. #24885 - 🆕 Drawer support
closeIcon
. #24842 - 🆕 Add
ghost
prop for collapse to set a transparent background. #24734 - 🆕 Progress support customise filled Progress color. #24655 @fireairforce
- 🆕 Typography copyable support
icon
andtooltips
for customization. #25274 @israelKusayev - 🆕 Add
showLeafIcon
for Tree Component when setshowLine
prop. #25271 - 🆕 Add BackTop
duration
used to set the time required to return to the top. #25254 - 🐞 Fix Select suffix icon can not focus input. #25212
- 🐞 Fix the issue that Notification modification
width
is not aligned with the edge of the screen. #25168 - 💄 Make Switch animation more smooth and quicker. #25160
- 🛠 Modal add more less parameters. #24773 @hicrystal
- 🐞 Fix PageHeader tabs unexpected border style. #25159
- 🐞 Fix InputNumber
max
prop has no default value. #25243 - 🌐 Add missing translation keys to table locale in German, Italian and Czech. #25233 @karelsoupaEMZ
- 🇯🇵 Add ja_JP globalization for Form. #25244 @kentaro84207
- RTL
4.3.5
2020-06-21
- 🐞 Fix Input.Search as AutoComplete customize component crash issue. #25049
- 🛠 Rewrite Input.Password with hooks. #25012 @Rustin-Liu
- 🐞 Fix PageHeader tabs broken style since
4.3.0
. #24991 - 🐞 Fix Backtop still interactive when it is hidden. #25132 @jesse3mh9a
- 🐞 Fix Upload don't support Popover. #25090
- 🐞 Fix Tabs content exceeds container width issue. #25072
- 🐞 Fix DataPicker/TimePicker time dropdown alignment issue. #25019
- Table
- Descriptions
- 💄 Fix List.Item.Meta content width may overflow sometimes. #24992
- 🐞 Fix dark mode Menu.SubMenu background color in compact theme. #24997
- ⚡️ Reduce 3KB Button css bundle size. #24996
- 🇹🇷 Improve Turkish locale. #25100 @smddzcy
- TypeScript
- Export Tree
DataNode
. #25065 @jinxin0112
- Export Tree
4.3.4
2020-06-14
- Form
- Table
- 🐞 Fix Modal
confirm()
has no default icon. #24956 - 🐞 Fix List
grid
not working in React.Fragment or wrapped List.Item. #24955 - 🐞 Fix Avatar fallback to children when loading image with error. #24944 @sosohime
- 🐞 Fix Drawer doesn't omit prop
getTargetContainer
. #24938 - 🐞 Fix Tabs dropdown clip text when tab title too long. #24928
- 🐞 Fix Carousel under Tabs shaking when tab switch. #24873
- 🐞 Fix Transfer package size will increase if tree shaking is disabled. #24847 @DavidSichau
- 💄 Add
@rate-star-hover-scale
to control Rate scale when cursor hover. #24917 - 💄 Add
@divider-orientation-margin
less variable to control Divider's left margin whenorientation
is set. #24877 - 🌐 Localization
- TypeScript
4.3.3
2020-06-07
4.3.2
2020-06-06
- 🐞 Fix Tag.CheckableTag don't support
onClick
. #24743 - 🐞 Fix Drawer support set
getPopupContainer
andgetPrefixCls
by ConfigProvider. #24727 - 🐞 Fix Button
loading.delay
repeat trigger when parent compoent re-render. #24713 - 🐞 Fix Dropdown menu link color when has
icon
. #24707 #24702 - Select
- 🐞 Fix Select virtual scroll display abnormally in compact mode. #24706
- ⚡️ Optimize Select multiple mode performance. #24785 @Kermit-Xuan
- 🐞 Fix Calendar trigger
onPanelChange
even when in the same panel. #24695 - 🐞 Fix Input component height issue in IE11. #24673 @xiaosongxiaosong
- 🐞 Fix Radio typescript error typo. #24693 @hengkx
- 🐞 Fix Statistic don't work with Tooltip. #24782
- 🐞 Fix TimePicker.RangePicker
bordered={false}
not working when hasclassName
. #24781 - 🐞 Fix List cannot trigger
onChange
in pagination. #24514 - 🌐 Localization
- 🇮🇱 Add Hebrew localisations for Form. #24716 @israelKusayev
- 🇰🇷 Add ko_KR localizations for Form. #24783 @Jaewoook
- 💄 Add less variable
@table-font-size
,@table-font-size-md
and@table-font-size-sm
to customize the size of Table text. #24714 @morenyang - RTL
4.3.1
2020-06-02
- Tabs
- Button
- 🐞 Fix Button quick set
loading
fromdelay
tofalse
will still change to the loading status. #24678 - 🐞 Fix the inconsistent style of Text Button in
danger
. #24622 @morenyang
- 🐞 Fix Button quick set
- 🐞 Fix Table no showing scrollbar inside Row. #24661 @zt123123
- 🐞 Fix Drawer get
dropdownMatchSelectWidth
as dom prop warning. #24651 - 🐞 Adjust Steps to support React.Fragment with
children
. #24644 - 🐞 Fix Upload delete icon cannot be navigate via keyboard. #24615 @morenyang
- 🐞 Fix multiple Select search input cursor missing issue. #24631
- 🐞 Fix Radio.Group using
options
getElement type is invalid
error. #24631 - RTL
- 💄 Adjust Notification default placement to
topLeft
in RTL. #24632
- 💄 Adjust Notification default placement to
- TypeScript
- 🛠 Export Tabs
TabPaneProps
definition. #24648
- 🛠 Export Tabs
4.3.0
2020-05-31
- 🔥 Rewrite Tabs for better user experience, dom structure is changed. #24552
- 📖 Add components overview page. #24491 @arvinxx
- 🛠 Optimize dependencies to reduce overall package size. #24584
- Button
- 🆕 New
type="text"
Button. #22552 - 💄 Improve button background variable usage. #24372 @morenyang
- 🆕 New
- Upload
- 🆕
data
could returnPromise
now. #24546 @Kermit-Xuan - 🆕 Support
progress
to customize progress bar. #24319 @morenyang - 🐞 Fix progress bar override by accident. #24339 @morenyang
- 🆕
- Table
- 🆕 Table support
rowSelection.hideSelectAll
to hide selectAll checkbox. #24592 @Kermit-Xuan - 🆕
ellipsis
supportshowTitle
to configtitle
show. #24056 @lijinke666 - 🆕 Table
columns
supportshouldCellUpdate
. #23872
- 🆕 Table support
- Input
- 🆕 Input.Passowrd support custom icon. #23792
- 🐞 Fix Input.Password still show
value
attribute in DOM after blur it. #24535 - 💄 Add less variable
@input-disabled-color
. #23775 @alwaysloseall
- Form
- Menu
- Avatar
- Typography
- 🆕 Support Typography.Paragraph custom expand style. #24385 @fireairforce
- 🆕 Typography.Text support
keyboard
style. #24195 - 🆕 Add Link component. #24019
- 🐞 Fix Typography
title
prop support. #24440 @Kermit-Xuan
- 🆕 Tooltip support
color
to config background color. #23155 - 🆕 Popconfirm can be closed by pressing
ESC
now. #24420 - 🆕 Tooltip
destroyTooltipOnHide
supportkeepParent
config. #24362 @Kermit-Xuan - 🆕 Notification support to config
prefixCls
. #24295 @tdida - 🆕 RangePicker
dateRender
support additional argument to detect isstart
orend
field. #24278 - 🆕 Skeleton add
round
prop to enable paragraph and title show radius. #24137 @xilihuasi - 🆕 Transfer support
oneWay
andpagination
. #24041 - 🆕 Message support customize
className
andstyle
. #24024 @Kermit-Xuan - 🆕 ConfigProvider support
virtual
anddropdownMatchSelectWidth
. #23841 @hengkx - 🐞 Fix Breadcrumb icon margin missing when using links. #24490 @EscapeB
- 🐞 Fix Cascader expand icon color when disabled. #24521
- 🐞 Fix List warning about
React does not recognize colStyle prop
. #24568 - 🐞 Fix Progress with
steps
don't updatepercent
expectedly. #24534 @ChuckJonas - 🐞 Fix Steps
subtitle
transition style. #24593 - 🐞 Fix Alert close icon
padding
style. #24471 - 🐞 Fix Tree
@tree-directory-selected-bg
don't work. #24468 @morenyang - 🐞 Fix
@ant-prefix
don't work on some styles. #24459 @morenyang - 💄 Descriptions add less variables
@descriptions-item-trailing-colon
and etc. #24032 @hengkx - 🌐 Localization
- 🇮🇪 Add Irish(ga_IE) locale. #24609 @AbhijeetGaware
- 🇫🇮 Improve Typography
fi_FI
locale. #24591 @sagge - 🇧🇷 Improve
pt_BR
locale. #24518 @arturpfb - 🇬🇧 Improve Form
en_GB
locale. #24404 @morenyang
- RTL
- TypeScript
4.2.5
2020-05-25
- 🐞 Fix Table selection arrow out of column when
size
issmall/middle
. #24394 - 🐞 Fix Input.TextArea clear icon disappears in Input.Group when hover it. #24360 @Mr-jiangzhiguo
- 🐞 Fixed an issue where the
RowSelection.onChange
will still be cached when the Table removes entries indataSource
. #24338 - 🐞 Adjust
useNotification
api instance to be same instance for each render. #24337 - 🐞 Fix Button
loading
transition animation missing and ModalconfirmLoading
not being reset. #24328 - 🐞 Fix Drawer cover background elements when it is not visible. #24290
- 🐞 Fix Cascader/Select/Table/TreeSelect text color when data empty. #24279
- 💄 Fix InputNumber operation button arrow is not centered. #24266
- 🐞 Fix Table with empty array
filteredValue
still highlight the filtered icon. #24263 - 🐞 Fix Cascader not support
number[]
value. #24247 - ⌨️ Fix Switch
autoFocus
trigger whendisabled
removed. Adjust style to avoid switch shaking. Remove blur logic whenonMouseUp
to improve acessibility. #24254 - 💄 Add Menu default
text-align
style. #24253 - 🛠 Refactor List code. #24280 @hengkx
- 🛠 Modify the Alert with hooks to support strict mode. #24236 @hengkx
- 🐞Fix Card perfermance bug when use with
react-split
. #24425 - TypeScript
- 🛠Cascader ts definition update. #24393 @zhangyu1818
- 🐞 Fix TS error of
Could not find a declaration rc-upload
. #24325 - 🛠 Add children type to BackTop. #24235
4.2.4
2020-05-18
- 🐞 Revert Switch patch to fix handle position style issue with
unCheckedChildren
. #24242 - 💄 Adjust Upload icon default color to red in error status. #24160
- 💄 Adjust Dropdown arrow position a little higher. #24215
- 🌐 Form
defaultValidateMessages
supportru_RU
. #24219 @aivinog1
4.2.3
2020-05-16
- 🐞 Refactor
rc-progress
to resolveh3g is not defined
error in<script src="antd.min.js" />
. #24127 - 📖 Rewrote Use in create-react-app. #24184
- Drawer
- BackTop
- DatePicker
- Button
- 🛠 Refactor Tooltip with hooks. #23699
- 🐞 Avoid
disabled
Upload.Dragger being triggered by clicking Formlabel
. #24202 - 🐞 Fix Select selected option not interactive (such as
title
not working). #24170 - 🐞 Fix Switch shake in Safari and iOS Chrome. #24122 @lexlexa
- 🐞 Carousel upgrade to
react-slick@0.26.1
to resolve some problems. #24067 - 🐞 Cascader will display
defaultValue
instead of empty string when no matched options. #24058 @Kermit-Xuan - 🌎 Improve
zh_TW
localisations. #24065 @wx1322 - 🐞 Fix Table
onChange
pagination type. #24114 @sorteam - 💄 Add less variable
@card-head-extra-color
. #24189 - 💄 Adjust Pagination simple mode background to transparent. #24152
- 💄 Fix dark Menu link color. #24110
- RTL
4.2.2
2020-05-11
- 🐞 Fix
npm run version
install error. #24059 - 🐞 Fix Menu
@menu-item-font-size
not working. #24052 - 💄 Add
@modal-close-color
less variable. #24053
4.2.1
2020-05-11
- Form
- Table
- DatePicker
- Switch
- 🐞 Fix Upload error message location to scroll in the float layer. #24001 @mraiguo
- 💄 Tweak Comment render unnecessary div style when
avatar
is empty. #23994 @Xuhao - 🐞 Fix Select
focus
border style in Input.Group. #23985 - 🐞 Fix Steps
subTitle
showing[object Object]
title. #23989 - 💄 Tweak Select close icon position. #23963
- 🐞 Fix Drawer
width="50%"
hidden problem when no mask. #23925 - 🐞 Fix Textarea with
allowClear
has error height style. #23835 - 💄 Adjust Modal.xxx function async to avoid block React events. #23826
- 🐞 Fix Menu with controlled
openKeys
abnormal behavior wheninlineCollapsed
changed. #23822 - 🐞 Fix Button
loading
animation. #23783 - 🐞 Fix Slider
marks
selected problem when dragging. #23773 - 🛠 Timeline refactors with React Hooks. #23631 @hengkx
- 🌎 Localization
- 🇮🇷 Add Farsi
fa_IR
default locale template localisations. #23926 @NarimanMov - 🇺🇸 Add default
en
default locale template localisations for Form. #23859 @mjfwebb
- 🇮🇷 Add Farsi
- 📦 Reduce bundle size
- RTL
- 🐞 Fix Input clear icon style in RTL. #23999
- 🐞 Fix DatePicker panel style in RTL. #24028 @xrkffgg
- 💄 Optimize DatePicker active bar style in
RTL
. #23981 - 🐞 Fix Transfer search padding style in
RTL
. #23962 - 💄 Optimize Layout style of RTL. #23921
- 💄 Optimize Button
loading
style in RT. #23776 - 💄 Optimize Input.Search style in RTL. #23797
- TypeScript
4.2.0
2020-04-29
- 🆕 List
grid
support all column count like 5. #23630 - 🆕 Divider add
plain
prop which allows a non-heading style divider text. #23405 - 🆕 Typography
ellipsis
supportonEllipsis
event handler. #23414 - 🆕 Space support
align
prop. #23306 - 🆕 Upload support
isImageUrl
to force trade file as image. #23248 @onjuju - 🆕 Form.Item support
initialValue
andgetValueProps
props. #22993 - ConfigProvider
- Table
- 🐞 Fix RangePicker
ranges
tag color to primary color. #23705 - 🐞 Fix Transfer with custom empty style issue. #23694 @hengkx
- Input
- 🐞 Fix Password caret position. #23633 @huntdream
- 💄 Adjust Input.Search icon style. #23406
- Button
- Menu
- 🐞 Fix Tag cannot be directly called by
react-dnd
. #23632 @hengkx - Anchor
- 💄 Select arrow won't rotate when open. #23468
- 💄 Rate support
direction
. #23321 - 💄 Adjust font-size in compact mode. #23135
- RTL
- 💄 Optimize Result button style in RTL. #23733
- 💄 Add Divider RTL support. #23734
- 💄 Fix Alert style in RTL when no-icon. #23714
- 💄 Optimize Table expand animation and pagination style in RTL. #23706
- 💄 Fix Table filter dropdown position in RTL. #23695
- 💄 Fix Table rowSelect icon style in RTL. #23690
- 💄 Optimize List style in RTL. #23676
- 💄 Add Calendar RTL. #23394
- 💄 Optimize Input.Search style in RTL. #23424
- 💄 Add Notification RTL config. #23185
- TypeScript
4.1.5
2020-04-25
- 🐞 Fix Button.Group align style. #23590
- 🐞 Fix Select cannot trigger open by clicking arrow icon. #23448
- 🐞 Fix Form fields shake when
@form-item-margin-bottom
is customize and switching the validing info. #23436 @yoyo837 - 🐞 Fix the first Divider render differently with others. #23438
- 🐞 Fix nest ConfigProvider missing
prefixCls
value. #23423 - 🐞 Fix Carousel tabbed Radio/Checkbox to non-active slide. #23380
- 🐞 Fix Tree with virtual scroll frozen by quick
loadData
. #23581 - 🐞 Fix Steps style in IE11 when direction is vertical. #23561 @AdrianoRuberto
- 🐞 Fix Input.Search height affected by
suffix
andreact key
warning. #23527 - 🐞 Fix Menu behavior when hover on submenu gap. #23511
- 🐞 Fix Tree custom icon missing when node is loading data. #23494
- RTL
- TypeScript
- 🐞 Fix type definition of
selections
for Table. #23462 @xiaoxintang
- 🐞 Fix type definition of
4.1.4
2020-04-18
- 🐞 Fix dark theme and compact theme not working. #23243
- 🐞 Fix Modal.info executed only once when has argument. #23360
- 🐞 Fix Dropdown submenu background missing. #23296
- 💄 Optimize PageHeader responsive behavior. #23277
- 🐞 Fix TreeSelect render blank in compact mode. #23231
- 🛎 Fix Checkbox and Switch console warning typo (validate -> a valid). #23240 @evancharlton
- 🐞 Fix Table
rowSelection
params issue whenchildrenColumnName
configured. #23205 - Input
- Select
- Globalization
- TypeScript
- RTL
4.1.3
2020-04-13
- 💄 Adjust Form.Item
label
height style in vertical layout. #23192 - 🐞 Fix
Variable is undefined
when importing dark or compact theme and provide agetThemeVariables
methold for getting theme variables easily. #23171 - 🐞 Fix PageHeader style breaks when
title
is too long and improve it's responsive design. #23133 - Tabs
- Table
- 🐞 Fix Table fixed columns cannot pin in Safari 12. #23161
- 🐞 Fix Table
summary
padding in small size. #23140 @someyoungideas
- 🐞 Fix Select align style with different size. #23160
- 🐞 Fix RangePicker under Input.Group style issue. #23149
- 🐞 Fix Pagination missing TypeScript definition of
showTitle
. #23144 @DongchengWang
4.1.2
2020-04-10
- Menu
- 🐞 Fix dark and compact theme cannot work together. #22934 @AshoneA
- 🐞 Fix Notification invalid
paddig-top
value. #22941 - Button
- 🐞 Fix Statistic show
-0
when value is-
. @22950 - 🐞 Fix Modal.confirm
onOk
should not be triggered multiple times. #22963 - Input
- 🐞 Fix Form.Item not correct reset error style when dynamic switch Form.Item. #23041
- 💄 Adjust RangePicker arrow & suffix color style. #23025
- Table
- Select
- 🐞 Fix Calendar missing
style
prop support. #23081 - 🐞 Fix Tabs bottom card active tab wrong height style. #23087
- 🐞 Fix RTL support of Anchor, Select, DatePicker, Grid, Mentions. @xrkffgg
- TypeScript
4.1.1
2020-04-05
- 🐞 Fix Tabs panel focus outline style. #22752 @MrHeer
- 🐞 Fix Input affix with popup element can not get click focus. #22887
- Table
- 🆕 Table row selection dropdown support
getPopupContainer
. #22787 @mikeyshing88 - 🐞 Fix Table header size with filter or sorter when
size
is configured. #22872 - 💄 Adjust nest Table style, compact only when just one table element. #22868
- 🐞 Fix Table column
align
not working on head whensorter
configured. #22858 - 🐞 Fix Table filter config not work on jsx structure. #22888
- 🐞 Adjust Table expanded row not fix width when scroll only. #22832
- 🐞 Fix the column can't show when the
column.children
isundefined
. #22832 - 🐞 Fix Table still show filter icon when
filters
isundefined
. #22833 - 🐞 Fix Table unchanged
filters
should not triggeronChange
. #22829 - 🐞 Fix Table loading compatibility. #22739
- 🐞 Fix Table scroll shadow style in Safari. #22794
- 🆕 Table row selection dropdown support
- 💄 Adjust RangePicker arrow style. #22847
- 🐞 Fix Text with
ellipsis
align issue. #22836 - 💄 Tweak
@info-color
should be@primary-color
defaultly. #22723 - 🐞 Fix BackTop not working in iframe and improve it's perfermance. #22788
- 🐞 Fix Select inconsistent height when
mode="multiple"
andsize="large" />
. #22904 - 🐞 Fix Radio less variable. #22803 @yoyo837
- 🐞 Fix Card Tabs do not support small size. #22666 @MrHeer
- 🐞 Fix Affix throws
React warning of state update on unmounted component
. #22790 - 🐞 Fix Textarea with
clearIcon
additionalmargin
in Form.Item. #22793 - 🐞 Fix List
footer
missing border when data is empty. #22771 - 🐞 Fix Slider
tooltipPlacement
option API is changed to be correct again. #22772 @phoenixeliot - 🛠 Refactor LocaleReceiver with new context api to avoid React strict mode warning. #22762
- 🐞 Fix Radio and Checkbox required prop not passing to input. #22761
- 🐞 Fix variable
--scroll-bar
is undefined. #22754 @mikeyshing88 - 🐞 Fix Menu and Spin style in compact mode. #22908 @AshoneA
- 🐞 Fix Space item duplicate key. #22745
- 🐞 Fix Select cursor style. #22743
- 🇫🇷 DatePicker and TimePicker update French locale. #22769 @PaulJln
- RTL
- TypeScript
- 🐞 Fix Table
FilterDropdownProps
TypeScript definition. #22895 @zhangyu1818 - 🐞 Fix Form
Store
andStoreValue
TypeScript definition. #22755 @shaodahong
- 🐞 Fix Table
4.1.0
2020-03-29
- 🔥 Support compact mode theme. #22126 @AshoneA
- 🔥 New Space component to resolve inline component margin style. #22363
- 🔥 DatePicker support quarter picker. #22468
- 🆕 Tree/TreeSelect/Select support
virtual
prop to disable virtual scroll. #21955 - 🆕 Improve Pagination switch experience. #22711
- Pagination will show size changer when
total > 50
. - Unify Pagination items to fixed length.
- Change default size options to
10, 20, 50, 100
.
- Pagination will show size changer when
- Table
- 🆕 Tag component support
icon
prop. #22418 @vtsybulin - 🆕 Grid add
useBreakpoint
hook. #22226 - 🆕 Card support
tabProps
. #22207 - 🆕 Pagination add
autoResize
prop. #21959 @wendellhu95 - 🆕 Add render props support for Popover/Popconfirm. #22034 @nossbigg
- 🆕 TimePicker.RangePicker support
order
prop. #21948 - 🆕 Carousel
dots
support object to passclassName
. #21848 - 🆕 Form
validateMessages
support${label}
variable. #21835 - 🆕 Expose all Dropdown props in Breadcrumb.Item. #20763 @paranoidjk
- ⌨️ Improve Tabs Accessibility. #22287
- Add Tabs
keyboard
prop. - Tabs
extraContent
don't trigger keyboard navigation now.
- Add Tabs
- 🛠 Warning Form.Item with
defaultValue
when it's controlled. #22571 - 🛠 Menu.Item Tooltip could be hidden by falsy
title
prop. #22202 - 🛠 Typography
onExpand
function support event parameter. #22092 @BlazPocrnja - 🛠 Simplify Popconfirm and Popover dom structure. #22052
- 🐞 Fix Autocomplete display
null
whenvalue
isnull
. #21955 - 🐞 Adjust Drawer close button without
title
style to avoid overlap with scroll bar. #22710 - 🐞 Fix Calendar style details. #22676
- Table
- 🐞 Fix Input with
suffix
only align style issue. #22603 - 🐞 Fix Alert cannot work with Tooltip/Popover. #22594
- 🐞 Fix nest dynamic Form.Item get react unmounted update warning. #22575
- 💄 Adjust Tag
processing
status color. #22303 - 💄 Remove Select dropdown group title mouse click style. #22581
- 💄 Redesign Table filter menu buttons and fix Dropdown edge
padding
style. #22072 - 💄 Move
@form-item-label-height
from form styles to theme variables. #22600 @slavakam - 💄 Add less variables
@link-focus-decoration
and@link-focus-outline
. #22511 - 💄 add separator cursor
disabled
of DatePicker. #22563 - RTL
- 💄 Optimize Checkbox
inner
RTL style issue. #22627 - 🐞 Optimize Upload
picture-card
RTL style issue. #22630 - 🐞 Fix Badge RTL number style issue. #22665
- 🐞 Fix Select RTL style issue when select multiple options can be cleared. #22596
- 🐞 Fix Progress RTL style issue. #22558
- 🐞 Fix Badge RTL style issue. #22551
- 🐞 Fix Input RTL style issue. #22525
- 🐞 Fix Steps RTL style issue. #22523
- 💄 Optimize Tabs RTL icon style issue. #22653
- 💄 Optimize Input.Group RTL style issue. #22624
- 💄 Optimize Timeline label mode RTL style issue. #22652
- 💄 Optimization Select dropdown group RTL style issue. #22584
- 💄 Optimization Dropdown.Button RTL style issue. #22519
- 💄 Optimize Checkbox
- Typescript
- 🛠 replace deprecated
React.SFC
withReact.FC
. #22691 @Rustin-Liu - 🐞 Fix Form.Item
children
definition. #22662
- 🛠 replace deprecated
4.0.4
2020-03-23
- 🐞 Fix AutoComplete clear icon overlap issue on search icon. #22310
- 🐞 Fix Button align issue when is
disabled
and wrapped by Tooltip. #22461 - 🐞 Fix Cascader search need to press down arrow twice to select item. #22216 @Kermit-Xuan
- 🐞 Fix Carousel cannot works on Snowpack. #22507
- 🐞 Fix ConfigProvider
componentSize
not works on DatePicker.RangePicker. #22486 - 🐞 Fix Descriptions cannot fit to small container width. #22407
- ⚡️ Optimization Form.Item with multiple noStyle children Form.Item message collection performance. #22410
- 🐞 Fix Grid broken style using Col without
span
. #22455 - 💄 Add InputNumber RTL style. #22434
- Menu
- 🐞 Fix Progress Dashboard won't allow
gapDeg
to be0
. #22462 @thisrabbit - 🛠 Adjust Radio.Group logic that
value
isundefined
should be uncontrolled mode. #22245 - ⚡️ Reduce Row unnecessary render when
gutter
is array. #22475 @dolfje - 💄 Tweak RangePicker arrow shadow style. #22406
- 🐞 Fix Select dropdown menu vertical padding. #22251
- 🐞 Fix Slider tooltip crash when with
nullable
value. #22482 - Table
- 🐞 Fix Table ColumnGroup with controlled
sorterOrder
not working issue. #22450 - 🐞 Fix Table border radius style. #22413 @akshatmittal
- 🐞 Fix Table fixed column height issue. #22367
- 🐞Fix Table row expand icon show error in ipad. #22334 @BugHiding
- 🛠 Table
column.filter
supportboolean
value. #22277 @xudongdev - 🐞 Fix Table filter no working when only set
onFilter
. #22317
- 🐞 Fix Table ColumnGroup with controlled
- 🐞 Fix TreeSelect
treeIcon
not working. #22437 - 🐞 Refactor DirectoryTree to fix deprecated warning. #22318
- 🐞 Fix Typography nest list style issue. #22284
- 🐞 Adjust Upload
onChange
returnfileList
is immutable data to avoid render issue. #22322 - 🌎 Localization
- 🇩🇪 Updated German locale. #22270 @iChebbi
- 🇫🇷 Update French locale. #22238 @abenhamdine
- Typescript
- 🐞 Omit Table
getCheckboxProps
typeofchecked
. #22391 @geekrainy
- 🐞 Omit Table
4.0.3
2020-03-14
- Menu
- Slider
- 🐞 Fix an issue where the position of 'slider handle' is incorrect in the vertical case of Slider. #22135 @wendellhu95
- 💄 Fix Slider missing
focus
style. #22161
- Table
- 🐞 Fix ConfigProvider not work on Table filter dropdown. #22133
- 🐞 Fix Table nest tree column expandable style issue with fixed column. #22131
- 🐞 Fix an issue where Table filtering throws
cannot read property 'map' of undefined
. #22096 @yoyo837 - 🐞 Fix Table expandable column not fixed when selection column is fixed. #22087
- 🐞 Fix Table filter menu reset not working. #22079 @shaodahong
- 🐞 Fix Table filter sub menu max height with many items. #22230
- Form
- 💄 Optimize the responsive and box model performance of The Form. #21907 @shaodahong
- 🐞 Fix FormItem hooks render error. #22053 @kagawagao
- 🐞 Fixed the problem of using custom icons to wrap in Input.Group. #22197 @xrkffgg
- 💄 Adjust Select single padding style to avoid tweak with dropdown. #22167
- 💄 Fix Calendar header select ellipsis bug. #22148
- 💄 Fixed Dropdown content and icons overlapping. #22098 @xrkffgg
- 🐞 Fix Select ellipsis bug in Firefox. #22101
- 🐞 Remove PageHeader unnecessary
overflow: hidden
style,Optimize PageHeader extra buttons responsive design. #22030 - 🐞 Fix TextArea
autoSize
don't scroll bottom in Firefox. #22014 - 🇫🇷 The full fr_FR internationalized text. #22122 @PaulJln
- RTL
- 💄 Optimize the style of Pagination in RTL mode. #22155 @xrkffgg
- 💄 Fixed the icon style with Cascader RTL. #22191 @xrkffgg
- 💄 Optimize the Checkbox.Group style in RTL mode. #22186 @xrkffgg
- 💄 Optimize Radio.Button style issues in RTL mode. #22066 @xrkffgg
- 🐞 Optimize table-pinned style issues that are listed under RTL. #21914 @saeedrahimi
- 💄 Adjust the direction of the Dropdown icon in RTL mode. #22104 @xrkffgg
- 💄 Optimize the Breadcrumb style in RTL mode. #22159 @xrkffgg
- 💄 Optimize the style of the Steps component in RTL mode. #22175 @xrkffgg
- 💄 Optimize styles in RTL mode with form feedback. #22222
- TypeScript
- 🔷 Update the
operation
type definition of FormList. #22058 @kagawagao - 🔷 Update the definition of the
trigger
parameter for components such as Tooltip. #22043 @wendellhu95
- 🔷 Update the
4.0.2
2020-03-08
- Form
- 🐞 Fix nest Form.Item dynamic remove will warning in React. #21896
- ⚡️ Form
useForm
now return same instance for perfermance. #21927 - ⚡️ Refactor Form.Item render logic that will only render once when children is a pure component. #21991
- ⚡️ FormContext use a memoized value to avoid trigger FormItem's unintentional renders. #21980 @qiqiboy
- Table
- Select
- Menu
- 🐞 Fix Badge animation when switch between 10 and 11. #21834 @wendellhu95
- 🐞 Fix Radio.Button inside Tooltip throws
Function components cannot be given refs
warning. #21895 @AshoneA - 🐞 Fix Descriptions miss style when content is falsy. #21901
- 🐞 Fix DatePicker cursor style on
seperator
. #21937 @xrkffgg - 🐞 Fix ConfigProvider
prefixCls
not working on Input.Password. #21953 @tdida - 🐞 Fix Carousel
dots
not align center. #21960 @liusiasi - 🐞 Fix Input.Search border style in
rtl
mode. #21946 @xrkffgg - Less
- TypeScript
- 🌟 Improve Form.Item
renderProps
definite. #21911
- 🌟 Improve Form.Item
4.0.1
2020-03-04
- Form
- Input
- Table
- 🐞 Fix Dropdown menu arrow position. #21768 @xrkffgg
- 🐞 Fix List
bordered
andsplit
props conflict. #21784 @MXWXZ - 🐞 Fix Menu.Item
a
tag hidden bug. #21699 @shaodahong - 🐞 Fix
message.open
crash whenicon
is not passed. #21747 @AshoneA - 🐞 Fix Result
status
cannot assigned to string or number type. #21691 - 🐞 Fix Descriptions warning for duplicate key. #21688
- 💄 Optimize Calendar header style in small screen. #21813
- 💄 Radio.Group not wrapping now. #21813
- 🛠 Refactor icons import code to reduce webpack disabled tree shaking bundle size. #21752
- Typescript
- 🐞 Fix Radio.Button type error. #21807 @jhoneybee
- 🐞 fix
TreeSelect.SHOW_*
type. #21791 @TennyZhuang - 🐞 Fix TreeSelect missing
suffix
define. #21714 - 🐞 Fix Drawer
forceRender
TypeScript definite. #21774 - 🐞 Fix Tree
treeData
define. #21756 - 🐞 Fix Form.Item
renderProps
return type define. #21716
4.0.0
2020-02-28
- 🏆 Ant Design v4 is out! Check here for more info.
- 🐞 Breadcrumb use
path
as default key to fixname
key conflict. #21583 @douxc - 🌟 Timeline.Item support
label
. #21560 @shaodahong - 🐞 Fix Table filter menu max height style with many items. #21602
- 💄 Add the Calendar component's custom default font color for display content. #21598 @xrkffgg
- 🚮 Remove DatePicker legacy cell className for custom cell style. #21589
- 🐞 Fix RangePicker style render bug in IE11. #21587
- 🛠 Progress
strokeColor
now will ignore incorrect percent. #21564 @AshoneA - 🐞 Fix Progress
trailColor
not working whentype=line
. #21552 @AshoneA - 🐞 Fix the background of the components in the pop-up components in the dark theme. #21299
- 💄 Optimization under the dark theme color swatches transparency.
- 🌟 new less variable
@popover-customize-border-color
,@list-customize-card-bg
,@table-expand-icon-bg
,@steps-background
,@pagination-item-input-bg
for theme customization.
4.0.0-rc.6
2020-02-24
- Form
- Upload
- 🌟 Upload added
removeIcon
anddownloadIcon
properties. #21363 @sdhr27 - 🐞 Fix Upload identify types of image logic errors. #21473 @holynewbie
- 🌟 Upload added
- Input
- Table
- Descriptions
- 🐞 Fix
label
does not have the problem of still rendering the label element when not usingbordered
. #21542 - 🐞 Fix Non-bordered titles under
vertical
are also a problem fortd
. #21542 - 🐞 Fix
vertical
andbordered
layout issues. #21542 - 🐞 Fix the problem of
style
not working onItem
. #21542 - 🐞 Fix
th
will also get the useless-colon
className problem underborder
. #21542
- 🐞 Fix
- 🌟 Select added
tagRender
for customized tag rendering. #21064 @fguitton - 💄 Picker
onPanelChange
will also trigger when panel value changed. #21455 - 🐞 Fix Notification first call multiple time can not stack. #21531
- 🐞 Fix TreeSelect popup do not update issue. #21410
- 💄 Optimize Upload
showDownloadIcon
default doesn't show. b4636 - 💄 Tweak Divider inner text
padding
and add@divider-text-padding
. #21407 - Typescript
4.0.0-rc.5
2020-02-16
- 🐞 Fix Form.Item
validateFirst
prevent form submit. #21329 - 🐞 Fix InputNumber cursor position issue when deleting consecutive identical numbers. #21344
- 💄 Remove Menu excess background color. #21365
- 💄 Optimize the mouse style for the
disabled
state of the DatePicker component. #21352 - 🐞 Fix Affix throws
Cannot read property getBoundingClientRect
in mobile device. #21350 - 🐞 Fix the problem that the label width is incorrect when the screen is less than
xs
. #21222 - 🐞 Fix Input
size
islarge
height style. #21338 - 🐞 Fix Badge
color
not working when contains children. #21333 - 🐞 Fix Alert close button extra padding. #21325
- 💄 Tweak Steps 1px align issue. #21306
- 💄 Fix legacy Button.Group
large
size style issue. #21307 - 💄 Fix Input border radius with suffix, style in Firefox, TextArea allowClear style issues. #21316
- 🐞 Pagination will pass
disabled
prop to prev/next buttons return byitemRender
. #21361 - 🇦🇿 Added Azerbaijani translation. #21387 @orkhan-huseyn
- Typescript
4.0.0-rc.4
2020-02-09
- 📖 Add color palette and palette generation tool for dark theme. #21101
- 🌟 Add
style
field foroptions
prop of Checkbox.Group and Radio.Group. #21219 - 🌟 Add
validateFirst
prop for Form.Item. #21178 - 🌟 Add
useModal
hook for Modal to supportcontext
access. #20949 - 🌟 Add
useNotification
hook for Notification to supportcontext
access. #21275 - 🌟 Add
bordered
prop for Select、TreeSelect、DatePicker、TimePicker and Cascader. #21242 - 🌟 Add
selectAllLabels
prop for Transfer. #21139 @morenyang - 💄 Redesign the style of ink bar for Tabs. #21256
- 💄 Add less variable
@form-item-label-font-size
. #21216 - 🐞 Fix Badge style for Badge with Typography. #21235
- 🐞 Fix Checkbox not work when Checkbox and Checkbox.Group are separated by other component. #21146 @morenyang
- 🐞 Fix Collapse.Panel wrong content width when
extra
prop is set. #21202 @zhiyuc123 - Form
- Input
- 🐞 Fix Radio.Group style with Badge. #21215
- 🐞 Fix Select no margin between lines when mode is
tags
ormultiple
. #21175 - 🐞 Fix Slider dots focus style. #21244 @Kermit-Xuan
- 🐞 Fix Steps icon not align when
size="small"
andlabelPlacement="vertical"
. #21258 - Table
- 🐞 Fix TimePicker
defaultOpenValue
prop not work. #21198 - Transfer
- 🐞 Fix wrong unit for checkbox label of header. #21136 @morenyang
- 🐞 Fix icon not align in search input. #21247
- 🐞 Fix Typography not focus at the end of textarea when editable is true. #21268
4.0.0-rc.3
2020-01-27
- 🛠 Use native Date instead of moment to get timestamp in Countdown component. #21108 @morenyang
- 🐞 Fix Input
suffix / prefix
style issue withaddonBefore / addonAfter
. #21105 - 💄 Improved Timeline component style in RTL mode. #21068 @xrkffgg
- 💄 Update
clearfix
mixin to remove legacyzoom
descriptor. #21109 @morenyang - 💄Card component use
@font-size-base
instead of inline14px
. #21107 @morenyang - 💄 Adjust Layout component to let
className
get higher priority. #21074 @yoyo837 - Typescript
- 🐞 Fix Tree wrong event type of AntTreeNodeMouseEvent. #21102 @Jirka-Lhotka
- 🐞 Fix Form.Item return type define. #21067
4.0.0-rc.2
2020-01-21
- 🛠 Refactor some demos to React hooks and TypeScript. #21045
- 🐞 Fixed Input/Select components align issue. #20869
- Dropdown
- Input
- Table
- Select
- Form
- 🐞 Fixed message cut shadow issue. #20856
- 🐞 Fixed Tooltip hidden when
title
is0
. #20894 - 🐞 Fixed List
actions
inconsistent position. #20897 - 🆕 Add a visual list example for Tree. #20911
- 🐞 Fixed AutoComplete example styling issue. #20946
- 🗑 Removed AutoComplete useless
labelInValue
. #20967 - 🐞 Fixed Drawer
footerStyle
prop cause react warning. #20983 - 🐞 Fixed Breadcrumb style in
rtl
mode. #21054 - 💄 Tweak Layout
className
order to end. #21041 - TypeScript
- 🐞 Export DatePicker related interface. #20900
- Less variables
4.0.0-rc.1
2020-01-11
- 🌟 Drawer Added
footer
andfooterStyle
properties. #20690 @DeanVanNiekerk - 🌟 Switch Added
@switch-min-width
and@switch-sm-min-width
less variables. #20829 @abdih - Table
- 🐞 Fix expanded icon not work when
expandRowByClick
is set. #20808 - 🐞 Fix expanded row width in scaled dom element and border style. #20805
- 🐞 Fix background color css priority too high to override user customize style. #20794
- 🐞 Fix
rowSelection
offixed
not work. #20735 - 🐞 Fix fixed columns in Chrome show the vertical scrollbar. #20705
- 🐞 Fix crash when columns with empty children. #20703
- 🐞 Fix expanded icon not work when
- 💄 Tweak Calendar basic style month drop-down box width and notice items of word order and card mode, select the size of the box. #20790 @xrkffgg
- DatePicker
- 🐞 Input not block user input when value is
undefined
. #20783 - 🐞 Fix Carousel card carousel orientation in left / right mode. #20781 @xrkffgg
- 🐞 Fix Grid responsive gutter under SSR initial value of
0
. #20762 - 🐞 Fix InputNumber, Select and other components icon size. #20765
- 🐞 Fix Badge
z-index
higher than Table fixed columns. #20751 - 💄 Tweak font family to be same as tailwindcss. #20747
- 🐞 Fix TextArea
autoSize
blink in FireFox. #20737 - 🐞 Fix Form.Item not keep error message sync when hit rule changed. #20725
- 🐞 Fix Form.Item add additional feedback style when
hasFeedback
is not set. #20691 - 🐞 Fix Cascader search bug when
fieldNames
is existed and label/value share same name. #20720 - 🐞 Fix Collapse background color with wrong less variable. #20718 @kuitos
- 🐞 Fix Slider's Tooltip not follow handle. #20699
- 🐞 Fix Card cover image get skretched. #20701
- 🐞 Fix Typography automatic overflow with
suffix
property. #20689 @zouxiaomingya - 🐞 Fix AutoComplete with customize component with wrong style. #20686
- 🐞 Fix Input.Group to be partial to a pixel in Form. #20681
- TypeScript
4.0.0-rc.0
2020-01-04
Ant Design 4.0-rc released! Here is the release document.
⚠️ Migrate from v3 to v4 please ref to migration document.
New features and improvements
- 🌟 antd package size optimization, js gzipped dropped from 532.75KB to 289.89 KB. #20356
- 💄 New dark theme support. #20281
- 🌟 ConfigProvider supports
direction
internationalization settingrtl
. #19380 - 🌟 New Form component. #17327
- 🌟 Form comes with data binding function.
- 🌟 Field changes only affect the rendering of related field components and not the entire Form.
- 🌟 Added
initialValues
to replace the original field initialization. - 🌟 Added
validateMessages
to support modify validation templates. - 🌟 Added
onFinish
andonFinishFailed
to complete the overall component verification logic. - 🌟 Added
onFieldsChange
andonValuesChange
for triggering controlled state. - 🌟 Provide hook support for
useForm
. - 🌟 Form.Item adds
name
property for data binding. - 🌟 Form.Item
validateTrigger
will only perform validation trigger and will not collect field values at the same time. - 🌟 Form.Item adds
rules
property for data validation. - 🌟 Form.Item adds
shouldUpdate
property to support render props. - 🌟 Form.Item adds
dependencies
property to simplify related field update logic. - 🌟 Form.Item adds
noStyle
property and adds unstyled data binding. - 🌟 Added Form.List component to simplify adding, deleting, modifying and checking operations.
- 🌟 Added Form.Provider component to support multi-form linkage.
- 🌟 New Table component. #19678
- 🌟 Added
summary
support for summary lines. - 🌟 Now
fixedColumn
,expandable
, andscroll
can be mixed. - 🌟 Support multi-column sort.
- 🌟 Support custom
body
and add virtual scrolling example. - 🌟 Expansion-related props moved into the
expandable
attribute and addrowExpandable
prop. - 🎉 Use css
sticky
to achieve fixed effects to optimize performance. - 💄 Optimized
expand
animation effect.
- 🌟 Added
- 🌟 New DatePicker, TimePicker and Calendar components. #20023
- 🌟 Support custom date library.
- 🌟 Added
picker
support for setting selectors (no longer need to simulate selectors via controlledmode
). - 🌟 Full range selector support: time, date, week, month, year.
- 🌟 Range selector can now select start and end times individually.
- 🌟 The range selector can be set to
disabled
separately for the start and end time. - 🌟 The range selector allows empty start and end times.
- 🌟 Optimized manual input and keyboard interaction support.
- 🌟 Added
inputReadOnly
to disable manual input.
- 🌟 Remove Icon and use
@ ant-design / icons
instead. #18217 - Skeleton
- 🌟 Support Skeleton.Avatar placeholder component. #19898 @Rustin-Liu
- 🌟 Support Skeleton.Button placeholder component. #19699 @Rustin-Liu
- 🌟 Support Skeleton.Input placeholder component. #20264 @Rustin-Liu
- 🌟 Tree supports virtual scrolling. #18172
- 🌟 Tree Enhanced accessibility support and keyboard interaction. #18866
- 🌟 Select uses virtual scrolling and enhanced accessibility support and keyboard interaction. #18658
- 🌟 Uncontrolled mode when
value
isundefined
now.
- 🌟 Uncontrolled mode when
- 🌟 TreeSelect uses virtual scrolling and optimizes keyboard support. #19040
- 🌟 Uncontrolled mode when
value
isundefined
now.
- 🌟 Uncontrolled mode when
- 🌟 Button adds
default
andlink
styles fordanger
. #19837 - 🌟 Form and ConfigProvider support
size
setting to include component size. #20570 - 🌟 Typography adds
suffix
attribute. #20224 - 🌟 Progress adds
steps
subcomponent. #19613 - 🌟 TextArea supports
onResize
. #20408 - 🌟 Added Alert.ErrorBoundary to provide friendly error interception and prompting. #19923
- 🌟 Upload supports iconRender to customize icons. #20034 @qq645381995
- 🌟 Tag component preset status color. #19399
- 🌟 Grid uses
flex
layout. #16635 - 🐞 Fix the display error of Carousel component
dotposition
asleft | right
. #20645 @xrkffgg - 🐞 Fix Alert style text overflow. #20318
- 🙅 Removed warning messages for deprecated APIs. #17510
- 🙅 Added warning for Avatar, Button, Modal.method and Result components using v3 strings as icons. #20226
- 💄 Add
@border-color-split-popover
、@input-icon-hover-color
、@select-clear-background
、@cascader-menu-border-color-split
、@modal-header-border-color-split
、@skeleton-to-color
、@transfer-item-hover-bg
and other less variables. #20070
3.x
Visit GitHub to read 3.x
change logs.
2.x
Visit GitHub to read 2.x
change logs.
1.11.4
Visit GitHub to read change logs from 0.x
to 1.x
.