62 KiB
62 KiB
order, title, toc, timeline
| 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.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
rowSelectionparams issue whenchildrenColumnNameconfigured. #23205 - Input
- Select
- Globalization
- TypeScript
- RTL
4.1.3
2020-04-13
- 💄 Adjust Form.Item
labelheight style in vertical layout. #23192 - 🐞 Fix
Variable is undefinedwhen importing dark or compact theme and provide agetThemeVariablesmethold for getting theme variables easily. #23171 - 🐞 Fix PageHeader style breaks when
titleis too long and improve it's responsive design. #23133 - Tabs
- Table
- 🐞 Fix Table fixed columns cannot pin in Safari 12. #23161
- 🐞 Fix Table
summarypadding 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-topvalue. #22941 - Button
- 🐞 Fix Statistic show
-0when value is-. @22950 - 🐞 Fix Modal.confirm
onOkshould 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
styleprop 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
sizeis configured. #22872 - 💄 Adjust nest Table style, compact only when just one table element. #22868
- 🐞 Fix Table column
alignnot working on head whensorterconfigured. #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.childrenisundefined. #22832 - 🐞 Fix Table still show filter icon when
filtersisundefined. #22833 - 🐞 Fix Table unchanged
filtersshould 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
ellipsisalign issue. #22836 - 💄 Tweak
@info-colorshould be@primary-colordefaultly. #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
clearIconadditionalmarginin Form.Item. #22793 - 🐞 Fix List
footermissing border when data is empty. #22771 - 🐞 Fix Slider
tooltipPlacementoption 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-baris 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
FilterDropdownPropsTypeScript definition. #22895 @zhangyu1818 - 🐞 Fix Form
StoreandStoreValueTypeScript 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
virtualprop 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
iconprop. #22418 @vtsybulin - 🆕 Grid add
useBreakpointhook. #22226 - 🆕 Card support
tabProps. #22207 - 🆕 Pagination add
autoResizeprop. #21959 @wendellhu95 - 🆕 Add render props support for Popover/Popconfirm. #22034 @nossbigg
- 🆕 TimePicker.RangePicker support
orderprop. #21948 - 🆕 Carousel
dotssupport object to passclassName. #21848 - 🆕 Form
validateMessagessupport${label}variable. #21835 - 🆕 Expose all Dropdown props in Breadcrumb.Item. #20763 @paranoidjk
- ⌨️ Improve Tabs Accessibility. #22287
- Add Tabs
keyboardprop. - Tabs
extraContentdon't trigger keyboard navigation now.
- Add Tabs
- 🛠 Warning Form.Item with
defaultValuewhen it's controlled. #22571 - 🛠 Menu.Item Tooltip could be hidden by falsy
titleprop. #22202 - 🛠 Typography
onExpandfunction support event parameter. #22092 @BlazPocrnja - 🛠 Simplify Popconfirm and Popover dom structure. #22052
- 🐞 Fix Autocomplete display
nullwhenvalueisnull. #21955 - 🐞 Adjust Drawer close button without
titlestyle to avoid overlap with scroll bar. #22710 - 🐞 Fix Calendar style details. #22676
- Table
- 🐞 Fix Input with
suffixonly 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
processingstatus color. #22303 - 💄 Remove Select dropdown group title mouse click style. #22581
- 💄 Redesign Table filter menu buttons and fix Dropdown edge
paddingstyle. #22072 - 💄 Move
@form-item-label-heightfrom form styles to theme variables. #22600 @slavakam - 💄 Add less variables
@link-focus-decorationand@link-focus-outline. #22511 - 💄 add separator cursor
disabledof DatePicker. #22563 - RTL
- 💄 Optimize Checkbox
innerRTL style issue. #22627 - 🐞 Optimize Upload
picture-cardRTL 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.SFCwithReact.FC. #22691 @Rustin-Liu - 🐞 Fix Form.Item
childrendefinition. #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
disabledand 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
componentSizenot 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
gapDegto be0. #22462 @thisrabbit - 🛠 Adjust Radio.Group logic that
valueisundefinedshould be uncontrolled mode. #22245 - ⚡️ Reduce Row unnecessary render when
gutteris array. #22475 @dolfje - 💄 Tweak RangePicker arrow shadow style. #22406
- 🐞 Fix Select dropdown menu vertical padding. #22251
- 🐞 Fix Slider tooltip crash when with
nullablevalue. #22482 - Table
- 🐞 Fix Table ColumnGroup with controlled
sorterOrdernot 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.filtersupportbooleanvalue. #22277 @xudongdev - 🐞 Fix Table filter no working when only set
onFilter. #22317
- 🐞 Fix Table ColumnGroup with controlled
- 🐞 Fix TreeSelect
treeIconnot working. #22437 - 🐞 Refactor DirectoryTree to fix deprecated warning. #22318
- 🐞 Fix Typography nest list style issue. #22284
- 🐞 Adjust Upload
onChangereturnfileListis immutable data to avoid render issue. #22322 - 🌎 Localization
- 🇩🇪 Updated German locale. #22270 @iChebbi
- 🇫🇷 Update French locale. #22238 @abenhamdine
- Typescript
- 🐞 Omit Table
getCheckboxPropstypeofchecked. #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
focusstyle. #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: hiddenstyle,Optimize PageHeader extra buttons responsive design. #22030 - 🐞 Fix TextArea
autoSizedon'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
operationtype definition of FormList. #22058 @kagawagao - 🔷 Update the definition of the
triggerparameter 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
useFormnow 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 refswarning. #21895 @AshoneA - 🐞 Fix Descriptions miss style when content is falsy. #21901
- 🐞 Fix DatePicker cursor style on
seperator. #21937 @xrkffgg - 🐞 Fix ConfigProvider
prefixClsnot working on Input.Password. #21953 @tdida - 🐞 Fix Carousel
dotsnot align center. #21960 @liusiasi - 🐞 Fix Input.Search border style in
rtlmode. #21946 @xrkffgg - Less
- TypeScript
- 🌟 Improve Form.Item
renderPropsdefinite. #21911
- 🌟 Improve Form.Item
4.0.1
2020-03-04
- Form
- Input
- Table
- 🐞 Fix Dropdown menu arrow position. #21768 @xrkffgg
- 🐞 Fix List
borderedandsplitprops conflict. #21784 @MXWXZ - 🐞 Fix Menu.Item
atag hidden bug. #21699 @shaodahong - 🐞 Fix
message.opencrash wheniconis not passed. #21747 @AshoneA - 🐞 Fix Result
statuscannot 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
suffixdefine. #21714 - 🐞 Fix Drawer
forceRenderTypeScript definite. #21774 - 🐞 Fix Tree
treeDatadefine. #21756 - 🐞 Fix Form.Item
renderPropsreturn type define. #21716
4.0.0
2020-02-28
- 🏆 Ant Design v4 is out! Check here for more info.
- 🐞 Breadcrumb use
pathas default key to fixnamekey 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
strokeColornow will ignore incorrect percent. #21564 @AshoneA - 🐞 Fix Progress
trailColornot 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-bgfor theme customization.
4.0.0-rc.6
2020-02-24
- Form
- Upload
- 🌟 Upload added
removeIconanddownloadIconproperties. #21363 @sdhr27 - 🐞 Fix Upload identify types of image logic errors. #21473 @holynewbie
- 🌟 Upload added
- Input
- Table
- Descriptions
- 🐞 Fix
labeldoes not have the problem of still rendering the label element when not usingbordered. #21542 - 🐞 Fix Non-bordered titles under
verticalare also a problem fortd. #21542 - 🐞 Fix
verticalandborderedlayout issues. #21542 - 🐞 Fix the problem of
stylenot working onItem. #21542 - 🐞 Fix
thwill also get the useless-colonclassName problem underborder. #21542
- 🐞 Fix
- 🌟 Select added
tagRenderfor customized tag rendering. #21064 @fguitton - 💄 Picker
onPanelChangewill 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
showDownloadIcondefault doesn't show. b4636 - 💄 Tweak Divider inner text
paddingand add@divider-text-padding. #21407 - Typescript
4.0.0-rc.5
2020-02-16
- 🐞 Fix Form.Item
validateFirstprevent 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
disabledstate of the DatePicker component. #21352 - 🐞 Fix Affix throws
Cannot read property getBoundingClientRectin mobile device. #21350 - 🐞 Fix the problem that the label width is incorrect when the screen is less than
xs. #21222 - 🐞 Fix Input
sizeislargeheight style. #21338 - 🐞 Fix Badge
colornot working when contains children. #21333 - 🐞 Fix Alert close button extra padding. #21325
- 💄 Tweak Steps 1px align issue. #21306
- 💄 Fix legacy Button.Group
largesize style issue. #21307 - 💄 Fix Input border radius with suffix, style in Firefox, TextArea allowClear style issues. #21316
- 🐞 Pagination will pass
disabledprop 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
stylefield foroptionsprop of Checkbox.Group and Radio.Group. #21219 - 🌟 Add
validateFirstprop for Form.Item. #21178 - 🌟 Add
useModalhook for Modal to supportcontextaccess. #20949 - 🌟 Add
useNotificationhook for Notification to supportcontextaccess. #21275 - 🌟 Add
borderedprop for Select、TreeSelect、DatePicker、TimePicker and Cascader. #21242 - 🌟 Add
selectAllLabelsprop 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
extraprop is set. #21202 @zhiyuc123 - Form
- Input
- 🐞 Fix Radio.Group style with Badge. #21215
- 🐞 Fix Select no margin between lines when mode is
tagsormultiple. #21175 - 🐞 Fix Slider dots focus style. #21244 @Kermit-Xuan
- 🐞 Fix Steps icon not align when
size="small"andlabelPlacement="vertical". #21258 - Table
- 🐞 Fix TimePicker
defaultOpenValueprop 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 / prefixstyle issue withaddonBefore / addonAfter. #21105 - 💄 Improved Timeline component style in RTL mode. #21068 @xrkffgg
- 💄 Update
clearfixmixin to remove legacyzoomdescriptor. #21109 @morenyang - 💄Card component use
@font-size-baseinstead of inline14px. #21107 @morenyang - 💄 Adjust Layout component to let
classNameget 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
titleis0. #20894 - 🐞 Fixed List
actionsinconsistent position. #20897 - 🆕 Add a visual list example for Tree. #20911
- 🐞 Fixed AutoComplete example styling issue. #20946
- 🗑 Removed AutoComplete useless
labelInValue. #20967 - 🐞 Fixed Drawer
footerStyleprop cause react warning. #20983 - 🐞 Fixed Breadcrumb style in
rtlmode. #21054 - 💄 Tweak Layout
classNameorder to end. #21041 - TypeScript
- 🐞 Export DatePicker related interface. #20900
- Less variables
4.0.0-rc.1
2020-01-11
- 🌟 Drawer Added
footerandfooterStyleproperties. #20690 @DeanVanNiekerk - 🌟 Switch Added
@switch-min-widthand@switch-sm-min-widthless variables. #20829 @abdih - Table
- 🐞 Fix expanded icon not work when
expandRowByClickis 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
rowSelectionoffixednot 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-indexhigher than Table fixed columns. #20751 - 💄 Tweak font family to be same as tailwindcss. #20747
- 🐞 Fix TextArea
autoSizeblink in FireFox. #20737 - 🐞 Fix Form.Item not keep error message sync when hit rule changed. #20725
- 🐞 Fix Form.Item add additional feedback style when
hasFeedbackis not set. #20691 - 🐞 Fix Cascader search bug when
fieldNamesis 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
suffixproperty. #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
directioninternationalization 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
initialValuesto replace the original field initialization. - 🌟 Added
validateMessagesto support modify validation templates. - 🌟 Added
onFinishandonFinishFailedto complete the overall component verification logic. - 🌟 Added
onFieldsChangeandonValuesChangefor triggering controlled state. - 🌟 Provide hook support for
useForm. - 🌟 Form.Item adds
nameproperty for data binding. - 🌟 Form.Item
validateTriggerwill only perform validation trigger and will not collect field values at the same time. - 🌟 Form.Item adds
rulesproperty for data validation. - 🌟 Form.Item adds
shouldUpdateproperty to support render props. - 🌟 Form.Item adds
dependenciesproperty to simplify related field update logic. - 🌟 Form.Item adds
noStyleproperty 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
summarysupport for summary lines. - 🌟 Now
fixedColumn,expandable, andscrollcan be mixed. - 🌟 Support multi-column sort.
- 🌟 Support custom
bodyand add virtual scrolling example. - 🌟 Expansion-related props moved into the
expandableattribute and addrowExpandableprop. - 🎉 Use css
stickyto achieve fixed effects to optimize performance. - 💄 Optimized
expandanimation effect.
- 🌟 Added
- 🌟 New DatePicker, TimePicker and Calendar components. #20023
- 🌟 Support custom date library.
- 🌟 Added
pickersupport 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
disabledseparately for the start and end time. - 🌟 The range selector allows empty start and end times.
- 🌟 Optimized manual input and keyboard interaction support.
- 🌟 Added
inputReadOnlyto disable manual input.
- 🌟 Remove Icon and use
@ ant-design / iconsinstead. #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
valueisundefinednow.
- 🌟 Uncontrolled mode when
- 🌟 TreeSelect uses virtual scrolling and optimizes keyboard support. #19040
- 🌟 Uncontrolled mode when
valueisundefinednow.
- 🌟 Uncontrolled mode when
- 🌟 Button adds
defaultandlinkstyles fordanger. #19837 - 🌟 Form and ConfigProvider support
sizesetting to include component size. #20570 - 🌟 Typography adds
suffixattribute. #20224 - 🌟 Progress adds
stepssubcomponent. #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
flexlayout. #16635 - 🐞 Fix the display error of Carousel component
dotpositionasleft | 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-bgand 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.