40 KiB
Change Log
ant-design-vue
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 for new features.
- Major version release is not included in this schedule for breaking change and new features.
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 usev-model
#1306 - 🌟 Optimize the clear button of
Input
to display the logic. #1296 - 🌟 After click clear button,
Input
becomes thefocus
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.
- 🌟 Add
- 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.
- 🌟 Icon component add
- 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
andmaskTransitionName
property support for Modal method. - 🐞 Fix the problem that the mouse moves to the mask layer to close automatically #842
- 🌟 Add
- 🌟 Add
small
type Card component. - Form
- 🌟 Add switcherIcon prop to Tree.
- Dropdown
- 🌟 Dropdown.Button support
href
. - 🌟 Add
openClassName
.
- 🌟 Dropdown.Button support
- Table
- 🌟 Add prop
sortDirections
for Table and Table.Column. - 🐞 Fixed Badge component display over the fixed table column.
- 🐞 Fixed rowSelection columnWidth doesn't work.
- 🌟 Add prop
- 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 eventamPmChange
. - 🐞 Fixed TimePicker Icon disappear when used with Input.Group.
- 🌟 Deprecated
allowEmpty
prop and useallowClear
instead. Sync style with DatePicker.
- 🌟 TimePicker support new prop
- 🌟 Rate component support
tooltips
. - Upload
- 💄 Add new less var
upload-picture-card-border-style
and Fixedupload-picture-card-size
typo. - 🐞 Fixed
dpg
file type is not recognizable as image in Upload component.
- 💄 Add new less var
- Spin
- 🐞 Fix Spin style issue in IE 10.
- Progress
- 🌟 All types support
successPercent
prop.
- 🌟 All types support
- 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 theselfUpdate
attribute to improve form performance #1049 Select
- 🐞 Fixed an issue with 'TimePicker` input error #1176
- 🐞 Fix
defaultVisible
attribute invalidation problem forTooltip
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 verifyingNumber
type #1090
1.3.14
2019-08-12
- 🐞 Fix
MenuItem
parsing arrayclass
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
addbuiltinPlacements
attribute #1073 - 🌟
Button
supportlink
type #1077 - 🌟
Modal.confirm
title
andcontent
support function #824
1.3.13
2019-07-22
- 🐞 Fix
dist
missingantd.less
file problem #995
1.3.12
2019-07-22
- 🐞
package.json
files
addscripts
1.3.11
2019-07-22
- Dropdown
- 🌟
AutoComplete
Cascader
DatePicker
DropDown
Select
TimePicker
add an instance of the popup referencepopupRef
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
addfocusable="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 inform.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
withoutdataRef
#712 - 🌟
Tooltip
adddestroyTooltipOnHide
to identify whether to destroy tooltip after hiding #727 - 🐞 Fix
Avatar
does not update the problem when settingsrc
dynamically #731 - 🐞 Fix
LocaleProvider
changemoment
language does not work 28b7a6 - 🌟
Modal.confirm
addclosable
configuration #798 - 🐞 Fixed a problem when
Select
customdropdownRender
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 customhandel
- 🐞 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
supportsString
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
- 🐞 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 theicon
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
Component features and styles are synchronized to antd version 3.11.6.
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 deprecatedsearchChange
event. - 🌟 Added
disabled
prop that whether disable transfer.
- 🌟 Added
- 🌟 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.
- 🌟 Added
- 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.
- 🌟 Added
- Select
- 🌟 Added
removeIcon
、clearIcon
、menuItemSelectedIcon
prop,allow settingremove
、clear
、menuItemSelected
custom icons. - 🌟 Added
dropdownRender
prop that custom dropdown content. - 🌟 Added
loading
prop that indicate loading state.
- 🌟 Added
- 🌟 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 triggerpopupScroll
event#350 - 🐞 Fixing the custom
Icon
component does not supportclass
style
issues.#351 - 🌟
Tree
TreeSelect
supportskey
ofnumber
type. #343 - 🌟
Tree
componentsselectedKeys
,expandedKeys
support the.sync
modifier.6373ce TreeSelect
- 🐞 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 thetreeExpandedKeys
props andtreeExpand
event to control the expansion of the tree. - 🐞 Fix the
Tree
component warning duplicatekey
question when usingTreeNode
。
1.2.2
2018-12-19
- 🐞
Datepicker
render footer twice question. #315 Menu
- 🐞 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 underLayout
- 🐞 Fix
Icon
report Warning problem
1.2.0
2018-12-16
Synchronize with antd 3.10.x
- 🔥🔥🔥 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()
andIcon.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 oniconfont.cn
.
- 🔥 Added a new component
Skeleton
. - 🔥 Menu will automatically close up to fit width in
horizontal
mode. - 🔥 The
placement
of the drawer supportstop
andbottom
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
componentlabelPlacement
does not work #281 - 🐞 Fix the
Timeline
component style problem, addreverse
mode
props #8e37cd Tree
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
Cascader
component does not supportgetPopupContainer
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 whenshowSizeChange=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 propertytabBarGutter
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
componentvalue
property supports0
#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 wasnull
#153 - 🐞 Fix the
Modal
subcomponent to repeat themounted
question #152 - 🐞 Fixed donot
render
after 'Transfer` search filter #148 - 🐞 Fixed multi-level
Tabs
component nesting causingsize
not to work #144 - 🐞 Fix
TreeSelect
searchPlaceholder 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 inForm
#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
andtitle
slot attribute of theCard
component does not work#83 - 🐞 Fix
dropdownClassName
attribute ofDataPicker
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
addoptions
, Easy to generate a selection list directly#37 - 🐞 Fix
blur
event error when usingSelect
component inTooltip
#67 - 🐞 Modify the
Upload
componentaction
attribute to optional#66
0.6.8
2018-07-05
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
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 fortemplate
syntax7c9232 Select
: 🐞 addfocus
blur
methods52f6f5Radio
TimePicker
: 🐞 FixautoFoucs
focus
blur
not working28d009
0.6.1
2018-06-17
- 🌟 Add
List
Component Table
Tooltip
: 🛠 update events APIchange
tovisibleChange
Textarea
: 🐞 FixautoFoucs
not working787927InputSearch
: 🐞 Addfocus
blur
methods3cff62InputNumber
: 🐞 FixautoFoucs
not working88f165DatePicker
: 🐞 FixautoFoucs
not working264abfCascader
: 🐞 FixautoFoucs
not workingbe69bdRate
: 🐞 FixautoFoucs
not working,andblur
errorc2c984RangePicker
: 🐞 Fix value type check error problem228f44
0.6.0
2018-06-04
- 🌟 Add
Anchor
Component Table
- 🐞
DatePicker
: Fix the issue ofchange
event repeatedly call whenshowTime
istrue
81ab82 - 🐞
InputNumber
: Fixplaceholder
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
- 💄
Select
: Optimizingtitle
display logic 9314957 Form
- 🐞
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
anddevDependencies
, deleted unused packages, and addedpeerDependencies
0.5.1
2018-05-10
- 🐞
Table
: FixcustomRow
events not working#16
0.5.0
2018-05-08
- 🌟
Form
: add Form component - 💄
Upload.Dragger
: Modifyname
name toa-upload-dragger
- 🐞
Upload
: Fixname
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
- support use Vue.use(antd)
0.3.1
Features
- first version, provide 45 components