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.
 
 

30 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.1

2020-03-04

  • Form
    • ๐Ÿž Fix Form help control will get react@16.13 warning. #21800 #21702
    • ๐Ÿž Fix Form.Item exceed Form width when content is too long. #21682
  • Input
    • ๐Ÿž Fix TextArea style get warning in react@16.13. #21703
    • ๐Ÿž Fix Input.Search extra border when has prefix. #21753
  • Table
    • ๐Ÿž Fix Table column with filtered not working. #21825
    • ๐Ÿž Fix Table locale not work. #21772
    • ๐Ÿž Fix Table.Column sortOrder is not working in JSX mode. #21719
    • ๐Ÿž Fix Table fixed column with sorted status style issue. #21679
  • ๐Ÿž Fix Dropdown menu arrow position. #21768 @xrkffgg
  • ๐Ÿž Fix List bordered and split props conflict. #21784 @MXWXZ
  • ๐Ÿž Fix Menu.Item a tag hidden bug. #21699 @shaodahong
  • ๐Ÿž Fix message.open crash when icon is not passed. #21747 @AshoneA
  • ๐Ÿž Fix Result status cannot assigned to string or number type. #21691
  • ๐Ÿž Fix Descriptions warning for duplicate key. #21688
  • ๐Ÿ’„ Optimize Calendar header style in small screen. #21813
  • ๐Ÿ’„ Radio.Group not wrapping now. #21813
  • ๐Ÿ›  Refactor icons import code to reduce webpack disabled tree shaking bundle size. #21752
  • Typescript
    • ๐Ÿž Fix Radio.Button type error. #21807 @jhoneybee
    • ๐Ÿž fix TreeSelect.SHOW_* type. #21791 @TennyZhuang
    • ๐Ÿž Fix TreeSelect missing suffix define. #21714
    • ๐Ÿž Fix Drawer forceRender TypeScript definite. #21774
    • ๐Ÿž Fix Tree treeData define. #21756
    • ๐Ÿž Fix Form.Item renderProps return type define. #21716

4.0.0

2020-02-28

  • ๐Ÿ† Ant Design v4 is out! Check here for more info.
  • ๐Ÿž Breadcrumb use path as default key to fix name 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 when type=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
    • ๐ŸŒŸ support scrollToFirstError to simplify submit scroll logic. #21462
    • ๐Ÿž Fix Form.Item with help align style. #21476
    • ๐Ÿž Fix Form throw error when using BraftEditor. #21425
    • ๐Ÿž Fix Form fields shake when switching the validing info. #21302 @yoyo837
  • Upload
    • ๐ŸŒŸ Upload added removeIcon and downloadIcon properties. #21363 @sdhr27
    • ๐Ÿž Fix Upload identify types of image logic errors. #21473 @holynewbie
  • Input
    • ๐Ÿž Fix Input with readOnly still clearable by allowClear. #21494
    • ๐Ÿž Fix Input click with prefix / suffix not get focused. #21413
  • Table
    • ๐Ÿž Fix Table selection crash when record children is null. #21528
    • ๐Ÿž Fix Table fixed column style with small size. #21431
  • Descriptions
    • ๐Ÿž Fix label does not have the problem of still rendering the label element when not using bordered. #21542
    • ๐Ÿž Fix Non-bordered titles under vertical are also a problem for td. #21542
    • ๐Ÿž Fix vertical and bordered layout issues. #21542
    • ๐Ÿž Fix the problem of style not working on Item. #21542
    • ๐Ÿž Fix th will also get the useless -colon className problem under border. #21542
  • ๐ŸŒŸ 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 is large 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 by itemRender. #21361
  • ๐Ÿ‡ฆ๐Ÿ‡ฟ Added Azerbaijani translation. #21387 @orkhan-huseyn
  • Typescript
    • ๐Ÿ”ท Menu export MenuItemGroupProps. #21356
    • ๐Ÿ”ท Table export ColumnProps. #21321

4.0.0-rc.4

