ant-design/CHANGELOG.en-US.md
xrkffgg d5f5998a73
docs: add changelog 5.6.4 (#43320)
* docs: add changelog 5.6.4

* docs: update
2023-07-03 11:37:03 +08:00

99 KiB
Raw Blame History

order title toc timeline
6 Change Log false true

antd 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.

5.6.4

2023-07-03

  • Form
    • 🐞 Fix onFieldsChange event will still be triggered incorrectly when the field is not configured with rules when the Form is submitted. #43290
    • 🐞 Fix the problem that the warning message that name is empty is falsely reported when the name of Form.List is 0. #43199 @Yuiai01
  • 🐞 Fix the Badge color attribute does not take effect. #43304
  • 🐞 Fix the position of Select clear icon when FormItem sets hasFeedback. #43302 @tinyfind
  • 🐞 Fix Transfer paging drop-down button is hidden and showSizeChanger method is invalid. #41906 @Yuiai01
  • 🐞 Fix the invalid modification of colorText and fontSize of Popconfirm component. #43212 @MadCcc
  • 🐞 Fix the problem that deleting files after Upload configures maxCount will not trigger onChange. #43193
  • 💄 Fix Button disabled style error when it has link or href attribute. #43091 @BoyYangzai
  • TypeScript
    • 🤖 Optimize Breadcrumb params type and support generics. #43211
    • 🤖 Optimize Breadcrumb params type and support generics. #43257 @thinkasany
    • 🤖 Remove redundant number type from Button loading. #43256 @thinkasany
    • 🤖 Transparently pass Cascader optionType generic. #43231 @ZWkang

5.6.3

2023-06-25

  • BreadCrumb
  • 🐞 Fix Slider disabled state within Form. #43142 @Starpuccino
  • 🐞 Fix Form that label offset does not work in vertical mode. #43155 @kiner-tang
  • 🐞 Fix Table open filter popup throw react ref warning. #43139
  • 🐞 Fix Transfer with rowKey makes item unselectable. #43115
  • 🐞 Fix Space size priority when using with other components #42752 @linxianxi
  • 🐞 Fix QRCode color in dark mode. #43162 @ds1371dani
  • 💄 Fix Select option unexpected margin when using with Badge and Tag. #43097 @Yuiai01
  • TypeScript

5.6.2

2023-06-19

  • 🐞 Fix Dropdown with autoFocus not work as expect. #43002 @Yuiai01
  • 🐞 Fix InputNumber with prefix abnormal height under Form.Item of hasFeedBack. #43049
  • 💄 Fix Input and InputNumber disabled style with addons. #42974 @kampiu
  • 🐞 Fix Upload trigger extra onChange event when upload the file exceeds maxCount. #43034
  • 🐞 Fix export bundle size always contain rc-field-form even not use it. #43023
  • 🐞 Fix DatePicker disabledTime sometime can select disabled option. #42991 @linxianxi
  • 📖 Add FloatButton controlled demo and patch related warning info. #42835 @poyiding
  • 🐞 Fix Button with disabled still can interactive with sub component. #42949 @kiner-tang
  • 🐞 Drawer add max width to avoid exceed in small screen. #42914 @amir2mi
  • 🐞 Fix Table preserveSelectedRowKeys not working when checkStrictly configured. #42784 @linxianxi
  • 🐞 Fix Transfer select count not sync when dynamic update data. #42785 @BoyYangzai
  • 🐞 Fix Radio.Button title not work and update typescript definition. #43012 @linxianxi

5.6.1

2023-06-07

  • ColorPicker
    • 🐞 Fix ColorPicker preset cannot be selected. #42882 @RedJue
    • 🐞 Fix ColorPicker that should not trigger onChange when click clear after clearing. #42643 @linxianxi
  • 🐞 Fix Collapse that displayed unexpected deprecated warning. #42876 @kiner-tang
  • TypeScript

5.6.0

2023-06-06

5.5.2

2023-05-30

  • 🐞 Fix ColorPicker hover boundary issue. #42669 @RedJue
  • 🐞 Fix Menu that overflowedIndicatorClassName should not override origin classes. #42692 @MadCcc
  • 🐞 Fix Select that in some cases will display the letter A. #42651 @895433995
  • 🐞 Fix Card when cover is set to Image, hover mask does not have rounded corner attribute, resulting in UI exception. #42642 @iNeedToCopy
  • 🐞 Fix Checkbox align with label. #42590 @MadCcc
  • 🐞 Fix ConfigProvider makes Form component in the bundle even not use it. #42604
  • 🐞 Fix InputNumber cannot align well by baseline. #42580
  • 🐞 Fix spinning icon animation in Badge. #42575 @MadCcc
  • 📦 Optimize Form setFieldsValue logic to reduce bundle size. #42635
  • 💄 Optimize ImagePreviewGroup style. #42675 @kiner-tang
  • 💄 Fix Tag borderless style with error and other status. #42619 @li-jia-nan
  • 💄 Fix Table rowSpan hover highlight style missing. #42572
  • 💄 Fix Pagination's link icon and ellipsis hover style when disabled. #42541 @qmhc
  • 💄 Fix that global token should be able to override component style. #42535 @MadCcc
  • 🇱🇹 Add missing i18n for lt_LT locale. #42664 @Digital-512
  • RTL

5.5.1

2023-05-22

  • 🐞 Fix wrong Button icon size and margin. #42516 @MadCcc
  • 🐞 Fix Select remove & selected icon not align in center. #42513
  • 🐞 Refactor Popconfirm DOM structure to fix extra margin before title and description when icon={null}. #42433
  • 🐞 Fix Menu item icon not centered when itemMarginInline is 0. #42426 @zzwgh
  • 🐞 Fix Tag wrapped with Tooltip will use wrong font-size when hover. #42414
  • 🐞 Fix Popconfirm trigger onVisibleChange twice. #42393
  • 🐞 Adjust Tooltip & Popover display logic. Now the first priority is to ensure that it will not be clipped by overflow: hidden, and the second is to ensure that it is displayed within the viewport as much as possible. #42394
  • ColorPicker
    • 🐞 Optimize ColorPicker the allowClear interaction logic, reopening the panel to select a color will default to 100% transparency instead of 0%. #42439 @RedJue
    • 🐞 Optimize ColorPicker interaction. Now it will close panel when click clear button. #42406 @kiner-tang
  • 💄 Optimize border radius in filter dropdown of Table. #42451 @Yuiai01
  • 🛠 Remove addEventListener from rc-util/lib/Dom/addEventListener and use native addEventListener instead. #42464 @li-jia-nan
  • 🛠 Reduce 1KB @ant-design/icons bundle size. Fix TwoTone icon color to primary color of 5.0. #42443
  • 🌐 Add missing translation for mn_MN. #42512 @ariunbatb
  • RTL
  • TypeScript
    • 🤖 Optimize Slider ref type definition, replace unknown and any with SliderRef. #42420 @li-jia-nan

5.5.0

2023-05-15

  • 🔥 New Component ColorPicker. #41990 @RedJue
  • 🆕 Add DatePicker.generateCalendar and Calendar.generateCalendar custom date component method, no need to import from module path. #41773
  • 💄 Optimize the style of Select, TreeSelect, Cascader multi-selection mode, remove the Tag border. #41480
  • 🆕 Form validateFields support validateOnly to not to update UI status. #42273
  • 🆕 DatePicker support changeOnBlur to trigger change event without clicking confirm. #42168
  • 🆕 Cascader options support disableCheckbox prop. #42024 @BoyYangzai
  • 🆕 Popconfirm add onPopupClick prop. #42272 @bolosea
  • 🆕 QRCode add bgColor prop to set background color. #42214 @bolosea
  • 🆕 Table.Summary.Row component add onClick prop. #42175 @Ylg12345
  • 🆕 Space support ref. #42266 @RedJue
  • 🆕 The size of Tab defaults to inherit Card. #42183 @huangkairan
  • ConfigProvider
    • 🐞 Fix ConfigProvider size prop not work on Pagination. #42206
    • 🐞 Fix ConfigProvider size prop not work on Steps. #42278 @wanghui2021
    • 🐞 Fix ConfigProvider size prop not work on Descriptions. #42244 @wanghui2021
    • 🐞 Fix the size is not inherited from ConfigProvider when the componentSize is set. #42199 @Ec-tracker
  • 🐞 Fix then icon styles for Input are incorrect in Space Compact mode. #42167 @pengyw97
  • 🐞 Fix Popover display empty div when title and content is null. #42217 @hairgc
  • 🐞 Fix the error that Circle Progress does not set size. #41875 @notzheng
  • 🐞 Fix Progress throws warning findDOMNode is deprecated in StrictMode. #42241 @BoyYangzai
  • 💄 Fix the problem that the InputNumber out of range style does not take effect. #42250 @pengyw97
  • 💄 Fix the problem that Divider cannot be displayed normally due to the overwriting of the dashed line style in the vertical direction. #40418 @buqiyuan
  • 💄 Adjust Tooltip motion that will auto detect best match transform origin. #42225
  • 💄 keep Checkbox.Group style the same as v4. #42103 @BoyYangzai
  • 💄 Improve the style when the Menu overflowed. #42294 @dhalenok
  • 💄 Improve the Segmented mouse active style. #42249
  • 🤖 Spin add warning if use tip when not in nest pattern. #42293
  • 🤖 Component Token name canonicalization. #42184
  • TypeScript
    • 🤖 Optimize the type definition of Tag. #42235 @gaoqiiii
    • 🤖 Optimize Notification getContainer type definition. #40206 @leshalv
    • 🤖 Improved support for generics MenuItemType and MenuItemProps in the Menu component. #42240 @yangyuanxx
  • Locales

5.4.7

2023-05-06

  • 🐞 Fix Menu different margin between Menu.Item and Menu.Submenu in vertical and inline mode. #42160
  • 🐞 Fix Breadcrumb using itemRender with path render additional a element. #42049
  • 🐞 Fix Transfer in control mode throw React nest state update warning. #42033
  • 🐞 Fix Upload logic of disable state. #42102 @Wxh16144
  • 💄 Fix Spin height is inconsistent with its icon children. #42162 @cheapCoder
  • Improve Affix logic when it does not need to update. #42015 @Simon-He95
  • Improve Anchor logic when it does not need to scroll. #42018 @Simon-He95

5.4.6

2023-04-26

  • 🐞 Fix lots of Table border and radius styling issues. #41985
  • 💄 Fix Layout.Sider collapse animation style. #41993
  • 🐞 Fix InputNumber font-size error. #41983
  • 🐞 Fix responsive Col don't support flex prop in colSize. #41962 @AlexisSniffer
  • 🐞 Fix Carousel goTo is ignored if animation is in progress. #41969 @guan404ming
  • Form
    • 🐞 Resolve issue about the feedback icon was not reset after a reset event had been triggered. #41976
    • 🐞 Fixed inaccurate data collected by onValuesChange. #41976
  • TypeScript
    • 🤖 Fix Menu OverrideContext type missing warning. #41907
    • 🤖 Fix TreeSelect missing aria-* definition. #41978 @guan404ming

5.4.5

2023-04-23

  • 🐞 Fix Anchor that onChange was memoized by useCallback and wouldn't change. #41934 @Yuiai01
  • 🐞 Fix Draggable Tree that title is not aligned when the text is wrapped. #41928 @Yuiai01
  • Tree
  • 🛠 Reduce bundle size by upgrading rc-switch. #41954

5.4.4

2023-04-20

  • 💄 Fix Message hooks icon style not follow dynamic theme token. #41899
  • 🐞 Fix that cssinjs may crash if CSS value is undefined. #41896

5.4.3

2023-04-19

  • 🐞 Fix FloatButton throws warning findDOMNode is deprecated in StrictMode. #41833 @fourcels
  • 🐞 Arrow element support more old browsers which do not support clip-path: path(). #41872
  • 🐞 Fix Layout.Sider transition issue when switch theme. #41828
  • 🐞 Fix the problem that when the type of Tour is primary, the color of the arrow is still white. #41761
  • 🐞 Optimize Form field binding, now will ignore comments in Form.Item as subcomponents. #41771
  • 🐞 Fix Input.Password show additional toggle button in Edge. #41759
  • 💄 Fix styling issues with components that have a Tooltip component as their base within the Space.Compact wrapper. #41707 @foryuki
  • 🇩🇪 Fix typo in German locale. #41780 @aaarichter
  • TypeScript

5.4.2

2023-04-11

5.4.1

2023-04-11

  • 💄 Optimize Select-like component popup logic. Now always try to display it in the visible area first to reduce the user's extra scrolling cost. #41619
  • 💄 Remove fixed height in Badge.Ribbon. #41661 @MuxinFeng
  • 🐞 Fix Select width becomes 0px when search after select something. #41722
  • 🐞 Fix Empty style in small width container. #41727
  • 🐞 Improve Form.Item noStyle validation message reveal logic. #41698 @Wxh16144
  • 🐞 Fix that Form.Item should not support requiredMark. #41725 @Wxh16144
  • 🐞 Fix Space should not affect font style and font family. #40326
  • 🐞 Fix the problem that the hover style of the Previous/Next button in Pagination simple mode is lost. #41685
  • 🐞 Fix Tree switcherIcon cannot be hidden. #41708 @acyza
  • 🐞 Fix List.Item.Meta avatar and title are not aligned. #41688 @Yuiai01
  • 🐞 Fix Row justify setting space-evenly does not work. #41679 @Yuiai01
  • 🐞 Fix Button type to support custom data attributes. #41650
  • 🐞 Fix Table column width issue when rowSelection.selections is not empty. #41626
  • 🐞 Fix Mentions dropdown style. #41660
  • 🐞 Improve Form.Item on require judgment logic. #41623 @Wxh16144
  • Locales

5.4.0

2023-04-03

  • 🗑 Remove antd/es/locale-provider antd/lib/locale-provider directory since LocaleProvider was replaced by ConfigProvider and removed in 4.x version years before. #41289 @li-jia-nan
  • 🆕 DatePicker/TimePicker/Calendar could change date-library to luxon now. #41580 @hihuz
  • 🆕 Add Form.Item.useStatus hook to get error messages. #41554 @Yuiai01
  • 🆕 Input and Input.TextArea support classNames and styles props. #41493
  • 🆕 Tag add bordered={false} to support border-less style. #41305 @li-jia-nan
  • 🆕 FloatButton support badge prop. #41040 @li-jia-nan
  • 🆕 Select add title property. #41280
  • 🆕 Image component supports preview.rootClassName. #41265 @Yuiai01
  • 🆕 Modal added afterOpenChange prop. #41253 @MuxinFeng
  • 🆕 Form.useWatch could watch field change at preserve mode. #41191 @li-jia-nan
  • 🛠 Refactor some components by using useMemo. #41533 #41550 @li-jia-nan
  • 🛠 Refactor Checkbox with hooks and new types. #41117
  • 🛠 Refactor Input.TextArea that move count into affixWrapper element. #41450
  • 🆕 DatePicker/Calendar add cellRender for custom cells and deprecated properties dateRender and monthCellRender in DatePicker, deprecated properties dateCellRendermonthCellRenderdateFullCellRendermonthFullCellRender in Calendar. #41584 @kiner-tang
  • 🐞 Fix Tour double arrow problem. #41578 @acyza
  • 🐞 Fix Checkbox with customize controlHeight token not align in center with text. #41566
  • 🐞 Fix Form.Item not rendering correctly in Modal when it has help. #40519 @Yuiai01
  • 🐞 Fix Form wrong UI status when using hasFeedback. #41594 @Yuiai01
  • 🐞 Fix Slider throws warning [antd: Tooltip] forcePopupAlign is align to forceAlign instead. #41540 @MuxinFeng
  • 🐞 Fix checkable Table checking not working when click on the edge of checkbox. #41519
  • Locales

5.3.3

2023-03-28

  • Menu
    • 🐞 Fix Menu items not accept key issue. #41434 @Yuiai01
    • 🐞 Fix submenu themes being overwritten when using getPopupContainer to select the main Menu. #41465 @Yuiai01
  • 🐞 Fix Table filter do not persist filter status when filter dropdown is visible. #41445 @ablakey
  • 🐞 Fix Modal using useModal is not transparent and prefers user settings. #41422 @luo3house
  • Form
    • 🐞 Fix the problem that the Form validation state does not change in sequence. #41412 @kiner-tang
    • 💄 Fix Form component layout exceptions when set props layout="inline". #41140 @itkui
  • 💄 Fix ConfigProvider nonce not working on CSS-in-JS style. #41482
  • 💄 Fix Pagination when size=small, pagination button active, previous page next page button hover and active styles are lost. #41462 #41458
  • 💄 Fix the style problem that the bottom border of the Tabs component overlaps with other borders. #41381
  • 💄 Fix Dropdown.Button down icon size issue. #41501
  • TypeScript
    • 🐞 Fix the incorrect type definition of Breadcrumb.Item menu. #41373
    • 🤖 Optimize Grid Col type. #41453 @vaakian
    • 🤖 Optimize Table resetPagination type. #41415
    • 🤖 Optimize TreeSelect InternalTreeSelect type. #41386 @Andarist
  • Locales

5.3.2

2023-03-20

  • Anchor
    • 💄 Fix Anchor redundant border style when it is set to horizontal direction. #41336 @gooyoung
    • 💄 Fix Anchor ink square style in vertical mode. #41317 @acyza
  • 🐞 Fix Grid offset can not be overwritten problem under different device screen sizes. #41309 @Yuiai01
  • 🐞 Fix Breadcrumb onClick not working bug. #41283 @acyza
  • 🐞 Fix Upload trigger Progress warning after upload. #41234 @kiner-tang
  • 🐞 Fix Table unexpected layout problem when dragging element to the right. #41139 @hoho2017
  • 💄 Fix Tabs more icon color in dark mode. #41313 @PhosphorusP
  • 💄 Fix Button focus outline style be covered by Dropdown.Button. #41282 @Yuiai01
  • 💄 Fix Input.TextArea style problem when focusing. #41228 @MuxinFeng
  • RTL
  • TypeScript

5.3.1

2023-03-13

  • 🐞 Update DatePicker deps to fix laggy in Safari and support align with transform scale. #41090
  • 🐞 Fix Menu collapse, Tooltip sometime show with unexpected. #41081
  • 🐞 Fix Modal.confirm has additional node which makes height not correct. #41173 @Svudec
  • 🐞 Fixed InputNumber disabled text color not correct. #41167 @Yuiai01
  • 🐞 Fix Anchor highlighting not working when dynamically updating items. #40743 @zqran
  • 🛠 Update Mentions deps to support align with transform scale. #41160 @MuxinFeng
  • 🐞 Fix Form with manually called validateFields not show success status when hasFeedback is on. #41116 @kiner-tang
  • 🐞 Fix Cascader sub panel not close when hover to leaf node. #41134
  • 🐞 Fix Popconfirm using Promise to close will not exist loading state even when open again. #41121
  • 🐞 Fix Upload onChange sometime not sync when in React 18. #41082 @li-jia-nan
  • 🛎 Update demo with Space.Compact instead of legacy one and patch warning info. #41080 @Yuiai01
  • 🌐 Update ko_KR、Added Amharic Language. #41103 @li-jia-nan

5.3.0

2023-03-06

  • 🆕 Tooltip support arrow.pointAtCenter and deprecate arrow.arrowPointAtCenter. #40989
  • 🆕 Progress support custom size. #40903 @kiner-tang
  • 🆕 Tour support custom zIndex. #40982 @kiner-tang
  • 🆕 Table onHeaderCell support customize colSpan and rowSpan. #40885
  • 🆕 Image.Group support onChange callback. #40857 @kiner-tang
  • App
  • 🆕 ConfigProvider support useConfig hook to get size and disabled in context. #40215 @xliez
  • 🆕 Breadcrumb support items prop. #40543 @heiyu4585
  • 🛠 Breadcrumb separators are unified into li elements. #40887 @heiyu4585
  • 🛠 Tooltip support auto arrow position & adjust position if possible. destroyTooltipOnHide.keepParent is deprecated since it will be always auto destroy unnecessary container now. #40632
  • 🛠 Rename preset colors in token, .e.g blue-1 to blue1, and deprecate tokens before. #41071
  • 💄 Message use colorText in style. #41047 @Yuiai01
  • 💄 Fix Select, TreeSelect, Cascader popup align position not correct when parent has transform: scale style. #41013
  • 💄 Optimize rowScope style for Table. #40304 @Yuiai01
  • 💄 Provide new AliasToken lineWidthFocus for outline-width of focused component. #40840
  • 💄 WeekPicker support hover style. #40772
  • 💄 Adjust Select, TreeSelect, Cascader always show the arrow by default when multiple. #41028
  • 🐞 Fix Form Form.Item.useStatus problem with sever-side-rendering. #40977 @AndyBoat
  • 🐞 Fix arrow shape in some components. #40971
  • 🐞 Fix Layout throw React does not recognize the suffixCls prop on a DOM element warning. #40969
  • 🐞 Fix Watermark that text will be displayed when the picture loads abnormally. #40770 @OriginRing
  • 🐞 Image support flip function in preview mode. Fix Image fallback when used in ssr. #40660
  • 🐞 Fix Typography component is not centered in the Select component. #40422 @Yuiai01
  • 🌐 Update locale vi_VN adding Vietnamese translation for Form component validation. #40992 @lamvananh
  • RTL
  • TypeScript
    • 🤖 Fix Cascader that generics should not be necessary. #40961 @crazyair

5.2.3

2023-02-27

  • 🐞 Fix for setting percent and success.percent at the same time for Progress, the progress text does not change as percent changes. #40922
  • 🐞 Fixed Image preview icon was misaligned.#40911
  • 🐞 Fix ConfigProvider validation message template override Form configure template sometime. #40533 @Wxh16144
  • 🐞 Fixed Confirm Modal onOk event could be triggered twice when close. #40719 @Rafael-Martins
  • 🛠 Rewrote the useLocale method and exposed localeCode to the public. #40884 @li-jia-nan
  • 🐞 Fixed Segmented component items were unresponsive to mouse events. #40894
  • 🛠 Refactored: replaced the LocaleReceiver component with useLocale and removed the LocaleReceiver component. #40870 @li-jia-nan
  • 🐞 Fixed getPopupContainer property injected by ConfigProvider did not work. #40871 @RedJue
  • 🐞 Fixed where Descriptions did not accept data-_ and aria-_ attributes. #40859 @goveo
  • 🛠 Changed the Separator's DOM element from span to li. #40867 @heiyu4585
  • 🐞 Fix token of Layout.colorBgHeader not work when single use Layout.Header directly. #40933
  • 💄 Changed the component's focus outline to the default 4px.#40839
  • 🐞 Fixed the Badge color was displayed abnormally. #40848 @kiner-tang
  • 🐞 Fixed an issue with the Timeline item's className. #40835 @Yuiai01
  • 💄 Fixed the interaction style of the Rate component in the disabled state.#40836 @Yuiai01
  • 🇮🇷 Added Iranian localization. #40895 @majidsadr

5.2.2

2023-02-19

  • DatePicker
    • 💄 Optimize DatePicker date panel style. #40768
    • 🐞 Fix RangePicker hover style on wrong date. #40785 @Yuiai01
  • Form
    • 🐞 Fixed inconsistency between Checkbox and Radio in table when Form is disabled. #40728 @Yuiai01
    • 🐞 Fix Radio/Checkbox under Form disabled property don't works correctly. #40741 @Yuiai01
  • 🐞 Fix List extra padding when enable grid property. #40806
  • 🐞 Fix Upload actions icon alignment issue. #40805
  • 💄 Tweak Table filter dropdown radius style. #40802
  • 🐞 Fix Button loading.delay not delay at first time. #40759 @RedJue
  • 🐞 Fix Input status style when using addonAfter and addonBefore. #40744 @carla-cn
  • 🐞 Fix Skeleton active flicky animation in Safari. #40692 @slotDumpling
  • Locales

5.2.1

2023-02-13

5.2.0

2023-02-08

  • 🔥 Add picture-circle to Upload's listType prop. #40134 @ds1371dani
  • 🔥 Anchor component add direction, which supports vertical. #39372 @foryuki
  • 🆕 Tooltip support arrow to change arrow's visible state and whether the arrow is pointed at the center of target. #40234 @kiner-tang
  • 🆕 Added list pagination align option. #39858 @Yuiai01
  • 🆕 Timeline added items to support option configuration. #40424
  • Collapse
  • Slider
    • 🆕 Slider add railStyle for custom style. #40579 @david-cord
    • 🆕 Slider add support for disable keyboard events. #40526
    • 🐞 Fix Slider missing Tooltip appear motion. #39857
  • Dropdown
    • 🆕 Dropdown support autoAdjustOverflow option. #39735
    • 💄 Fix Dropdown component danger and disabled style priority issue. #39904 @Wxh16144
  • Tour
    • 🆕 Tour added indicatorsRender to support custom indicators. #40613
    • 🆕 Tour support scrollIntoViewOptions to change scrollIntoView options. #39980 @kiner-tang
    • 🆕 Tour masks support passing custom styles and fill colors. #39919 @kiner-tang
    • 🐞 Fixed findDomNode method warning thrown by the tour component when called in strict mode. #40160 @kiner-tang
    • 💄 Deleted margin of the last indicator. #40624
  • 🆕 Adds Design token fontFamilyCode and apply to Typography code kbd pre elements. #39823
  • 🆕 ConfigProvider add Form scrollToFirstError. #39509 @linxianxi
  • 🐞 Fill rest rootClassName for all components. #40217
  • 🐞 Fix Empty descriptions text color in default theme and dark theme. #40584 @MuxinFeng
  • Table
    • 🐞 Fix aria-label and role="presentation" cannot be used together in Table row. #40413 @Ke1sy
    • 🐞 Fix uncontrolled filtered update not working. #39883
    • 🐞 Fix the problem that the header filter is invalid in the case of group headers. #40463 @roman40a
    • 🐞 Fix selection column cover by other cell when fixed. #39940 @kiner-tang
    • 🐞 Fix Sorted/Filtered table fixed column transparent background unreadable. #39012 @kiner-tang
    • 💄 Optimize Table hover style to fix problems with border. #40469
  • DatePicker
    • 🐞 Fix DatePicker that have status style when disabled. #40608
    • 💄 Optimize the DatePicker input box style. #40549 @Wxh16144
    • 💄 Optimize DatePicker Dropdown arrow style. #40521
  • 🐞 Fix Space ant-space-item selector bug. #40554 @cncolder
  • 🐞 Fix not close Spin immediately when using delay. #40475 @3Alan
  • 🐞 Fix Modal useModal default confirm button text logic. #39884 @BoyYangzai
  • 🛠 Refactored the water ripple visual effect to trigger multiple water ripples at the same time. #39705 @li-jia-nan
  • 🛠 Refactor Input.TextArea and Mentions. #40045
  • 🛠 Refactor Affix Calendar to use React.createRef instead of function. #40538 @li-jia-nan
  • 💄 Fix Tabs more button unexpected height. #40488
  • 💄 Resolve Image preview style conflict with TailwindCSS. #39914
  • 💄 Fix Progress that transition of success bar is missing. #40487
  • 💄 Fix the misalignment of Input.Group when zooming the screen under windows. #39842 @heiyu4585
  • 💄 Fix Select placeholder style issue. #40477 @Wxh16144
  • 💄 Adjust Descriptions label style for more readable. #40085
  • 💄 Optimize QRCode expiration display style. #39849
  • 💄 Optimize boxShadow tokens. #40516
  • TypeScript
    • 🤖 Optimize Badge Tag Tooltip color type definition. #39871
    • 🤖 Add Breakpoint ThmeConfig GlobalToken type export. #40508 @Kamahl19
    • 🤖 Update Upload fileList type. #40585
    • 🤖 Remove Tour ForwardRefRenderFunction. #39924
  • 🌐 Localization

5.1.7

2023-01-31

  • Input
    • 🐞 Fix Input that unexpected cancel button is shown when type="search". #40457
    • 🐞 Fix Input suffix color does not update bug when component status changed. #40344 @Yuiai01
  • 🐞 Fix Switch text layout problem in Safari and Chrome <= 84 with compatible mode. #40453 @Ifeinstein
  • 🐞 Fix Progress that throw error when percent is null. #40378 @li-jia-nan
  • 🐞 Fix List title and avatar be rendered in the wrong position. #40395 @li-jia-nan
  • 🐞 Fix Dropdown submenu wrong position. #40349
  • 🐞 Fix Badge throw findDOMNode warning in StrictMode when dot switch. #40347
  • 🐞 Fix Message wrong icon color problem. #40471 @Wxh16144
  • 💄 Adjust Empty component default style in dark theme. #40447
  • RTL
  • TypeScript

5.1.6

2023-01-20

  • 🐞 Fix DatePicker animation timing function. #40133
  • Menu
    • 🐞 Fix Tooltip incorrectly shown when Menu collapsed. #40328
    • 🐞 Fix Menu split line style error. #40268 @Wxh16144
  • 🐞 Fix the console warning of wave effect when bind component unmount before wave effect trigger. #40307 @luo3house
  • 🐞 Fix Breadcrumb throw wrong overlay deprecation warning when use menu prop. #40211 @candy4290
  • 🐞 Fix Modal.useModal hooks destroyAll not work as expect. #40281 @ds1371dani
  • 🐞 Fix message global static method config setting duration not working. #40232 @Yuiai01
  • 🐞 Fix Button text color when containing an a tag. #40269 @ds1371dani
  • 🐞 Fix Radio displaying wrong text color and cursor when disabled. #40273 @ds1371dani
  • 💄 Optimize the calculation logic of focus outline, replace lineWidth with lineWidthBold. #40291 @simonpfish
  • 💄 Rewrite part component style to compatible the browser that not support concat :not selector. #40264
  • 🌐 Fix missing translation for pt_BR. #40270 @rafaelncarvalho

5.1.5

2023-01-15

  • 🐞 Fix Checkbox that label not aligned with checkbox. #40208
  • 🐞 Fix Button wave effect sometime makes layout shaking. #40192
  • 🐞 Fix Select crash problem. #40158 @helloqian12138
  • 🐞 Fix Timeline custom color displaying wrong classname & alignment overflow. #39394 @Wxh16144
  • 🐞 Fix Breadcrumb last item color. #40119 @messaooudi
  • 💄 Fix Table sticky table header shadow style. #40171 @Wxh16144
  • 💄 Fix Segmented item hover radius style. #40175 #40179
  • TypeScript
    • 🤖 Fix Tabs onEdit Callback parameter type problem. #39926 @RSS1102
  • RTL
    • 💄 Fix DatePicker's next & prev icons in RTL mode. #40238 @ds1371dani
    • 💄 Fix Badge RTL style when wrap a block element. #40125

5.1.4

2023-01-09

5.1.3

2023-01-09

  • Table
    • 🛠 Optimize the Table shouldCellUpdate logic to increase the secondary rendering speed. #40063
    • 🐞 Fix Table columns.render not trigger re-render when render function use closure data. #40004
    • 🐞 Fix when Table filter, the border will be black. #39938 @JarvisArt
  • Button
    • 🐞 Fix Button wave effect not following screen scroll. #39954
    • 🐞 Fix Button block props not work. #39992 @li-jia-nan
  • 🐞 Fix Menu custom expand icon cannot be hidden. #40071 @Wxh16144
  • 💄 Fix circular Progress text not being displayed in rtl mode. #40103
  • 💄 Fix horizontal Menu style with theme="dark". #40105
  • 🐞 Fix Cascader notFoundContent cannot be clicked. #40067
  • 🐞 Fix Transfer Checkbox not disabled when itemsLits is empty. #40038 @li-jia-nan
  • 💄 Fix Checkbox style with disabled and indeterminate. #39974 @ds1371dani
  • 🐞 Fix Alert.ErrorBoundary description overflow bug. #40033
  • 💄 Fix Tag onClick as undefined, click the mouse to display the border style. #40023 @crazyair
  • 💄 Fix Avatar.Group item margin when item is wrapped by other elements. #39993
  • 🐞 Fix Submenu arrow transition. #39945 @JarvisArt
  • 🐞 Fix selection column cover by other cell when fixed. #39940 @kiner-tang
  • 🌐 Add missing ta_IN translations. #39936 @KIRUBASHANKAR26

5.1.2

2022-12-30

  • 🆕 Theme Editor supports uploading themes. #39621 @BoyYangzai
  • 💄 Refactor wave effect that can now trigger multiple times. #39705 @li-jia-nan
  • Table
    • 🐞 Fix Table column.filtered cannot be updated. #39883
    • 🐞 Fix Table fixed column which is sorted or filtered transparent background bug. #39012 @kiner-tang
  • 🐞 Fix Image preview style conflict with TailwindCSS. #39914
  • 🐞 Fix Dropdown danger and disabled style priority bug. #39904 @Wxh16144
  • 🐞 Fix App.useApp modal default okText. #39884 @BoyYangzai
  • 💄 Fix Input.Group misplace style when zoom up in windows. #39842 @heiyu4585
  • 🐞 Fix Slider missing Tooltip appear motion. #39857
  • 🐞 Fix QRCode missing expired style. #39849 @li-jia-nan
  • 🐞 Fix Tree switcher's background display unexpected in dark theme. #39838 @kiner-tang
  • 🐞 Fix Menu slide bar style issue when border is reset by preset. #39819
  • 🐞 Fix Checkbox not support Tooltip or Popover when it is disabled. #39829

5.1.1

2022-12-26

  • 📦 Remove IE and other legacy browsers from browserslist to reduce bundle size.#38779
  • Improve Transfer performance when selecting and moving nodes with large data.#39465 @wqs576222103
  • 🐞 Fix wrong font-family of components. #39806
  • 🐞 Fix Drawer default props not working when placement open width are undefined. #39782
  • 🐞 Fix Menu icon animation when collapse it. #39800 @JarvisArt
  • 🐞 Fix Image preview operation bar is covered during the animation. #39788 @JarvisArt
  • 🐞 Fix List crash when pagination.pageSize is undefined. #39681 @Wxh16144
  • 🐞 Fix Space align="baseline" not working. #39748 @candy4290
  • Table
    • 🐞 Fix Table expandable row header has no top left border radius. #39781 @chunsch
    • 🐞 Fix Table header radius missing when has fixed header and columns. #39723
    • 🐞 Fix Table missing border-bottom in merged cell and unexpected border color if overlapping. #39729
    • ⌨️ Improve Table a11y by appling aria-props to table element. #39700
    • ⌨️ Reset aria-label in Table column. #39738 @kiner-tang
    • 💄 Adds transition animation for Table border. #39713 @JarvisArt
  • 🐞 Fix Tabs add button color invisible in dark mode. #39724
  • 🐞 Fix the problem that the height of the title bar is not enough when Card only has extra. #39646 @JarvisArt
  • 🐞 Fix justify and align properties are not reactive in Row. #39704 @candy4290
  • 🐞 Fix warning in App about two children with the same key. #39695 @Kamahl19, #39701 @li-jia-nan
  • 💄 Image preview interactive optimization. #39812 @JarvisArt
  • 💄 Fix Table filter dropdown wrong active background and dropdown shadow style. #39805
  • TypeScript
    • 🤖 Fix missing type defination for Design Token. #39754

5.1.0

2022-12-20

  • 🔥 New App Component which provide global style & static function replacement. #39046
  • 🔥 New QRCode Component. #38948
  • 🔥 New Watermark Component. #39064 @JarvisArt
  • 🆕 Mentions support options prop. #38630 @heiyu4585
  • 🆕 FloatButton support clickOutAutoClose. #39501 @BoyYangzai
  • 🆕 Popconfirm support description prop. #39250 @xhh0223
  • 🆕 Modal.confirm support footer prop. #39048 @owjs3901
  • 🆕 Table support rowScope to set the column range. #39571
  • 🆕 Anchor support items data configuration option content, which supports nesting through children. #39034 @foryuki
  • 🆕 Breakpoints can now follow theme token config. #39105 @azro352
  • 🆕 Tour prevButtonProps nextButtonProps support style classname prop. #38939 @ONLY-yours
  • 🆕 ConfigProvider support config select.showSearch. #39531 @YinDongFang
  • 🐞 Fix Tabs inkBar not show in StrictMode. #39653
  • 🐞 Fix Badge component width not being affected by parent element. #39605 @AydenGen
  • Select
    • 🐞 Fix wrong usage of icon color token in Select. #39644
    • 💄 Optimize Select a11y to bind real option element when virtual=false. #39550
  • 🐞 Fix Tour steps set type=primary not work. #39382 @heiyu4585
  • 🐞 Fix disabled style miss when has href on Button. #39456 @BoyYangzai
  • 🐞 Fix Segmented icon unexpected margin. #39575
  • 🐞 Fix Drawer unexpected warning about DefaultProps. #39562
  • Menu
    • 🐞 Fix Menu.Submenu will flicker when use createRoot to render. #38855 @JarvisArt
    • 🛠 Refactor MenuItem to Function Component. #38751
    • 💄 Optimize Menu item style when selected. #39439
  • 🛠 LocaleProvider has been deprecated in 4.x (use <ConfigProvider locale /> instead), we removed the related folder antd/es/locale-provider and antd/lib/locale-provider in 5.x. #39373
  • 🛠 Simplified lodash method introduction. #39599 #39602
  • TypeScript
    • 🤖 Optimize Button DropDown Modal Popconfirm Select Transfer mouse event type definition. #39533
    • 🤖 New export type FloatButtonGroupProps. #39553
  • 🌐 Localization

5.0.7

2022-12-13

  • 🐞 Fix Slider's Tooltip missing animation. #39463 @YinDongFang
  • 🐞 Fix Table unexpected horizontal scroll bar when empty and bordered. #39455 @zjfresh
  • 🐞 Fix Popover arrow background color with customized color. #39517
  • 🐞 Fix Modal hooks not pass ConfigProvider config correctly. #39513
  • 🐞 Fix Radio align issue with custom size. #39476

5.0.6

2022-12-12

  • 🐞 Fix FloatButton tooltip property is not support 0 value. #39425 @li-jia-nan
  • 🐞 Fix Space wrapped Select not display clear icon problem when mouse hover. #39468 @foryuki
  • 💄 Fix Cascader ul has unexpected margin value. #39436 @ZN1996
  • 💄 Fix Input has unexpected padding problem in compact mode. #39428
  • 💄 Optimize Message padding in compact mode. #39428
  • 💄 Fix Radio.Button has unexpected text color in dark mode. #39428
  • 💄 Fix Select has unexpected padding problem in compact mode. #39428
  • 💄 Fix Slider has unexpected size for marking dot. #39428
  • 💄 Optimize Switch color in dark mode. #39428

5.0.5

2022-12-08

  • 🐞 Fix button hover style in Space.Compact. #39157 @foryuki
  • 🐞 Fix Tabs active bar missing sometimes in windows Chrome. #39352 @heiyu4585
  • 🐞 Fix Divider horizontal align issue in flex layout. #39339
  • 🐞 Fix Popover width in rtl mode. #39311
  • 🐞 Fix Popconfirm padding style issue when wireframe is true. #39313
  • 💄 Fix Select search input with white space style issue. #39299
  • 💄 Fix Tree missing selection style. #39292
  • 🐞 Fix FloatButton content not align when customize size. #39282 @li-jia-nan
  • 🐞 Fix RangePicker cell hover style. #39266
  • 💄 Optimize Button style under Space.Compact. #39241 @foryuki
  • 🌐 Fix vi_VN i18n mistake. #39279 @nghiepdev
  • 🌐 Fix he_IL i18n mistake. #39280 @Ran-Sagy
  • TypeScript

5.0.4

2022-12-05

  • Modal
  • 🐞 Fix Tree config checkable and blockNode not makes title stretch issue. #39209 @Wxh16144
  • 🐞 Fix Dropdown sub menu missing motion. #39235
  • 💄 Fix RangePicker time panel padding style. #39228
  • 🐞 Fix Card action button round style. #39210 @muxin
  • 🐞 Fix Badge wave effect color not follow color. #39182 @li-jia-nan
  • 🐞 Fix Radio disabled status check style. #39165 @Wxh16144
  • 🐞 Fixed TextArea count style when resize is not none. #39121 @51wangping
  • 🐞 Fix Transfer clicking the checkbox position cannot be unchecked and onSelectChange is triggered twice. #39078 @edc-hui
  • 🐞 Fix Steps set size="small" with progress not fully display. #39100 @Wxh16144
  • 🐞 Fix Form horizontal layout with xs responsive config not work. #39130
  • 🐞 Fix message position not correct in RTL. #39248 @Yuiai01
  • 🐞 Fix Switch only set with checkedChildren or unCheckedChildren content not display. #39262

5.0.3

2022-11-30

  • 🐞 Fix Spin alignment when using tip. #38923 @sribich
  • Menu
    • 🐞 Fix Menu Submenu style when overflowed. #39093
    • 🐞 Fix Menu.Item hover area when trigger active color change. #39077 @Pulset
  • 🐞 Fix Input.TextArea resize behavior by adding reset style. aa92f02
  • 🐞 Fix Upload default icon color. #39114 @MARKX97
  • 🐞 Fix ssr warning in dev mode caused by dynamic hashId. #39069
  • 🐞 Fix FloatButton.Group flicking on closing. #39061
  • 🐞 Fix Card.Meta that width is not 100%. #39026 @justanotheranonymoususer

5.0.2

2022-11-27

  • 💄 Fix Card radius style broken when customize bodyStyle background color. #38973 @Yukiniro
  • 💄 Optimize default algorithm for error color. #38933
  • 💄 Optimize the style issue in RTL mode. #38829 @Wxh16144
  • Space.Compact
    • 💄 Optimize Space.Compact style when wrapping a single child component. #38896 @foryuki
    • 💄 Fix Space.Compact component style problem when wrapping Modal, Dropdown, Drawer and other components. #38870 @foryuki
  • 🐞 Fix horizontal Menu that has wrong width when is overflow. #38989
  • 🐞 Fix Table that the old filter state still takes effect when the list filter column changes. #38982
  • 🐞 Fix Select and Pagination incorrect text color in dark theme. #38979 @Dunqing
  • 🐞 Fix that Mentions options props not working. #38968 @heiyu4585
  • 🐞 Fix that dist/reset.css may be dropped in production. #38956 @passerV
  • 🐞 Fix Badge that showZero can't be used with custom color. #38967 @Wxh16144
  • 🐞 Fix Form validation motion flick issue. #38962
  • 🐞 Fix Tabs dropdown motion not work. #38892
  • 🐞 Fix ConfigProvider that componentDisabled is not work. #38886 @lidianhao123
  • 🐞 Fix Button block prop is not working when shape="round". #38869 @jjlstruggle
  • 🐞 Fix Dropdown.Button that dropdownRender is not executed. #38862 @imoctopus

5.0.1

2022-11-22

  • 💄 Optimize Empty svg color in dark theme. #38785
  • 💄 Fix Form, Input, Select, Tree part style convert to CSS-in-JS missing. #38742
  • 💄 Fix animation flick for some components in Firefox. #38729
  • Menu
  • 🐞 Fix that Table expanded icons are not aligned. #38823 @turdiyev
  • 🐞 Fix FloatButton.BackTop missing animation. #38770 @li-jia-nan
  • 🛠 Remove Moment.js dependency. #38762
  • 🛠 Fix CompoundedComponent ts error. #38666 @wangcch
  • 🛠 Rollback lib in package. #38832 @chunsch

5.0.0

2022-11-18

🏆 Ant Design 5.0.0 is released, see our release note for more details.

Read it before migration

🌟 If you want to migrate to Ant Design 5.0, please check V4 to V5.

Major Changes

  • 🔥 New Components
  • 🔥 New Component Variants
    • 🔥 DatePicker add presets to support preset ranges for quick selection. #38249
    • 🔥 Progress circle type support responsive format text for small size. #38231 @li-jia-nan
    • 🔥 Steps add inline type. #38311 @JarvisArt
  • 💄 New Design
    • 💄 Change primary color to #1677ff. #37254
    • 💄 Change basic border radius to 6px, and support gradient radius. #37146 #37369
    • 💄 Optimize transition duration. #37438
    • 💄 Optimize padding and remove border for some components. #37283
      • 💄 Pagination remove border. #37441
      • 💄 Optimize Timeline style. #37465
      • 💄 Optimize Steps style. #37473
    • 💄 Optimize focus style for some components. #37483
    • 💄 Optimize style with large border radius.
      • 💄 Optimize Table hover style. #37370
      • 💄 Optimize Segmented hover style. #37498
      • 💄 Optimize Dropdown hover style. #37491
      • 💄 Optimize close button style for some components like Modal. #37634
      • 💄 Optimize Menu style. #38009
      • 💄 Optimize hover style for some more components. #37433
    • 💄 Optimize Switch transition. #37658
    • 💄 Optimize Anchor ink ball style. #38616
  • 🆕 Export object theme which contains hooks and algorithms related with theme. #36302
    • 🆕 Add theme.useToken hook to get Design Token in context. #36267
    • 🆕 Preset algorithm
      • 🆕 Default algorithm theme.defaultAlgorithm. #36175
      • 🆕 Dark algorithm theme.darkAlgorithm. #36546 #36656
      • 🆕 Compact algorithm theme.compactAlgorithm. #38105
  • 🆕 ConfigProvider support theme prop to modify theme configuration. For more: Customize Theme.
    • 🆕 Support multiple algorithm pipeline. #37082
    • 🆕 Support switching wireframe style. #37507
    • 🆕 Support override Design Token for single component. #37568
  • 🆕 Add locale directory in package, which contains commonjs locale files. #38194 @chunsch
  • 🗑 Do not support IE browser anymore.
  • 🗑 Remove package antd/lib. #36362
    • 🛠 Change main in package.json to dist/antd.js. eb8835f
  • 🗑 Remove dist/antd.css, and add dist/reset.css to override common styles. #36224
  • 🗑 Deprecate visible and provide open instead in components below. @yykoypj
    • 🗑 Tag deprecate visible. #36671
    • 🗑 Table deprecate filterDropdownVisible and provide filterDropdownOpen. #36747
    • 🗑 Drawer deprecate visible and provide open instead. #36750
    • 🗑 Modal deprecate visible and provide open instead. #36774
    • 🗑 Dropdown deprecate visible and provide open instead. #36799
    • 🗑 Tooltip deprecate visible and provide open instead, Popover and Popconfirm. #36807
  • 🗑 Deprecate dropdownClassName and provide popupClassName instead in components below. @heiyu4585
    • 🗑 AutoComplete deprecate dropdownClassName and provide popupClassName instead. #37087
    • 🗑 Mentions deprecate dropdownClassName and provide popupClassName instead. #37122
    • 🗑 Cascader deprecate dropdownClassName and provide popupClassName instead. #37089
    • 🗑 Select deprecate dropdownClassName and provide popupClassName instead. #37091
    • 🗑 TreeSelect deprecate dropdownClassName and provide popupClassName instead. #37092
    • 🗑 DatePicker and TimePicker deprecate dropdownClassName and provide popupClassName instead. #37207
  • 🛠 Refactor styles with CSS-in-JS for all components.
    • 🗑 Remove less and css in package. #36244
  • 🛠 Change date library from Moment.js to Day.js, for more: Use custom date library. b22815d @iamkun
  • 🛠 React Notification to support React 18 concurrent mode and refactor useNotification hookwhich is preferred instead of static function. #35423 #35568
  • 🛠 Slider props related with Tooltip are unified into tooltip. #37043 @yykoypj
  • 🛠 Migrate official site to dumi@2. #38328

4.x

Visit GitHub to read 4.x change logs.

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.