Skip to content

Latest commit

ย 

History

History
1337 lines (1093 loc) ยท 114 KB

CHANGELOG.en-US.md

File metadata and controls

1337 lines (1093 loc) ยท 114 KB
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.

3.11.6

2018-12-25

  • ๐Ÿ“ Remove Christmas egg. #13098

3.11.5

2018-12-24

  • ๐Ÿž Fixed lib missing css file match. #13791

3.11.4

2018-12-23

  • ๐Ÿž Fixed DependencyNotFoundError Could not find dependency: '@babel/runtime'. #13791
  • โšก๏ธ Refactor Tag component with less code and better performance. b828741

3.11.3 ๐ŸŽ…๐Ÿป

2018-12-22

  • โšก๏ธ Upgrade our toolchains (babel and webpack) to latest version and prettier all codes!
  • Table
    • ๐Ÿž Fixed that dropdown menu action not clickable. #13563
    • ๐Ÿž Fixed hovering components on Table sortable column. #13467
    • ๐Ÿž Fixed crash issue of selection Table under IE9/10. #13540
    • ๐Ÿž Fixed check-all checkbox state when Table childrenColumnName is specified. #13710
    • ๐Ÿ’„ Remove work break styles in table cell for consistent behavior. #13624
    • ๐Ÿ’„ Rewrote the custom filter demo of Table. Link
  • ๐Ÿž Fixed padding of Button which children is 0. #13596 @951565664
  • ๐Ÿ’„ Chore Card header and loading UI.
  • ๐Ÿ’„ Optimized Spin wrapper styles and improve performance slightly. 2c7112b
  • ๐Ÿž Fixed border color of validated Input.Group. #13529 @morenyang
  • ๐Ÿž Fixed submenu animation of vertical-type Menu. #13597
  • ๐Ÿž Fixed width of WeekPicker. #13629
  • ๐Ÿž Fixed cursor style of disabled Radio.Button. #13642 @gianpaj
  • Dropdown
    • ๐Ÿž Fixed slight shift when menu is popped in Chrome. #12115 @gurungrahul2
    • ๐Ÿž Fixed unexpected scrollbar caused by dropdown placed at screen edge. 00564dd
  • ๐Ÿž Fixed offset props when Badge count is specified as a ReactNode. #13694
  • ๐Ÿž Remove nested Form.Item negative margin. #13748
  • ๐Ÿ“ Added a Select demo of Hide Already Selected. #13552 @SergeyVolynkin
  • ๐Ÿž Fixed padding of Comment actions. #13713
  • ๐Ÿž Fixed broken arrow style when customize Popover's background color. #13533 @gurungrahul2
  • ๐Ÿž Corrected Drawer style prop to outside wrapper. #11504
  • ๐Ÿž Fixed one problem of incorrect state when Affix first mounted. #13737 @xuxinhang
  • ๐Ÿž Fixed Tabs cursor style of disabled tab. #13709
  • ๐ŸŒŸ Added some less variables of Tabs, Table, Alert.
  • TypeScript
    • โšก๏ธ Enhanced Table ColumnProps types about dataIndex. #13605 @bondBo
    • โšก๏ธ Enhanced Table TableRowSelection.onChange arguments with generic types.#13761 @hahabazinga
    • ๐Ÿž Fixed type of LocaleProvider's children. #12974
    • ๐Ÿž Fixed type of RangePicker onOk's arguments. #13650 @iugo
    • ๐Ÿž Fixed Comment author type from string to ReactNodeใ€‚#13670 @reichjustin
    • ๐Ÿž Fixed type of Select dropdownProps's arguments. #13617 @SylvanasGone

3.11.2

2018-12-10

  • ๐Ÿž Fixed Table Cannot read property 'children' of undefined error when customize column.title as ReactNode. #13542 @geraldchen890806
  • ๐Ÿž Fixed another border problem of Button when customized less variable @border-width-base. #13534 @morenyang
  • ๐Ÿž Fixed Upload don't support resolve Blob object when beforeUpload returns a Promise. #13528 @huanz
  • ant-design#13536
  • ๐Ÿž Fixed two props of Dropdown TypeScript definitions. #13536 @wangxingkang

3.11.1

2018-12-08

  • ๐Ÿž Fixed the issue where the Avatar icon could not be centered vertically. #13408
  • ๐Ÿž Fixed the border problem of Button when customized less variable @border-width-base. #13413 @morenyang
  • ๐Ÿž Fixed Comment does not correctly display line breaks. #13429
  • ๐Ÿž Fixed the issue that when the Alert is in closable, the icon will be covered by the text. #13440
  • Button
    • ๐Ÿž Fixed the issue that when the href property is undefined, the Button will also be rendered as a anchor. #13337
    • ๐Ÿž Fixed the issue that Edge throws an error when setting the loading property. #13216
  • Dropdown
    • ๐Ÿž Fixed the issue that causes the icon in the Button to display smaller. #13442
    • ๐Ÿž Fixed the gap between the drop-down menu and the trigger element causes the drop-down menu to close. #10481
  • Table
    • ๐Ÿž Fixed the use of filter causes an inconsistency between selectedRowKeys and selectedRows in onChange. #11384
    • ๐Ÿ’„ Optimize the display of the title when the mouse hovers over the sortable header. #13312
  • DatePicker
    • ๐Ÿž Fixed the issue where the component lost focus after selecting the date. #12475
    • ๐Ÿž Fixed the issue that cause Safari to unresponsive. #13424
    • ๐Ÿž Fixed the issue where WeekPicker's date selection box was not aligned with the input box.
  • ๐Ÿž Fixed the blur method of the Slider. #13439
  • ๐Ÿž Fixed Cascader's i18n issues. #13486
  • ๐Ÿž Fix some TypeScript definitions. #13390 #13488 #13420

3.11.0

2018-12-02

3.11.0 brings two new Components, a lot of exciting changes and new features.

Component Fixes / Enhancements:

  • ๐ŸŒŸ Avatar Added srcSet prop that is a list of sources to use for different screen resolutions. #12525 @philipodev
  • ๐ŸŒŸ Upgrade rc-notification to 3.3.0, Notification Added onClick prop that is called when the notification is clicked. #11832
  • Transfer
    • ๐ŸŒŸ Added onSearch prop that is executed when search field are changed and deprecated onSearchChange. #12422
    • ๐ŸŒŸ Added disabled prop that whether disable transfer. #13330
  • ๐ŸŒŸ Refactor Badge, support count as custom component. #12140 @supra28
  • ๐ŸŒŸ Slider Added tooltipVisible prop that whether Tooltip will always show. #12915 @zy410419243
  • ๐ŸŒŸ Support custom font-variant style through less variable @font-variant-base. #12691 @neemski
  • Table upgrade rc-table to 6.4.0
    • ๐ŸŒŸ Added expandIcon prop that custom the default expand icon. #236 @kagd
    • ๐Ÿ’„ Support data-*ใ€aria-* attributes. #227 @kagd
    • ๐ŸŒŸ onCell added index prop. #222 @yoyo837
  • Select upgrade rc-select to 8.6.0
    • ๐ŸŒŸ Added removeIconใ€clearIconใ€menuItemSelectedIcon prop๏ผŒallow setting removeใ€clearใ€menuItemSelected custom icons. #12958 @kimochg
    • ๐ŸŒŸ Added dropdownRender prop that custom dropdown content. #10831
    • ๐ŸŒŸ Added loading prop that indicate loading state. #11225
  • ๐Ÿ’„ Added title prop that Menu.Item support tooltip title when collapsed. #12952
  • Cascader upgrade rc-calendar to 9.8.0
    • ๐ŸŒŸ Support multiple date format. #437 @onlyann
    • ๐ŸŒŸ showSearch added limit prop that support limit filtered item count. #13206
  • ๐ŸŒŸ Added Hungarian locale. #13026 @ilanus
  • ๐Ÿž Fix TextArea use resize observer to check textarea size. #13295
  • ๐Ÿž Fix Tabs renderTabBar style error when tabPosition is left or right. #13118
  • ๐Ÿž Fix Upload thumbnail icon broken styles. #13333

3.10.9

2018-11-24

  • ๐Ÿž Fix disabled Checkbox label cursor style. #13199 @walker27
  • ๐Ÿž Fix TimePicker input exceeds the boundary of container. #13194
  • ๐ŸŒŸ Adjust Table sort order from desc -> asc to asc -> desc. #13069 @OvestLabs
  • ๐Ÿž Fix Switch can be operated when loading. #13219 @jojoLockLock
  • ๐Ÿž Fix Carousel can not be interactive in fade mode. #13215
  • ๐Ÿž Fix DatePicker don't support tabIndex prop. #13265 @arifemrecelik
  • ๐Ÿž TreeSelect won't call loadData when searching to avoid lagging problem. #13245

3.10.8

