🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

98 KiB

Change Log (The following content is translated by Google)

ant-design-vue strictly follows Semantic Versioning 2.0.0.

Release Schedule

  • Weekly release: patch version for routine bugfix.
  • Monthly release: minor version for new features.
  • Major version release is not included in this schedule for breaking change and new features.

2.2.8

2021-09-17

  • 🌟 Upload method supports patch #4637
  • 🌟 List gutter supports array d2b721
  • 🐞 Fix Modal type error #4632
  • 🐞 Fix the problem that AutoComplete cannot reset undefined 741718
  • 🐞 Fix the missing style of Tag closed icon #4649
  • 🐞 Fix the problem that the TreeSelect clear button does not display under special conditions #4655
  • 🐞 Fix useForm immdiate not working issue #4646

2.2.7

2021-09-08

  • 🌟 Menu supports overflowedIndicator slot #4515
  • 🌟 useForm supports dynamic rule #4498
  • 🌟 Select supports Number type #4570
  • 🐞 Fix the warning problem caused by css zoom #4554
  • 🐞 Fix Mentions input Chinese error report #4524
  • 🐞 Fix the issue that AutoComplete does not support global prefixCls #4566
  • 🐞 Fix Table nested table error report #4600
  • 🐞 Fix MenuItem danger property under Dropdown has no style problem #4618
  • 🐞 Fix Modal.xxx and other methods passing appContext invalid problem #4627
  • 🐞 Fix some TS type errors

2.2.6

2021-08-12

  • 🐞 Fix Table expanded list rendering problem #4507
  • 🐞 Fix Rate custom character slot not taking effect #4509
  • 🐞 Add resize-observer-polyfill to fix the problem of reporting errors in low versions of Chrome #4508

2.2.5

2021-08-11

  • 🌟 Select supports customizing nodes through option slots 68c1f4
  • 🐞 Fix the problem that the pop-up window component in the development environment does not display in the lower version of chrome, and avoid the pop-up window flashing #4409
  • 🐞 Fix the problem of not scrolling to the active position when Select is opened ccb240

2.2.4

2021-08-10

  • 🌟 Support Vue@3.2 #4490
  • 🌟 Automatically hide the horizontal scroll bar of Table #4484
  • 🐞 Fix the issue of Progress trailColor not taking effect #4483

2.2.3

2021-08-07

  • 🌟 Use position: sticky for the fixed column of Table to improve performance and solve the problem of misalignment in some scenes 38569c
  • 🌟 Collapse supports number type key #4405
  • 🌟 Optimize the flickering problem of Tabs when selected under windows #4241
  • 🌟 InputPassword supports global setting prefixCls #4430
  • 🐞 Fix Select cannot scroll issue #4396
  • 🐞 Fix Badge error reporting under ssr #4384
  • 🐞 Fix the issue of invalid data fields in Form #4435
  • 🐞 Fix an error when the child element of FormItem is a native label #4383
  • 🐞 Fix the error when TreeSelect customize title through slot #4459

2.2.2

2021-07-11

  • 🌟 Switch added checkedValue and unCheckedValue attributes to customize checked binding value #4329
  • 🐞 Fix the issue of missing SubMenu animation #4325
  • 🐞 Fix that there is no red box problem when TimePicker validates the error under Form #4331
  • 🐞 Fix UploadDragger does not support vite-plugin-components on-demand loading problem #4334
  • 🐞 Fix the error when TreeSelect customize title through slot 1152e8
  • 🐞 Fix the dropdown submenu style loss issue #4351
  • TS
    • Fix the type error of Table in ts 4.3.5 version #4296
    • Improve notification type #4346

2.2.1

2021-07-06

  • 🐞 Fix the issue that the Space component does not take effect in browsers that do not support flex
  • 🐞 Fix the issue of DatePicker triggering scrolling under safari #4323

2.2.0

2021-07-06

  • 🎉 Refactor the Button component, remove type="danger", and add the danger attribute #4291
  • 🐞 Fix Rate component not updating issue #4294
  • 🐞 Fix Tree replaceFields error report #4298
  • 🐞 Fix Modal missing parentContext type problem #4305

2.2.0-rc.1

2021-06-29

  • 🌟 Change babel configuration, smaller build package size
  • 🌟 Form provides the useForm function natively, and we will deprecate the @ant-design-vue/use library
  • 🐞 Fix the issue that the Form validateFirst property does not trigger reject when there are multiple validation rules #4273
  • 🐞 Fix List circular references causing errors in Vite #4263
  • 🐞 Fix the missing item attribute problem in Menu event callback #4290

2.2.0-beta.6

2021-06-26

  • 🌟 Menu performance optimization e8b957
  • 🐞 Fix Layout RangePicker WeekPicker Textarea on-demand loading failure

2.2.0-beta.5

2021-06-24

  • 🎉 Support vite-plugin-components to be loaded on demand
  • 🎉 Refactor the List component
  • 🌟 Select adds responsive folding option 656d14
  • 🐞 Fix the problem that the virtual list cannot be scrolled when the Select dynamic update option b2aa49d
  • 🐞 Fix the incorrect location of Select keyboard events 604372
  • 🐞 Fix the issue that AutoComplete does not support options slot #4012

2.2.0-beta.4

2021-06-21

  • 🎉 Refactor Descriptions component #4219
  • 🐞 Fix the issue that Countdown does not trigger the finish event #4222
  • 🐞 Fix ConfigProvider reporting errors under vue 3.1 #4225
  • 🐞 Fix the problem of using SubMenu under Dropdown to report an error #4205
  • 🐞 Fix Col type error #4226
  • 🐞 Fix the problem that onEnd is not triggered when Typography is out of focus #4227
  • 🐞 Fix ImagePreview style loss problem #4231

2.2.0-beta.3

2021-06-11

  • 🎉 Refactor Breadcrumb, Statistic, Tag components
  • 🌟 Statistic supports loading attribute
  • 🐞 Fix the problem of Menu rendering multiple sub-components to improve performance 6ae707
  • 🐞 Fix FormItem custom class invalidation 617e53
  • 🐞 Fix MenuDivider class error #4195
  • 🐞 Fix Tag and Image type errors
  • 🐞 Fix the issue of missing component animations such as Modal #4191
  • 🐞 Fix the issue that Select class cannot be dynamically updated #4194
  • 🐞 Fix the problem that the Dropdown mail expands and cannot be collapsed by clicking #4198
  • 🐞 Fix the issue of missing some export methods of FormItem #4183

2.2.0-beta.2

2021-06-08

  • 🐞 Fix PageHeader display extension problem 4de73
  • 🐞 Fix the problem that some components cannot be rendered normally under Vue3.1#4173
  • 🐞 Fix Menu.Divider name error problem 6c5c84

2.2.0-beta.1

2021-06-17

  • 🔥🔥🔥 Virtual Table independent library released https://www.npmjs.com/package/@surely-vue/table, this component is an independent library, the document example is not yet complete, it is a completely ts-developed component , There are good type hints, there are API documents on npm, those who are in a hurry can explore and use it, here is an online experience example, https://store.antdv.com/pro/preview/list/big-table-list

  • 🔥🔥🔥 Refactored a large number of components, the source code is more readable, the performance is better, and the ts type is more comprehensive -Refactored components in this version Anchor, Alert, Avatar, Badge, BackTop, Col, Form, Layout, Menu, Space, Spin, Switch, Row, Result, Rate

  • 🎉 Menu

    • Better performance #3300
    • Fix the problem of incorrect highlighting #4053
    • Fix console invalid warning #4169
    • Easier to use, simpler to use single file recursion #4133
    • 💄 icon icon needs to be passed through slot
  • Skeleton

    • 🌟 Support Skeleton.Avatar placeholder component.
    • 🌟 Support Skeleton.Button placeholder component.
    • 🌟 Support Skeleton.Input placeholder component.
  • 💄 Destructive update

    • The a-menu-item and a-sub-menu icons need to be passed through the slot, and the icon is not automatically obtained through the sub-node
    • row gutter supports row-wrap, no need to use multiple rows to divide col
    • Menu removes defaultOpenKeys and defaultSelectedKeys; Switch removes defaultChecked; Rate removes defaultValue; Please be cautious to use the defaultXxx-named attributes of other unrefactored components, and they will be removed in future versions.
  • 🌟 Added Avatar.Group component

  • 🐞 Fix AutoComplete filterOptions not taking effect #4170

  • 🐞 Fix Select automatic width invalidation problem #4118

  • 🐞 Fix the lack of internationalized files in dist #3684

