mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
5a60d488b3
* docs: 4.0.0 changelog * bump * fix space * add v4 issue link
27 KiB
27 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.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 @zombieJ - 💄 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 @zombieJ
4.0.0-rc.2
2020-01-21
- 🛠 Refactor some demos to React hooks and TypeScript. #21045
- 🐞 Fixed Input/Select components align issue. #20869
- Dropdown
- Input
- Table
- Select
- Form
- 🐞 Fixed message cut shadow issue. #20856
- 🐞 Fixed Tooltip hidden when
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.
- 🌟 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
.