2018-11-17

  • ๐Ÿž Fix pop-up menu background transparency.#13104
  • ๐Ÿž Fixed an issue where disabled Button does not full width in Popconfirm.#13119
  • ๐Ÿž Fixed an issue where Radio.Button in Radio.Group overridden Badge.#13132
  • ๐Ÿž Fixed a issue where RangePicker was not aligned in small mode.#13105
  • ๐Ÿž Fix the problem that the Dropdown font size affects the avatar.#13091
  • ๐Ÿž Fixed an issue where tabBarGutter could not work in vertical mode.#12968
  • ๐ŸŒŸ Adjusted the types of multiple typescript.

3.10.7

2018-11-11

  • ๐Ÿž Fix a Button line-height typo. 74aeace

3.10.6

2018-11-11

  • ๐Ÿž Reverted adee2f3 for fixing link button broken style, and changed another way to resolve #12978.

3.10.5

2018-11-09

  • ๐ŸŽ‰ Ant Design Landing released!
  • ๐Ÿ“– Published the new sketch resource of Ant Design.
  • Button
    • ๐Ÿž Fix the style of vertical align in small Button.Group. #12972
    • ๐Ÿž Fix the style of vertical align with href prop. #12978
  • ๐Ÿž Fix the incompatibility for Cascader[filedNames] after 3.7.0 version. #12970
  • ๐Ÿž Fix that the show date in pop-up layer should be reset when date value is not modified successfully for DatePicker. #12929
  • ๐Ÿž Fix the lose of type cross for Icon. #12970
  • ๐Ÿž Fix the incorrect mode for collapsed Menu. #2782 #2783 #2786
  • ๐Ÿž Fix the unnecessary reflow to avoid weird wave animation for Popover and Tooltip. #12942
  • Table
    • ๐Ÿž Fix the style of overflow when nested in other components. #13025
    • ๐Ÿž Fix the style of overlap between the overlong head content and sort icon. #12552 #12650
  • ๐Ÿž Fix the disappearance when nested in Popover and Popconfirm for Tooltip whose children is disabled. #13001
  • ๐Ÿž Fix the stuck problem when upload non-image file for Upload. #12948
  • ๐Ÿž Fix that DOM Object doesn't support property or method removeAttribute in IE and Edge. #2423
  • ๐Ÿž Remove the unnecessary wave animation for hidden elements. #12967

3.10.4

2018-11-03

  • ๐ŸŒŸ Support custom modal header style through less variable @modal-header-bg. #12914
  • ๐Ÿž Fixed mask style not working for Modal.method. #12688
  • ๐Ÿž Fixed Checkbox missing check mark inside table in IE 11. #12597
  • ๐Ÿž Fixed FormItem having different height with help info. #12803
  • ๐Ÿž Fixed Divider expands Popover card width under Chrome. #10914
  • ๐Ÿž Fixed Avatar content not aligned in Popover. #10917
  • Button
    • ๐Ÿž Fixed unable to find node on unmounted components error. #12843
    • ๐Ÿž Fixed icon margin style. 546c59a
  • Table
    • ๐Ÿž Fixed sorter issue when render function is present in column. #12870 #12737
    • ๐Ÿž Fixed fixed-columns border issue. #9687
  • TypeScript
    • ๐Ÿž Fixed Select onPopupScroll props definition. #12913
    • ๐Ÿž Fixed onFocus and onBlur missing in AutoComplete props. @muzea #12793;

3.10.3

2018-10-27

  • ๐ŸŒŸ Improve util function getScroll TypeScript definition. #12784 @ztplz
  • ๐Ÿž Fixed that Checkbox inside CheckboxGroup do not trigger onChange. #12642
  • ๐Ÿž Fixed Calendar month picker not correct when set with validRange. #12675
  • ๐Ÿž Fixed multiple Select drop-down bug when set dropdownMatchSelectWidth. #12816 @hengkx
  • ๐Ÿž Fixed Card title overflow bug. #12680
  • ๐Ÿž Fixed Form[inline] help and extra overlapped. #12725
  • Table
    • ๐ŸŒŸ Support custom Table filter backgrounds. #12775 @ivankravets
    • ๐Ÿž Adjust small table placeholder style. #12682
    • ๐Ÿž Fixed small size table header border missing in Firefox. #12840
    • ๐Ÿž Fixed checkbox align of small/middle size table. #12723

3.10.2

2018-10-23

  • ๐Ÿ“ Translated documentation patterns overview to English. #12637 @ilanus
  • ๐Ÿ›  Improve support vi_VN locale for DatePicker component. #12656 @hieuhlc
  • ๐Ÿž Fixed TimePicker style issue in IE11. #12707 jinyaqiao1102
  • ๐Ÿž Fixed Popconfirm defaultVisible. #12733
  • ๐Ÿž Fixed Table the border missing in Firefox. #12628
  • ๐Ÿž Add touch-action: none css on Slider to fix chrome warning. #12595
  • ๐Ÿž Fixed Tabs ink-bar vertical css. #12276
  • ๐Ÿž Fixed vertical align issue of empty Button. #12681
  • ๐Ÿž Fixed Calendar locale prop should have priority. #12706
  • ๐Ÿž Fixed Checkbox[checked] indeterminate style. #12724
  • ๐Ÿž Fixed prefixCls not passed to Popconfirm's button. #12677 @concefly
  • ๐Ÿž Fixed Edge ignoring pointer-events:none on Button's span. #12712 @dazbo
  • Progress
    • ๐Ÿž Fixed Progress strokeColor props not work. #12587 @lyhper
    • ๐Ÿž Fixed Progress[type="circle"] should wrap text. #12718
  • TypeScript
    • ๐Ÿž Fixed trexpandedKeys and onTreeExpand definition missing in TreeSelect. #12648 @decadef20
    • ๐Ÿž Fixed missed property key in TabPaneProps. 682af0d @ztplz
    • ๐Ÿž Fixed some definition of Icon. 3dbc357

3.10.1

2018-10-12

  • ๐ŸŽ‰ Ant Design Mobile of Angular(NG-ZORRO-Mobile) released!
  • ๐Ÿ“ Upgrade document Real project with dva to Real project with umi.
  • Table
    • ๐Ÿž Fixed clicking all columns will trigger sort behavior even without sorter props. #12515
    • ๐Ÿž Fixed extra "Sort" title hint of column. #12613
    • ๐Ÿž Fixed broken style of sort and right-aligned column. #12552
    • ๐Ÿž Fixed sort not working as expected when columns defined in render. #12571
    • ๐Ÿž Fixed sorted column background color of small size Table.
    • ๐Ÿž Fixed overlap style of Table row selection Checkbox in chrome. 5bef1aa
    • ๐Ÿž Fixed broken style of Table inside Form.Item. #12554
  • DatePicker
    • ๐Ÿž Tweak Italian locale. #12413 @yp
    • ๐Ÿž Fixed that picker does not get focused state after select date. #12475
    • ๐Ÿž Fixed calendar icon missing when use it in Input.Group. #12536
  • ๐Ÿž Fixed Anchor text edge cut problem. #12520
  • ๐Ÿž Fixed that Drawer still cover page even set mask={false}. #12401
  • ๐Ÿž Fixed disabled style missing of Input.TextArea when used as custom input in AutoComplete. #12594
  • ๐Ÿž Fixed Modal.confirm prefixCls prop not passing to mask element, and changed it's default value to ant-model-confirm. #12546
  • ๐Ÿž Fixed an align issue of Input.Group in safari. #12493
  • ๐Ÿž Fixed an align issue of standalone <Badge />. #12419
  • ๐Ÿž Fixed inconsistent arguments of onExpand when click Tree.DirectoryTree switch icon and tree node. #12567
  • ๐Ÿž Fixed hasFeedback icon unexpected focused state in IE11. #12524 @siyu77
  • ๐Ÿž Fixed multiple Select will trigger onFocus and onBlur repeatedly when click it multiple times. #12281 @Frezc
  • ๐Ÿž Fixed long text overflow issue of circle type Progress.
  • TypeScript
    • ๐Ÿž Fixed Steps labelPlacement definition. #12575 @yueyes
    • ๐Ÿž Fixed Select.Option style definition. #12609 @dimitropoulos
    • ๐Ÿž Fixed form.validateFields overload order problem. #12538 @TomIsion
    • ๐Ÿž Fixed AutoComponent onFocus onBlur definitions. #12498

3.10.0

