diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 2db6eed175e..086fcf37785 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -1,5 +1,22 @@ ## Changelog +### 1.0.9 + +*2016-12-27* + +- Fixed DatePicker incorrectly triggering input event, #1834 +- Fixed Tree reporting `event is undefined` error in Firefox, #1945 +- Added `change` event for DatePicker, whose parameter is the formatted value, #1841 +- Added `header-align` attribute for Table, #1424 +- Fixed single select Table's highlight style not removing when data is removed, #1890 +- Fixed filterable Select lagging issue with more options, #1933 +- Fixed multiple disabled Select not disabling removing selected options issue, #2001 +- Fixed Col style not working in `xs`, #2011 +- Added `value` attribute for Tab, #2008 +- Fixed InputNumber `change` event incorrectly firing multiple times in some conditions, #1999 +- Added `clearable` attribute for DatePicker, #1994 +- Fixed Form always passing validation in async mode, #1936 + ### 1.0.8 *2016-12-20* diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index a37a56c2b82..06aeee05f04 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -1,5 +1,21 @@ ## 更新日志 +### 1.0.9 +*2016-12-27* + +- 修复 DatePicker 不能正确触发 input 事件的问题,现在只有当日期改变时才触发,#1834 +- 修复 Tree 在 Firefox 下会提示 event is undefined 的问题,#1945 +- 新增 DatePicker 的 `change` 事件,返回和输入框一致的格式化后的值,#1841 +- 新增 Table 的 `header-align` 属性,#1424 +- 修复单选的 Table 在数据移除时,高亮状态仍然存在的问题,#1890 +- 修复可搜索的 Select 在选项较多时的卡顿问题,#1933 +- 修复多选的 Select 在禁用状态下仍然能够手动删除选中项的问题,#2001 +- 修复 Col `xs` 分辨率下样式无效的问题,#2011 +- 新增 Tab 组件的 `value` 属性并支持 `v-model` 用法,#2008 +- 修复 Input Number 在某些条件下 change 事件被触发多次的问题,#1999 +- 新增 DatePicker 的 `clearable` 属性,#1994 +- 修复 Form 异步验证时某些条件下总是验证通过的问题,#1936 + ### 1.0.8 *2016-12-20* diff --git a/build/cooking.demo.js b/build/cooking.demo.js index d1f677d000e..15d0e7b595e 100644 --- a/build/cooking.demo.js +++ b/build/cooking.demo.js @@ -1,6 +1,7 @@ var cooking = require('cooking'); var config = require('./config'); var md = require('markdown-it')(); +var CopyWebpackPlugin = require('copy-webpack-plugin'); var striptags = require('./strip-tags'); var slugify = require('transliteration').slugify; var isProd = process.env.NODE_ENV === 'production'; @@ -113,5 +114,8 @@ if (isProd) { cooking.add('externals.vue-router', 'VueRouter'); } +cooking.add('plugin.CopyWebpackPlugin', new CopyWebpackPlugin([ + { from: 'examples/versions.json' } +])); cooking.add('vue.preserveWhitespace', false); module.exports = cooking.resolve(); diff --git a/examples/components/footer.vue b/examples/components/footer.vue index 29cf04c8ac9..047e75284dd 100644 --- a/examples/components/footer.vue +++ b/examples/components/footer.vue @@ -2,7 +2,7 @@