272 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.20.2
2022-04-30
- Segmented
- Table
- ⌨️ Improve Table columns sorter a11y experience. #35269
- 🇪🇸 Added Table filter localization for es_ES. #35309 @agarciaguillo
- 💄 Fix Switch color in dark theme. #35332
- 💄 Tweak Breadcrumb link hover color. #35324
- 🐞 Fix Space throws
Encountered two children with the same key
warning in some cases. #35311 - 🐞 Fix Select tag remove icon position issue. #35336 @walidcherhane
4.20.1
2022-04-26
- 🐞 Fix Breadcrumb extra padding and margin style. #35235
- 🐞 Fix Input.Seach inconsistent behavior of triggering
onSearch
when press enter using Chinese inputting method. #35164 @qyzzzz - 🐞 Fix circle reference between Upload and Dragger. #34379 @kanweiwei
4.20.0
2022-04-24
- 🔥 React 18 Support. Fix related known issue.
- 🔥 New component Segmented. #34319
- Form
- 🛎 Menu support
items
for perf prepare, andchildren
will be removed in next major version. #34559 - 🆕 Image PreviewGroup Support top progress rendering. #35038 @zpc7
- Upload
- Table
- 🆕 Support reset to the default value rather than empty, when click reset in Table column filter. #34355 @heiyu4585
- 💄 Fix Table head background and selection column width styling issues when
size="small"
. #34963 - 🇩🇪 Improve German translations for Table. #34836 @pfedan
- ⚡️ Optimize Table filter calculation perfromance. #35064 @nieyuyao
- 💄 Improve small and middle size Table selection dropdown margin style. #35173
- Tree
- Breadcrumb
- 🐞 Fix Breadcrumb deprecated warning of Dropdown
placement
. #35162 - 🐞 Fix Breadcrumb show the number when is unexpected. #35123
- ⌨️ Make structure of Breadcrumb be accessible. #34082 @VladimirOtroshchenko
- 🐞 Fix Breadcrumb deprecated warning of Dropdown
- Anchor
- Cascader
- 🆕 Cascader supports
showCheckedStrategy
for value display strategy. #34568 @heiyu4585 - 🐞 Fix Cascader search result do not fill the entrie panel. #35019 @boomler
- 🆕 Cascader supports
- 🆕 Click event object can be accessed in
onCopy
function of Typography. #34655 @yzwxk - 🆕 Grid supports
justify="space-evenly"
. #34606 @gp5251 - 🆕 Support
rootClassName
property for Dialog and Image. #34574 @heiyu4585 - 🐞 Fix error
Nothing was returned from render
when Skeleton use falsyloading
props withoutchildren
. #34872 @AlbertAZ1992 - 💄 Optimize Switch disabled color to fit colorful background. #35103
- 💄 Remove Tabs
overflow: hidden
style to fix Select and sticky Table display problem inside Tabs. #35195 - 💄 Fix Steps style issues in RTL mode. #35088 @zpc7
- 💄 Fix animation for standalone Badge in RTL mode. #34899 @hmz22
- 🛠 Optimize Modal id generate logic to improve accessibility experience. #35072
- 🐞 Fix Select and AutoComplete scroll abnormal behavior when navigate via keyboard.。#35025
- Spin
- 💄 Fix Spin animation style being abnormally parsed in Parcel. #35005
- ⌨️ Spin add
aria
attribute to improve accessibility. #34408 @heiyu4585
- ⌨️ Dropdown support select option by keyboard. #34738
- 🐞 Fix Title, Text, Paragraph components cannot get
ref
bug. #34847 @MQuy - Input
- ⌨️ Fix
aria-checked
attribute for Checkbox, to avoid screen reader getting an incorrect status. #34862 @SpaNb4 - Less
- TypeScript
- 🤖 Fixed
Upload
componentUploadChangeParam<T>
internalfileList
not using generics. #35158 @rendaoer - 🤖 Update TypeScript definition for
@types/react@18
compatible. #35075 @AliRezaBeigy #35076 @littledian
- 🤖 Fixed
4.19.5
2022-04-02
- 🐞 Fix Form that not keep store value when unmount and mount again. #34845
- 🐞 Fix Pagination under
<ConfigProvider componentSize="large" />
should display middle size Select. #34756 - 🐞 fix Skeleton to unable to render
childten
of non-react element. #34751 @1247748612 - 💄 Fix Tag
@tag-border-radius
less variable not work. #34741
4.19.4
2022-03-27
- 🐞 Fix when
fullscreen
of the Calendar isfalse
, the element returned bydateFullCellRender
cannot be interactive. #34614 @imoctopus - 🐞 fix BackTop responsive in RTL. #34626 @hmz22
- 🐞 Fix text position in Steps with
small
size anddot
mode. #34651 - 🐞 Fix Descriptions
contentStyle
not working when children is 0. #34696 @zhao-huo-long - 🐞 Fix notification prevent interaction on elements which under it. #34716
4.19.3
2022-03-21
- 🐞 Fix TextArea
clearIcon
color. #34610 - 🐞 Fix: apply scale transform to disabled star. #34547 @Unuuuuu
- 🐞 Fix Tooltip arrow color with preset. #34548
- 🐞 Fixed number abnormal position display in Badge RTL mode. #34545
- 💄 Fix numeric Row and Col class styles when using prefixCls. #34494 @mic-web
- 🐞 Fix Editable Textarea height jump in Firefox and Editable Typography.Title confirm icon position. #34518
- 💄 Fix missing
status
style in RangePicker. #34509 - 🛎 Add warning for Input getting blurred when dynamically add
hasFeedback
. #34475 - 🐞 Fix missing classname in input when Input has
prefix
orsuffix
. #34474 - 🇱🇹 Updated lt_LT locale for
typeTemplate
. #34567 @Anizcus - 🇮🇹 Updated it_iT locale for
Table
. #34566 @freshgiammi
4.19.2
2022-03-13
- 🐞 Fix Dropdown not auto adjust placement when position on the edge of window. #34390
- 💄 Change PageHeader elements margin from
12px
to8px
insideextra
. #34428 - 🛠 Export css variable function in
antd/es/config-provider
folder to enable ssr requirement. #34436 - 🛠 Refactor Menu with React hooks. #34433
- Input
- Form
- Tooltip
- 💄 Fix Tooltip width in Safari. #34415 @jiandandkl
- 💄 Fix arrow size of Tooltip/Popover/Popconfirm. #34407
- 💄 Remove Collapse bottom border in simple style. #34366 @PanStar
- TypeScript
4.19.1
2022-03-08
- 🐞 Fix less compile error related to custom status. #34350
- 🐞 Fix error
ReferenceError: colorPalette is not defined
when customize theme. - 🐞 Fix error
Error: Invalid class or id selector syntax
when importantd/dist/antd.css
.
- 🐞 Fix error
- 🐞 Fix Input.Passowrd icon color in site. #34354
- 🐞 Fix ConfigProvider
csp
sometime not effect on Icon. #34356
4.19.0
2022-03-08
-
💄 Optimize arrow style for some components. #33710
-
Input
- 🛠 Refactor Input with rc-input. #34206
- Attention: The type and value of
ref
is modified because of refactoring from class component to function component. You can still get DOM node frominput
, and other methods such asfocus
andblur
mentioned in document are also supported.
- Attention: The type and value of
- 🆕 Support
clearIcon
prop for customizing clear icon. #34325
- 🛠 Refactor Input with rc-input. #34206
-
Table
- 🆕
filterSearch
now support passing function to customize search. #34085 @heiyu4585 - 🆕
column.filterDropdown({ clearFilters })
supportclearFilters({ confirm: false, closeDropdown: false })
. #34120 @heiyu4585 - ⌨️ Table adds
aria-sort
attribute for screen readers. #33603 @dgreene1 - 🐞 Fix Table filters select-all Checkbox not changed when select item. #34295
- 🆕
-
🆕 Data entry components add
status
prop to support custom status. -
🆕 InputNumber supports
controls={{ upIcon, downIcon }}
to customize icon up and down. #33914 @heiyu4585 -
🆕 Notification
placement
supporttop
/bottom
#33871 @heiyu4585 -
🆕 Select, Cascades, DatePicker now support
placement
property. #33641 @ONLY-yours -
🆕 Dropdown support
arrow={{ pointAtCenter: true }}
to make arrow point at center. Andtop
bottom
placement are also supported. #33658 -
🆕 Skeleton.Input Adds
block
prop. #33672 @woochanleee -
🆕 Move TimePicker
disabledHours
,disabledMinutes
,disabledSeconds
intodisabledTime
to align with DatePicker. #33503 -
💄 Modify the color of some borders and the background color of the progress bar to be transparent to suit the colored background. #33506
-
🐞 Fix
Typography.Title
didn't keep font size when become editable. #34169 @heiyu4585 -
🐞 Fix Form.Item throw warning
React does not recognize the requiredMark prop on a DOM element
. #34323
4.18.9
2022-02-28
- 🆕 New theme less variable for Radio, Divider, Modal, Dropdown, Drawer. #34194 #34187 #34191 #34189 #34188 @qdzhaoxiaodao
- 💄 Fix Dropdown item wrap style when text is too long. #34177
- TypeScript
4.18.8
2022-02-21
- 🐞 Fix
getContainer
config not working bug when called multi-times viamessage.config
. #34123 @TrickyPi - 🐞 Fix invalid context value cache in Menu component. #34121 @mrwd2009
- 🐞 Fix ConfigProvider config theme on server side crash, and warning for useless in SSR instead. #34118
- Table
- 🐞 Fix incorrect copy text of Typography after children is updated when enable
copyable
. #34034 @opopeieie - ⚡️ Optimize Avatar, List, Pagination, Steps to avoid additional render on mount if unnecessary. 34122
- 💄 Fix Form broken style when Select item is too long in horizontal layout. #34117
- 🇸🇰 Improve texts for Table, Form and Modal in
sk_SK
. #34061 @xseman - TypeScript
4.18.7
2022-02-14
- Typography
- 🛠 Fix Typography
useLayoutEffect
warning in SSR. #33818 @SoYoung210 - 🐞 Fix Typography with
ellipsis
makes screen show the scroll bar in some case. #34007 - 🐞 Typography copy click event is now
stopPropagation
by default. #33998 @linxianxi - 🐞 Fix Typography edit & copy button not trigger by enter key. #33976 @mrwd2009
- 🛠 Fix Typography
- 🐞 Fix Form
undefined
text of min/max validators in pl_PL locale. #34024 @MichalPodeszwa - 🐞 Fix Input.TextArea cut text logic when
maxLength
configured. #33910 @chenyizhongx - 💄 Button with
type=default
will provide.ant-btn-default
className. #34013 - 💄 Improve Menu
:focus-visible
style. #34008 - 💄 Fix Pagination and Rate style problem in Safari. #34002
- 💄 Fix Row and Col component styles when using prefixCls. #33969 @mic-web
- 🐞 Fix Timeline icons with custom color not working. #33951 @MadCcc
- TypeScript
- 🤖 Optimize Cascader
onChange
definition withmultiple
prop. #33947 @babycannotsay
- 🤖 Optimize Cascader
4.18.6
2022-02-07
- 🐞 Fix the empty Popover displayed when
content
andtitle
is undefined or null. #33835 @DawnLck - 🐞 Fix the problem that Tooltip didn't show on
ellipsis
with rows larger than 1. #33875 - Button
- 🐞 Fix the issue that
block
of Button not work when small size. #33878 @tangjinzhou - 🐞 Fix the issue that
loading.delay
of Button cause React memory leak warning #33858 @mrwd2009
- 🐞 Fix the issue that
- 🐞 Fix the problem that Tooltip cannot be displayed when it is used with Switch in
loading
state. #33860 - 🐞 Fix the Upload button sometimes flashes after changed from hidden to display when the Upload component is a
picture-card
type. #33820 @credred - TypeScript
- 🤖 Fix DatePicker
ref
TypeScript definition. #33901 @Amour1688
- 🤖 Fix DatePicker
4.18.5
2022-01-24
- Cascader
- 💄 Fix Tag style in dark theme. #33751
- 💄 Fix disabled Checkbox inside Tooltip dom structure. #33772 @boomler
- ⚡️ Fix invalid hook dependency array in Row and Layout.Sider components. #33804 @mrwd2009
- 🐞 Fix Card
ref
not working. #33784 @LongHaoo - 🐞 Fix a Checkbox problem that
onChange
could not correctly pass in the modified value when dynamically modifyingvalue
property. #33753
4.18.4
2022-01-18
- Typography
- Icon
- 🐞 Fix
<Icon component={HomeOutlined} />
and<HomeOutlined />
not aligned. (https://github.com/ant-design/ant-design/pull/33709) - 🐞 Fix
<Icon component={SyncOutlined} spin />
shake. #33726 @JX-Zhuang
- 🐞 Fix
- Input
- ⚡️ Fix ConfigProvider and Anchor rerender unexpectedly. #33723 @mrwd2009
- 🐞 Fix the duplicate keys warning in console for Cascader. #33649 @dimbslmh
- 🐞 Checkbox.Group support number and boolean as options element. #33678
- 🐞 Fix Form
validateMessages
bug in multiple ConfigProvider. #33705 - 🐞 Fix Steps the tail part would be hidden when type is navigation and labelPlacement is vertical. #33716 @toSayNothing
- 🐞 Fix Image has bottom blank style. #33631 @fanerge
- 🐞 Fix TreeSelect with keyboard operation missing highlight issue. #33755
- 🇰🇭 Fix some translations for Khmer (km_KH). #33738 @vireakkeosokvibol
4.18.3
2022-01-10
- 🆕 Menu support
home
andend
keyboard navigate. #33642 @dartamonov-vertex - Table
- ⚡️ Improve Table perfermance significantly when mount and unmount. #33554
- 🐞 Fix Table emptynode fixed display. #33610 @hemengke1997
- 🐞 Fix Table tree data hover error. #33638 @LongHaoo
- Form
- 🐞 Fix Input.Textarea throws error on preact. #33536 @developit
- 🐞 Fix PageHeader state update error after unmounted. #33546 @wuifdesign
- 💄 Fix Select tag margin issue when using
tagRender
. #33539 - 💄 Remove svg reset style for IE9-, fix svg elements being cutting style problem. #33579
- TypeScript
- 🤖 Fix Upload types for pass generic. #33543 @woochanleee
- 🤖 Fix Card.Grid props should expose Div Properties like
onClick
. #33563 @LongHaoo
4.18.2
2021-12-30
- 🐞 Revert #33411 to Table
onChange
being invoked infinitely.
4.18.1
2021-12-29
- 🐞 Fix Popconfirm throws
Can't perform a React state update on an unmounted component.
warning in some async case. #33432 @MadCcc - 🐞 Fix Input with
suffix
will crash whenvalue
is number type. #33462 - 🐞 Fix Divider with text dashed border color error. #33452 @chen-jingjie
- 🐞 Fix Dropdown.Button not support
destroyPopupOnHide
. #33442 @LongHaoo - 🐞 Fix Table Pagination not trigger
onChange
whencurrent
changed. #33411 @2724635499
4.18.0
2021-12-27
- 🐞 Fix Skeleton missing
style
prop. #33405 - 🐞 Fix Descriptions overflow style cause other components being cut. #33392
- 🆕 Unique Select-like component generic as OptionType to support FieldNames type. #33364
- 🐞 Fix Slider rail hover color when it is disabled. #33369 @chen-jingjie
- Table
- Form
- 🆕 ConfigProvider support Form
colon
. 9bc148a @seaSuper - 🆕 add
prefix
toInputNumber
. #32600 @Austaras - 🆕 Modal static function support
wrapClassName
prop. #32676 @cwjTerrace - 🆕 Popconfirm add
showCancel
prop. #32620 @cwjTerrace - 🆕 Dropdown.Button supports
loading
property now. #32467 @kaysonwu - 🆕 Input adds
showCount
property. #32522 @cwjTerrace - 🆕 Alert supports
closeIcon
now. #32345 @chen-jingjie - Typography
- 🆕 for editable Paragraph, edit can be triggered by clicking the icon or the value itself (or both) with
triggerType
. #32219 @kachanovskiy - 🆕 Typography support
enterIcon
to config confirm icon. #32220 @kachanovskiy
- 🆕 for editable Paragraph, edit can be triggered by clicking the icon or the value itself (or both) with
- 🆕 Divider added
orientationMargin
APIs for customizingmargin-left/right
of title. #32084 @neotan - 🆕 Avatar add
maxPopoverTrigger
to support configuration of popover trigger. #32197 @RiteshMakan - 🆕 Upload supports
showUploadList.previewIcon
now. #32059 @1040961807 - 🏴 Fix Catalan (ca_ES) missing translation key with
Form
. #33377 @ZzGGitter - 🇫🇮 Fix Finland (fi_FI) missing translation key with
Table
. #33372 @ZakarFin - 🇰🇭 Added locales for Khmer (km_KH) translation. #32853 @vireakkeosokvibol
- TypeScript
- 🤖 Add Upload
capture
definition. #33370 @MichalPodeszwa
- 🤖 Add Upload
4.17.4
2021-12-19
- 🐞 Fix a bug that Form.Item name is "parentNode" casue endless loop and memory leak. #31846 @DaoxingHuang
- 🐞 Revert #32448 to fix emoji input at Input.TextArea. #33312
4.17.3
2021-12-08
- 🐞 Fix Drawer broken style caused by title width. #33205
- 🐞 Fix Badge flash style when switch from
display:none
. #33083 @songlinn - 💄 Change Anchor className form
.fixed
to.ant-anchor-fixed
. #33085 @tangjinzhou - 💄 Fix Button loading style missing in Firefox. #33199
- Select
- Radio
- 💄 Fix Radio dot offset when zooming. #33086 @hydraZty
- 💄 Fix Radio cursor style. #33198 @tangjinzhou
- 💄 Revert Collapse header
position: relative
style to ensure some user depends on this style. #33070 - 🐞 Fix Input.TextArea height bug when has
showCount
. #33055 - TypeScript
- 🌐 Add missing zh-TW translation. #33108 @dengfuping
4.17.2
2021-11-26
- 💄 Fix Form broken layout when set
wrapperCol={{ span: 24 }}
. #32981 - 🐞 Fix Modal
centered
was not centered vertically. #33022 - 🐞 Cascader typescript fix definition missing
suffixIcon
and support generic ofoptions
type. #33008 - 🐞 Fix Input.Search don't trigger click event on element inside
enterButton
. #32999 - 🇪🇪 Added missing Estonian translations. #33005 @wedeso
- 🤖 Tree support generic to work more well with
fieldNames
. #32992
4.17.1
2021-11-22
- 🐞 Fix directly import
es/style/mixins/index.less
throwVariable @root-entry-name is undefined
error. #32887 - 🐞 Fix Menu text color in collapsed tooltip. #32956
- 🐞 Fix Modal.method
bodyStyle
not working bug. #32934 @jin-benben - 🐞 Fix abnormal placeholder color. #32915
- 💄 Fix editable Tabs dropdown remove button style issue. #32919
- 🛠 Modal.confirm() Remove unnecessary
div
container. #31492 @ppbl - 🛠 Remove unused css code for Drawer. 4ca6976
- 🛠 Use
@height-base
in PageHeader. #32883 - 🇵🇱 Added missing pl_PL translations. #32896 @MichalPodeszwa
- TypeScript
- 🤖 Remove unnecessary union types for ReactNode. #32935 @huangkairan
- 🤖 Inherit
itemRender
typing fromrc-pagination
. #32931 @JounQin
4.17.0
2021-11-15
- Dynamic Theme Theme
- 🔥 ConfigProvider support dynamic modify theme color. view detail. #31496
- 🚧 Move part
mixins
related less file tothemes
instead since it requires theme variable. We do not recommend use internal file but please note this if you already use it. #32763 - 🐞 Fix
antd.variable.less
compile mix with default theme variable. #32279 - 🐞 Fix antd compile file miss
/style/default.css
. #32116 - 🐞 Fix less compile
antd.xxx.less
throw theMaximum call stack size exceeded error
. #32063
- Input
- 🐞 Fix Input.Search
border-left-radius
is not 0 when configured withallowClear
andaddonBefore
. #32812 @KAROTT7 - 🐞 Fix Input set to
disabled
still keep focused style. #32739 - 🐞 Avoid Input
placeholder
can be selected on Chrome. #32639 @cw1997 - 🐞 Input.TextArea
maxLength
is now passing to html textarea element. #32448 @MOHAMMADArsalan - 🐞 Fix Input cannot clear content when focus it. #31931 @adaex
- 🐞 Fix Input.Search
- Cascader
- 🔥 Cascader support
multiple
mode. #31936 - 🆕 Cascader support
onSearch
andsearchValue
props. #31936 - 🆕 Cascader add
title
prop with content by default. #31237 @yingpengsha - 🐞 Fix Cascader missing
popupClassName
andpopupPlacement
props. #32143
- 🔥 Cascader support
- Select
- TreeSelect
- Tree
- 🆕 Tree
draggable
add handler for tips. #32306 - 🆕 Tree support
fieldNames
to customize node field name. #31395 - 🆕 Tree support
onScroll
in virtual scroll. #474 - 🐞 Fix Tree icon align bug when
showLine
is enable. #32822 - 🐞 Fix Tree.DirectoryTree throws
TypeError:nativeEvent is undefined
. #32551 @D-to-the-K - 🐞 Fix Tree drop outside not clear indicator. #478
- 💄 Fix 1px position deviation of the Tree connection line when zooming in. #32075 @btea
- 🆕 Tree
- PageHeader
- 🐞 Fix PageHeader with false 'breadcrumbrender' still shows dom. #32738
- Form
- Drawer
- 🆕 Tweak Drawer close icon position and default width, add
extra
andsize
props. #30908 - 🆕 Drawer support
autoFocus
prop. #181 - 🐞 Fix the problem that the bottom Drawer component has no animation. #32761 @solitia7125
- 💄 Optimize Drawer open animation. #32342
- 🆕 Tweak Drawer close icon position and default width, add
- Steps
- 🐞 Fix Steps
progressDot
style when it isvertical
. #32742 - 🐞 Fix Steps default responsive style not working. #31965 @tangjinzhou
- 🐞 Fix Steps
- Typography
- Table
- 🔥 Table adds
column.filterMode
to support filter in a tree, which could set to'menu' | 'tree'
. #31809 - 🔥 Table adds
column.filterSearch
for enable search function in filter dropdown. #31809 - 🆕 Table hover
rowSpan
row will highlight all the rows now. #32557 - 🐞 Fix Table selection column arrow get covered by fixed column. #32276 @g7i
- 🐞 Fix Table
loading
jumpy style when setsticky
. #32703 @miloudbelaabed - 🐞 Fix Table don't support
ref
. #32136 @JounQin - 🐞 Table remove
sticky
style with fixed column in IE11 to avoid layout issue. #32177 - 💄 Optimize Table sorter icon margin problem. #32172
- 🐞 Fix Table.SELECT_XXX ignore record
disabled
status bygetCheckboxProps
. #32027 - 💄 Table filter reset button won't close dropdown now. #31809
- 🐞 Revert Table sticky
z-index
style back tocalc
instead of less calculation to fixauto
style failure. #31874 @bconnorwhite - 🐞 Fix Table scroll bar display issue when data dynamic changed. #647 @lanten
- 🐞 Fix
pagination.className
not working in Table. #32131 @JounQin
- 🔥 Table adds
- Transfer
- 🆕 Transfer support custom left and right
footer
. #31108 - 🆕 Transfer supports
locale.notFoundContent
with array. #31088 @wwyx778 - 🐞 Fix Transfer throws
MenuItem should not leave undefined key
warning when opening selection dropdown menu. #32578 - 💄 Tweak Transfer filter search input icon position. #31809
- 🆕 Transfer support custom left and right
- Collapse
- Button
- Pagination
- 🆕 Pagination supports
selectComponentClass
prop. #32132 @JounQin - 💄 Add box-shadow for jumper input in Pagination with
simple
props. #32528 @chen-jingjie
- 🆕 Pagination supports
- Upload
- InputNumber
- 🔥 InputNumber support
addonBefore
andaddonAfter
. #31432 @Austaras - 🆕 InputNumber now supports
controls
for displaying+-
buttons or not. #31548 - 🆕 InputNumber
formatter
support additional param to check if current input is user typing. #31030 - 🐞 Fix InputNumber handler arrow not align center. #32409
- 💄 Show InputNumber handler when focus it. #31911
- 🔥 InputNumber support
- DatePicker
- 🆕
DatePicker
andRangePicker
now supportnextIcon
,prevIcon
,superNextIcon
andsuperPrevIcon
. #31703 @Oreoz - 🐞 Fix
defaultPickerValue
not working in RangePicker. #32107 @thommesZip
- 🆕
- Notification
- 🆕 Notification support
maxCount
to limit count. #31807 @binyellow - 🐞 Fix
closeIcon
not working bug when Notification is called multiple times. #32359 @KAROTT7
- 🆕 Notification support
- 🆕 Menu.Divider support
dashed
style. #31379 @Map1en - 🆕 Skeleton.Button add
block
prop. #30902 @Jehu - 🆕 Popconfirm
onConfirm
supports Promise. #30871 @wendellhu95 - 🐞 Fix Card
tabs
style when settabPosition: 'left'
. #32695 - 🐞 Fix Radio cannot click due to custom
type
property. #32463 - 🐞 Fix
Ok
abbreviation to beOK
. #32259 @chj-damon - 🐞 Fix Grid Col
flex
some time exceed its width when content too long. #32160 - 🐞 Fix Switch Loading icon in an incorrect position. #32216
- 🐞 Fix return element of
getPopupContainer
in ConfigProvider is not used as a container when callingmessage.useMessage
. #31939 @DaoxingHuang - 💄 Improve small size Image by ellipsising preview text. #29900 @drizzlesconsin
- 🐞 Fix Alert extra dom node when
message
isundefined
. #32057 - 🐞 Fix anchor
targetOffset
not work when contain spaces. #31952 @adaex - 💄 Add
@checkbox-border-radius
less variable. #31360 @Gherciu - 🐞 Avatar add
crossOrigin
property to resolve cross origin issue. #31273 @Map1en - RTL
- 💄 Optimized Alert close icon display in RTL mode. #32286
- 💄 Optimized Table header action display in RTL mode. #32283
- 💄 Optimized Collapse arrow icon display in RTL mode. #32282
- 💄 Optimized Badge count display and animation in RTL mode. #32281
- 💄 Optimized InputNumber handler border style in RTL mode. #32272
- 💄 Optimized Dropdown icon display in RTL mode. #32271
- 🐞 Fix Transfer list
direction
value in RTL mode. #31903
- 🌐 Localization
- TypeScript
- 🤖 Modify the type of Spin
tip
to ReactNode.. #32733 @tychenjiajun - 🤖 Fix Message duration type definition. #32524 @chen-jingjie
- 🤖 Fix args type for
getPopupContainer
in ConfigProvider. #32406 @mtadams007 - 🐞 Fix Table missing generic type definition. #32358
- 🐞 Fix Switch missing
id
property. #32237 @M-ZubairAhmed - 🤖 Fix
type
type for Button. #32004 @jaredleechn - 🤖 Improve type
locale
for Pagination. #32128 @JounQin - 🤖 Improve and export
DropdownButtonType
type for DropdownButton [#31957 @Dreamerryao - 🤖 Adjust List
rowKey
type to React.key. #32033 @lironhl - 🐞 Fix DatePicker
ref
typing. #31993 @acfasj - 🤖 Update the
levelMove
type definition in Drawer. #30714 @g0shed
- 🤖 Modify the type of Spin
4.16.13
2021-08-23
- 🐞 Fix Form
label
and<Typography.Text ellipsis />
don't work together. #31838 - 🐞 Fix Collapse update failed bug in HMR. #31827 @v4
- 🐞 Fix circular dependencies in Modal and Input. #31817 @zhyupe
- RTL
- 🐞 Fix the rtl config of Modal.confirm custom content missing. #31828
4.16.12
2021-08-16
- Form
- Button
- Input
- 🐞 Fix Transfer
showSelectAll={false}
does not hide selection dropdown. #31746 - 💄 Fix Checkbox not aligned center in Checkbox.Group. #31726
4.16.11
2021-08-08
- 🐞 Fix ConfigProvider rerender unexpectedly when switching some languages. #31630 @Map1en
- 💄 Improve ghost button style rules, no more
!important
. #31659 - 💄 Improve RangePicker range transition style. #31645
- 🤖 Fix Dropdown
destroyPopupOnHide
TypeScript definition missing. #31700 @linxianxi - 🤖 Remove useless Omit type which is built-in in TypeScript 3.5+. #31661 @Dreamerryao
4.16.10
2021-08-02
- 🐞 Fix Badge not showing count when customize
color
prop. #31617 @eokoneyo - 🐞 Fix circle Progress
success.strokeColor
cannot take effect. #31589 - 🐞 Fix the type error due to the Select component didn't ignore the
getRawInputElement
prop. #31566 @aoilti - 🐞 Fix Pagination's
totalBoundaryShowSizeChanger
property type error. #31549 @Monty-Ma - 🐞 Fix
className
applied to both Skeleton.Avatar wrapper and element itself. #31536 @Greatshock - 🌐 Internationalization
- 🇹🇷 Added Turkish translation for Image
Preview
text. #31593 @mburakkalkan - 🇰🇷 Fix a typo in the Korean language. #31575 @chatoo2412
- 🇹🇷 Added Turkish translation for Image
4.16.9
2021-07-27
- 🐞 Fix Typography
ellipsis
calculation bug when browser zoomed. #31449 - 💄 Fix Input wrong class when using
prefixCls
. #31479 @spawnia - 💄 Fix Input.Password unexpected focus style of error status. #31456
- 💄 Fix Badge color transition issue when toggle visibility. #31458
- 💄 Fix Tabs
tabBarGutter
abnormal style behaviors. #31469 - 🌐 Internationalization
- 🇷🇺 Update translation for Image in ru_RU. #31448 @KirillSBarsukov
- 🇩🇰 Add missing translation for Table in da_DK. #31486 @bischmlb
4.16.8
2021-07-19
- 🐞 Fix TextArea
style
not work whenallowClear
configured. #31391 - 🐞 Fix BackTop not disappear when fade out. #31357
- 💄 Fix Cascader style bug inside Input
addonBefore
. #31350 - 💄 Fix DatePicker disabled cell style when customize
dateRender
. #31349 - 💄 Fix Select background in disabled. #31430 @DerrickTel
- 💄 Fix alignment between Radio.Group and Button. #31421 @gtb104
- 💄 Fix Input clear icon color in some situation. #31378
- Table
- 🌐 Internationalization
4.16.7
2021-07-12
- 🐞 Fix DatePicker date cell not centered when used in Table. #31306 @Map1en
- 🐞 Fix Desciptions border missing when inside Table. #31307
- 🐞 Fix InputNumber border and interactive handler not matched. #31300 @diyews
- Table
- Form
- 🐞 Fix Form Input outline color under Form validation. #31240
- 🆕 Form add
name
as a default label value invalidationMessages
. #30179 @jameslahm
- 💄 Fix Rate focus ring style in Safari. #31241
- 💄 Tweak Select arrow icon position. #31234
- 🐞 Input will not trigger
onBlur
when click clear icon now which resolve that editable table input cannot be cleared. #31202 - 🐞 Fix Tooltip
arrowPointAtCenter
1px shift bug. #31201 - 💄 Fix Menu.Item hover color transition style. #31189
- 🐞 Fix Dropdown.Button don't support
overlayClassName
andoverlayStyle
. #31187 - 💄 Adjust Pagination pattern of disabled-active buttons align with Radio style. #31185 @Map1en
- 🐞 Fix the path error when packaging the component style export file in the Windows environment. #31277 @aoxiang78
- 🌐 Add
selectNone
for en_GB locale file. #31264 @Map1en - TypeScript
- 🤖 Adjust Transfer
listStyle
definition to be optional. #31322 @geekrainy
- 🤖 Adjust Transfer
4.16.6
2021-06-29
- 🐞 Fix Tree loading status not been restored when
loadData
throw error. #31170 - ⚡️ Optimize Progress animation CPU usage. #31128 @stygian-desolator
- 🐞 Fix Popover arrow cannot show correct color. #31127 @A113n1003
4.16.5
2021-06-23
- 🐞 Fix Menu to import
@ant-design/icons
icon directly to reduce bundle size without tree shaking. #31011 - 🐞 Fix Menu with overflow indicator popup do not follow current theme. #31043
- 🐞 Fix Table styles not using
@{table-prefix-cls}
less variable. #30983 - 🐞 Fix Input.Password hover border color in Form validation. #30999
- 🐞 Fix Space with wrap takes additional negative margin style. #31000
- 🐞 Fix Typography warning for non-boolean attribute when set
italic
property. #31004 - 🐞 Fix Badge not passing markup validation. #31042 @conwnet
4.16.4
2021-06-23
- Broken version, don't use it.
4.16.3
2021-06-14
- 🐞 Fix the mistake that tooltip mount on wrong dom, when getPopupContainer of tooltip's props is undefined or null. #30963 @ymrdf
- 🐞 Fix Button lost margin between loading icon and text when children is fragment. #30962
- Table
- 🐞 Table adds warning when
filteredKeys
is controlled and not reflecting internal changes. #30882 @wendellhu95 - 🐞 Fix Table fixed column header hover background. #30972
- 🐞 Table adds warning when
- 💄 Adjust Dropdown item content style to make it get more display space. #30911
- 💄 Fix Menu in dark mode open style affect by light mode. #30907
- 🐞 Fix Dropdown/DatePicker/Select/Cascader animation direction after auto adjust position. #30892
- 🌐 Internationalization
- 🇵🇱 Fix Polish locale. #30899 @MichalJani
4.16.2
2021-06-07
- 🐞 Fix Menu auto overflow with
horizontal
mod breaks byfloat
element. #30879 - Typography
- 🐞 Fix Progress
type="circle"
throws errorRendered more hooks than during the previous render
sometimes. #30855 - 💄 Optimize Tooltip content width. #30822 @donysukardi
- Table
- 💄 Fix Dropdown Item with link color style and click icon can also trigger link effect now. #30802
- 💄 Remove duplicated css reset styles for render performance. #30660 @renzhao1113
- TypeScript
- 🤖 Adjust Form, Input, Locale, PageHeader component definition. #30776 @qqabcv520
4.16.1
2021-05-30
- Menu
- Typography
- Table
- 🐞 Fix Collapse expandIconPosition="right" not working. #30680 @hongdeyuan
- TypeScript
- 🤖 Export TableColumnsType type.#30747 @alwaysloseall
- 🤖 Export TreeDataNode type. #30745 @alwaysloseall
4.16.0
2021-05-24
- 🔥 Refactor Menu to support keyboard access and enhance accessibility experience. #30382
- 💄 Redesign Table filter and sorter buttons to clarify current column. #30651
- Table
- Upload
- Typography
- 🆕 Typography support for italics. #30458 @alwaysloseall
- 🐞 Fix Typography flush issue when use
ellipsis={{ suffix: 'xxx' }}
. #30582
- Collapse
- 🐞 Fix Menu.SubMenu icon margin issue when using third party icon libraries. @#30642
- 🐞 Fix Descriptions wrong styling import. @#30602 @lisenenkov
- 🆕 Radio.Group supports
data-*
andaria-*
props. #30507 - 🆕 Statistic.CountDown support
onChange
event. #30265 @appleshell - 🆕 PageHeader
breadcrumb
allows to set as a reactnode. #30019 @gepd - 🆕 ConfigProvider supports dynamic
prefixCls
. #30625 - 🐞 Fix Anchor cannot trigger
onChange
when havegetCurrentAnchor
prop. #30601 - 🐞 Fix Notification custom styles don't apply to correct div by
className
when usinguseNotification
. #30588 - 🐞 Fix Tabs
tabBarGutter
not working. #30545 - 💄 Rewrite Space to use
flexGap
instead ofmargin
style to deal with layout issues under certain border situations. #30023 - 🐞 Fix Form error style of Input.Group and Cascader. #30640
- 🌐 Internationalization
- 🇷🇴 Added Romanian internationalization. #30419 @stefy
- 🌐 Added Dutch (Netherland 🇳🇱) and Dutch (Belgium 🇧🇪) internationalization. #30389 @lewis-fidlers
- TypeScript
- 🤖 Space TypeScript definition supports HTMLAttribute props. #30590
4.15.6
2021-05-18
- 🐞 Upload will ignore
accept
if it's invalidate MIME type to follow native behavior. #30549 - 💄 Remove reset style of
th
text-align
. #30399 @lbwa - 🌐 Locale
- 🇮🇳 Improve hi_IN locale. #30541 @jaideepghosh
- 🇧🇷 Improve pt-BR locale. #30532 @buzs
4.15.5
2021-05-10
- 🐞 Fix Upload crashes if
beforeUpload
returnsfalse
in IE. #30391 @OleksandrAntonenko1 - Calendar
- Table
- 🐞 Fix Dropdown.Button don't support
mouseEnterDelay
andmouseLeaveDelay
. #30452 - 💄 Optimize Rate focus behavior from
:focus
to:focus-visible
. #30451 - 🐞 Fix Steps with progress get cut at the bottom. #30373 @fachreza73
- 🐞 Fix the problem that setting
locale
in DatePicker cannot override ConfigProviderlocale
. #30380 @Map1en - Locale
- TypeScript
- 🤖 Export Tooltip
zIndex
prop typescript definition. #30432
- 🤖 Export Tooltip
4.15.4
2021-04-30
- 🐞 Fix Menu.Item width issue when
collapsedWidth
is set. #30357 @Map1en - 🐞 Fix Radio check spin style sometime height too long. #30367
- 🐞 Fix Typography.Link open link when trigger
editable
. #30354 @John60676 - 🐞 InputNumber clean up input will trigger
onChange(null)
now. #30337 - 🐞 Fix Dropdown.Button broken style when inside Modal
footer
. #30328 @Map1en - 💄 Replace Anchor default background from
#FFFFFF
totransparent
. #30336 - 🌐 Add
ko_KR
andja_JP
TimePicker.RangePicker placeholder. #30285 @ChalkPE - TypeScript
4.15.3
2021-04-25
- Table
- 🐞 Fix Button
type="link"
should not redirect when it isdisabled
. #30209 - 🐞 Fix Upload appear errors when url of file is
null
. #30215 - 🐞 Fix padding on a SubMenu inside an ItemGroup. #30218 @sebakerckhof
- 🐞 Fix Checkbox & Radio align issue in flex box. #30260
- 🐞 Fix Badge broken animation on spin icon. #30275
- 🐞 Fix Input
disabled
hover style in Form. #30302 @Fog3211 - TypeScript
- 🤖 Fix Upload type definition of
beforeUpload
. #30213 @hello-chinese
- 🤖 Fix Upload type definition of
4.15.2
2021-04-19
- 🐞 Fix Tabs
centered
doesn't work. #30106 @kerm1it - 💄 Fix Button
type="link"
disabled cursor style missing. #30197 - 🐞 Fix TextArea
onChange
event returntarget
object is not a HTMLTextArea object. #30124 - 🐞 Files in Upload
fileList
will always have uid. #30087 @jameslahm - 💄 Fix Badge toggle style when
status
iswarning
. #30090 @jameslahm - 🌐 Add Image component
preview
text in zh_HK and zh_TW. #30100 @jameslahm - 🌐 add da_DK locale TimePicker.RangePicker. #30128 @themitvp
- TypeScript
- 🤖 Modify LIST_IGNORE field is of string type. #30188 @hello-chinese
4.15.1
2021-04-10
- 🐞 Fix Descriptions
labelStyle
contentStyle
unsuccessful whenlayout="vertical"
andbordered={true}
. #29942 - 🐞 Upload won't crash when
fileList
is a frozen object now. #29944 - 🐞 Fix Tabs cannot scroll when vertical mode in Safari 13.1. #29983
- 🐞 Fix Button throws
Cannot read property 'removeChild' of null
in some situation. #29961 @JohnDeved - 🐞 Fix Transfer button's box-shadow getting cut. #30030 @jinchaofs
- 🐞 Fix CheckBox.Group cannot work with Form of
@ant-design/compatible
. #30039 @jameslahm - 🐞 Fix PageHeader
<Tabs type="card" />
padding missing. #29819 - Table
- 💄 Optimize Table pagination style when narrow width. #30065
- 🐞 Fix Table
@table-border-radius-base
not being applied to.ant-table
node. #29966 @VoliBearCat
- 🐞 Fix Input.TextArea
maxLength
does not work in control mode. #30070 - TypeScript
- Locale
4.15.0
2021-03-29
- 🆕 Table now supports
rowSelection.defaultSelectedRowKeys
. #29879 @keelii - 🐞 Fix TextArea display value will be cut by
maxLength
when in controlled. FixonCompositionEnd
not trigger when input exceedmaxLength
. Fix emoji count not align withmaxLength
&showCount
. #29867 - 🐞 Fix Button click effect style not working in shadow root. #29897 @JohnDeved
- Pagination
- 🐞 Fix Steps progress item getting cut at edge. #29893
- 🛠 Prevent Upload drop event bubbling to handle nest case. #29832 @jojonarte
- 🐞 Apply ConfigProvider
componentSize
on Tabs component. #29844 @bn3t - 💄 Remove Tag hover style since it do not have click interactive. #29874
- 🇫🇷 Add missing
fr_FR
translations. #29839 @bn3t - 🇸🇪 Add missing
sv_SE
translations. #29896 @isakol
4.14.1
2021-03-22
- 🐞 Fix Tabs position shift when active item changed. #29781
- 🐞 Fix
placeholder
not being hidden when Image is loaded from cache. #29829 - 💄 Improve Checkbox/Radio label text layout. #29788
- TypeScript
- 🤖 Fix Upload type declaration of
beforeUpload
. #29766
- 🤖 Fix Upload type declaration of
4.14.0
2021-03-14
- Upload
- 🆕 Upload
onChange
to change back to the original behavior (before Upload false returns the original file, and the rest of the scene returns the encapsulated object). Now you can always get the original file viaonChange.info.originFileObj
. For future upgrades, please use this method to access the original text first. #29737 - 🐞 Fix Upload
onChange
paramsfile
can notcloneDeep
by lodash. #29718 - 🐞 Fix Upload crash when
fileList
isnull
. #29702 - 💄 Upload motion add 2s deadline to avoid developer manually remove motion makes hanging. #29686
- 🆕 Upload
- 🐞 Fix the bug that Modal footer buttons not spaced properly when using href in button. #29681 @n0ruSh
- 🆕 Add parent class for different Notification types. #29634 @n0ruSh
- 🆕 Typography editable supports
onCancel
andonEnd
. #29615 @jueinin - Tabs
- 🐞 Fix Tabs
centered
prop is not actually center. #29495 @jinchaofs - 🆕 Tabs support
moreIcon
. #29744 @tianyuan233
- 🐞 Fix Tabs
- 🐞 Button with
htmlType='reset'
will reset all form fileds. #29752 @jueinin - 🐞 Fix AutoComplete custom input
className
missing. #29725 - 💄 Fix console warning when setting
margin
style on Row. #29688 - 💄 Fix the error style where the
disabled
Input has affix elements. #29670 - 💄 Optimize the cursor style of Form.Item tooltip info. #29650
- 🇨🇿 Fix typo in cs_CZ locale. #29675 @jvaclavik
- 🇨🇦 Add fr_CA locale.