2018-09-30

  • ๐ŸŒŸ Upload adds openFileDialogOnClick prop to allow setting whether to open the upload dialog when the component is clicked. #12347 @hengkx
  • ๐ŸŒŸ InputNumber adds decimalSeparator prop to allow setting a custom decimal. #12329 @amedora
  • ๐ŸŒŸ TreeSelect adds the treeExpandedKeys and onTreeExpand props to control the expansion of the tree. #12145
  • Transfer
    • ๐ŸŒŸ Adds disabled prop. #12066
  • Modal
    • ๐ŸŒŸ Adds autoFocusButton prop to allow specifying a button that automatically gets focus when Modal opens. #11756 @erwin-k
    • ๐ŸŒŸ confirm added okButtonProps and cancelButtonProps prop to allow setting custom props on buttons. #12425 @Whoaa512
  • Table
    • ๐ŸŒŸ column.title accepts function now. #11246
    • ๐ŸŒŸ onChange adds a new parameter extra to allow you getting filtered data. #12369
    • ๐ŸŒŸ Improve the sort and filter UX, You can now sort by clicking on the entire header. #12264
  • ๐ŸŒŸ Alert adds icon prop to allow setting a custom icon. Demo
  • ๐ŸŒŸ The following components add a suffixIcon prop, which is used to set the icon behind the input box. For details, please refer to the documentation.
    • Cascader
    • DatePicker
    • Select
    • TreeSelect
    • TimePicker
  • ๐ŸŒŸ Add some new less variables. f237eff
  • ๐Ÿž Fix Icon.createFromIconfontCN prepending https to the scriptUrl. #12316
  • ๐Ÿž Fix the issue with the gutter props of Row that doesn't work when using nested Col. #12320
  • ๐Ÿž Fix the issue where the Tree.DirectoryTree component could not properly expand the node when the 'expandedKeys` prop had initial values. #12396
  • ๐Ÿž Fix the issue when the render prop of the Transfer component returns a ReactNode, the title property of the list item shows an unexpected value. #12399
  • ๐Ÿž Fix Tooltip not working with CheckboxGroup. #12427
  • ๐Ÿž Fix the issue that Button can still be clicked in IE9 under loading state. #12466 @snail
  • ๐Ÿž Fix the issue with mouse hover when using non-Input components in Input.Group. #12407 @hengkx
  • ๐Ÿž Fix some TypeScript type definitions. #12374 #12370 #12354 #12473

3.9.3

2018-09-22

  • ๐Ÿž Fix Select render lag of long text in Chrome. #11456 #11843
  • ๐Ÿž Fix onOpenChange handler not being called in RangePicker for preset ranges. #12142@leijingdao
  • ๐Ÿž Fix parameter dontAnimate to goTo of Carousel, the parameter be used to closing animation transitions. #12205
  • ๐Ÿž Fix duplicated className for tabBar in Tabs. 589ba #12051
  • ๐Ÿž Fix the vertical alignment for the title of Card. #11036 #10576
  • ๐Ÿž Fix Item key unexpected change on List component. #12299@douglasjunior
  • ๐Ÿž Fix confirmFilter in Table does not refresh immediately. 954c7 #12284
  • Menu
    • ๐Ÿž Fix extra scrollbar when popup Menu in horizontal mode. #12152
    • ๐Ÿž Fix openKeys have higher priority in Menu. #12361 @tangjinzhou
  • Upload
    • ๐Ÿž Fix linkProps in Upload fileList to support json string format and can override rel, target, title and etc. efb23c
    • ๐Ÿž Fix deduplication of the same key when uploading multiple files in Upload. 273fdใ€#10953
  • Icon related
    • ๐Ÿž Fix Upload close icon style error. #12330 #12304
    • ๐Ÿž Fix Select add select clear icon. #12196 #12181
    • ๐Ÿž Fix Icon svg align. 0698c
    • ๐Ÿž Fix React.Children.only error when Icon contain children. c21ff
    • ๐Ÿž Fix Notification icon align when no description. e6579
    • ๐Ÿž Fix sorter icon align of Table. c935d
  • TypeScript
    • ๐Ÿž Fix Message miss return type of MessageApi. e82d7 #12137
    • ๐Ÿž Fix Tree onDrop type. e5827 #12269
    • ๐Ÿž Add TreeSelect missing argument extra in onChange event. #12243@jardicc

3.9.2

2018-09-08

  • ๐Ÿž Title of children Card under Card using tab-card has wrong padding. #12083
  • ๐Ÿž Fix AutoComplete using TextArea as input, height adjust by manual has time delay. #12117
  • ๐Ÿž Fix maskStyle under Drawer not working. #12125@ryerh
  • ๐ŸŒŸ Popconfirm can detect whether onVisibleChange is triggered by Ok or Cancel buttons. #8614
  • ๐Ÿž Fix something table header in Table using fixed header and columns display unnecessary scrollbar. #6515
  • ๐Ÿž Fix Spin using delay still render at first time. #12131
  • Icon related:
    • ๐Ÿž Fix Icon in popconfirm has wrong position. #12080
    • ๐Ÿž Add Icon missing icons. #121218
    • ๐Ÿž Fix Select don't have checked icon. #12054
    • ๐Ÿž Fix TreeSelect clear icon not same as previous versions. #12124

3.9.1

2018-09-03

  • ๐Ÿž Fixed the bug that Tooltip can not be triggered by Icon. #12005
  • ๐Ÿž Fixed the bug that InputNumber shows wrong UP icon. #12035
  • ๐Ÿž Fixed the bug that Modal shows no icon in error confirm. #12026
  • ๐Ÿž Fixed the bug that the icon is misaligned in Popconfirm. #12026
  • ๐Ÿž Fixed the but that the icons are misaligned in Card's Actions panel. #12016
  • ๐Ÿž Fixed that the icons in Form, Alert, TimePicker have wrong theme. #12016
  • ๐Ÿž Fixed that the icons are set to have 90deg rotation in the header property in Collapse. #12016
  • ๐Ÿž Fixed the issue that there are still old icons in some production environments. #12016 8b82f14
  • ๐Ÿž Fixed the bug that the new static method Icon.createFromIconFontCN({...}) doesn't work and gives a warning. #12013

3.9.0

2018-09-02

In September we brought an update for 3.9.0. There are many new features in 3.9.0, Ant Design is getting stronger and solider.

  • ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ In the 3.9.0 version, we redraw all the icons, adding two new categories, more than 90 new icons. And the bit adds a variety of styles to each icon. To this end, we have rewritten the Icon component, replaced the fontface icon with SVG, adding a number of features that allow us to quickly use new icons and styles.
    • ๐Ÿ’„ Replace the css font icon with the SVG icon, see more discussion about it.
    • ๐Ÿ’„ You can now render a two-color icon.
    • ๐Ÿ’„ We provide three theme of icons: outlined, filled, twoTone, default theme is outlined.
    • ๐ŸŒŸ Two new categories, Edit Icons and Data Icons, have been added.
    • ๐ŸŒŸ Add the theme attribute to set the theme style of the icon. #11971
    • ๐ŸŒŸ Added component attribute, you can externally pass a component to customize the control rendering result. #11322
    • ๐ŸŒŸ The twoToneColor property is added to control the theme color of the two-color icon. #11971
    • ๐ŸŒŸ Added static methods Icon.getTowToneColor() and Icon.setTwoToneColor(...) to globally get and set the theme color of all two-color icons. #11971
    • ๐ŸŒŸ The new static method Icon.createFromIconfontCN({...}) is added to make it easier to use icons hosted on iconfont.cn. For more usage, please refer to Ant Design Pro - Introduction to Business Icons. #11322
  • ๐Ÿ”ฅ Added a new component Skeleton.
  • ๐Ÿ”ฅ Menu will automatically close up to fit width in horizontal mode.
  • ๐Ÿ”ฅ The placement of the drawer supports top and bottom to accommodate more scenes.

In addition, our Ant Design Pro 2.0.0 version has also been released simultaneously, please see here for details.

Bugfix/Feature๏ผš

  • ๐ŸŒŸ Added Modal.open for optional icon dialog. #11982 @hsiehjack
  • ๐ŸŒŸ Modal.info adds the configuration of getContainer. #11377
  • ๐ŸŒŸ Improve RangePicker footer UI by merging them.
  • ๐ŸŒŸ The Anchor component adds onClick property. #11898
  • ๐ŸŒŸ The Tab component adds the renderTabBar property. #11856
  • ๐ŸŒŸ The Input component adds the select method. #11906
  • ๐ŸŒŸ Steps adds the initial attribute. #11180
  • ๐Ÿž Fixed Steps dot style broken.
  • ๐Ÿž Fixed an issue where setting fontSize in the headStyle of the Card does not work. #11995
  • ๐Ÿž Fixed an issue where the Button component wave animation was mix up. #11985
  • ๐Ÿž Fixed an issue where the Modal.confirm setting centered attribute didn't work. #11969
  • ๐Ÿž Fixed an issue where setting the suffix and prefix of the second Input in the compact mode of Input.Group would cause the right border to disappear. #11965
  • ๐Ÿž Fixed an issue where Upload components might cause misplaced images when uploading many images. #11183
  • ๐Ÿž Fixed MonthPicker renderExtraFooter not working. #8184

3.8.4

2018-08-27

  • ๐Ÿž Fixed an issue where the Tag component would cause a line break after deleting the tag.
  • ๐Ÿž Fixed Failed to execute 'removeChild' on 'Node' error when click Switch.

3.8.3

