You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7.0 KiB
7.0 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-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
.