2.1.6

2021-05-13

  • 🐞 Use vue@3.0.10 to rebuild to avoid console warning #3998

2.1.5

2021-05-12

  • 🐞 Fix SSR time reporting error #3983

2.1.4

2021-05-09

  • 🐞 Fix Table scrolling misalignment issue #4045
  • 🐞 Fix Typography editable mode triggering link jump issue #4105
  • 🐞 Fix the issue that Carousel variableWidth does not take effect #3977
  • 🐞 Fix the problem that TreeSelect cannot delete parent and child nodes at the same time through the keyboard #3508
  • 🐞 Fix some types of errors

2.1.3

2021-04-25

  • 🎉🎉🎉 remove ads during npm installation
  • 🐞 Select
    • Fix the first issue of default activation #3842
    • Fix group display abnormal problem #3841
    • Fix scrolling abnormal issue after dynamically updating selections #3972
  • 🐞 Fix the issue that Checkbox triggers twice update:checked #3838
  • 🌟 Table column group supports fixed #3882
  • 🌟 Table column supports v-for #3934
  • 🐞 Fix the problem that Table displays horizontal scroll bar on windows 6d33d6
  • 🌟 Form scrollToFirstError supports option parameter passing #3918
  • 🐞 Fix the issue of Calendar month selector displaying wrong characters #3915
  • 🌟 Refactor the Switch component and remove the defaultChecked attribute #3885
  • 🐞 Fix the process exception when using Vite #3930
  • 🐞 Fix Radio shadow occlusion problem #3955
  • 🐞 Fix the issue that span does not take effect in Form inline mode #3862
  • 🐞 Fix the issue that Cascader keydown selection does not take effect #958
  • 🐞 Fix Image preview function failure problem #3701
  • 🐞 Fix some TS type issues

2.1.2

2021-03-28

  • 🌟 Recompile with Vue 3.0.9, compatible with 3.0.7 and below

2.1.1