2018-08-26

  • ๐Ÿ“– Rewrite the documentation of Customize Theme and provider instruction for major Less variables. 6fd5e9 53dd82
  • ๐Ÿž Fix the zoom animation style for Badge. #11870
  • ๐Ÿž Fix the abnormal width in IE and Edge for Cascader. #11857
  • ๐Ÿž Fix the blurry style in Windows Chrome for Checkbox. #11797
  • ๐Ÿž Fix that style prop is not effective for DatePicker.WeekPicker. #11738
  • ๐Ÿž Fix the flash style for Drawer. #11813
  • ๐Ÿž Fix the border style for compact Input.Group with prefix or suffix. #11863
  • Menu
    • ๐Ÿž Fix the gap style between SubMenu and that Menu disappears when hovering over the tap. #11725
    • ๐Ÿž Fix the displayed error when ItemGroup wraps the first SubMenu and the Menu is collapsed. a52370 @ohhoney1
  • ๐Ÿž Fix that overlong description is cut off for Steps. #11864
  • ๐Ÿž Fix that the word maybe break in overlong title for Tooltip. #11722
  • ๐Ÿž Fix that custom prop of TreeNode cannot be accepted for Tree. #11423
  • ๐Ÿž Fix the effective area for Upload.Dragger. #11869

3.8.2

2018-8-18

  • ๐Ÿž Fixed Tag still visible when initially setting visible prop to false. #11757
  • ๐Ÿž Fixed Modal text got selected when opened by double click. #11777
  • ๐Ÿž Fixed style of Rate component while getting clicked. #11736
  • ๐Ÿž Fixed style of Badge component when its children is display:block. #84119d8
  • Drawer
    • ๐Ÿž Fixed Drawer not compatible with IE10 and IE9. #11583
    • ๐Ÿž Fixed Drawer not being able to be scrolled vertically on mobile device. #11443
  • TypeScript
    • ๐Ÿž Fixed selectable prop is missing in TreeNode props. #11604 @apieceofbart
    • ๐Ÿž Fixed autosize prop is missing in Input props. #11697

3.8.1

2018-08-12

  • ๐Ÿž Fixed TimePicker unexpected long width. 80f8267
  • ๐Ÿž Fixed Tabs that focusable element in inactive panel cause tabs disappear. #11261
  • ๐Ÿž Fixed Badge offset x y axis order error. #11648 @tangjinzhou
  • Upload
    • ๐Ÿž Fixed delete button missing in Upload. #10454
    • ๐Ÿž Fixed Upload thumbnail which url has no extension. #11684 @elantion
  • ๐Ÿž Fixed Anchor with affix=true doesn't work inside inner scrollable. #11688 @vitaliymaz
  • ๐Ÿž Fixed card width in List.Grid. !11712
  • ๐Ÿž Fixed Radio align problem in safari. 754a22c
  • ๐Ÿ’„ Apply wave click animation to components Switch, Radio.Button and Tag. 9cf6ae6
  • TypeScript
  • ๐Ÿ’„ Migrate to new lifecycle methods, include components TimePicker, Upload, CheckboxGroup, Layout.Sider, Tooltip, Popconfirm. #11666 @dancerphil #11682 @dancerphil

3.8.0

2018-08-05

Thanks to 24 contributors who send pull request to 3.8.0!

  • ๐Ÿ’„ Support TypeScript 3 and improve lots of definitions.
  • ๐Ÿ’„ Use tabular-nums font variant instead of monospaced numeric font family Tahoma. #11567 @tibdex
  • ๐ŸŒŸ Timeline support mode="left|right|alternate" now. #11490 @jrvboesch
  • ๐ŸŒŸ Button added block prop which allow to fit parent container. #11500 @ilanus
  • Tree
    • ๐Ÿ’„ Better accessibility support.
    • ๐Ÿž Fixed that some tree nodes disappear after dragged. #11492
    • ๐Ÿž Fixed a vertical align style issue of draggable tree. #11458
  • Table
  • Avatar
  • ๐ŸŒŸ Card added headStyle prop. #11407 @emersonlaurentino
  • ๐Ÿž Fixed that Tooltip not working with DatePicker. #11451 @yociduo
  • ๐Ÿž Fixed that Tooltip not working with Input.Group. #11532 @yociduo
  • ๐Ÿž Fixed that DatePicker time panel text jumping when hovering. #11460
  • ๐Ÿž Fixed Tabs display issue when switch focus elements between panels. #11261
  • Select
    • ๐Ÿ’„ Support data-* attributes.
    • ๐Ÿž Fixed that selected item don't display correct position in dropdown menu items. #11268
  • ๐ŸŒŸ Calendar added onChange prop. #11476 @tangjinzhou
  • ๐ŸŒŸ Popconfirm added icon prop. #11191 @nuintun
  • Modal
    • ๐ŸŒŸ Added centered prop to set vertical center position of modal. #11537 @yoyo837
    • ๐Ÿž Fixed that closing all modals when pressing ESC once, now they will be closed one by one. #11394 @yoyo837
    • ๐Ÿž Fixed issue resulting title of Modal.confirm shows scrollbar again. #11568 @cheshireoctopus
  • ๐ŸŒŸ Progress added strokeLinecap to customize shape of edge. #11547 @blatinier
  • ๐ŸŒŸ Drawer added className and deprecated wrapClassName. #11609 @fergiar

3.7.3

2018-07-28

  • ๐Ÿž Fix issue resulting in title not vertical align with icon when setting labelPlacement to vertical in Steps. #11426 @yoyo837
  • ๐Ÿž Fix issue resulting in the children field specified in fieldName could not be read correctly in Cascader. #11311 @405go
  • TypeScript

3.7.2

2018-07-25

  • DatePicker
    • ๐Ÿž Fix issue resulting in year and month can not be changed in control mode. b9992f4
    • ๐Ÿž Fix warning of getDerivedStateFromProp. #11398 @yoyo837
  • Drawer
    • ๐Ÿž Fix close animation when setting destroyOnClose. #11307
    • ๐Ÿž Fix display issue when using a vw value as width. #11326
    • ๐Ÿž Fix wrapClassName now working.
  • ๐Ÿž Fix text overflow of Tooltip. #11402 @weidapao
  • ๐Ÿž Fix style issue of dark theme Menu in Layout.Header. #11400 @hongxuWei
  • ๐Ÿž Fix the arrow buttons of InputNumber showing wrong position in a fixed table. #11408
  • ๐Ÿž Fix issue resulting in Select.Option shows wrong border radius in Select.OptGroup. 6cb6f5c
  • ๐Ÿž Fix issue resulting in onChange was trigged twice when click the filter icon of Table. #11164 @adybionka
  • ๐Ÿž Fix issue resulting title of Modal.confirm shows scrollbar on Firefox. #11432
  • TypeScript

3.7.1

2018-07-21

  • ๐Ÿž Fix popup content can't display in Drawer component.#11304
  • ๐Ÿž Card using tabList support disabled prop.#11212
  • ๐Ÿž Fix Link of Anchor not sync when href update.#11287 @tangjinzhou
  • ๐Ÿž Fix Menu component style.#11299
  • ๐Ÿž Fix Drawer component don't have animation when destroyOnClose is set.#11307
  • ๐Ÿž Fix DirectoryTree can't expand when expandedKeys is in control.#11366
  • ๐Ÿž Fix Button with Tooltip under ButtonGroup style issue when Button is disabled.11321 @tangjinzhou

3.7.0

3.7.0 is a heavy update that brings a lot of exciting changes and new features. Here are some highlights โœจ:

  • ๐ŸŒŸ Add drawer component : Drawer. #10791
  • ๐ŸŒŸ Add Tree.DirectoryTree component as the built-in directory tree. #7749

