mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
ea55af1979
* docs: add 5.1.0 changelog * docs: update * docs: update * Update CHANGELOG.en-US.md Co-authored-by: afc163 <afc163@gmail.com> * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * docs: update Co-authored-by: afc163 <afc163@gmail.com>
24 KiB
24 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.
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 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
- 🐞 Fix Menu.Submenu will flicker when use
- 🛠 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
- 🌐 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 support0
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
istrue
. #39313 @MadCcc - 💄 Fix Select search input with white space style issue. #39299 @MadCcc
- 💄 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
- 🤖 Optimize Anchor
onClick
event definition. #39305 @li-jia-nan
- 🤖 Optimize Anchor
5.0.4
2022-12-05
- Modal
- 🐞 Fix Modal with long content exceed the panel. #39249 @MuxinFeng
- 🐞 Fix Modal.info content width when without icon. #39047 @owjs3901
- 🐞 Fix Tree config
checkable
andblockNode
not makestitle
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 notnone
. #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
orunCheckedChildren
content not display. #39262
5.0.3
2022-11-30
- 🐞 Fix Spin alignment when using
tip
. #38923 @sribich - Menu
- 🐞 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
- 🐞 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 whenshape="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 Menu SubMenu margin style. #38714 @JarvisArt
- 🐞 Fix Menu height in dark theme. #38741 @LuciNyan
- 🐞 Fix Menu SubMenu flicking when expanding. #38748 @JarvisArt
- 🐞 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
- 🔥 FloatButton component, and refactor BackTop as child component of FloatButton. #37520 @li-jia-nan
- 🔥 Tour component. #37867 #38469 @heiyu4585
- 🔥 New Component Variants
- 🔥 DatePicker add
presets
to support preset ranges for quick selection. #38249 - 🔥 Progress
circle
type support responsiveformat
text for small size. #38231 @li-jia-nan - 🔥 Steps add
inline
type. #38311 @JarvisArt
- 🔥 DatePicker add
- 💄 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
- 💄 Optimize focus style for some components. #37483
- 💄 Optimize style with large border radius.
- 💄 Optimize Switch transition. #37658
- 💄 Optimize Anchor ink ball style. #38616
- 💄 Change primary color to
- 🆕 Export object
theme
which contains hooks and algorithms related with theme. #36302 - 🆕 ConfigProvider support
theme
prop to modify theme configuration. For more: Customize Theme. - 🆕 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
inpackage.json
todist/antd.js
. eb8835f
- 🛠 Change
- 🗑 Remove
dist/antd.css
, and adddist/reset.css
to override common styles. #36224 - 🗑 Deprecate
visible
and provideopen
instead in components below. @yykoypj- 🗑 Tag deprecate
visible
. #36671 - 🗑 Table deprecate
filterDropdownVisible
and providefilterDropdownOpen
. #36747 - 🗑 Drawer deprecate
visible
and provideopen
instead. #36750 - 🗑 Modal deprecate
visible
and provideopen
instead. #36774 - 🗑 Dropdown deprecate
visible
and provideopen
instead. #36799 - 🗑 Tooltip deprecate
visible
and provideopen
instead, Popover and Popconfirm. #36807
- 🗑 Tag deprecate
- 🗑 Deprecate
dropdownClassName
and providepopupClassName
instead in components below. @heiyu4585- 🗑 AutoComplete deprecate
dropdownClassName
and providepopupClassName
instead. #37087 - 🗑 Mentions deprecate
dropdownClassName
and providepopupClassName
instead. #37122 - 🗑 Cascader deprecate
dropdownClassName
and providepopupClassName
instead. #37089 - 🗑 Select deprecate
dropdownClassName
and providepopupClassName
instead. #37091 - 🗑 TreeSelect deprecate
dropdownClassName
and providepopupClassName
instead. #37092 - 🗑 DatePicker and TimePicker deprecate
dropdownClassName
and providepopupClassName
instead. #37207
- 🗑 AutoComplete deprecate
- 🛠 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 hook,which 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
.