2021-03-27

  • 🌟 Compatible with Vue 3.0.8, note: Due to the destructive update of 3.0.8, 2.1.1 is not compatible with versions below 3.0.7 [vue#3493](https://github.com/vuejs/vue-next/issues /3493)
  • 🐞 Fix Modal.confirm missing closable ts type #3684
  • 🐞 Fix upload custom method not working issue #3843

2.1.0

2021-03-20

  • 🎉🎉🎉 Added Typography component #3807
  • 🌟 Modal method adds close icon customization #3753
  • 🐞 Fix missing build files containing internationalization #3684
  • 🐞 Fix Drawer error after destruction #848d64
  • 🐞 Fix BackTop incorrect position when KeepAlive is activated #3803
  • 🐞 Fix the problem that the TreeNode class does not take effect #3822
  • 🐞 Fix Table tags being an array error issue #3812
  • 🐞 Fix the sorting issue when Table custom filterIcon is triggered #3819
  • 🐞 Fix Select style misalignment under Form #3781

2.0.1

2021-02-27

  • 🌟 Badge adds Ribbon #3681
  • 🌟 Adjust the trigger order of SearchInput search event #3725
  • 🐞 Fix the stuck problem when Table is destroyed #3531
  • 🐞 Fix the issue of less file introduced in Menu css #3678
  • 🐞 Fix the problem of Alert custom icon misalignment #3712

2.0.0

2021-02-06

  • 🎉🎉🎉 2.0 official version released
  • 🎉🎉🎉 support dark theme #3410
  • 🎉🎉🎉 The new version of the document is online, use the Composition API to completely reconstruct the document example, and provide the TS and JS dual version source code
  • 🌟 Refactor the Alert component using Composition API #3654
  • 🌟 Tooltip supports custom colors #3603
  • 🐞 Fix the problem that TimePicker does not automatically scroll to the selected position #ab7537

2.0.0-rc.9

2021-01-24

  • 🌟 @ant-design/icons-vue upgrade to 6.0, use es module by default
  • 🌟 Tabs adds centered centered mode #3501
  • 🐞 Progress Add opacity animation #3505
  • 🐞 Fix an error when installing npm #3515
  • 🐞 Fix the problem of Breadcrumn split line not displaying #3522
  • 🐞 Fix Radio uncontrolled issue #3517
  • 🐞 Fix FormItem not wrapping issue #3538
  • 🐞 Fix Carousel pauseOnDotsHover not working problem #3519
  • 🐞 Fix Input.Search class not working issue #3541
  • 🐞 Fix the issue that InputNumber triggers the change event multiple times under Microsoft input method #3550
  • 🐞 Fix the problem that the keyboard can still be switched in the disabled state of Tabs #3575
  • 🐞 Fix the issue that Switch does not take effect in the table #3512

2.0.0-rc.8

2021-01-07

  • 🌟 Support Vite 2 #3490
  • 🌟 Use Composition API to refactor Affix component #3447
  • 🐞 Fix Image component type definition error #3488
  • 🐞 Upgrade icons-vue Fix IconFont component type error #3474
  • 🐞 Fix Tooltip arrow style error in less 4 #3477
  • 🐞 Fix DatePicker type definition parsing error under Vue 3.0.5 #bf7c62

2.0.0-rc.7

2020-12-28

  • 🐞 Fix Switch changeclick not work #3453

2.0.0-rc.6

2020-12-27

  • 🌟 Support Less 4 #3449
  • 🌟 Added Image component #3235
  • 🌟 Functional component, add displayName attribute #3445
  • 🐞 Message adds custom class style function #3443
  • 🐞 Fix the initial disabled state of the Tabs component does not take effect #3366
  • 🐞 Fix Slider accuracy issue #3346
  • 🐞 Fix the incorrect scroll height of Select #3419
  • 🐞 Fix the problem that Input small is too small and the height is 2px #3396
  • 🐞 Fix the problem that TreeSelect triggers two change events
  • 🐞 Fix the endless loop problem of TreeSelect defining title through slot
  • 🐞 Fix the problem that Drawer handle slot triggers two click events
  • 🌟 Added Checkbox and Switch event declaration

2.0.0-rc.5

2020-12-13

  • 🐞 Fix the undefined warning problem of this.dom output in the Drawer component console
  • 🐞 Fix Menu in Vue 3.0.3 and above versions, display confusion problem #3354

2.0.0-rc.4

2020-12-10

  • 🌟 Input.Password supports custom icons #3320
  • 🐞 Fix the issue that the Select Option click event does not trigger #4ea00d
  • 🐞 Fix the problem that the dark theme does not work after the Menu exceeds the width #10f35a
  • 🐞 Fix Menu console vue key some waring #520d6a
  • 🐞 Remove console passive prompt log #8d1669

2.0.0-rc.3

2020-12-05

  • 🐞 Fix the problem of functional components reporting type errors in Vue 3.0.3 #f5cf7e
  • 🐞 Fix Menu display error after detecting width #3262
  • 🐞 Fix Menu subMenuOpenDelay subMenuCloseDelay not working problem #3291
  • 🐞 Fix TreeSelect stack overflow problem #28aeea
  • 🐞 Fix Input custom style class being overwritten #3273
  • 🐞 Fix InputNumber parse error in production environment #3249

2.0.0-rc.2

2020-11-24

  • 🌟 Optimize Menu performance, enable lazy loading by default #3243
  • 🌟 Tag supports defining icon via slot #3185
  • 🌟 Small type table changed to borderless #3221
  • 🌟 @ant-design/icons-vue upgraded to 5.1.6, support SSR, support spin attribute shorthand
  • 🐞 Fix the style problem of Alert's close button in Safari #3184
  • 🐞 Fix the problem of Notification top attribute type error #3187
  • 🐞 Fix DirectoryTree custom icon does not take effect #3183
  • 🐞 Fix Button loading delay not taking effect #3194
  • 💄 Select optionFilterProp no longer supports filtering by children #3204
  • 🐞 Fix Select labelInValue error when reporting #3216
  • 🐞 Fix ConfigProvider transformCellText missing issue #3206
  • 🐞 Fix the style disorder problem when Dropdown Button is mixed together #3244
  • 🐞 Fix RangePicker custom width invalidation issue #3244
  • 🐞 Fix multiple errors or missing Ts types

2.0.0-rc.1

2020-11-14

  • 🎉🎉🎉
  • 🌟 Menu cancel the default lazy loading, improve the first animation effect, optimize the Bezier curve function, and make it smoother #3177
  • 🐞 Fix Select search function failure problem #3144
  • 🐞 Fix the Drawer component does not have automatic focus, which can not be closed directly by the ESC button #3148
  • 🐞 Fix the incorrect position of popover elements in Popover #3147
  • 🐞 Fix CountDown not updating problem #3170
  • 🐞 Fix multiple errors or missing Ts types

2.0.0-beta.15

2020-11-08

  • 🌟 Optimize the Menu animation to make it smoother #3095
  • 🌟 Optimize VirtualList to avoid invalid render #2e61e9
  • 🐞 Fix Menu overflowedIndicator not taking effect #689113
  • 🐞 Select
    • Fix the issue that dropdownRender does not support slot #3098
    • Fix the issue of abnormal empty values in tag mode #3100
    • Fix the problem that the selected item is not updated in single selection mode #3099
    • Fix foucs status not taking effect in special scenarios #3099
  • 🐞 Fix DatePicker default formatting invalid problem #3091
  • 🐞 Fix Table customRow configuration event not taking effect #3121
  • 🐞 Fix the style of TreeSelect search box [ee4cd3c](https://github.com/vueComponent/ant-design-vue/commit/ ee4cd3c35a)
  • 🐞 Fix Ts type error or missing problem

2.0.0-beta.13

2020-11-02

  • 🐞 Fix npm install error report #3080
  • 🐞 Fix Select maxPlaceHolder display error problem #3085
  • 🐞 Fix the pop-up component, the pop-up position is not updated #3085
  • 🐞 Fix the warning problem when Table data is empty #3082
  • 🐞 Fix Input display multiple borders in Form #3084

2.0.0-beta.12

2020-11-01

  • 🐞 Fix dist/antd.css missing component style issue #3069
  • 🐞 Fix Input style issue #3074
  • 🐞 Fix Form layout="vertical" style issue #3075
  • 🐞 Fix Select cannot open popup problem #3070

2.0.0-beta.11

2020-10-30

  • 🎉🎉🎉 Refactored Select and AutoComplete components, supports virtual lists, and greatly improves performance
  • 🔥🔥🔥 Use Typescript to refactor all components, type support is more friendly
  • 🔥 Optimize the underlying animation components, with better performance and smoother
  • 🌟 Textarea component added showCount to support word count function
  • 🌟 Recursive Menu component, supports arbitrary nesting of other elements #1452
  • 🇮🇪 Add Irish language internationalization support
  • 🐞 Fix webpack 5 compatibility issues.
  • 🐞 Fix the problem that the Upload method attribute does not take effect #2837
  • 🐞 Fix Table component filter not supporting number type problem #3052
  • 🐞 Fix Table fixed column ellipsis not working issue #2916
  • 🐞 Fix Table custom expandIcon not taking effect #3013
  • 🐞 Fix the problem that TreeSelect cannot customize slot #2827
  • 🛎 Change Avatar's srcSet to srcset

2.0.0-beta.10

2020-09-24

  • 🌟 Update Vue dependency to release version
  • 🐞 Fix the problem that Menu does not collapse in Layout #2819
  • 🐞 Fix a warning issue when switching Tabs #2865
  • 🐞 Fix the problem that the input box does not trigger the change event when compositionend
  • 🐞 Fix the problem that the Upload button does not disappear #2884
  • 🐞 Fix upload custom method not working issue #2837
  • 🐞 Fix some ts type errors

2.0.0-beta.8

  • 🐞 Fix ts types error

2.0.0-beta.7

  • 🐞 Fix the problem that Descriptions Item does not support v-for #2793
  • 🐞 Fix Modal button loading effect not working problem 9257c1
  • 🐞 Fix the problem that the Steps component cannot be clicked when using v-model ec7309
  • 🌟 Checkbox, Radio add event declaration
  • 🐞 Fix ts type error 802446

2.0.0-beta.6

  • 🐞 Fix the problem that TreeSelectNode subcomponent TreeSelectNode is not registered

2.0.0-beta.5

  • 🔥 Support Vite.

2.0.0-beta.4

  • 🌟 Remove polyfills that are no longer used
  • 🐞 Fix the problem of calling Modal afterClose twice
  • 🐞 Supplement the declaration that ts type files lack native attributes

2.0.0-beta.3

  • 🔥 Support Typescript.
  • 🔥 Added Space component.
  • 🐞 Fix the problem that some components cannot use css scope 4bdb24.
  • 🐞 Fix List.Meta registration failure problem 03a42a
  • 🐞 Fix the problem of misalignment in the fixed column of Table #1493
  • 🐞 Fix the problem that the Button is not vertically centered bd71e3
  • 🐞 Fix Tabs multiple departure change event issue 8ed937

2.0.0-beta.2

Design specification adjustment

  • Adjust the row height from 1.5(21px) to 1.5715(22px).
  • Basic round corner adjustment, changed from 4px to 2px.
  • The color brightness of the dividing line is reduced, from #E8E8E8 to #F0F0F0.
  • The default background color of Table is changed from transparent to white.

Compatibility adjustment

  • The minimum supported version of Vue is Vue 3.0.

Adjusted API

  • Removed LocaleProvider, please use ConfigProvider instead.

  • Removed the afterClose property of Tag.

  • Merged FormModel and Form, see the Form refactoring part below for details.

  • tabIndex, maxLength, readOnly, autoComplete, autoFocus are changed to all lowercase.

  • In order to use the slot more friendly in template syntax, all related to xxxRender, renderXxxx are changed to single parameter, involving itemRender, renderItem, customRender, dropdownRender, dateCellRender, dateFullCellRender, monthCellRender, monthFullCellRender, renderTabBar.

  • All the places where scopedSlots are configured are changed to slots.

  • { on, props, attrs, ... } configuration is flattened, such as { props: {type:'xxx'}, on: {click: this.handleClick}} changed to { type: 'xxx', onClick: this.handleClick }, related fields: okButtonProps, cancelButtonProps.

  • Change xxx.sync to v-model:xxx

  • v-model is changed to v-model:xxx, which specifically involves components:

    • The components changed from v-model to v-model:checked are: CheckableTag, Checkbox, Switch
    • The components changed from v-model to v-model:value are: Radio, Mentions, CheckboxGroup, Rate, DatePicker
    • The components changed from v-model to v-model:visible are: Tag, Popconfirm, Popove, Tooltip, Moda, Dropdown
    • The components changed from v-model to v-model:activeKey are: Collaps, Tabs
    • The components changed from v-model to v-model:current are: Steps
    • The components changed from v-model to v-model:selectedKeys are: Menu

Icon Upgrade

In ant-design-vue@1.2.0, we introduced the svg icon (Why use the svg icon?). The icon API that uses string naming cannot be loaded on demand, so the svg icon file is fully introduced, which greatly increases the size of the packaged product. In 2.0, we adjusted the icon usage API to support tree shaking, reducing the default package size by approximately 150 KB (Gzipped).

The old way of using Icon will be obsolete:

<a-icon type="smile" /> <a-button icon="smile" />

In 2.0, an on-demand introduction method will be adopted:

<template>
  <smile-outlined />
  <a-button>
    <template v-slot:icon><smile-outlined /></template>
  </a-buttom>
</template>
<script>
import SmileOutlined from'@ant-design/icons-vue/SmileOutlined';
export default {
  components: {
    SmileOutlined
  }
}
</script>

Component refactoring

In 1.x, we provide two form components, Form and FormModel. The original Form component uses v-decorator for data binding. In Vue2, we use context to force update components. However, in Vue3, due to the introduction of patchFlag, etc. Optimization method, forced refresh will destroy the performance advantage brought by patchFlag. So in version 2.0, we merged Form and FormModel, retained the use of FormModel, enriched related functions, and renamed it to Form.

Involving changes:

  • Added scrollToFirstError, name, validateTrigger properties for Form, added finish, finishFailed events, and added scrollToField method.
  • Form.Item adds validateFirst, validateTrigger, and discards the prop attribute, and replaces it with name.
  • The nested field path uses an array. In the past version, we used. To represent the nested path (such as user.name to represent {user: {name:''} }). However, in some back-end systems, the variable name will also carry .. This causes users to need additional codes for conversion. Therefore, in the new version, nested paths are represented by arrays to avoid wrong handling behaviors (such as ['user','name']).
  • validateFields no longer supports callback. validateFields will return a Promise object, so you can perform corresponding error handling through async/await or then/catch. It is no longer necessary to determine whether errors is empty:
// v1
validateFields((err, value) => {
  if (!err) {
    // Do something with value
  }
});

Change to

// v2
validateFields().then(values => {
  // Do something with value
});

1.6.4

2020-07-21

  • 🐞 Fix breadcrumb Breadcrumb duplicate key problem #2505
  • 🐞 Fix the Tooltip issue when MenuItem title is empty #2526
  • 🐞 Fix the problem that Input textarea cannot be dragged up when allow-clear is activated. #2563
  • 🌟 Add less variables @select-item-selected-color #2458
  • 🌟 Add flex attribute to Col in Grid #2558

1.6.3

2020-07-05

  • 🐞 Fix Input.Password focus position shift issue #2420
  • 🐞 Fix Drawer maskstyle not working #2407
  • 🐞 Fix Drawer maskstyle not working #2407
  • 🌟 Button supports custom Icon #2245
  • 🌟 DatePicker supports custom format #2276
  • 🐞 Fix DatePicker year and time is incorrect #2488
  • 🌟 Optimize the Menu component, the animation is smoother
  • 🐞 Fix Dropdown pop-up position error #2359
  • 🐞 Fix the problem of duplicate key when Breadcrumb has the same name #2505

1.6.2

2020-06-02

  • 🐞 Fix dialogClass type error #2298
  • 🐞 Fix RangePicker panel display error #2318

1.6.1

2020-05-25

  • 🐞 Fix the problem of filling the current time when DatePicker blur #2246
  • 🐞 Fix Drawer error when destroying #2254
  • 🐞 Fix Tabs cannot remove tabs with 0 as key 55bbf9
  • 🐞 Fix Menu trigger twice click event #2266
  • 🐞 Fix Menu active class name is not added ffc002
  • 🌟 TreeSelect add custom data field function #2253
  • 🌟 Modal added dialogStyle and dialogClass instead of style and class before refactoring #2285
  • 🐞 Fix Table sorting trigger infinite update issue #2270

1.6.0

2020-05-15

  • 🌟 Tootip supports custom components 741897
  • 🐞 Refactor Modal's underlying Portal components to solve the problem of delayed content update in Modal #2244
  • 🐞 Fix Select option focus border style in Input.Group #2224
  • 🐞 Fix Cascader option icon color when disabled #2223
  • 🐞 Fix DatePicker color when separator is disabled #2222
  • 🐞 Fix Carousel keyboard switch to Radio / Checkbox on inactive slide.
  • 🐞 Fix the problem that Table filter menu is not displayed when less version is 2.x. #23272
  • 🐞 Fix the failure of Table column.filtered.
  • 🐞 Fix the style problem of Input in Safari browser in Select multiple mode. #22586
  • 🐞 Fix the problem that Descriptions can not adapt in small size. #22407

1.5.6

2020-05-09

  • 🐞 Fix the problem of missing css, min.js and other files in the dist folder

1.5.5

2020-05-08

  • 🐞 Fix Tabs not showing issue under safari 13 #2199
  • 🐞 Fix the first input failure of Input under FireFox #2151
  • 🐞 Fix Input cursor shift issue in Modal component #2207

1.5.4

2020-04-30

  • 🌟 DatePicker supports the align attribute and sets the popup position #1112f2
  • 🌟 DatePicker supports inputReadOnly attribute #138eae
  • 🌟 DatePicker TimePicker Calendar supports string-type binding values #718
  • 🌟 Table ConfigProvider adds transformCellText for transforming table rendering values, such as processing of empty data #2109
  • 🌟 FormModel added validateMessages attribute #2130
  • 🌟 Optimize pop-up window animation effect #bf52f73
  • 🐞 Fix the tabBarGutter attribute of the Tabs component does not take effect #2083
  • 🐞 Fix renderTabBar of Tabs component not working #2157
  • 🌟 Tabs component supports number 0 as key #2167
  • 🐞 Fix the style of the Input.Search component is misaligned #2077
  • 🐞 Fix the style misalignment of Slider component #2097
  • 🐞 Fix Tree.TreeNode customTitle scope slot can not get selected status issue #2006
  • 🐞 Fix SelectTree showSearch error when reporting #2082
  • 🐞 Fix the inconsistent position of original dots in Badge dot state #2121

1.5.3

2020-04-13

  • 🐞 Fix the problem that the content does not respond to updates when Dropdown visible is unchanged #81eb40

1.5.2

2020-04-09

  • 🐞 Fix ts type of FormModel not introduced #1996
  • 🐞 Fix DatePicker.WeekPicker type file error #2044
  • 🐞 Fix "Tabs" tabClick event does not take effect #2030
  • 🐞 Fix Table resize error issue #2033

1.5.1

2020-04-02

  • 🐞 Fix PageHeader cannot hide backIcon #1987
  • 🐞 Fix Pagination doesn't update when total changes #1989
  • 🐞 Fix placeholder does not disappear when inputting TreeSelect in Chinese #1994
  • 🐞 Fix Table customRender cannot customize class style #2004
  • 🐞 Fix Form missing slot content when using Form.create #1998
  • 🐞 Fix Textarea scroll bar flickering problem #1964
  • 🌟 Add ts type file of FormModel #1996
  • 🌟 Add modal destroyAll type declaration #1993

1.5.0

2020-03-29

  • Four new components have been added:
    • 🔥🔥🔥 Mentions Added mentioned components and discarded the original Mention components.
    • 🔥🔥🔥 Descriptions Display multiple read-only fields in groups.
    • 🔥🔥🔥 PageHeader can be used to declare the topic of the page, display important information about the page that the user is concerned about, and carry the operation items related to the current page.
    • 🔥🔥🔥 Result is used to feedback the processing results of a series of operation tasks.
    • 🔥🔥🔥 FormModel Form components that use v-model for automatic validation are more concise than v-decorator forms.
  • 🔥 Descriptions supports vertical layout.
  • 🔥 Progress.Circle supports gradient colors.
  • 🔥 Progress.Line supports gradient colors.
  • Breadcrumb
    • 🎉 Breadcrumb.Item supports the overlay property to define drop-down menus.
    • 🌟 Added Breadcrumb.Separator component, you can customizeseparator.
  • 🌟 TreeSelect's showSearch supports multiple selection mode.
  • 🌟 Timeline.Item adds gray color type, which can be used in incomplete or invalid state.
  • 🌟 Modal supports closeIcon property for customizing the close icon.
  • Upload
    • 🌟 Upload provides previewFile property to customize the preview logic.
    • 🌟 Upload adds transformFile to support converting files before uploading.
    • 🌟 Upload supports previewing pictures in jfif format.
    • 🌟 Added showDownloadIcon property for displaying download icons.
  • 🌟 Input.Search adds loading property, which is used to display the loading status.
  • 🌟 Grid's gutter property adds support for vertical spacing. Now you can set an array forgutter, the second value of the array represents the vertical spacing.
  • 🌟 message Added support for updating content with unique key.
  • 🌟 TextArea supports allowClear.
  • 🌟 Dropdown.Button supports icon property to customize the icon.
  • Drawer
    • 🌟 Support afterVisibleChange property, which is triggered after the drawer animation is completed.
    • 🌟 Support ESC shutdown.
    • 🌟 Added keyboard, which allows the response to keyboard events to be turned on and off.
  • 🌟 TreeNode supports checkable property.
  • 🌟 Transfer supports children custom rendering list.
  • 🌟 Pagination supports disabled property.
  • 🌟 Steps support click to switch function.
  • Slider
    • 🌟 Support tooltipPlacement to define the location of the tip.
    • 🌟 Support getTooltipPopupContainer to allow custom container for the prompt.
    • 🌟 Flip trigger direction when Sider is on the right.
  • 🌟 Calendar supports headerRender to customize header.
  • 🌟 Carousel supports custom panel pointing point locations.
  • 🌟 Collapse supports expandIconPosition property.
  • 🌟 Popconfirm adds disabled props, which are used to control whether clicking child elements pop up.
  • 🌟 Select supports showArrow in multi-select mode.
  • 🌟 Collapse.Panel added extra.
  • Card
    • 🌟 Card component added tabBarExtraContent property.
    • 🌟 Card.Grid added a hoverable property to allow floating effects to be disabled.
  • 🌟 Anchor.Link adds target attribute.
  • 🌟 TimePicker added clearIcon prop for custom clear icon.
  • Form
    • 🌟 Support to configure the colon property directly on the Form.
    • 🌟 Support labelAlign property.
  • Table
    • 🌟 Table adds getPopupContainer property for setting various floating layer rendering nodes in the table.
    • 💄 Adjust the style of the Table expand button.
    • 🌟 Added tableLayout property, supports setting the table'stable-layout layout, and enables tableLayout =" fixed " by default under fixed headers / columns, to solve the column alignment problem caused by the table layout automatically based on content .
    • 🌟 Added column.ellipsis to support automatic omission of cell contents.
    • 🌟 Added scroll.scrollToFirstRowOnChange property, which is used to set whether to scroll to the top of the table after page turning.   -Filter filterDropdown Addedvisible parameter to get the display status of the drop-down box.
    • 🌟 The title method adds asortColumn parameter to get the currently sorted column.   -Sort When sorting, the sorter parameter ofonChange will always contain column information.
  • 🌟 Tree component supports blockNode property.
  • 🌟 RangePicker adds separator definition.
  • Empty
    • 🌟 Empty supports the imageStyle property.
    • 🌟 Empty description supportsfalse.
    • 🌟 Empty Supports access to preset pictures via Empty.PRESENTED_IMAGE_DEFAULT andEmpty.PRESENTED_IMAGE_SIMPLE
  • 🌟 Badge supports custom colors.
  • 🐞 Fix the problem that the label of Steps is not centered.
  • 🐞 Fix cursor style problem of DatePicker and TimePicker.
  • 🐞 Fix TreeSelect custom icon is invalid #1901
  • 🐞 Fix Tabs keyboard left / right switching error #1947

1.4.12

2020-03-03

  • 🐞 Fix ts type error of Modal component #1809

1.4.11

2020-02-12

  • 🌟 DirectoryTree adds custom switcherIcon function #1743
  • 🌟 Add draggable table column width example
  • 🌟 Replace this.$listeners of all components to avoid repeated rendering of components #1705
  • 🐞 Fix ConfigProvider component error report error 7a4003
  • 🐞 Fix placeholder does not disappear when custom input box of AutoComplete component #1761
  • 🐞 Fix Statistic.Countdown does not trigger finish event #1731
  • 🐞 Fix upload component preview image not refreshing f74469
  • 🐞 Fix TimePicker id is not unique #1566
  • 🐞 Fix Pagination pagination without animation #1540
  • 🐞 Fix drop-down list does not show empty elements when Cascader's option is empty array #1701
  • 🐞 Fix spellcheck rendering incorrect for Input component #1707
  • 🐞 Fix Tree component cannot customize icon #1712
  • 🐞 Fix SubMenu forceSubMenuRender property is invalid #1668
  • 🐞 Fix style of upload button is misaligned #1742

1.4.10

2019-12-11

  • 🐞 Fixed the left and right arrows of MonthPicker cannot be worked #1543

1.4.9

2019-12-10

  • 🐞 Fix body scrolling issue when Modal is opened #1472
  • 🐞 Fix Drawer wrapStyle not working #1481
  • 🐞 Fix InputNumber id mount position is incorrect #1477
  • 🐞 Fix Tabs nextClick event does not fire #1489
  • 🐞 Fix MonthPicker cannot be changed in open state #1510
  • 🐞 Fix the issue that AutoComplete does not disappear when entering Chinese #1506
  • 🐞 Fix the problem that the content cannot pop up when referencing different Vue variables 6362bf
  • 🌟 Table customRender Add a third column parameter #1513
  • 🌟 InputPassword adds focus and blur methods #1485
  • 🐞 Fix Tooltip report error when using native html element #1519
  • 🐞 Fix Menu report error in edge browser #1492
  • 🐞 Fix empty centering of Select #1445
  • 🐞 Fix popup window component memory leak problem #1483

1.4.8

2019-11-28

  • 🐞 Fix Menu not trigger click event #1470
  • 🐞 Fix Tooltip not hide in keep-alive 16ec40

1.4.7

2019-11-27

  • 🌟 getPopupContainer ofConfigProvider Added popup context as the second parameter for uniform configuration of getPopupContainer inModal [7a3c88](https://github.com/vueComponent/ant-design -vue / commit / 7a3c881075)
  • 🐞 Fix ConfigProvider reporting error in Vue 2.5 309baa
  • 🐞 Fix Menu click event is triggered twice #1450
  • 🐞 Fix incorrect width of input box in Select #1458
  • 🐞 Fix Select the problem that placeholder does not disappear when inputting Chinese #1458
  • 🌟 Add the TS type declaration for the Comment component #1453

1.4.6

2019-11-20

  • 🐞 Fix Cascader can't enter a space question #1427
  • 🐞 Fix AutoComplete can't delete the last character #1429
  • 🐞 Update dbclick in Tree's expandAction to dblclick #1437
  • 🐞 Update dbclick in the Table document to dblclick #1437
  • 🌟 Add the TS type declaration for the Empty component #1439

1.4.5

2019-11-16

  • 🌟 Form support labelCol wrapperCol for setting layout #1365

  • 🌟 Input Select DatePicker trigger change event after input Chinese, reducing unnecessary performance consumption #1281

  • 🐞 Fixed when the placeholder of Input Select is Chinese, the change event is automatically triggered under ie #1387

  • Tree

    • 🌟 Add the replaceFields field to customize the title children #1395
    • 🌟 update event doubleclick to dbclick 5e27ff
  • 🐞 Fix Input Delete content under ie9 does not trigger change event #1421

  • 🐞 Fix Dropdown disabled invalid problem #1400

  • 🐞 Fix Select type error when lableInValue #1393

  • 🐞 Fix Comment style question #1389

  • 🐞 Fix Statistic Password TypeScript type definition.

1.4.4

2019-10-30

  • 🌟 Progress format support v-slot #1348
  • 🐞 Fix RangePicker Year Panel not work #1321
  • 🐞 Fix Pagination simple mode not work #1333
  • 🐞 Fix AutoComplete flashing on fast input #1327
  • 🐞 Fix Button loading mode is not centered #1337
  • 🐞 Fix Menu menu collapsed in Chrome #873
  • 🐞 Fix Checkbox v-model parameter validation failure #1356
  • 🐞 Fix Checkbox.Group error when update value to undefined #1356

1.4.3

2019-10-22

  • 🐞 Fix Cascader component style issues caused by Input #1293
  • 🐞 Fix some component can not use <template slot="xxx" /> 041839

1.4.2

2019-10-21

  • 🐞 Fix Radio.Group triggers multiple change callback issues #1280
  • 🐞 Fix Pagination keyup enter not work #1316

1.4.1

2019-10-17

  • 🐞 fix Input.Password cannot use v-model #1306
  • 🌟 Optimize the clear button of Input to display the logic. #1296
  • 🌟 After click clear button, Input becomes the focus state.
  • 🐞 fix progress strokeWidth not work #1301
  • 🐞 Fix Radio.Group triggers multiple change callback issues #1280
  • 🐞 Fix Form initialValue error #1291

1.4.0

2019-10-14

  • 🎉 New component Empty, and improved empty data style of all components!
  • 🎉 New component Statistic.
  • 🎉 Hindi locale added (hi_IN).
  • 🎉 Kannada locale added (kn_IN).
  • 🌟 ConfigProvider component support prefixCls.
  • Button
    • 🌟 Button support round shape.
  • Collapse
    • 🌟 Add expandIcon to allow customization of Collapse icon.
  • ConfigProvider
    • 🌟 Support Content Security Policy (CSP) config.
    • 🌟 Support autoInsertSpaceInButton to remove space between 2 Chinese characters on Button.
  • Icon
    • 🌟 Icon component add aria-label prop to enhance accessibility.
    • 🌟 Add rotate to allow icon rotate as specified degrees.
    • 🌟 Add eye-invisible icon.
  • Input
    • 🌟 Add Input.Password.
    • 🌟 support allowClear
  • Modal
    • 🌟 Add forceRender support.
    • 🌟 Add destroyAll method.
    • 🌟 Add icon to Modal.confirm/info/warning/error, iconType is deprecated.
    • 🌟 Add mask property support for Modal method.
    • 🌟 Add transitionName and maskTransitionName property support for Modal method.
    • 🐞 Fix the problem that the mouse moves to the mask layer to close automatically #842
  • 🌟 Add small type Card component.
  • Form
    • 🌟 Add name option to Form.create
    • 🌟 Add selfUpdate to improve performance #1049
    • 🐞 Fix browser stuck when FormItem is passed through slot #1271
  • 🌟 Add switcherIcon prop to Tree.
  • Dropdown
    • 🌟 Dropdown.Button support href.
    • 🌟 Add openClassName.
  • Table
    • 🌟 Add prop sortDirections for Table and Table.Column.
    • 🐞 Fixed Badge component display over the fixed table column.
    • 🐞 Fixed rowSelection columnWidth doesn't work.
  • DatePicker
    • 🌟 Will read format as default format in locale if provided.
    • 🌟 Add new renderFooter API for DatePicker.
    • 🐞 Fixed dateRender not supported at WeekPicker.
    • 🐞 Fixed disabled button style in DatePicker panel.
    • 🌟 support prop renderExtraFooter in all mode.
    • 🐞 Fixed month range display when start year equals end year.
  • TimePicker
    • 🌟 TimePicker support new prop popupStyle and new event amPmChange.
    • 🐞 Fixed TimePicker Icon disappear when used with Input.Group.
    • 🌟 Deprecated allowEmpty prop and use allowClear instead. Sync style with DatePicker.
  • 🌟 Rate component support tooltips.
  • Upload
    • 💄 Add new less var upload-picture-card-border-style and Fixed upload-picture-card-size typo.
    • 🐞 Fixed dpg file type is not recognizable as image in Upload component.
  • Spin
    • 🐞 Fix Spin style issue in IE 10.
  • Progress
    • 🌟 All types support successPercent prop.
  • Pagination
    • 🐞 Fix ellipsis misalignment.
  • 🐞 Fixed Radio style bug in Chrome.
  • 🐞 Fixed Steps style issue on IE9.
  • 🐞 Fixed nested Timeline last item missing line.
  • 🐞 Fixed spin never shows up when delay got initially set.
  • 🐞 Fix wave style issue in Edge.

1.3.17

2019-09-29

  • 🌟 Form adds the selfUpdate attribute to improve form performance #1049
  • Select
    • 🐞 Fix keydown keyboard event invalidation
    • 🐞 Fix arrow icon can't close pop-up question #1067
    • 🐞 Fix IE browser to automatically close the problem #1223
    • 🌟 Add maxTagTextLength attribute #1217
  • 🐞 Fixed an issue with 'TimePicker` input error #1176
  • 🐞 Fix defaultVisible attribute invalidation problem for Tooltip component #1232
  • 🐞 Fix Comment ConfigProvider TypeScript type definition problem.

1.3.16

2019-08-25

  • 🐞 Fix Select component to uninstall component error when there is no input #1091
  • 🐞 Fix Collapse error when no child element #1116
  • 🐞 Fix TypeScript type definitions.

1.3.15

2019-08-17

  • 🐞 Fix Select component cannot scroll under IE #999
  • 🐞 Fix Form initialValue warning #1076
  • 🐞 Fix Form error when verifying Number type #1090

1.3.14

2019-08-12

  • 🐞 Fix MenuItem parsing array class incorrect question #1009
  • 🐞 Fix an error when npm install #997
  • 🐞 Fix Select component cannot scroll under IE #999
  • 🐞 Fix Select component does not trigger focus event problem #999
  • 🐞 Fix DropdownButton size attribute does not work #71b7c9
  • 🐞 Fix Table component does not support vue 2.6 v-slot syntax problem #1058
  • 🌟 Popover add builtinPlacements attribute #1073
  • 🌟 Button support link type #1077
  • 🌟 Modal.confirm title and content support function #824

1.3.13

2019-07-22

  • 🐞 Fix dist missing antd.less file problem #995

1.3.12

2019-07-22

  • 🐞 package.json files add scripts

1.3.11

2019-07-22

  • Dropdown
    • 🐞 Uodate disable style #912 #921
    • 🐞 Fix SubMenu flashing problem #975
  • 🌟 AutoComplete Cascader DatePicker DropDown Select TimePicker add an instance of the popup reference popupRef f9373e
  • 🐞 Fix DatePicker can not open when placeholder is chinese at ie 10 and 11 #865
  • 🌟 DatePicker add custom render trigger #957
  • 🌟 @ant-design/icons-vue update to ^2.0.0
  • 🌟 Icon add focusable="false" #924
  • 🐞 Fix custom Form prompts for custom components. warning problem #915
  • 🐞 Fix FormItem v-decorator error #930
  • 🐞 Fixed an issue where the Upload component reported an error in form.resetFields() #929
  • 🐞 Fix Select shows bounce problem #970
  • 🐞 Fix TypeScript type definitions.

1.3.10

2019-06-11

  • 🐞 Remove useless module.export of package. #850

1.3.9

2019-05-26

  • 🐞 Fix TreeSelect without dataRef #712
  • 🌟 Tooltip add destroyTooltipOnHide to identify whether to destroy tooltip after hiding #727
  • 🐞 Fix Avatar does not update the problem when setting src dynamically #731
  • 🐞 Fix LocaleProvider change moment language does not work 28b7a6
  • 🌟 Modal.confirm add closable configuration #798
  • 🐞 Fixed a problem when Select custom dropdownRender was not automatically closed #644
  • 🐞 Fix the problem of removing Dom error under ie9, no need to introduce polyfill separately #705
  • 🐞 Fix Input.Search repeat mount id problem #726
  • 🐞 Fix Table does not work when customizing expandIcon using function form #751
  • 🐞 Fix Icon extraCommonProps property does not work #737
  • 🐞 Fix DirectoryTree expandAction="doubleclick" does not work #745

1.3.8

2019-04-04

  • 🐞 Fix Table unclickable problem under IE #504
  • 🐞 Fix Table Header is not aligned under Firefox #579
  • 🌟 Drawer Drawer add custom handel
  • 🐞 Fix TypeScript type definitions.

1.3.7

2019-03-18

  • 🐞 Fix Select selectedKeys type validation error #597

1.3.6

2019-03-17

  • 🐞 Fix Select title attribute to display confusion #588
  • 🐞 Fix InputSearch does not support slot mode customization addonAfter and addonBefore issues #581
  • 🐞 Fix Input repeat class question #faf9ba
  • 🐞 Fix Message Customize content by function does not work #554
  • 🌟 Cascader option.value supports String Number type #595
  • 🐞 Fix some TypeScript definitions.

1.3.5

2019-02-23

  • 🌟 Optimize the Popover Popconfirm component arrow style.
  • 🐞 Fix using autoprefixer 9.4.5 in postcss (vue-cli) will throw an error Replace text-decoration-skip: ink to text-decoration-skip-ink: auto, because spec had been changed. #471
  • Tree
    • 🐞 Fixed growing space of Tree nodes.#502
    • 🐞 Fixing the Tree node can't drag and drop the target node problem.#469
    • 📝 Update the document: Tree component dragxxx event changed to all lowercase.#467
  • 🐞 Fix Modal.confirm class does not work.#475
  • 🐞 Fix some TypeScript definitions.

1.3.4

2019-01-31

🎉 🎉 🎉 Happy New Year!

  • 🐞 fix: AutoComplete placeholder not display when disabled. #402
  • 🐞 Add the BreadcrmbItem ts type file.#452
  • 🐞 Fixed an issue where the FormItem was not updated when it was in a subcomponent. #446
  • 🐞 Fix some component TypeScript definitions.

1.3.3

2019-01-26

  • 🐞 Fix message not close When you configure maxcount.#428
  • 🐞 Fix some component TypeScript definitions.#422
  • 🌟 The Anchor component add warpperClass wrapperStyle property.1aa42d
  • 📝 Update the document: form adds the preserve description, and the icon modifies the custom component reference document description.

1.3.2

2019-01-17

  • 🐞 Fix Form reports an error when using the obsolete API autoCreateForm.#413
  • 🐞 Fix Slider error when clicking mark. #407

1.3.1

2019-01-15

  • 🐞 Fixed the Table component could not be scrolled under ie.。#390
  • 🐞 Fix Form does not clear that does not need to check the field.#367

1.3.0

2019-01-12

  • 🎉 🎉 🎉 Publish the vscode plugin ant-design-vue-helper

  • 🎉 🎉 🎉 Optimize official website document interaction

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

  • 🔥 Added a new component Comment

  • 🔥 dded a new component ConfigProvider for user to customize some global setting.

Component Fixes / Enhancements:

  • 🌟 Avatar Added srcSet prop that is a list of sources to use for different screen resolutions.
  • 🌟 Notification Added onClick prop that is called when the notification is clicked.
  • Transfer
    • 🌟 Added search event that is executed when search field are changed and deprecated searchChange event.
    • 🌟 Added disabled prop that whether disable transfer.
  • 🌟 Refactor Badge, support count as custom component.
  • Slider
    • 🌟 Added tooltipVisible prop that whether Tooltip will always show.
    • 🌟 Optimize the focus effect
    • 🐞 Fix tooltip does not display the problem when focus through the keyboard tab.
    • 🐞 Fix the hidden switch problem of Tooltip while dragging.
  • Calendar
    • 🌟 Support multiple date format.
    • 🌟 showSearch added limit prop that support limit filtered item count.
  • Table
    • 🌟 Added expandIcon prop that custom the default expand icon.
    • 🌟 customCell added index prop.
  • Select
    • 🌟 Added removeIconclearIconmenuItemSelectedIcon prop,allow setting removeclearmenuItemSelected custom icons.
    • 🌟 Added dropdownRender prop that custom dropdown content.
    • 🌟 Added loading prop that indicate loading state.
  • 🌟 Optimize the display of the Button when it contains an Icon.
  • Refactor Tag component with less code and better performance.
  • 💄 Added title prop that Menu.Item support tooltip title when collapsed.
  • 💄 Chore Card header and loading UI.
  • 💄 Optimized Spin wrapper styles and improve performance slightly.
  • 🐞 Fix TextArea use resize observer to check textarea size.
  • 🐞 Fix Tooltip in the disabled state, the style error problem.#389
  • 🐞 Fix some component TypeScript definitions.

1.2.5

2019-01-06

  • 🌟 Add Typescript type file#250
  • 🐞 Fix Icon component can't support static class and dynamic class problems at the same time#371

1.2.4

2018-12-29

  • 🐞 Fix Select component does not trigger popupScroll event#350
  • 🐞 Fixing the custom Icon component does not support class style issues.#351
  • 🌟 Tree TreeSelect supports key of number type. #343
  • 🌟 Tree components selectedKeys, expandedKeys support the .sync modifier.6373ce
  • TreeSelect
    • 🌟 treeExpandedKeys supports the .sync modifier.983318
    • 🐞 Fix page scrolling issue when the first focus.139356
  • 🐞 Remove the expansion animation when the Menu component is initialized.#338

1.2.3

2018-12-25

  • 📝 Remove Christmas egg.
  • 🐞 Fix some components do not support array type class problem#322
  • 🌟 TreeSelect adds the treeExpandedKeys props and treeExpand event to control the expansion of the tree.
  • 🐞 Fix the Tree component warning duplicate key question when using TreeNode

1.2.2

2018-12-19

  • 🐞 Datepicker render footer twice question. #315
  • Menu
    • 🐞 menu automatically close up to fit width in horizontal mode.aa1b24
    • 🐞 menu first expand not animation in inline mode. d63935
    • 🐞 flashing problem when change collapse = true and change openKeys=[]3393f0
  • 🐞 Fix form validateStatus icon not work #321
  • 🐞 Upload thumbnail icon broken styles f1e130
  • 🐞 Icon support native event cffef3

1.2.1

2018-12-17

  • 🐞 Fix Menu flashing problem when scaling under Layout
  • 🐞 Fix Icon report Warning problem

1.2.0

2018-12-16

  • 🔥🔥🔥 replaced font icons with svg icons which bring benefits below::
    • Complete offline usage of icon, no dependency of alipay cdn font icon file and no more empty square during downloading than no need to deploy icon font files locally either.
    • Much more display accuracy in lower-level screens.
    • Support multiple colors for icon.
    • No need to change built-in icons with overriding styles by providing more props in component.
    • 😓 But at the same time bring the problem that the bundle file is too big, related solutions and discussions can check the React version of ant-design issue.
    • 🌟 Add the theme attribute to set the theme style of the icon.
    • 🌟 Added component attribute, you can externally pass a component to customize the control rendering result.
    • 🌟 The twoToneColor property is added to control the theme color of the two-color icon.
    • 🌟 Added static methods Icon.getTowToneColor() and Icon.setTwoToneColor(...) to globally get and set the theme color of all two-color icons.
    • 🌟 The new static method Icon.createFromIconfontCN({...}) is added to make it easier to use icons hosted on iconfont.cn.
  • 🔥 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.
  • 🌟 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
  • 🌟 Added Modal.open for optional icon dialog.
  • 🌟 Modal.info adds the configuration of getContainer.
  • 🌟 Improve RangePicker footer UI by merging them.
  • 🌟 The Anchor component adds onClick property.
  • 🌟 The Tab component adds the renderTabBar property.
  • 🌟 The Input component adds the select method.
  • 🌟 Steps adds the initial attribute.
  • 🌟 Upload adds openFileDialogOnClick prop to allow setting whether to open the upload dialog when the component is clicked.
  • 🌟 InputNumber adds decimalSeparator prop to allow setting a custom decimal.
  • 🐞 Fix a lot of hidden bugs that have not yet been issued, and then not list them one by one.

1.1.10

2018-12-7

  • 🔥🔥🔥 In the 1.1.10 version, the Form component better supports the single-file tempalte syntax. In previous versions, complex component requirements were required to be implemented using JSX. In order to better use the automatic collection and validation of Form forms in the template, we have optimized the way components are used. All Demo files are refactored using the latest syntax. However, for the previous API, continue to support, you can not worry about the API changes, resulting in problems in the existing system.
<template>
  <a-form :form="form">
    <a-form-item>
      <a-input v-decorator="[id, options]">
    </a-form-item>
  </a-form>
</template>
<script>
export default {
  beforeCreate () {
    this.form = this.$form.createForm(this, options)
  },
}
</script>
  • 🐞 Fix Steps component labelPlacement does not work #281
  • 🐞 Fix the Timeline component style problem, add reverse mode props #8e37cd
  • Tree
    • 🐞 Fix treeDefaultExpandedKeys does not work #284
    • 🐞 Fixes the component not update when other array attributes such as expandedKeys selectedKeys changed by array’s mutation methods. #239

1.1.9

2018-11-26

  • 🐞 Fix the TreeSelect component getPopupContainer does not work #265
  • 🐞 Fix Carousel component on-demand loading does not work #271
  • 🐞 Fix Upload component remove event no return value problem #259

1.1.8

2018-11-11

  • Progress
    • 🐞 Fix circle type does not support strokeColor problem #238
    • 🐞 Add normal type #257
  • 🐞 Fix Cascader component does not support getPopupContainer problem #257
  • 🌟 Tooltip support align #252

1.1.7

2018-10-27

  • 🐞 Fix Cascader component type error problem #219
  • 🐞 Fix Tree component custom Icon the callback parameter order error #223
  • 🐞 Fix Table pagination trigger multiple change events when showSizeChange=true #228
  • 🌟 Optimize the Tabs component to add tabs to the visible area by default #215
  • 🐞 Fix RadioGroup component does not support number 0 problem #226
  • 🐞 Fix Slider component When setting zoom is not 1, the position error problem, some browsers need visualViewport Polyfill #227

1.1.6

2018-10-10

  • 🐞 Fix Select component keyboard event error #217
  • 🐞 Fix the Drawer component children update issue #209

1.1.4

2018-09-29

  • 🛠 Refactor the vc-tree component and add a directory tree component
  • 🐞 Fix tabs component property tabBarGutter does not work #205
  • 🐞 Fix table component data synchronization error #202

1.1.3

2018-09-22

  • 🎉 Optimize component registration methods, such as Vue.use(Form) a6620c
  • 🐞 Select.Option component value property supports 0 #194
  • 🐞 Fix Layout.Sider trigger button width does not work #201
  • 🐞 Fix Menu When switching inlineCollapsed, there is no animation problem #200
  • 🐞 Fix style problem in Steps dot mode #199

1.1.2

2018-09-17

  • 🎉 Synchronize antd3.8.4 style
  • 🌟 Tag component adds visible attribute and wave effect
  • 🐞 Fix the 'Cascader` component, the selected item is not expanded #195

1.1.1

2018-09-13

  • 🐞 dropdown position incorrect caused by window size change #184
  • 🐞 tabs container add custom event listeners #189
  • 🐞 Fixing 'centered` does not work when calling Modal window via API form #183
  • 🐞 Slider marks support {number: function}形式 #171

1.1.0

2018-09-11

  • 🎉 Synchronize components from 3.4.0 to antd [3.8.2](https://github.com/ Ant-design/ant-design/releases/tag/3.8.2)
  • 🌟 Add the Drawer component
  • 🐞 Fix Spin content flicker problem #174
  • 🐞 Fix RangePicker selection is not disabled #158
  • 🐞 Fixed throw error when Form value was null #153
  • 🐞 Fix the Modal subcomponent to repeat the mounted question #152
  • 🐞 Fixed donot render after 'Transfer` search filter #148
  • 🐞 Fixed multi-level Tabs component nesting causing size not to work #144
  • 🐞 Fix TreeSelectsearchPlaceholder does not work #125
  • 🛠 Other issues that do not appear in the issue, see antd changelog

1.0.3

2018-08-11

  • 🐞 Fix Select children not to update the problem #106
  • 🐞 Fix Badge offset x y axis order error and support number type #99
  • 🐞 Fix Input trigger input event problem when placeholder is Chinese in IE#92
  • 🐞 Fix Avatar does not accept event issues #102
  • 🐞 Fix grid.row gutter type error problem 4af03c4
  • 🐞 Fix CheckboxGroup to report defaultValue warning in Form #110

1.0.2

2018-08-04

  • 🎉 Modify the component library name to ant-design-vue
  • 🌟 The official site supports IE9 accessa8a5f8
  • 🐞 Fix reminder issues caused by exporting undefined variables#87
  • 🐞 Fix some component classname duplicatesb48bbac
  • 🐞 Fix Select component label does not update the problemda1b924
  • 🛠 Corrected some documentation errors

1.0.1

2018-07-27

  • 🌟 Optimize Chinese input for Input components(just support v-model) 4a5154
  • 🐞 Fix treeSelect treeData[i].children throw error when null#81
  • 🐞 Fix Calendar change event call twice#82
  • 🐞 Fix the description and title slot attribute of the Card component does not work#83
  • 🐞 Fix dropdownClassName attribute of DataPicker component does not working02ab242

1.0.0

2018-07-21

  • 🌟 Add Carousel component edddbd
  • modify some error document

0.7.1

2018-07-17

  • 🐞 fix Tooltip containing disabled button does not show and style#73
  • 🐞 add Table panagation deep watch#b464c6

0.7.0

2018-07-11

  • 🌟 Add TreeSelect component
  • 🌟 Select add options, Easy to generate a selection list directly#37
  • 🐞 Fix blur event error when using Select component in Tooltip#67
  • 🐞 Modify the Upload component action attribute to optional#66

0.6.8

2018-07-05

  • 🐞 Fix notification h is not defined#63
  • 🐞 Fix Transfer local-provider miss titles#64

0.6.7

2018-07-03

  • 🐞 Fix Form component cannot be updated when using template syntax#62

0.6.6

2018-07-03

  • 🐞 Fix Upload type validation error issue and update related demo#61
  • 🐞 Fix Upload image preview does not jump correctly1584b3

0.6.5

2018-07-01

  • 🐞 Fix Select getPopupContainer not working #56
  • 🐞 Fix Select popup position is not updated8254f7

0.6.4

2018-06-28

  • 🐞 Fix InputSearch v-model return wrong value#53

0.6.3

2018-06-26

  • 🐞 Fix Popover v-model not working#49

0.6.2

2018-06-24

  • 🌟 Form component data auto-checking support for template syntax7c9232
  • Select: 🐞 add focus blur methods52f6f5
  • Radio
    • 🐞 Fix Radiogroup disabled className9df74b
    • 🐞 Fix autoFoucs focus blur mouseenter mouseleave not workingf7886c
  • TimePicker: 🐞 Fix autoFoucs focus blur not working28d009

0.6.1

2018-06-17

  • 🌟 Add List Component
  • Table
    • 🐞 Fix 'querySelectorAll error when updating height#33
    • 🐞 fix defaultChecked not workingec1999
    • columns key support number type9b7f5c
  • Tooltip: 🛠 update events API change to visibleChange
  • Textarea: 🐞 Fix autoFoucs not working787927
  • InputSearch: 🐞 Add focus blur methods3cff62
  • InputNumber: 🐞 Fix autoFoucs not working88f165
  • DatePicker: 🐞 Fix autoFoucs not working264abf
  • Cascader: 🐞 Fix autoFoucs not workingbe69bd
  • Rate: 🐞 Fix autoFoucs not working,and blur errorc2c984
  • RangePicker: 🐞 Fix value type check error problem228f44

0.6.0

2018-06-04

  • 🌟 Add Anchor Component
  • Table
    • 🐞 Fix show emptyText problem when loading.spinning 17b9dc
    • 🐞 Fixed header style not working #30
  • 🐞 DatePicker: Fix the issue of change event repeatedly call when showTime is true 81ab82
  • 🐞 InputNumber: Fix placeholder not working ce39dc

0.5.4

2018-05-26

  • 🐞 Fix missing less file problem in dist directoryca084b9

0.5.3

2018-05-25

  • 🐞 Fixed issue with building antd-with-locales.js containing test files90583a3

0.5.2

2018-05-25

  • 🐞 Timeline: Fix duplicated loading component bug fa5141b
  • Transfer
    • 🐞 Fix search box clear button does not work Problem 4582da3
    • 💄 Override property change listener logic to avoid unnecessary 0920d23
  • 💄 Select: Optimizing title display logic 9314957
  • Form
    • 🐞 Fixed Form component directive error #20
    • 🌟 Maintain an ref for wrapped component instance, use wrappedComponentRef c5e421c
  • 🐞 DatePicker: Fix calendar keyboard event does not work e9b6914
  • Avatar: Fixing font size adaptation issues #22
  • 🌟 Added single test for some components
  • 🌟 sorted component library dependencies and devDependencies, deleted unused packages, and added peerDependencies

0.5.1

2018-05-10

  • 🐞 Table: Fix customRow events not working#16

0.5.0

2018-05-08

  • 🌟 Form: add Form component
  • 💄 Upload.Dragger: Modify name name to a-upload-dragger
  • 🐞 Upload: Fix name prop not working

0.4.3

2018-05-02

  • 🐞 Fix component style loss problem
  • 🌟 site add babel-polyfill

0.4.2

2018-04-24

  • 🐞 fix menu click bug

0.4.1

bug

  • Transfer Vue's dependencies to devDependencies to avoid unstable bugs caused by inconsistency with business versions

0.4.0

Layout

  • add layout component

Others

0.3.1

Features