Component Fixes / Enhancements:

  • Upgrade rc-tree-select to 2.0.5 for TreeSelect, refactored to fix the logic of the check.
    • ๐ŸŒŸ Add autoClearSearchValue prop to clear the value of search input when multiple select is selected or deselected. 10996
    • ๐ŸŒŸ Add searchValue prop to set the value of search input. 6ff7dd8
    • ๐ŸŒŸ Add maxTagCount prop to set the max count of visible tags. fb96c9d
    • ๐ŸŒŸ Add maxTagPlaceholder prop to set the content when the tag is hidden. fb96c9d
    • ๐ŸŒŸ Search input now supports case sensitive search. #10990
    • ๐Ÿ—‘ Remove label prop and use title prop instead in the treeData.
  • Upgrade rc-upload to 2.5.0 for Upload.
    • ๐ŸŒŸ Add directory prop to support folder uploading. #7315
    • ๐ŸŒŸ action prop supports to be the a function which returns a Promise object. fd96967
  • Dropdown
    • ๐ŸŒŸ Provide default margin for icon in the menu item. 8e60a59
    • ๐ŸŒŸ Be able to adjust the menu position for the trigger mode of contextMenu automatically. 16e4260
  • Upgrade rc-table to 6.2.2 for Table. f2fddff
    • ๐ŸŒŸ Add expanded as the fourth param of expandedRowRender prop to get the expanded state of current row. #10379
    • ๐ŸŒŸ Add the ability to override the filter menu without the fully controlled component. 59cc3a8 @chrvadala
    • ๐ŸŒŸ filterIcon prop supports to be a render function which returns ReactNode. 1af4392
    • ๐Ÿž Fix the row dislocation problem when the column is fixed. #10392
  • ๐ŸŒŸ Allow to pass data-*, aria-* and role-* props to the inner for Alert. f0b684d
  • ๐ŸŒŸ Add alt prop for Avatar to set the text when the image is unable to display. #10798
  • ๐ŸŒŸ Allow to pass data-*, aria-* and role-* props to the inner Input for DatePicker. e63f9d4
  • ๐ŸŒŸ Add event object as the second param of onSearch prop for Input.Search. #11015
  • ๐ŸŒŸ Add onBreakPoint prop for Layout.Sider to be the callback function when breakpoint is triggered. #10750 @nuintun
  • ๐ŸŒŸ Add okButtonProps prop to set the props of ok button and add cancelButtonProps prop to set the props of cancel button for Modal. #10955 @djyde
  • ๐ŸŒŸ Add strokeColor prop to set the color of progress bar for Progress. #10725
  • ๐ŸŒŸ Add buttonStyle prop whose optional value is outline or solid to set the Radio.Group style. 60e3cfa
  • ๐ŸŒŸ Add setDefaultIndicator static function to set global indicator for Spin. #10787
  • ๐ŸŒŸ Add visible prop to set the visibility for Tag. 4ac0277
  • Upgrade rc-tree to 1.12.0 for Tree
    • ๐ŸŒŸ Add loadedKeys prop to set the loaded nodes, which usually works with loadData prop. #10666
    • ๐ŸŒŸ Add onLoad prop to be the callback function when all the nodes are loaded. c488aca
  • ๐Ÿ—‘ Deprecate combobox value for Select[mode] and please replace it with AutoComplete. 53046a4
  • ๐Ÿž Cascader adds fieldNames and discards the misspelled filedNames. #10896
  • ๐Ÿž Fix Timeline dot not working with Tooltip. 0e3b67e
  • ๐Ÿž Fix border radius when avatar has custom size. e1e6523
  • ๐ŸŒŸ Add okButtonDisabled and cancelButtonDisabled props to disable ok button and cancel button. #10955

3.6.6

2018-07-07

  • ๐Ÿž Fix the style of the selected day for DatePicker. #6146 #9529
  • ๐Ÿž Fix the style of the selected day for DatePicker.RangePicker. 004561b
  • ๐Ÿž Fix the alignment style wrapped by Form.Item for Cascader. #9827 #11133
  • ๐Ÿž Fix the background style of the handler for InputNumber. 4aabc53
  • ๐Ÿž Fix the header overflow in FireFox when the data is empty for Table. #11135

3.6.5

2018-07-02

  • ๐Ÿž Fixed wired Transfer repaint problem in IE or Edge. #9697
  • ๐Ÿž Fixed Card background overflow when zoom in chrome. #9085
  • TypeScript
    • ๐Ÿž Fixed Table incompatible type size. bf5b6ae1
    • ๐Ÿž Fixed Select missing showArrow option in types. cde2a6b6
  • ๐Ÿž Add custom local support in Pagination. babbbdd4
  • ๐Ÿž Move max-width to ant-tooltip, so that it can be override by overlayStyle.maxWidth. e2b359e9
  • ๐Ÿž Adjust Select mirror style to avoid to long string. #11035

3.6.4

2018-06-23

  • ๐Ÿž Fixed Steps theme @process-icon-color. #10973
  • ๐Ÿž Fixed style of RangePicker with preset ranges. #10986
  • ๐Ÿž Fixed Dropdown non-boolean attribute warning. #7798
  • TypeScript
    • ๐ŸŒŸ Add Tree prop className definition. #10950
    • ๐ŸŒŸ Add Tree prop selectable definition. 3fb478e

3.6.3

2018-06-17

  • ๐Ÿž Fixed that capitalized extension of Upload image url couldn't be recognized. #10928 @sliwey
  • ๐Ÿž Fixed missing border of InputNumber when browser is zoomed in. #10562
  • ๐Ÿž Fixed that fixed element inside Spin cannot be fixed. #10196
  • ๐Ÿž Fixed broken border style of small table. #9754
  • ๐Ÿž Fixed missing className prop of Table's filterIcon. #10937
  • ๐Ÿž Fixed that Affix offsetTop and offsetBottom cannot be updated. #10874
  • TypeScript
    • ๐Ÿž Fixed TreeSelect TS2339 error. #10868
    • ๐ŸŒŸ Added Form arguments definitions of validateMessages and onFieldsChange.
    • ๐ŸŒŸ Improved Button prop definitions. #10877 @zheeeng
    • ๐ŸŒŸ Added backfill prop for AutoComplete. #10909 @zhanba

3.6.2

2018-06-09

  • ๐Ÿž Fix the wrong status of check all checkbox in Table when data change. #10629
  • ๐Ÿž Fix border style of Button.Group.
  • ๐Ÿž Fix file list being reversed when beforeUpload returns false in Upload component. #10681
  • ๐Ÿž Fix overflow of cell content in Calendar. #10808 @Yangzhedi
  • ๐Ÿž Fix the processing color of Badge not follows the primary-color.
  • Spin
    • ๐Ÿž Fix custom icon does not follow the value of size. #10786
    • ๐Ÿž Fix no delay issue when sets spinning to true as default.#10727 @dreamerblue
  • TypeScript
    • ๐Ÿž Fix Menu type definition. #10773
    • ๐Ÿž Fix AutoComplete type definition. #10745 #10619
    • ๐Ÿž Fix Tree type definition. #10841 @Voronar
    • ๐Ÿž Fix Checkbox.Group definition. #10677

3.6.0

2018-06-02

  • ๐ŸŒŸ Form's error message now can be customized with ReactNode. #10136 @lovekonakona
  • ๐ŸŒŸ List support customized configuration for position of pagination. #10581 @zheeeng
  • ๐ŸŒŸ Layout.Sider now can be configured with light or dark theme. #10142 @pd4d10
  • ๐ŸŒŸ Ant Design official site now supports offline mode. #10625
  • ๐ŸŒŸ Transfer adding style and operationStyle props for further customization. @eduludi
  • ๐ŸŒŸ Message adds a promisfied interface to handle callback. #10421 @zhujinxuan
  • ๐Ÿž Fix compilation issue with [email protected] . #10729 @karol-majewski
  • ๐Ÿž Fix a bug in Menu where outer menu item not highlighting while inner item is selected. #8666 @stonehank
  • ๐Ÿž Affix offsetBottom not working. #10674

3.5.4

2018-05-26

  • ๐Ÿž Fix showSearch on Cascader not working.968488a2
  • ๐Ÿž Badge[status] support Tooltip.#10626
  • ๐Ÿž Fix text-align on parent element affects Spin.#10643 @wmzhong
  • ๐Ÿ’„ Table break line style change from break-all to break-word.#10655 @clinyong
  • ๐ŸŒŸ When Search not define enterButton, click search icon will trigger onSearch. 36ffe7e1

3.5.3

2018-05-20

  • ๐Ÿž Fix Affix with offsetTop === 0, value becomes undefined problem #10566
  • ๐Ÿž Fixed issue with shaded Input.Group component shadows#10230
  • ๐Ÿž Fixed issue where the Transfer component checkbox event fired twice #10480
  • ๐Ÿ’„ Unifying the name of the variable 12d3046
  • ๐Ÿ’„ Fine-tuned the style of Dropdown 8e2f72f
  • ๐Ÿ’„ The components of the Chinese document will now be demonstrated using Chinese language packages. 9b17a94
  • ๐Ÿ’„ The main theme switch was changed to antd-theme-generato, thanks to the work of @mzohaibqc.
  • TypeScript
    • ๐Ÿž Fixed an issue with the type of gutter attribute in Row b7d508e
    • ๐Ÿ’„ Improved the Form component type #10564
    • ๐Ÿ’„ Improved the Button and Tag types1ed9fed

3.5.2

2018-05-13

  • ๐Ÿž Fixed Table filter doesn't work when click checkbox. #10452
  • ๐Ÿž Fixed Cascader displayRender z-index issue. #10433
  • ๐Ÿž Fixed Button Types of property 'ref' are incompatible. #10405
  • ๐Ÿž Fixed the height of Form item when checks position is dithered. #10445
  • ๐ŸŒŸ Allow to use any CSS units for Layout width. #10479

3.5.1

2018-05-09

  • ๐Ÿž Fixed broken style of Input.Group under Form. #10371
  • ๐Ÿž Fixed overlay style of Select. #10383
  • ๐Ÿž Remove focused style of Collapse.
  • ๐Ÿž Remove unnecessary z-index of Input.Group and Checkbox. #9840 #10385
  • ๐Ÿž Fixed that monospaced font family can't be bold.
  • Table
    • ๐Ÿ’„ Rewrote the editable table demo. #10119
    • ๐Ÿž Fixed that table column overlay each other. #9822
  • TypeScript

3.5.0

2018-05-04

3.4.5

2018-05-03

  • ๐Ÿž Fix file object is empty and file name not showing in Upload. #10319