2020-02-09

  • ๐Ÿ“– Add color palette and palette generation tool for dark theme. #21101
  • ๐ŸŒŸ Add style field for options prop of Checkbox.Group and Radio.Group. #21219
  • ๐ŸŒŸ Add validateFirst prop for Form.Item. #21178
  • ๐ŸŒŸ Add useModal hook for Modal to support context access. #20949
  • ๐ŸŒŸ Add useNotification hook for Notification to support context 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
    • ๐Ÿž Fix Form.Item required validation not work when name is not set. #21168
    • ๐Ÿž Fix Form.Item data binding not work when name is 0. #21186 @wanjas
    • ๐Ÿž Fix Form.Item shaking when help prop change from valuable to undefined. #21211
  • Input
    • ๐Ÿž Fix worng validating style when prefix is set. #21121
    • ๐Ÿž Fix size prop not work when prefix or affix is set. #21290 @yoyo837
  • ๐Ÿž Fix Radio.Group style with Badge. #21215
  • ๐Ÿž Fix Select no margin between lines when mode is tags or multiple. #21175
  • ๐Ÿž Fix Slider dots focus style. #21244 @Kermit-Xuan
  • ๐Ÿž Fix Steps icon not align when size="small" and labelPlacement="vertical". #21258
  • Table
    • ๐Ÿž Fix expandIcon prop not work when data item has no children field. #21169
    • ๐Ÿž Fix Column sorter prop not work. #21194
    • ๐Ÿž Fix custom filter's typing not work. #21218
  • ๐Ÿž 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 with addonBefore / addonAfter. #21105
  • ๐Ÿ’„ Improved Timeline component style in RTL mode. #21068 @xrkffgg
  • ๐Ÿ’„ Update clearfix mixin to remove legacy zoom descriptor. #21109 @morenyang
  • ๐Ÿ’„Card component use @font-size-base instead of inline 14px. #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

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
    • ๐Ÿ†• Support buttonsRender to customize buttons. #20815
    • ๐Ÿž Tooltip doesn't disappear on disabled Dropdown.Button in Chrome. #20960
  • Input
    • ๐Ÿž Fixed Input prefix and suffix overlap with content issue. #20872
    • ๐Ÿž Fixed Input placeholder color in Firefox. #20850
  • Table
    • ๐Ÿž Fixed onChange return cached fresh sorter & filter state. #20858
    • ๐Ÿž Fixed problem that all-checkbox is checked when all the checkboxes are disabled. #20968
    • ๐Ÿž Fixed locale.emptyText not working. #21024
  • Select
    • ๐Ÿž Fixed placeholder wrap and align issue. #20883 #20884
    • ๐Ÿž Fixed multiple Select left padding. #20861
    • ๐Ÿž Fixed multiple Select clean icon overlap issue. #20914
  • Form
    • ๐Ÿ†• Added scroll options as scrollToField argument. #20774
    • ๐Ÿž Fixed Form.Item update help makes layout shake. #20886
    • ๐Ÿž Fixed unexpected extra rerender when Form.Item is not a real Field. #20963
    • ๐Ÿž Fixed Form.Item ignore help="" issue. #21026
    • ๐Ÿž Fixed Form.Item label align bug in small screen. #20836
  • ๐Ÿž Fixed message cut shadow issue. #20856
  • ๐Ÿž Fixed Tooltip hidden when title is 0. #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
    • ๐Ÿ†• Readded @border-radius-sm. #20818
    • ๐Ÿ†• Added @timeline-item-padding-bottom. #21013
    • ๐Ÿ†• Added @layout-header-color. #21033

4.0.0-rc.1

2020-01-11

  • ๐ŸŒŸ Drawer Added footer and footerStyle 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 of fixed not work. #20735
    • ๐Ÿž Fix fixed columns in Chrome show the vertical scrollbar. #20705
    • ๐Ÿž Fix crash when columns with empty children. #20703
  • ๐Ÿ’„ 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
    • ๐Ÿ’„ Optimize the border-radius of the rounded corners connection. #20736
    • ๐Ÿž Fix selected style overlap. #20736
    • ๐Ÿž Fix extra dividing line at the bottom. #20736
    • ๐Ÿž Fix button style for DatePicker's default range. #20760 @xrkffgg
  • ๐Ÿž 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
    • ๐Ÿž Export Form interfaces. 3a1c5
    • ๐Ÿž Fix Table types. #20789
    • ๐Ÿž Fix Table.Column and Table.ColumnGroup definition. #20695

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 and onFinishFailed to complete the overall component verification logic.
    • ๐ŸŒŸ Added onFieldsChange and onValuesChange 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, and scroll can be mixed.
    • ๐ŸŒŸ Support multi-column sort.
    • ๐ŸŒŸ Support custom body and add virtual scrolling example.
    • ๐ŸŒŸ Expansion-related props moved into the expandable attribute and add rowExpandable prop.
    • ๐ŸŽ‰ Use css sticky to achieve fixed effects to optimize performance.
    • ๐Ÿ’„ Optimized expand animation effect.
  • ๐ŸŒŸ 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
  • ๐ŸŒŸ 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 is undefined now.
  • ๐ŸŒŸ TreeSelect uses virtual scrolling and optimizes keyboard support. #19040
    • ๐ŸŒŸ Uncontrolled mode when value is undefined now.
  • ๐ŸŒŸ Button adds default andlink styles for danger. #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.