2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-05-31 05:24:06 +03:00

docs: update changelog

This commit is contained in:
mxie
2018-12-11 09:52:56 +08:00
parent 65c5762227
commit bb91abd8c6
2 changed files with 139 additions and 27 deletions
+89 -21
View File
@@ -1,12 +1,63 @@
<a name="2.5.0"></a>
## [2.6.3](https://github.com/mengxiong10/vue2-datepicker/compare/v2.6.2...v2.6.3) (2018-12-08)
### Bug Fixes
* fix unable set value later when range is ture ([#209](https://github.com/mengxiong10/vue2-datepicker/issues/209)) ([97289d1](https://github.com/mengxiong10/vue2-datepicker/commit/97289d1))
## [2.6.2](https://github.com/mengxiong10/vue2-datepicker/compare/v2.6.1...v2.6.2) (2018-10-30)
### Bug Fixes
* `calendar-change` trigger in right time ([b1a5a41](https://github.com/mengxiong10/vue2-datepicker/commit/b1a5a41))
### Features
* add `calendar-change` event ([ef9314e](https://github.com/mengxiong10/vue2-datepicker/commit/ef9314e))
## [2.6.1](https://github.com/mengxiong10/vue2-datepicker/compare/v2.6.0...v2.6.1) (2018-10-17)
### Bug Fixes
* prevent popup internal click event from affecting the outside ([de177d8](https://github.com/mengxiong10/vue2-datepicker/commit/de177d8))
### Features
* when use script type, install automatic ([a310f59](https://github.com/mengxiong10/vue2-datepicker/commit/a310f59))
# [2.6.0](https://github.com/mengxiong10/vue2-datepicker/compare/v2.5.0...v2.6.0) (2018-10-11)
### Bug Fixes
* fix shortcut color ([ac4aa87](https://github.com/mengxiong10/vue2-datepicker/commit/ac4aa87))
### Features
* add prop `appendToBody` ([e26e1f5](https://github.com/mengxiong10/vue2-datepicker/commit/e26e1f5))
# [2.5.0](https://github.com/mengxiong10/vue2-datepicker/compare/v2.4.3...v2.5.0) (2018-10-05)
### Features
* add panel-change event ([5cdba7b](https://github.com/mengxiong10/vue2-datepicker/commit/5cdba7b))
<a name="2.4.3"></a>
## [2.4.3](https://github.com/mengxiong10/vue2-datepicker/compare/v2.4.0...v2.4.3) (2018-09-28)
@@ -14,6 +65,7 @@
* fix the selectTime 'am' and 'pm' ([8e475b3](https://github.com/mengxiong10/vue2-datepicker/commit/8e475b3))
* IE compatibility ([fefed17](https://github.com/mengxiong10/vue2-datepicker/commit/fefed17))
* timeType default ([38a657b](https://github.com/mengxiong10/vue2-datepicker/commit/38a657b))
* when select time picker option close popup ([#154](https://github.com/mengxiong10/vue2-datepicker/issues/154)) ([12907ad](https://github.com/mengxiong10/vue2-datepicker/commit/12907ad))
* year and month disable don't right ([#169](https://github.com/mengxiong10/vue2-datepicker/issues/169)) ([42bc068](https://github.com/mengxiong10/vue2-datepicker/commit/42bc068))
@@ -22,53 +74,69 @@
* emit `clear` event for the clear button ([e0776b6](https://github.com/mengxiong10/vue2-datepicker/commit/e0776b6))
<a name="2.4.0"></a>
# [2.4.0](https://github.com/mengxiong10/vue2-datepicker/compare/v2.3.2...v2.4.0) (2018-08-08)
### Features
* add `type` time to show only time picker ([1046731](https://github.com/mengxiong10/vue2-datepicker/commit/1046731))
* add prop `time` to show only time picker ([1046731](https://github.com/mengxiong10/vue2-datepicker/commit/1046731))
<a name="2.3.2"></a>
## [2.3.2](https://github.com/mengxiong10/vue2-datepicker/compare/v2.2.0...v2.3.2) (2018-08-07)
### Features
* add prop `date-format` to format time header and date tooltip ([3c27647](https://github.com/mengxiong10/vue2-datepicker/commit/3c27647))
* add prop `date-format` ([3c27647](https://github.com/mengxiong10/vue2-datepicker/commit/3c27647))
<a name="2.2.0"></a>
# [2.2.0](https://github.com/mengxiong10/vue2-datepicker/compare/v2.1.0...v2.2.0) (2018-08-06)
### Bug Fixes
* set input autocomplete off ([264458c](https://github.com/mengxiong10/vue2-datepicker/commit/264458c))
### Features
* add event 'change-calendar-year' 'change-calendar-month' ([bc80708](https://github.com/mengxiong10/vue2-datepicker/commit/bc80708))
<a name="2.1.0"></a>
# [2.1.0]() (2018-07-24)
# [2.1.0](https://github.com/mengxiong10/vue2-datepicker/compare/v2.0.0...v2.1.0) (2018-07-24)
### Bug Fixes
* fecha.format need a date ([1e54efc](https://github.com/mengxiong10/vue2-datepicker/commit/1e54efc))
* shortcut date changed to function ([5cf6c72](https://github.com/mengxiong10/vue2-datepicker/commit/5cf6c72))
### Features
* Add `type` year and month
* add the slot footer slot-scope to confirm event ([43d9fd7](https://github.com/mengxiong10/vue2-datepicker/commit/43d9fd7))
* export the fecha to use ([ac958d4](https://github.com/mengxiong10/vue2-datepicker/commit/ac958d4))
# [2.0.0](https://github.com/mengxiong10/vue2-datepicker/compare/9df1fe0...v2.0.0) (2018-06-16)
<a name="2.0.0"></a>
# [2.0.0]() (2018-06-16)
### Features
* Add `clearable` used to show clear icon
* Add slot `calendar-icon` to custom calendar icon
* Add slot `header` and `footer` to custom popup area
* `disabledDays` supports custom functions
- Add `clearable` used to show clear icon
- Add slot `calendar-icon` to custom calendar icon
- Add slot `header` and `footer` to custom popup area
- `disabledDays` supports custom functions
### Breaking changes
* Refactored code. This may fail if you hacked the code
* `format` default value changes from yyyy-MM-dd to YYYY-MM-DD, now the parsing tokens are similar to the moment.js, not supports lowercase yyyy
* remove `custom-formatter`
* `editable` default value changes from false to true, now supports range
* select the year or month panel will not change the value(Because it causes many problems when set the `not-before` or `not-after`)
- Refactored code. This may fail if you hacked the code
- `format` default value changes from yyyy-MM-dd to YYYY-MM-DD, now the parsing tokens are similar to the moment.js, not supports lowercase yyyy
- remove `custom-formatter`
- `editable` default value changes from false to true, now supports range
- select the year or month panel will not change the value(Because it causes many problems when set the `not-before` or `not-after`)
+50 -6
View File
@@ -1,4 +1,53 @@
<a name="2.5.0"></a>
## [2.6.3](https://github.com/mengxiong10/vue2-datepicker/compare/v2.6.2...v2.6.3) (2018-12-08)
### 修复Bug
* 修复手动输入范围时无法成功的问题 ([#209](https://github.com/mengxiong10/vue2-datepicker/issues/209)) ([97289d1](https://github.com/mengxiong10/vue2-datepicker/commit/97289d1))
## [2.6.2](https://github.com/mengxiong10/vue2-datepicker/compare/v2.6.1...v2.6.2) (2018-10-30)
### 修复Bug
* `calendar-change`事件在正确的时候触发 ([b1a5a41](https://github.com/mengxiong10/vue2-datepicker/commit/b1a5a41))
### 新功能
* 添加 `calendar-change` 事件 ([ef9314e](https://github.com/mengxiong10/vue2-datepicker/commit/ef9314e))
## [2.6.1](https://github.com/mengxiong10/vue2-datepicker/compare/v2.6.0...v2.6.1) (2018-10-17)
### 修复Bug
* 阻止组件的事件冒泡到外面 ([de177d8](https://github.com/mengxiong10/vue2-datepicker/commit/de177d8))
### 新功能
* script直接引用的时候自动注册组件 ([a310f59](https://github.com/mengxiong10/vue2-datepicker/commit/a310f59))
# [2.6.0](https://github.com/mengxiong10/vue2-datepicker/compare/v2.5.0...v2.6.0) (2018-10-11)
### 修复Bug
* 修复快捷方式的颜色 ([ac4aa87](https://github.com/mengxiong10/vue2-datepicker/commit/ac4aa87))
### 新功能
* 添加属性 `appendToBody` ([e26e1f5](https://github.com/mengxiong10/vue2-datepicker/commit/e26e1f5))
# [2.5.0](https://github.com/mengxiong10/vue2-datepicker/compare/v2.4.3...v2.5.0) (2018-10-05)
### 新功能
@@ -6,7 +55,6 @@
* 添加 `panel-change` 事件 ([5cdba7b](https://github.com/mengxiong10/vue2-datepicker/commit/5cdba7b))
<a name="2.4.3"></a>
## [2.4.3](https://github.com/mengxiong10/vue2-datepicker/compare/v2.4.0...v2.4.3) (2018-09-28)
### 修复Bug
@@ -29,14 +77,12 @@
* 添加属性`type``time`的时候只显示时间组件
<a name="2.3.2"></a>
## [2.3.2](https://github.com/mengxiong10/vue2-datepicker/compare/v2.2.0...v2.3.2) (2018-08-07)
### 新功能
* 添加属性 `date-format` 格式化时间组件头部和日期的tooltip
<a name="2.2.0"></a>
# [2.2.0](https://github.com/mengxiong10/vue2-datepicker/compare/v2.1.0...v2.2.0) (2018-08-06)
### 修复bug
@@ -48,7 +94,6 @@
* 添加时间'change-calendar-yeaer', 'change-calendar-month'方便联动两个窗口
<a name="2.1.0"></a>
# [2.1.0]() (2018-07-24)
@@ -57,7 +102,6 @@
* 添加`type` 支持月和年的单独选择
<a name="2.0.0"></a>
# [2.0.0]() (2018-06-16)
### 新功能