3.4.4

2018-04-28

  • ๐Ÿž Fix that Upload file inonChange({ file }) is not a File instance introduced in 3.4.2. #10293
  • ๐Ÿž Fix style lose bug when use tree shaking in webpack@4. #10217 @whtsky

3.4.3

2018-04-23

3.4.2

2018-04-22

  • ๐Ÿ’„ Deployed site by netlify to avoid blocking by GFW.
  • ๐Ÿž Fix TypeScript definitions of Menu, Tooltip, Card, Anchor, Avatar, Form, Tabs, Transfer, Tree, AutoComplete and etc.
  • ๐Ÿ’„ Added sideEffects to package.json for better Tree-Shaking. #10043 @Aladdin-ADD
  • List
  • ๐Ÿž Fix wrong preview image of Upload list when file.url contains url params. #10102
  • ๐Ÿž Fix Progress when percent is out of range. 0eb8357
  • Menu
    • ๐Ÿž Fix arrow style of disabled SubMenu. #10113
    • ๐Ÿž Fix that menu width is wrong when collapsedWidth is assigned as px string like 40px. #10140
  • ๐Ÿž Fix that sometimes controlled input in Form cannot be edited. #9790
  • ๐Ÿž Fix padding jumping issue of loading Card. #10052 @zheeeng
  • ๐Ÿž Fix that Avatar's fallback text don't scale as the text avatar does. #10184
  • ๐Ÿž Fix Table getCheckboxProps cannot be updated as expected. #10133
  • ๐Ÿž Fix CheckboxGroup prefixCls prop not passed to Checkbox. #9950

3.4.1

2018-04-08

  • ๐Ÿž Fix TypeScript type error caused by code error of Badge. #9931
  • ๐Ÿ’„ Improve clicking region of Card actions. #9882
  • ๐Ÿž Fix Divider style issue when used with float elements. #9956
  • ๐Ÿž Fix style issue of Form in advanced-search mode. #9907
  • ๐Ÿž Add onHeaderRow TypeScript type definitions for Table. #9902 @Nokecy
  • ๐Ÿ’„ Improve the customized-icon demo of Tree. #9893
  • ๐Ÿž Fix image url display with non-image extension in Upload. #9936

3.4.0

2018-04-01

  • Tree
    • ๐Ÿ›  In this version, we refactored the underlying code of Tree to resolve some long living issues.
    • ๐ŸŒŸ Added defaultExpandParent for expanding parent at first render.
    • ๐ŸŒŸ Added disabled for disabling the whole tree.
    • ๐ŸŒŸ Added TreeNode[icon] to allow setting custom node icon.
    • ๐ŸŒŸ Improved the check logic for disabled TreeNode.
  • ๐ŸŒŸ Anchor added getContainer for setting the container of scroll content.
  • ๐ŸŒŸ Table added a new less variable @table-expanded-row-bg. #9789
  • ๐Ÿž Fixed a less syntax error. #9832 @jojoLockLock
  • ๐Ÿž Fixed moment.locale invoking error in LocaleProvider. #9853
  • ๐Ÿž Fixed issue resulting in style of WeekPicker not works. #9848
  • ๐Ÿž Fixed type definition of Layout.Sider. #9885 @zachguo
  • ๐Ÿ’„ Improved style of Modal for long contents. #9592
  • ๐ŸŒŸ Added new locale Slovenian.

3.3.3

2018-03-25

  • Revert Upload file type change in previous version which causes breaking change.

3.3.2

2018-03-24

  • ๐Ÿž Carousel: Upgrade react-slick version to fix width calculation. #3659
  • ๐Ÿ’„ Rate: Adjust disabled style. #9747
  • ๐Ÿ’„ Modal: Adjust confirm-modal style to fix display issue when content use grid layout. #9374
  • ๐Ÿ’„ Menu: Adjust style to fix mouse trigger event region. #9666 @dgeibi
  • ๐Ÿž Upload: Fix type of file on beforeUpload function. #9775
  • ๐Ÿž Button: Fix two-chinese-words space not re-calculate when text changed. 4502ad8

3.3.1

2018-03-18

  • ๐Ÿ’„ Tweak danger button focus style.
  • ๐Ÿž Fix a show error when the value of enterButton is a button element. #9639
  • ๐Ÿž Fix missing key of column.title in Table .#9658 @terence55
  • ๐Ÿž Fix scroll: { x: true } not working if .ant-table-scroll table width is auto. #9704
  • ๐Ÿž Fix when the helper message disappears, the input box will shake. #8831
  • ๐Ÿž Fix isMoment call in TimePicker will report error in parcel. 85c78e4
  • ๐Ÿž Tweak Table border radius. #9674

3.3.0

2018-03-12

  • ๐ŸŒŸ Add afterClose prop for Alert to achieve smooth unmount. #9448 @Hughen
  • ๐ŸŒŸ Add validRange prop for Calendar to set the date range. 71f65a0 @Rohanhacker
  • ๐ŸŒŸ Add defaultActiveTabKey prop for Card to initial TabPane's active key. 30fe88d @u3u
  • DatePicker
    • ๐ŸŒŸ Add dropdownClassName prop to set the className of popup calendar. #7211
    • ๐Ÿž Fix the error of resolving moment object. #9539
    • ๐Ÿž Fix incorrect import of turkish(tr_TR) locale file. #9373
  • ๐ŸŒŸ Add orientation prop for Divider to set the alignment of text in divider. #9275 @jrvboesch
  • ๐ŸŒŸ Add keyboard prop for Modal to set whether Modal could be closed by Esc key. #8818
  • ๐ŸŒŸ Improve the TypeScript definition of event param in onChange prop for Radio and Checkbox. #9574
  • Table
    • ๐ŸŒŸ Add position prop in pagination prop to set the position of pagination. #9357 @kanweiwei
    • ๐ŸŒŸ Add event param of onSelect prop in rowSelection prop. #9376 @kanweiwei
    • ๐ŸŒŸ Add columnWidth prop in rowSelection prop to set the column width of selection. #9474 @SimpleFrontend
    • ๐Ÿž Fix border radius issue in Chrome for Table. af8e54f
  • ๐ŸŒŸ Add pendingDot prop for Timeline to set icon of ghost node. #9546 @SimpleFrontend
  • ๐ŸŒŸ Add inputReadOnly prop for TimePicker to set if it's read only. 4a69446 @JesperWe
  • ๐ŸŒŸ Add dropdownClassName prop for TreeSelect. 69b154f 56e4ce0
  • ๐ŸŒŸ Improve the preview for Upload when uploading the file of non-image format. #9621 @zswang
  • ๐Ÿž Fix successPercent prop that cannot decide the success status for Progress. #9382
  • ๐Ÿž Fix font size for Tabs. #9509
  • ๐Ÿž Fix that disabled parent node cannot spread for Tree and TreeSelect. #9539

3.2.3

2018-03-02

  • ๐Ÿž Fix props onPopupScroll ts define in Select. #9475 @twobin
  • ๐Ÿž Fix Table filter dropdown menu popup container. #9209
  • ๐Ÿž Fix Timeline head custom style error in chrome. #9429 @vthinkxie
  • ๐Ÿž Fix Select dropdown border. 82092c1
  • ๐Ÿž Fix compatibility with less 3. #7850
  • ๐Ÿž Fix DatePicker.WeekPicker year. #9463
  • ๐Ÿž Fix Button.Group align issue in chrome. #9457

3.2.2

2018-02-24

  • ๐ŸŒŸ Add font-family variable for Pagination. #9351
  • ๐ŸŒŸ Add font-weight variable for Badge. #9352
  • ๐Ÿž Fix table custom spin indicator. #9355
  • ๐Ÿž Fix Form.create. #9331
  • ๐Ÿž Revert typescript definition of column.dataIndex. #9393
  • ๐Ÿž Fix last menu item in Sider could be blocked by collapse trigger. #9398 @MJ111
  • ๐Ÿž Fix badge works wrong in dot mode. #9359 @khayalan-mathew

3.2.1

2018-02-11

  • ๐ŸŒŸ Add icons of some famous products. c04377e5
  • Mention
    • ๐ŸŒŸ multiLines mode will support autosize.
    • ๐Ÿž Fix paste not working when placeholder is specified. #9215
  • Table
    • ๐Ÿž Fix padding of middle size table. #9319
    • ๐Ÿž Fix border bug of small size table. #8980
    • ๐Ÿž Fix overflow issue of sort icon interactive area. #8979
    • ๐ŸŒŸ Improve typescript definition of column.dataIndex. #9298 @clinyong
  • Select
    • ๐Ÿž Fix wrong scroll position when navigating active item with keyboard. #9276
    • ๐Ÿž Fix arrow position in IE11.
  • ๐Ÿž Fix issue that file item showing uploading when Upload beforeUpload return false. #8020
  • ๐Ÿž Fix misplace of feedback icon of vertical layout Form. #9153
  • ๐Ÿž Fix loading style missing of empty children Card. #9258
  • ๐Ÿž Fix background color of Avatar when image source is not existed. #9278 @andriijas
  • ๐Ÿž Fix RangePicker Cannot read property 'locale' of undefined error when select end date. #9267
  • ๐Ÿž Fix style problem when using disabled button with Tooltip inside ButtonGroup. #9296 #9296
  • ๐Ÿž Fix z-index of Dropdown's submenu. #9218

