You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 KiB
74 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.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
- ๐ Upload
UploadProps
support generic typing. #22921 @dpyzo0o - ๐ Fix Modal.confirm
okButtonProps
types. #21165 @nicu-chiciuc - ๐ Export Form
Store
interface. #22755 @shaodahong - ๐ Improve enum types for Input, Tag, Badge. #23026 #22999 #23006 @fjc0k
- ๐ Fix Pagination
position
type. #23048 @Arttse
- ๐ Upload
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
- ๐ Added scroll options as
scrollToField
argument. #20774 - ๐ Fixed Form.Item update
help
makes layout shake. #20886 - ๐ Fixed unexpected extra rerender when Form.Item is not a real Field. #20963
- ๐ Fixed Form.Item ignore
help=""
issue. #21026 - ๐ Fixed Form.Item
label
align bug in small screen. #20836
- ๐ Added scroll options as
- ๐ 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
.