Change Log
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 breadking change and new features.
If you want to read change logs before 2.0.0, please visit GitHub.
2.13.11#
2017-12-01📝 Improve support of TypeScript. #8394 #8395 @burdell @khayalan-mathew
🐞 Fixed Tooltip missing
defaultVisibleproperty. #8257🐞 Fixed Modal
footerproperty is overwrited when customing this property. #8379🐞 Fixed
fileListshown incorrect whenbeforeUploadof Upload returnfalse. #8036🐞 Fixed vertical align of Form.Item's feedback shown incorrect when Input
sizeproperty isdefault\small. #8243🐞 Fixed nested Form.Item style incorrect. #8320
🐞 Fixed Form.Item height are different between Chrome with Safari. #8220
🐞 Fixed links where inside Form.Item's label are unavailable to click. bf70d30
🐞 Fixed Progress word wrap. #8239
2.13.10#
2017-11-12📝 Add documentation of Work with Us.
📝 Refactor edit row demo of Table. #8026
🌟 Improve detection of Layout.Sider, now we can compose and nest the Sider without specifying
__ANT_LAYOUT_SIDERattribute. #8077 @yasinuslu🐞 Fix align issue of
Input.Groupin Chrome 62. ant-design/ant-design-pro#139🐞 Fix Cascader search not working when option.children is
[]. #8130 @jdz321🐞 Fix broken padding of AutoComponent caused by style order conflict with Input. #8081
🐞 Fix Upload constructor error in IE9. #7706
🐞 Fix Select filterOption's TypeScript definition. #8128
2.13.8#
2017-10-27🌟 Add a mirror site in China: http://ant-design.gitee.io
🐞 Fix extra padding of loading Card when it is too wide. ad9809ec
📝 Add sorted API to enhance readability of docs. #7896@monkindey
📝 Improve Modal docs of how to setting styles. #7840 @kossel
2.13.5#
2017-10-11🐞 Fix issue resulting in FormItem throws error when use with reac-hot-loader. #7775
🐞 Fix not working less variable
@link-hover-decoration. #7821🐞 Fix issue resulting in Upload's
beforeUploadmethod not returning promise properly. #7833🐞 Fix issue resulting in Input.Search's search icon being covered with Form's feedback icon. #7854
AutoComplete
🌟 Add new less variable. 2e2acb5
2.13.4#
2017-09-29🐞 Fix missing Pagination
size="small"style.🐞 Fix Anchor missing padding. #7712
🐞 Fix TreeSelect extra select below search input. #7703
🐞 Fix the jumping problem of Form validate text. #7730
🐞 Fix Button Group loading style. #7709
🐞 Fix blur placeholder text color. #7365
🐞 Fix Mention
suggestion.toLowerCase is not a functionerror. #7696 @kappa-gooner🐞 Fix a children height problem of Layout.Sider. #7716 @zheeeng
🐞 Fix Dropdown menu group style.
🐞 Fix Table filter icon and dropdown style.
🐞 Fix a AutoComplete circular reference bug in Inferno. #7742 @menberg
🐞 Fix Upload cannot upload file when using
beforeUpload. #7762 #6983TypeScript
🐞 Fix Input
maxLengthdefinite. #7744 @delesseps🐞 Fix
disabledTimedefinite of DatePicker. #7740 @778758944
2.13.3#
2017-09-22🐞 Fix Affix scrolling bug when document's height minus viewport's height is smaller than the height of children of Affix. #2349
🐞 Fix broken style of header of Card when
Card[title]is void andCard[extra]is set. f46112d#commitcomment-24480417🐞 Fix TypeScript definition of
Checkbox[children]. #7650 @liaokaien🐞 Fix error when set nested name in
getFieldDecoratorand then click the label ofForm.Item. #7693Input
🐞 Fix broken style of
Input.Group[compat]when it hasSelectas its children. #7662🐞 Fix TypeScript definition of
Input[autoComplete]. #7699 @delesseps
LocaleProvider
🇵🇹 Support Portuguese. #7449 @taviroquai
Table
🐞 Fix height of table header when
rowSelectionis set. #7663🐞 Fix bug that click on first two options will not trigger event when
rowSelection.hideDefaultselectionsis set. #7626 @infeng🐞 Fix TypeScript definition of
Table[scroll]. #7640 @BlackGanglion
2.13.2#
2017-09-15🐞 Fix title and extra content position of narrow Card. #7604
🐞 Fix inlineCollapsed style of MenuItemGroup. #7109
🐞 Revert #7142 to fix empty data style of Table.
🐞 Fix Form
getFieldDecoratorOptionsmissing types ofnormalizeandvalidateFirst. #7552 @meteor91 @mitchelldemler🐞 Fix Modal
zIndextype. #7624🌟 Improve tree node loading icon position. #7584
🌟 Update a lot of components's English doc. @khalibloo
2.13.1#
2017-09-10🐞 Fix Card.Grid broken style. commit/c7d6ce
🐞 Fix Cascader overlaping text. #7475
🐞 Fix simple mode Pagination prev and next button missing. #7500
🐞 Fix Slider typings. #7532
Table
🐞 Fix inlineCollapsed Menu when Submenu is opened. #7514
🐞 Fix validateStatus styles of some Form Controls. #7498
🐞 Fix @link-hover-decoration not working. #7531
🌟 Optimize the English documentation of some components. @khalibloo
2.13.0#
2017-09-01🌟 Add
okTypeandcancelTypeprop to Popconfirm and Modal and it's related methods. #6848 @yociduo🌟 Add
zIndexprop to Modal and it's relatedt methos. #6880 @Alex1990🌟 Add
hideDefaultSelectionsprops to Table. #7295Dropdown
🌟 Add a third parameter
originalElementto Pagination'sitemRender.🌟 Add
backfillprop to AutoComplete, items are selected by keyborad will be backfilled to the search input. #5764🌟 Add
firstActiveValueprop to Select to allow specify active item when open select first time. #6318 @L-x-CLocaleProvider
🌟 Add Persian. #6878 @mkermani144
🌟 Add Serbian. #7201 @paunovic-stefan
🐞 Fix Menu's title can not be hidden when collapsing Sider. #7409
🐞 Fix some components can not use conditional rendering. #6530
Website
🌟 Add a shortcut
sto focus the search input.🌟 Add a color picker to the footer to change primary color and preview lively.
2.12.8#
2017-08-27📖 Rewrite the Use in create-react-app documentation without ejecting. #7276
🌟 Better empty data style for fixed-columns Table. #7298
🐞 Fix
disabledlogic of CheckboxGroup and Checkbox. #7266 @dilidili🐞 Fix errors of rendering Spin and Carousel in react-snapshot or other jsdom environment. #3308 #7318
🐞 Fix some details of Select, Tooltip and Menu.
2.12.7#
2017-08-21antd of Angular@4.0, ng-zorro-antd is open sourcing.
Affix supports more scenes. 01d4acb
Fix that AutoComplete children ref doesn't work. #6814
Button
Fix that Carousel's
innerSliderdoesn't exist. #7191Fix the style of button in DatePicker. ad6dbcb
Fix TypeScript definition of Form.#7245
Fix TypeScript definition of InputNumber. #7257
Fix missing collapse animation of
Layout.Siderin IE11. #6349Fix typo of Spanish locale of LocaleProvider. #7234 @ramsesmoreno
Fix that notification's default placement should not be overrided. #5895
Fix disabled style of button in Pagination. cf3c0aa
Fix that wrong exports of Select which cause webpack build error. #7222
Fix that Tabs should show arrow buttons while resize its container. #7231 #7210
Fix style of Timeline which has only one
Timeline.Item. #7214Fix wrong behavior of Upload when uid is 0. #7269
2.12.4#
2017-08-06Fix Affix throw invalid calling object in IE. #7060
Make optimization for title display behavior of Badge. #7024
Card
Fix Collapse
onChangeparameter type definitions. pull/7084 @davidctjDropdown
Input
Fix outline covered by addon. commit/0f63c7
Menu
Fix Pagination
showTotaltype definitions. #7054Fix RangePicker throw error after clear. #7077
Adds
onFocusandonBlurtype definitions for Select. pull/7082 @troyntFix Tabs
tabBarExtraContentstyle issue in vertical mode. Upgrade rc-tabs to 9.0.2, refactor the dom structure of TabBarextraContent. #6578Fix missing icon issue for TreeSelect. #7020
Fix
error TS7016: Could not find a declaration file for module 'rc-util/lib/Dom/addEventListener'. #7033 @djyde
2.12.2#
2017-07-22Longer message duration (1.5s to 3s).
Fix Anchor links not highlighted. #6473
Fix disabled style of TimePicker. #6918
Fix overlaped issue of form feedback icon and select arrow which is introduced in
2.12.1again. #4431Fix vertical Tabs arrow style. 255eac9
Update Polish locale. #6869 #6870 #6871 @imosapatryk
Fix that
httpurl incluced in source code. #6893Adjust vertical align of Menu icon and text.
Fix
overlay is marked as requiredwarning of Tooltip. #6897Fix disabled style of Slider under colored background. #6665
Adjust click area of TreeSelect item.
Fix some issues of TypeScript definitions.
2.12.1#
2017-07-17Fix broken style of
<Avatar src="..." />when image cannot be loaded. #6804Fix broken style of loading icon button in
Button.Group. #6822Fix TypeScript's definition of Checkbox. #6768
Fix broken style of
Collapse.Panel[header]when content is too long. #6832Input
Fix that the implementation of Layout should not affect Anchor and BackTop. #6817
Menu
Fix animation of inline menu.
Fix style of border of
Menu.Item. 46ffda9
Fix that RangePicker should show correct months in panels when
value|defaultValueis set. #6764 point 3Fix alignment of Tooltip. #6830
2.12.0#
2017-07-08Add Card
noHoveringand Card.Grid. pull/6748DatePicker, MonthPicker, RangePicker now support
classNameprop. pull/6584 @EnrikoLabrikoAdd Input.Textarea, Inputtype='textArea' will be deprecated. pull/6138
Mention support
focusfunction. #6135Menu inline mode could be collapsed by
inlineCollapsed, and usecontextto passcollapsedprop from Layout.Sider to Menu, don't need customized css code anymore. pull/6686Add Pagination
itemRender, now you can customize the structure of page number. 25a603Add Tooltip
autoAdjustOverflowprop, now the auto adjust feature can be disabled. pull/6661 @jdz321DatePicker
Form
Fix autosize Input.Textarea scrollbar style issue. #6609
Add missing TypeScript definition of
precisionin InputNumber. #6715Fix Select overflow issue. #6621
Slider
Improve styles. #6665
Upgrade rc-slider to 8.2.0, add
dotStyle,activeDotStyleprops. rc-slider/pull/292
Fix Spin z-index issue. #6759
Fix nested Steps style issue. #6754
Table
Improve TimePicker format support. 950c32
Make style improvement or tweaking for many components, includes Checkbox, Radio, Tabs, Card and etc.
Now you can open demo in codepen. #5140
2.11.2#
2017-06-25Dropdown.Button now support
getPopupContainerfunction. #6527Fix disabled dropdown submenu style error. #6548
Fix background color error of Calendar. aaf2a50
Select of Calendar now take place in header. #6479
Fix horia horizontal scroll error of Input and Textarea. #6577
Improve document of
disabledattribute of Checkbox and Radio. #6597Increase click area of Table's sort and filter icon. #6528
Add
event:Eventparameter of Table.props.onRowClick. e2a99f5
2.11.1#
2017-06-182.11.0#
2017-06-07New component Avatar. 🌝
LocaleProvider
Supporting Bulgarian. #6297 @dimitrov-adrian
Supporting Polish. #6326 @longersson
Supporting Britain English. #6344 @damiangreen
Supporting Italian. #6344 @damiangreen
Supporting French. #6344 @damiangreen
Supporting Belgian. #6344 @damiangreen
Collapse.Panel can be disabled now, which makes users cannot toggle panel with mouse/keyboard. #6119 demo
DatePicker and RangePicker support customized footer. #6122 #5188 demo
InputNumber can set precision with property
precision, this means that precision need not to followstep. #5998TreeSelect supports
allowClearin multiple mode.Improve keyboard support of Pagination. rc-pagination#83 @geramirez
Improve style of Progress. #6354
Improve ARIA support of Slider. #6301
Fix that animating elements should not be clickable. #6314
Fix
Cannot read property '0' of undefinedissue of DatePicker, TimePicker, and RangePicker. #6334DatePicker
Fix nested fields support of Form
validateFieldsAndScroll. #5410Inputaddon
Fix that confirm button not clickable when the returned promise of Modal.confirm is rejected. #6183
Fix style of input of Pagination. #6339
Fix that user input of Select should not be trimed in search mode. #6382
Fix that timers of Spin should be removed correctly. #6383
Fix onClick support of Switch. #6373
Fix wrong TypeScript definition of Table.Column which will cause
error TS2304: Cannot find name 'T'. #6313Fix error TypeScript definition of Timeline.Item and Dropdown.Button. #6356
Fix broken style of disabled Tree and TreeSelect. #6320
2.10.3#
2017-05-31Calendar
Fix disabledDate not be supported, and make supplement for the types and documentation. #6074
Upgrade rc-calendar to 8.4.0, support Bulgarian, and user can select end date first. commit/a4a6db
Alert Remove default margin-bottom. commit/5ef482
Tabs Fix inactive tab panel behavious. #6237
Layout Fix children in the collapsed Sider not be hidden. #6131
Table Fix table filter menu overflow issue. #6245
InputNumber Fix hasFeedback misplaced validated icon. #6289
Typescript
2.10.2#
2017-05-23Fix
prop-typeswarnings which due to upgrading React. #5678Fix
defaultValueissue of DatePicker and RangePicker in showTime mode. #6160Fix style issue of TreeSelect. #6137
Fix style issue of Input with prefix and addon. #6144
Fix some bugs of
notification.destroy. #6161Fix missing translations of Upload and Table. #6218
Fix style issue of Cascader inside Input.Group. #6208
Increase click area of Tree icons. #6120
2.10.1#
2017-05-14Upgrade normalize.css to 7.0.0.
Fix AutoComplete style issue when use with Input.Group. #6058
Fix Tabs cann't set
animatedwhen usecardoreditable-cardtype. #6070Fix Form style issue when zoom out scrren. #6097
Fix RangePicker style issue in Safari. #6061
Notification
Fix overlaping issue. #5895 @ystarlongzi
Add new
forkicon.
2.10.0#
2017-05-02LocaleProvider
Support Traditional Chinese. #5665 @GeorgioWan
Update Spanish. #5932 @ginodeise
AutoComplete supports to listen to search events by
onSearch.Checkbox.Group can support more flexible layout with nested Checkbox. demo
Notification's inline style and className can be customized now. #5893 @lixiaoyang1992
TimePicker's open status can be controlled by
openproperty. #5913The returned value of Upload
onRemovecould be a Promise to control remove logic asynchronously. #5973 @shliceAdjust padding of popup of Dropdown. #5088
AutoComplete
Fix that Button should not insert space in Chinese characters while using Icon. #5977
Fix broken style while using Cascader in Cardtitle. #5952
Fix broken disabled style of Checkbox Radio. #5935
Fix broken style of DatePicker with nested TimePicker while using
use12Hours. #5959Fix broken style while using AutoComplete, Cascader, Mention, TimePicker in Input.Group. #5832
Fix missing TypeScript definition of
inlineIndentMenu. #5903 @brookshiMention
Fix errors while using RangePicker with Form. #5872
Fix that pagination is clickable when Table with loading status. #5937
Tabs
Transfer
2.9.2#
2017-04-22Alert Fix props of banner mode can't be overrided. #5800
AutoComplete Fix can't add
onKeyDownevent listener with customized input component. #5487Button New style for danger Button. #5815
DatePicker
Form Add a less variable to opt out of form item colons. pull/5855 @megawac
Input
InputNumber Update docs and demos for how to use
parserto work withformatter. #5683Layout
Add Fixed-Sider demo.
Fix style issue of responsive sider in firefox. #5613
LocaleProvider Allow for seamless access to less variables. #5712 @lionkeng
Menu Override the default
a:focusstyle when it nested in Menu component. #5707Notification Auto adjust style for singleline message. #5846
Radio Add less variables for setting color and background color of Radio.Button. pull/5791 @megawac
Table
Add less variables for setting head background color and row background hover color. #5706 @kappa-gooner
Improve the
Grouping table headdemo style. #5697
Tabs Fix the position of the scrolling arrow in
verticalmode. #5765 @dicklwmTreeSelect Fix arrow rotate bug. #5693
TypeScript
Add missing props in InputNumber. #5717 @whtang906
Global Optimization
Fix deprecation warning of
React.PropTypesdue to React upgrading to v15.5.0. pull/5723 @manjitkumar
Site
Add native English translation for icons spec. @kenaniah
2.9.0#
2017-04-01👻Change the default font family to be monospaced for numbers. b526083
Select
Add
modeprop, deprecate thetags|combobox|multipleproperties, replaced bymode={tags|combobox|multiple}.tags|multiplenow supportsallowClear. #4843
Add
showLineprop of Tree, for connecting line style in tree nodes. #3854TimePicker now supports 12 hours via
use12Hours. #4063Add
column.filterIconprop of Table, which can be used to customize filter icon. #5293Add
wrapperClassNameprop of Spin. #5425 @aaronplanellAdd
onPrevClickonNextClickprops of Tabs. #4395Add
parserprop of InputNumber, to extract value from formatter. #5178New locales support:
TypeScript
Fix definitions of Carousel following react-slick
Fix some definitions of Form.
Fix
getPopupContainerdefinitions.
Allow to disable animation of inkBar and panes of Tabs separately. #5089 @xieguanglei
Button
loadingprop now supports like{ delay: 1000 }, removed the default loading delay. #5365Fix extra separator of Breadcrumb without
breadcrumbName.Fix
Unknown prop placementwarning of Dropdown.Button. #5594Fix RangePicker and InputNumber placeholder color.
Fix that Cascader search can't use Backspace. #5340
Fix that LocaleProvider can't affect
Modal.confirmsometimes. #5493 @hargasinskiFix scroll animation of BackTop which specifies the
targetprop. #5564Optimize the block style of Pagination. #5557
2.8.3#
2017-03-27TypeScript
Fixed missing definition of
AutoComplete[filterOption]. #5393 @mitchelldemlerImprove definition of
getPopupContainergetCalendarContainergetTooltipContainergetSuggestionContainer, etc. 322e9ef
Fixed Badge should work in Maxthon. #5477
Fixed Button cannot work with
nullundefinedas children. #5472 @blade254353074Breadcrumb are not rely on
route.breadcrumbNamenow. ac1c7f3Fixed
Form.Item[hasFeedback]will lost styles while using withInput[prefix]. #5456 @william-yzFixed Layout.Content will show scrollbar while using with Carousel. #5415
LocaleProvider
Fixed inconsistet animation of Menu Icon and text. #5495
Fixed
Modal[footer]cannot be set tonull. #5462Fixed Pagination will lost styles in
IE<=10which is introduced in2.8.2. #5484Fixed Popover will be closed by mistake while using Table in it. #5407
Remove restriction that Radio can only be direct chidlren of Radio.Group. #5443
Fixed warning while using Switch in Form.Item. #5368
Now we defaultly hide the Table's "Select All" dropdown icon, display it when set
selectionsto true. #5246 @infengNew theme variable
@info-color. #5442Supporting suppress warning(You are using a whole package of antd...) with
NODE_ENV=testwhile testing. #5345Upgrade moment to
2.18.0.
2.8.2#
2017-03-11Fix error of Modal.confirm. #5269
Fix mask style of Upload. #5275
Fix progress not showing of Upload. #5323
Fix a pagination showTotal wrong data issue of Table. #5259
Fix a style issue while using Popconfirm and Button together. #5301
Fix a style issue of Radio. #5336
Fix a issue that
getContainerof Message didn't work. #5380Fix text alignment of Checkbox and Radio. 696a3c0
Tweak animation and blur style of Spin. fa1e031
Tweak some styles of Mention. 240a93c
2.8.1#
2017-03-11DatePicker Fix can't select time when new props are passed, and improve the selection behavior of
DatePicker[showTime]. #5189 @megawacForm
Icon Add iconfont
shakeandandroid-o. commit/941782Input Fix
hasFeedbacknot work withaddonBefore. #5228InputNumber Add typings for props
formatter. #5240 @hlehmannTable
Tooltip Fix layout style on disabled Button. #5254
Upload
Fix long name of upload item style. commit/0a3519
Fix and improve animation. pull/5210
Global Optimization
Fix Cannot resolve module
lodash.debounce. #5230
Site
Fix safari language check. pull/5245
Add ability to copy color when clicking on palette. pull/5247 @bsheikh
Add boilerplate samples. commit/f2f786
2.8.0#
2017-03-06Tabs
Added
tabBarStyleto allow customize style of tab bar. #4966Added
TabPane[closable]to allow config whether to show delete icon or not. #4807 @lixiaoyang1992
Anchor
Table
spinnow spport Spin props. #4824 @lixiaoyang1992Fix issue resulting header's bottom border doesn't show when
sizeissmall. #5182
Mention added custom trigger character support. demo
Rate
Support custom character. demo
Added new
classNameprop.
Layout
Form
Added
layoutto replace the originalhorizontal,vertical,inline. #5056
Calendar
AutoComplete
Upload added
localeto support i18n. #4697Transfer added
onScrollto support load data dynamically. #4188messageandnotificationaddgetContainerto allow config the render container. #5019Badge added
showZeroto allow config whether to show0or not. #4251InputNumber
Added
formatterto allow format the value to present.Added ctrl and shift key support. detail
Added some new icons. #5107
New locale support:
Catalan #4929 @aaronplanell
Czech #5169 @martinnov92
Korean #5141 @minsungryu
Improve Spin display position. #4722
Fix Checkbox comatible issue with
browser-sync. #2744Fix Steps width issue when resize window. #5083
Fix Upload.Dragger unmount error. #5162
Fix Button shifting during click in IE issue.
FIx Input prefix and suffix vertical alignment.
2.7.3#
2017-02-25Unify demo code to ES6 class. #4878
TypeScript
Fix that
Cannot find module '../../package.json'error. #4935Fix definitions of Table, RangePicker and Upload.
Fix lack of event argument for Modal
onOkafterCloseand PopconfirmonConfirmonCancel. #4787Improve animation of Menu inline mode and Collapse.
Improve Checkbox and Radio vertical align style.
Table
Fix misplace header when fix column. #4936
Fix not clearing float issue. #4945
Fix submenu of filter. #4975
Fix that filterDropdown of fixed column cannot be interacted with. #5010
Fix that arguments of
pagination.onChangedo not match PaginationonChange.Fix that table loading animation is not smoothing. #4934
Improve multiple message display. #3543
Fix Carousel autoplay not working after resize window. #2550
Fix that controlled InputNumber cannot input number like
1.011.001. #5012Improve Button loading switching.#4913
Fix Dropdown selected menu style and
Menu[theme="dark"]style. #5013 #4903Fix Menu submenu
z-indexissue. #4937Fix that DatePicker and RangePicker width cannot be reset below
300pxissue. #4920Fix style of Spin nested in Spin. #4971
Fix that lack of Button style when import Popconfirm by babel-plugin-import.
Fix that less variables cannot work on circle Progress. #5002
Fix falsy children of Breadcrumb. #5015
Fix blinking tooltip of Slider. #5003
Fix that Transfer disabled option can be moved. #4981 @tianlizhao
Documentation
Fix and improve site for mobile devices.
Improve 1.x to 2.x compatibility instruction.
2.7.2#
2017-02-17Fix that
antd.versiondoesn't work as expected. #4844Fix that dist files don't include locales. #4910
Fix that disabled option is selectable in search mode of Cascader. #4699
Button
Fix click animation of
Button[type=danger].Fix broken style with
loading. #4875
Menu
Table
Fix that Radio should support number
0as children. #4874 @HQideaFix that RangePicker should work with
style.widthwhich is small than 300. #4920Fix CSS compile error caused by Spin. #4915
Fix that Tooltip should work with disabled button in Chrome. #4865
Fix UX of Tree while dragging. #4858
Fix failed style of Upload. #4810
Fix that
Menu[vertical]'s SubMenu cannot popup in Layout.Sider. #4890Improve animation of Button and
Badge[status=processing].
2.7.1#
2017-02-10Affix
Anchor Fix the location problem when offsetTop has been set. #4706
AutoComplete
Dropdown Add the documentation and demo about positioning of Dropdown menus. #4811
Layout Improve Sider's animation effect. #4752
LocaleProvider Fix issues with the new Swedish locale provider. pull-4762 @JesperWe
RangePicker Fix the overlapping problem about the date icon. #4783 @zhenzong
Table
Add the missing value 'middle' for size definition. #4819 @warrenseymour
Fix controlled filter does not work with JSX style. #4759
Fix switch pagination problem. #4779
Tabs Fix content missing problem since the second tab pane under IE9. #4795
rc-pagination Upgrade to ~1.7.0, add pageSize as onChange's second argument.
Global optimization
Site
2.7.0#
2017-02-03Added
dangerbutton andghostbutton style. #4679Input element of AutoComplete can be customized. #4483
Upgrade rc-cascader to
0.11.0, keyborad interactions supported. #4411More popup directions are supported in notification. #4732
Upgrade rc-steps to
2.3.0, addedprogressDotproperty of Steps, which allows users to customize the display for Steps with progress dot style.Upgrade rc-input-number to
3.0.0Added
verticalmode of Slider. #4473Tag
Added preset colors. #4571
Improvement vertical-align and margin.
Add German localization for LocaleProvider.#4686
Add Swedish localization for LocaleProvider. #4455
Add French localization for LocaleProvider. #4538
Added
onSearchChangecallback of Transfer. #4464Form
Improvement upload list of Upload. #4516
Upgrade rc-select to
6.7.1.Fixed duplication
onChangecallback. #156@rc-selectFixed displaying of initial value. #152@rc-select
Upgrade rc-tree-select to
1.9.0.Added
treeDefaultExpandedKeysproperty.#43@rc-tree-selectFixed an overflow-wrap issue. #42@rc-tree-select
Added less variables:
@border-style-base@border-width-base@btn-danger-color@btn-danger-bgand etc.Fixed Badge misplace issue when browser zoom above 100%. #4747 #4290
Fixed a mis-align issue of fixed header Table. #4750
Fixed Table scrolling lag issue in IE. #4522
Add icon aliases:
addfile=>file-add,addfolder=>folder-open, and the old type names are still working. #4758
2.6.2#
2017-01-14Added a Third-Party Library Page for recommending other greet react components. Link
Fixed misplaced Sider of Layout. #4459
Fixed Input.Search wrong block layout and misplaced icon. #4540
Added a customize Collapse panel demo. Link
Table
Now Carousel is undragglble and text-selectable defaultly.
Added warnings when non-BreadcrumbItem node is nested under Breadcrumb. #4403
Fixed Tooltip hidden issue when
onVisibleChange(visible)returntrue. #4579Make TreeSelect panel default height smaller than screen height. #4537
Added less variables of TimePicker and Spin.
Replaced arrows of DatePicker year panel by year text. #4415
Fixed TypeScript definites of AutoComplete and Form
[options.validateTrigger].Improved the animation details of Spin and Progress.
2.6.1#
2017-1-6Fix style problem for Menu dark theme. #4440
Fix TypeScript interface definition for
Select[tokenSeparators]Modal[afterClose]Input[name]and so on. #4441 @eddhannayFix that
TimePicker[placeholder]cannot be set to empty string. #4446 @jialeicuiFix style problem in DatePicker year panel. #4415
Fix that Table loading doesn't mask Pagination. #4461
Fix align style for
Input[prefix|suffix]. commitFix align style for Cascader. commit
2.6.0#
2017-1-2Brand new color system. pull/4426
Brand new color algorithm replacing the tint/shade system.
Brand new color palattes generated by new algorithm. Link
Change default font color.
Add Layout component. #3534
Add Grid playground demo. commit/ee17ab
Input
Support prefix and suffix. #4226 @ystarlongzi
InputGroup support compact display mode. pull/4309
Spin support delayed display. #4306
Fix the dislocation problem of Pagination in low resolution. #4349
Fix wrong background color of Cascader in disabled status. #4434
Fix MonthPickermonthCellContentRender doesn't work, and some documentation errors. #4394
Fix the extra border of ButtonGroup. #4382 @ystarlongzi
Fix wrong background color of the Submenu(horizontal mode). #4414
Fix overlapping graphics with Select/Cascader in Form.Item with hasFeedback. #4431 @JesperWe
Reset border-radius of the first row in Table without header. #4373
Improve the drag performance of Tree. #4371
Improve official website and documentation, fix some bugs.
Update rc-form to support nested style of getFieldDecoratorid.
2.5.3#
2016-12-24🎄🎄🎄Supports TypeScript@2.1. #4208
Fix style issue resulting in nested Tabs. #4317
Fix
onChangecallback issue resulting in Radio. #4242 @ystarlongziFix a FormItem mis-aligin bug. #4271
Fix background issue resulting in selected element of veritcal Menu.#4253
Improve arguments type of
onVisibleChangecallback of Dropdown.#4236 @bang88Improve first argument type of
onChangecallback of Cascader.#4231 @bang88Improve default width of DatepickershowTime. b912f1c
2.5.2#
2016-12-10Improve selected item style of Menu.
Fix issue resulting in Mention not responses
onFocusandonBlur. #4163Fix issue resulting in there is a redundant shadow between
disabledandcheckedRadio. #4114 @jdz321Fix error when setting Momment
defaultValueorvalueon RangePicker, TimePicker, Calendar. #4147Fix issue resulting in Affix disappears when it's uesed in animated Tabs. #3943
Fix issue resulting in Cascader passes different
selectedOptionstoonChangewhen manually selecting and selecting by search. #4096Fix issue resulting in Tabs get offset, when too many tabs are opening. #3637
Table
Align text of grouped parent header to center.
Fix issue resulting in
filterDropdownVisiblecan't be set correctly. #4162
2.5.1#
2016-12-03Improve website experience on mobile devices.
Add some migrate warnings for
1.xto2.x.ToolTip, Popover, Popconfirm support to wrap text node and multiple node directly now. #3924
Anchor
Table
Fix a misplace bug when using Popover over
Input[type="textarea"]. #4092Fix Popconfirm
visibleis not-working problem. #4068Fix TimePicker can not override width by
style.width.Unify Steps icon size. #3817
Fix style details of Form, Button, Slider, Table.
2.5.0#
2016-11-25Change the default theme to Alipay style and improve lots of style details.
Supports server-side rendering. (
Mentionwill throw warning for draft-js' issue)Introduce Jest Snapshot to test the structure of components and SSR issues.
Improve official website and documentation.
Add document for customizing theme.
DatePicker
Add and update some icons. #3977
New component
Input.Search. demoMention onSelect event will get complete record. #3867
Pagination can get current range. demo
Table
We can control the visible of customized
filterDropdown. demoSupports JSX-style columns. demo
Can listen the click event of table cell by
onCellClick. #3774Fix border radius of head of border-less table.
Fix that height of title and footer don't follow
Table[size]. commitFix issue with selected status. #3900
Upload
Fix that children could not be
null.Fix logic of preview. commit
Fix
z-indexof Badge. #3898Fix alignment of multi-line Checkbox. #3971 @flashback313
Fix alignment of InputNumber while using with other form controls. #3866(comment)
Fix style of
Menu.Divider. #3813Fix that Popover should support Checkbox and Radio as children. #3455
Fix height of
Select[combobox]. #3855Fix style of actived Switch. #3838
Fix that Transfer doesn't show "Not Found" while there is no search result. #3996
Fix style of placeholder of TreeSelect. #3841
Fix compile errors in TypeScript. #3969 @AlbertZheng
Fix that feedback icon should not affect users' operation. #3891
2.4.0#
2016-11-11Adjust components structure.
New Anchor Component.
Fix less variables
@font-size-baseand@text-color, add@font-size-lg@text-color-secondary.Add new props
selectedKeysforTransfercomponent #3729. (https://github.com/ant-design/ant-design/issues/3729)Add
Tagselected status.Fix
Dropdown.Buttonnot supportvisibleandonVisibleChange. #3779Fix
Nowbutton ofDatePicker[showTime]. #3748Fix style of
Stepsin vertical mode. #3760Fix style compatibility of
Spinin IE10+.#3755Fix default style of
Carouselcomponent.Fix focus logic of
Mentioncomponent. #3801Fix animate bug of
Progresscomponent. #3784Fix focus bug of
Selectcomponent. #3778Fix
TimePickernot supportformat="HH"bug. #3793Fix
Inputsuffixmouse event responsive area. #3714Improve performance of
Tableselection. #3757Improve Carousel default UI style.
Improve style of
CheckboxandRadio. #3590Fix style of DatePickek, Form, Table.
2.3.0#
2016-11-04Upgrade normalize.css to 5.0.
Point main file to
lib/index.jsin package.json. #3397A brand new
Spindesign.Add
addonforTimePickerto allow render some addon to its bottom.Add
onDragEndforTree.Add
borderedforCollapse.Improve
Tabsswitch animation.Improve
RadioandCheckboxstyle when it's disabled and mouse hovered. #3590Optimize
Transferperformance.#2860Fix nested
Popoverstyle issue. #3448Fix issue resulting in server side render
Transferfailed. #3686Fix issue resulting in preview image not display when
Uploadinpicture-cardmode. #3706 @denzwDatePicker
onChangewill be triggered whenDatePickerinshowTimemode on blur now.Add
monthCellContentRenderforMonthPicker.Rangepickercan input time manually now.#3718Add czech locale/translations.
Badge
Mention
Tag
Radio.Group
Add
className.nullorundefinedchildrenwill be ignored.
Select
2.2.0#
2016-10-28Supports TypeScript@2.0. @AlbertZheng #3358
Not rely on specific version of React now. #3627
Alert supports
classNamestyle.DatePicker & MonthPicker & RangePicker allow developers to set whether to show the clear button. #3618
Form.Item can generate
validateStatus&helpfor nested form control automatically. #3212RangePicker can set some hours or minutes or seconds to be not selectable. #
Switch
The width of Switch will resize automatically, according to
checkedChildren/unCheckedChildren. #3380Improve the switch animation.
Upload can customized request now. @edgji
Icon
New icons
bulbselectlike-odislike-o.Adjust existing icons
loadinglikedislike.
Improve the TypeScript definition of Card & DatePicker & Icon & Table. @infeng 3468 #3603 #3531
Fix Cascader
defaultValueshould work. #3470Fix the alignment of Button & Input & DatePicker & Select. #3481
DatePicker
Fix wrong timing of triggering
onChangewhileDatePicker[showTime]is set. #3523
Fix
Dropdown.Button[disabled]doesn't works for behaviour. #3535Menu
Fix loading status animation for message.#3536
Form
Should not limit the min width of Popover while
Popover[title]is not set.Table
Tabs
Height of header of
Tabs[type="card|editable-card"]should follow design.Fix height of TabPane should follow height of its content. #3304
Fix style of
TreeSelect[showSearch]. #3520
2.1.0#
2016-10-16Supports spinning Icon.
Tabs's switch animation could be disabled now. #3324
Add Spanish localization for LocaleProvider. @Danjavia
Update Russian localization for LocaleProvider. @plandem
Add
onSelectevent for AutoComplete.Improve style of Modal.
Improve animation of Tooltip.
Improve style of Transfer's buttons.
Improve style of Tree.
Fix some less variables.
Fix errors while import the whole antd in SSR.
Fix errors while render Affix and BackTop on server. #3283 #3343
Fix conflicts between Cascader search mode and browser's autocomplete behaviour. #3350
Fix bug that
h3cannot be the value of Cardtitle. #3388DatePicker
Fix overflow issue for Form.Item label.
Fix that Icon should not show border in Safari.
Fix infinite loop while inc/dec InputNubmer with keyboard. #3239
Fix the style of the arrow of Popover.
Fix bug Popover and Popconfirm
arrowPointAtCenterdoesn't work.Select
Fix style conflicts while use
border&title&footerof Table at the same time. #3301Fix that the height of TabPane doesn't follow height of content. #3377
Fix bug Transfertitles is not under the control of LocaleProvider. #3264
Upload
Fix bug that moment locales is not found while built. #3204 #3411
2.0.1#
2016-10-01Fix developers cannot call methods of react-slick. #3164
Fix Steps.Stepicon should support React.ReactNode. #3159
Fix server-side render for Affix. #3216
Fix Mention should support
onSelectplaceholder. #3236 #3226Fix Transfer cannot work with
getFieldDecorator.Fix LocaleProvider doesn't work for time-related components.
Fix Cascader doesn't show search text in search mode.
Fix the animation & text Spin should be placed in vertical middle.
Fix styles of RangePicker Modal Tag Progress.
2.0.0#
2016-09-28After four months,
antd@2.0.0is published. We had refactored code and improve functionalities and details of existing components. What's more, we provide English version of the documentation. The antd community help us a lot in developingantd@2.0.0.If you meet any problem while you try to upgrade from
antd@1.0.0, feel free to create issues on GitHub.2.x Major changes#
Refactor components with TypeScript, and provide
.d.tsfiles which are officially supported. Thanks to all the developers that contributed to #1846 and @infeng.Translate the documentation into English, and we are going to provide both of Chinese and English versions of the documentation in the future. Thanks to all the translators and reviewers that contributed to #1471.
DatePicker, TimePicker, Calendar and other components that are designed to select time are refactored to replace gregorian-calendar with moment.
All the icons are re-designed.
New component Mention.
New component AutoComplete.
The
getFieldPropsof Form is replaced withgetFieldDecoratorwhich will warn developers if they make mistakes. Related discussion #1533.Table supports grouping columns. @yesmeck
Removed components and features which are deprecated in
antd@1.x, such as QueueAnim, Validation, Form.ValueMixin, Progress.Line, Progress.Circle, Popoveroverlay and Slidermarks will not support array any more.
2.x Breaking changes#
We suggest you upgrade to lastest version of
2.x.There are some breaking changes in
antd@2.0.0, and you need to modify your code to work with it.valueanddefaultValueof all the time-related components will not support typeString/Date, please use moment:- <TimePicker defaultValue="12:08:23" /> + <TimePicker defaultValue={moment('12:08:23', 'HH:mm:ss')} /> - <DatePicker defaultValue="2015/01/01" /> + <DatePicker defaultValue={moment('2015/01/01', 'YYYY/MM/DD')} /> - <Calendar defaultValue={new Date('2010-10-10')} /> + <Calendar defaultValue={moment('2010-10-10', 'YYYY-MM-DD')} />Parameters of type
Date/GregorianCalendarof functions such asonChangeandonPanelChange, plus other callback functions had been changed to type moment. Please consult APIs of gregorian-calendar and APIs of moment, and update your code accordingly. And you can consult this commit to see how to update.Because the return value of
JSON.stringy(date: moment)will lost time zone, we should use.formatto convert date to string first, see related issue #3082 for details:handleSubmit() { const values = this.props.form.getFieldsValue(); values.date = values.date.format('YYYY-MM-DD HH:mm:ss'); // or other format const data = JSON.stringify(values); // send data to server }For the value of time-related components becomes an instance of
moment, you should replacetype: 'date'withtype: 'object'in form validation.The
formatof time-related components is changed from gregorian-calendar-format to moment format now, for instance the formatyyyy-MM-ddshould change toYYYY-MM-DD.linkRenderandnameRenderof Breadcrumb are removed, please useitemRender.onCloseandonOpenof Menu are removed, please useonOpenChange. As being totally different, please check this demo first.Paging columns of Table were removed, please use fixed columns.
Popover[overlay]is removed, please usePopover[content]instead.
The following change will throw some warnings in the console and it will still work, but we recommend to update your code.
getFieldPropsof Form is deprecated, please usegetFieldDecorator:- <Input placeholder="text" {...getFieldProps('userName', { ... })} /> + {getFieldDecorator('userName', { ... })( + <Input placeholder="text" /> + )}Look up to #1533 for related discussion.
toggleOpenof DatePicker is deprecated, please useonOpenChange:- handleToggleOpen({ open }) { + handleOpenChange(open) { ... }
2.x Bug fixes#
Dropdown.Buttondisabled should work. #3070
option.withRefof Form.create should work. #2843Fix slow response of expanding sub menu in Menuinline mode. #2701
The button of Modal.confirm(and so on) should not be clickable while it is closed asynchronously. #2684
formatof DatePickershowTime should work. #3123Fix TabledataSource treat key whose value is
0as inexisting. #3166 @noonnightstormTree.Node should not show arrow if it has no child nodes. #2616
Fix cursor style of arrows that are hidden of Tree.Node. #2748
2.x Other improvements#
Alert supports
bannermode.BackTop will scroll to top with animation.
Badge supports status dot mode.
Cascader supports searching options directly.
Checkbox supports indeterminate mode.
Form supports vertical layout.
InputNumber supports long press to increase/decrease number. #
notification supports customized icon.
Spin allows customized tips and animation work together. @jerrybendy
Transfer can handle event while options are checked/unchecked. #
Transfer can determine whether an option is checkable.
Improve style of Alert and notification.
Modal.confirm(and so on) can be closed by keyboard. @Dafrok
Improve the user experience of selecting time in DatePicker.
Improve the status changed animation of Spin.
Update font-family.
2.x Workflow#
AntD Library a collection of Axure files which includes components and patterns that follow Ant Design Specification.
Rename
babel-plugin-antdtobabel-plugin-import, and this means thatbabel-plugin-importbecomes an common load-on-demand solution and not just forantd.Please update
package.json:{ "devDependencies": { - "babel-plugin-antd": "^0.x.x", + "babel-plugin-import": "^1.0.0", } }And update your babel config in
.babelrcor other place:{ - "plugins": [["antd", { "style": "css" }]] + "plugins": [["import", { "libraryName": "antd", "style": "css" }]] }dva@1.0.0 is published and it is officially recommended framework in real world.
The officially recommended scaffold is dva-cli now, the old
antd-initis just for studying and demo.