3.2.0

2018-02-04

  • ๐ŸŒŸ Add new tabBarGutter prop to Tab to allow setting gutter between tabs. #8644 @lixiaoyang1992
  • ๐ŸŒŸ Add new hasSider prop to Layout to avoid render error when server rendering. #8937
  • ๐ŸŒŸ Add new successPercent to Progress to allow showing two phases. Demo
  • ๐ŸŒŸ Add new iconType prop to Alert to allow setting icon type. #8811 @minwe
  • ๐ŸŒŸ Add id prop to DatePicker. #8598 @mgrdevport
  • ๐ŸŒŸ Add new forceRender prop to Collapse to allow rendering hide panel. #9192 #Pyroboomka @paulcmason
  • RangePicker
    • ๐ŸŒŸ Improve ranges prop to allow passing function to it. #8281
    • ๐Ÿž Fix issue resulting in can not input start date manually. #6999
    • ๐Ÿž Fix issue resulting date panel being closed without animation when click on the preset range. #6364
    • ๐Ÿž Fix issue resulting onOk is not being trigged, when click on the preset range. #7747
  • Select
    • ๐ŸŒŸ Improve onChange, onDeselect, they will receive selected Option as second parameter.
    • ๐Ÿž Fix issue resulting in onSelect is not trigged when using automatic tokenization. #9094
    • ๐Ÿž Fix the missing scrollbar in Chrome.
  • ๐ŸŒŸ Improve Table's rowSelection[getCheckboxProps] prop, now the all the properties returned by getCheckboxProps will be passed to checkbox. #9054 @mgrdevport
  • ๐Ÿž Fix issue resulting in Calendar's mode not being allowed to be changed from outside. #9243 @mgrdevport
  • ๐Ÿž Fix issue resulting AutoComplete showing wrong border when showing validation message.9f2b490
  • ๐Ÿž Fix issue resulting in DatePicker showing wrong time in the control mode. #8885
  • ๐Ÿž Fix issue resulting in TextArea showing wrong height in Edge. #9108 @cuyl
  • ๐Ÿž Fix issue resulting in Tabs showing wrong tab style when using type="card" combine with tabPosition="bottom". #9165 @ryanhoho
  • ๐ŸŒŸ Add new Kurdish locale.

3.1.6

2018-01-28

  • ๐Ÿž Revert #9141 since it causes year and month can not be selected in DatePicker.

3.1.5

2018-01-27

  • ๐Ÿž Fix Select Options were disappeared when click the scrollbar in IE11. #7934 @tianlang89757
  • ๐Ÿž Fix Form getFieldDecorator referenced item will conflicted when using the same id. #9103 #7351
  • ๐Ÿž Fix RangePicker i18n issue which will shown the last language when change the language. #8970
  • ๐Ÿž Fix DatePicker shown wrong in the control mode. #8885
  • ๐Ÿž Fix Table shown emptyText when loading state. #9095 @sallen450
  • ๐Ÿž Add Icon file-word. #9092 #9061
  • ๐Ÿž Fix wrong font family. commit/506f97
  • ๐Ÿ“– Add some TypeScript type definitions
  • ๐ŸŒŸ Optimize Avatar default background color. commit/275946
  • ๐ŸŒŸ Add the less variable for Slider and Menu. pull/9065 pull/9115 @mrgeorgegray

3.1.4

2018-01-21

  • ๐Ÿž Fix ButtonGroup z-index issue. #9014
  • ๐Ÿž Fix Dropdown.Button can not be fully disabled. #8991 @sallen450
  • ๐Ÿž Fix Layout error responsive docs. #8995 @ReedSun
  • ๐Ÿž Fix List grid do not support xxl. #9019
  • ๐Ÿž Fix RangePicker can not cancel selected start date when the panel is closed. #8839
  • ๐Ÿž Fix Tabs error margin. commit/200d6c
  • ๐Ÿž Fix WeekPicker shows error weeks. #9021
  • ๐Ÿž Fix some TypeScript type definitions.
  • ๐ŸŒŸ Add some new less variables.
  • ๐ŸŒŸ Add aliyun icon.

3.1.3

2018-01-14

  • ๐Ÿž Fix error when passing null locale to LocaleProvider.

3.1.2

2018-01-13

  • ๐Ÿž Fix Button can not display 0. #8733 @Cuihongsen
  • ๐Ÿž Fix extra scrollbar in Table and List caused by Spin. #8799
  • ๐Ÿž Fix can not pass function to Table[emptyText]. #8871
  • ๐Ÿž Fix now working Dropdown[transitionName].
  • ๐Ÿž Fix issue resulting in font changes when enter number in Input.#8636
  • ๐Ÿž Fix issue resulting in wrong locale text when import multiple locale files. #8785
  • ๐Ÿž Fix locales in dist/antd-with-locales.js has a extra default key. #8881
  • ๐Ÿž Fix some TypeScript type definitions. 4cc29bc 693e734 67e956d ecd4177 33119ec 88e0c9b
  • ๐ŸŒŸ Add some new less variables b9b5aba 5931b20 c9d7397
  • ๐ŸŒŸ Optimize Chinese quotes displaying.

3.1.1

2018-01-08

  • ๐Ÿ“– Published the new site and design guideline.
  • ๐Ÿ“– Updated the guideline of real project with dva to roadhog 2.0. 5dcf1c0
  • ๐Ÿ“– Published the new sketch resource of Ant Design 3.0. 22dfe88
  • ๐Ÿž Fix contextMenu event for trigger prop in the TypeScript definition of Dropdown. #8646 @cjahv
  • ๐Ÿž Fix HOC in Button not inserted space between Chinese words.
  • ๐Ÿž Fix the style compatibility in IE 11 for List Component. #8784
  • ๐Ÿž Fix notFoundContent prop not working for Select Component. #8809
  • ๐Ÿž Fix the warning for BackTop Component in React 16. #8848
  • ๐Ÿž Fix unexpected scrollbar for List Component when setting gutter. #8799
  • ๐Ÿž Fix to support complete href link for Anchor.Link Component. #8808
  • ๐ŸŒŸ Optimize the font family of Chinese quote. c6fcc31

3.1.0

2017-12-29

Happy 2018 !~ 2018 2018 2018 coming!~~~

  • ๐Ÿž Fix ant-spin-container overflow resizing for Spin component. #8602 @jhsu
  • ๐Ÿž Fix extra padding in Table small with fixed columns. #8724
  • ๐Ÿž Fix Checkbox.Group align issue in Form. #8739
  • ๐Ÿž Fix unexpected scrollbar in Affix. #8606
  • ๐Ÿž Fix List component "No Data" mixed with loading. #8647
  • ๐ŸŒŸ Add onKeyUp TypeScript definition to Input component. #8705 @delesseps
  • ๐ŸŒŸ Add showArrow for disabling arrow icon in collapse panel. #8536 @apieceofbart
  • ๐ŸŒŸ Rate add allowClear for reset when click again. #8627
  • ๐ŸŒŸ Add responsive for BackTop. #8719 @JetRunner
  • ๐ŸŒŸ Add destroyOnClose to Modal component to support unmount child components on onClose. #8769 @Rohanhacker
  • ๐ŸŒŸ Pagination add hideOnSinglePage for support hide it when only one page. #8615 @camsong
  • ๐ŸŒŸ Support customize spin for List component.
  • ๐Ÿ‘ป Support open official demo in CodeSandbox.

3.0.3

2017-12-22

  • ๐Ÿž Add React.SFC type for Form.create return value. #8672
  • ๐Ÿž Fix form item height and align problem. #8701
  • ๐Ÿž Improve input addon size. #8680
  • ๐Ÿž Fix table size of fixed column. #8660

3.0.2

2017-12-17

  • ๐Ÿ“ Provide a migration helper for [email protected]. e71b68dd
  • ๐Ÿ“ Rewrite CONTRIBUTING Guideline
  • ๐ŸŒŸ Optimize notification display in small screen. #8631
  • ๐ŸŒŸ Optimize Pagination design and fix some issues of alignment and margin.
  • ๐Ÿž Upgrade to [email protected] for peerDependencies warning. #8455
  • ๐Ÿž Fix not working size property in fixed-header Table. #8577
  • ๐Ÿž Fix not working locale property of DatePicker/RangePicker. #8635
  • ๐Ÿž Fix Popover arrow position and size cannot be overridden by less variable. #8548 #8549
  • ๐Ÿž Fix not working notFoundContent of AutoComponent. #8553
  • ๐Ÿž Tweak RangePicker vertical align position.
  • ๐Ÿž Layout.Sider breakpoints is same as Grid's now. #8620
  • ๐Ÿž Fix submenu still showing in a collapsed menu when collapsedWidth is 0. #8587
  • ๐Ÿž Fix Card's Meta.title text overflow not working. #8597
  • ๐Ÿž Fix pagination margin problem of bordered List. #8562
  • ๐Ÿž Fix Menu's submenu cannot open when specified non-existed defaultOpenKeys. #8475
  • ๐Ÿž Fix type name collisions of InputProps and SearchProps in Input, AutoComplete, Transfer. #8478

3.0.1

2017-12-11

  • Remove useless DOM wrapper of Card, so that Card's DOM structure will be the same as Card of 2.x.
  • Fix that missing antd/lib/style/v2-compatible-reset.css. 28d13e2
  • Fix that Affix will be overlap when it is higher than viewport. 31a0654
  • Fix the open animation of Collapse. edd592c
  • Fix the alignment of large size Input and Button in Form. #8459
  • Menu
    • Fix the popup will disappear unexpectedly in Safari. #8453
    • Fix the open animation. edd592c
  • Fix compile error of style of Notification. #8437
  • Fix the background color of mini Pagination. e13c6d8
  • Table
    • Fix broken style in mobile. #8465
    • Fix broken style when use size and nested Table together. #8525
  • TypeScript

3.0.0

2017-12-04

Learn more in the Ant Design 3.0 announcement post.

Major Changes

  • New color system, We changed our primary color from ใ€Ž#108EE9ใ€ to ใ€Ž#1890FFใ€, we called the new primary color "ๆ‹‚ๆ™“่“ (Daybreak Blue)" which means the color of the sky at daybreak.
  • New design of components.
  • Increased the base font size from 12px to 14px.
  • Changed default locale to en_US.
  • Support React 16.
  • Better TypeScript support.
  • New List component.
  • New Divider component.
  • 30 New icons.

โš ๏ธ Read it before migration

  • We suggest you upgrade to latest 3.x version directly.
  • Some APIs may be deprecated in other 3.x versions which don't described below, please pay attention to warning in browser console and upgrade them.
  • We strongly suggest upgrade react to 16 or newest for better support and performance, which could be conduct via React 16 upgrading.
  • Then you can migrate to antd@3 by following Breaking Changes section.

Breaking Changes

We provide a migration tool to help you find deprecated usages in your codebase.

  • Card's noHovering has been renamed to hoverable, and its default value now is true.

  • Added new Grid breakpoints. #7230

  • Form getFieldDecorator's exclusive option has been removed.

  • Added Form.createFormField, and you must use it to wrap field data returned in option.mapPropsToFields:

    import { Form } from 'antd';
    
    Form.create({
      mapPropsToFields() {
        return {
    -     name: { value: 'antd' },
    +     name: Form.createFormField({ value: 'antd' }),
        };
      },
    })
  • Improved global reset style, if you encounter style problem after upgrading, you can try import our v2 compatible style.

    import 'antd/lib/style/v2-compatible-reset';

    Or use less

    @import '~antd/lib/style/v2-compatible-reset.less';
  • Since we changed default locale to en_US, LocalProvider is not required any more for English users.

  • We don't set size="large" to Input in Form by default any more.

  • Input.Search ๐Ÿ” icon don't be interactive anymore, you can use new enterButton prop to add a button after input.

  • UMD version of dist/antd.js doesn't include moment any more, you need add moment by yourself if you are using the UMD version.

    <html>
      <head>
    +   <script src="https://unpkg.com/[email protected]/moment.js"></script>
        <script src="https://unpkg.com/[email protected]/dist/antd.js"></script>
      </head>
    </html>

Removed Deprecations

  • ๐Ÿ—‘ DatePicker.Calendar has been removed, you can use Calendar directly.
  • ๐Ÿ—‘ DatePicker's toggleOpen prop has been removed, use onOpenChange instead.
  • ๐Ÿ—‘ Form's inline, horizontal, vertical props has been removed, use layout instead.
  • ๐Ÿ—‘ Input's type prop has dropped textarea support, please use Input.TextArea instead.
  • ๐Ÿ—‘ Mention's toEditorState has been removed.
  • ๐Ÿ—‘ Select's multiple, combobox, tags props has been removed, use mode instead.

Features and Improvements

  • ๐ŸŒŸ Tabs added new size size="large"ใ€‚
  • ๐ŸŒŸ Row's gutter now support responsive setting, you can write gutter={{ sm: 16, lg: 32 }}.
  • ๐ŸŒŸ Spin added new indicator prop to allow setting custom indicator. #7977 @kossel
  • ๐ŸŒŸ Input.Search added new enterButton prop to allow setting custom search button.#7596
  • ๐ŸŒŸ Mention added new placement prop to allow setting the popup direction.
  • ๐ŸŒŸ Carousel added new next(), prev(), goTo(slideNumber) methods to allow controlling slides programmatically.
  • ๐ŸŒŸ Button added link support, Button with href prop will render to <a>. #8343
  • ๐ŸŒŸ Steps was refactored, first rendering won't flash. #6010
  • ๐ŸŒŸ Switch added new loading prop to show a loading status.
  • Menu
    • ๐ŸŒŸ We refactored it with rc-trigger for delay popup and auto overflow in viewport.
    • ๐ŸŒŸ Added new subMenuOpenDelay and subMenuCloseDelay props to allow setting delay time for submenu toggling.
    • ๐ŸŒŸ Added new forceSubMenuRender prop to render submenu even if it's collapsed. #5586
  • Form
    • ๐ŸŒŸ Added animations for validation message showing.
    • ๐ŸŒŸ Added field conditional rendering support. #react-component/117
  • Message
  • Badge
    • ๐ŸŒŸ Added new offset prop to allow setting the offset of status point.
    • ๐ŸŒŸ status can use with children now. #8164
  • Card
    • ๐ŸŒŸ Added new inner type. Demoใ€‚
    • ๐ŸŒŸ Added cover, actions and a new Meta component. Demoใ€‚
  • DatePicker
    • ๐ŸŒŸ Added mode and onPanelChange, to allow controlling the panel mode. Demoใ€‚
    • ๐ŸŒŸ Added WeekPicker component. Demo
    • ๐ŸŒŸ Added new dateRender prop to allow customizing date cell.
  • TimePicker
    • ๐ŸŒŸ Added new hourStep, minuteStep, secondStep props to allow customizing time steps. Demo
    • ๐ŸŒŸ Added new focusOnOpen prop to focus input after panel is open.
  • Table
    • ๐ŸŒŸ Added new components prop to allow overriding default table elements.
      // You can override following elements
      const components = {
        table: MyTable,
        header: {
          wrapper: HeaderWrapper,
          row: HeaderRow,
          cell: HeaderCell,
        },
        body: {
          wrapper: BodyWrapper,
          row: BodyRow,
          cell: BodyCell,
        },
      };
      
      <Table components={components} columns={columns} data={data} />
    • ๐ŸŒŸ Added new onRow prop to allow passing custom props to table body row.
    • ๐ŸŒŸ Added new onHeaderRow props to allow passing custom props to table header row.
    • ๐ŸŒŸ Added column[onCell] to allow passing custom props to table body cell.
    • ๐ŸŒŸ Added column[onHeaderCell] to allow passing custom props to table header cell.
    • ๐ŸŒŸ Added column[align] to allow setting how text aligns.
    • ๐ŸŒŸ Added column[defaultSortOrder] to allow setting default sort order. #8111 @megawac
    • ๐ŸŒŸ Added rowSelection[fixed] to allow fixing the selection column.ใ€‚
    • ๐Ÿ™… Deprecated getBodyWrapper, please use components instead.
    • ๐Ÿ™… Deprecated onRowClick, onRowDoubleClick, onRowContextMenu, onRowMouseEnter, onRowMouseLeave, please use onRow instead.
      <Table onRow={(record) => ({
        onClick: () => {},
        onDoubleClick: () => {},
        onContextMenu: () => {},
        onMouseEnter: () => {},
        onMouseLeave: () => {},
      })} />
  • Select
    • ๐ŸŒŸ Option's value can be a number in single or multiple mode.
    • ๐ŸŒŸ Added new maxTagCount and maxTagPlaceholder props.
    • ๐ŸŒŸ Added new showAction prop to allow setting the trigger action for popup.
    • ๐ŸŒŸ Added new onMouseEnter and onMouseLeave callback.
  • LocaleProvider

Bug fixes

  • Form
    • ๐Ÿž Fixed issue result in Input icon is hovered by feedback icon.
    • ๐Ÿž Fixed feedback icon not centered in large input.
  • ๐Ÿž Fix Menu key press error. #8089

Other things

  • Don't need set allowSyntheticDefaultImports when using in TypeScript.
  • We removed [email protected] and react@15 from peerDependencies, though [email protected] still works on old React versions, but we highly recommend you upgrading to React 16 since we may use the new features only exists in React 16 in the future. See React 16
  • Fully es module support, if you are using webpack 3, you can set babel-plugin-import's libraryDirectory to es to enable tree shaking .
  • We will support 2.x branch until June in next year.

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.