Simon Egersand
2017-09-23 53b94774735865536479d9166c9167db678a9337
commit | author | age
8abb28 1 Changelog
M 2 =========
1c710b 3 ## 2.10.1
LA 4 * Fix build files.
5
8f6f33 6 ## 2.10.0
LA 7 * Add isValidDate check before rendering so it doesn't render with an invalid date.
8
833531 9 ## 2.9.0
SE 10 * Trigger callback method on view mode changes
11
eb8710 12 ## 2.8.11
SE 13 * Update TypeScript definitions
14 * Replace deprecated React method with non-deprecated method
15
7392ed 16 ## 2.8.10
SE 17 * Increase click area of arrows for changing day/month/year
18 * Update code according to React 15.5.0
19   * Remove usage of React.createClass
eb8710 20   * Use separate module for PropTypes
7392ed 21
7d7b99 22 ## 2.8.9
SE 23 * Fixes issue where incorrect current month is shown
24
11612b 25 ## 2.8.8
JM 26 * Fixes issues introduced in v2.8.7 recognizing any calendar view as clickingOutside trigger
27
7750ac 28 ## 2.8.7
JM 29 * Update react-onclickoutside dependency. That should fix most of the problems about closeOnSelect.
30
a6752b 31 ## 2.8.6
SE 32 * Revert commits related to `closeOnSelect` that did not fix all issues they were meant to
33
be9654 34 ## 2.8.5
SE 35 * Fix bug where `closeOnSelect` was not closing when it was set to `true`
36 * Fix bug where component would not immediately re-render when updating either `utc` or `locale` prop
37
c5aa9b 38 ## 2.8.4
SE 39 * Fix bug where `closeOnSelect=true` would cause component to close on state change
40
13fdd0 41 ## 2.8.3
SE 42 * Fix `isValidDate` related bug where current month would be invalid
43 * Trigger re-render of component when `viewMode` changes
44 * Never append `rdtOld` class in year view
45
4c3a30 46 ## 2.8.2
SE 47 * Fix year related bug in tests where year was set to 2016
48 * Add a yarnfile so yarn is now possible to use for installing dependencies
49
f41744 50 ## 2.8.1
SE 51 * Fix timeFormat related bug where 'A' was being picked up but not 'a', for setting 12-hour clock.
52
b1f53a 53 ## 2.8.0
SE 54 * Add typings for TypeScript 2.0. We now support TypeScript typings for versions 1.8 and 2.0.
55
932eda 56 ## 2.7.5
M 57 * Bumps the version to skip buggy deployment 2.7.4
58
5d0ee1 59 ## 2.7.4
SE 60 * Reverting updating `react` related dependencies. They were not the issue so they should not be set to the latest version of `react`.
61
612fa3 62 ## 2.7.3
SE 63 * When updating `moment` to `2.16.0` something broke, hopefully by updating all `react` prefixed dependencies to `15.4.0` and changing the syntax in the dependency object a bit will resolve this issue.
64
77e8e7 65 ## 2.7.2
SE 66 * Bug fix: When setting `locale` and entering month view mode the component would sometimes freeze, depending on the locale. This has now been fixed.
67
1647b9 68 ## 2.7.1
SE 69 * Bug fix: `onFocus` and `onBlur` were being called in a way causing state to reset. This unwanted behavior is now adjusted.
70
851b44 71 ## 2.7.0
SE 72 * `isValidDate` now supports months and years.
73 * `utc` prop was added, by setting it to `true` input time values will be interpreted as UTC (Zulu time).
932eda 74 * Bug fix: The input value now updates when `dateFormat` changes.
M 75 * Removed the source-map file because the commit it was introduced in was causing the minified file to be bigger than the non-minified.
851b44 76
e00d4b 77 ## 2.6.2
SE 78 * Update file references in `package.json`
79
3fdcb7 80 ## 2.6.1
SE 81 * Added a source-map file.
82 * Fixed bug with invalid moment object.
83 * Decreased npm package size by ~29.3KB.
84
b53b25 85 ## 2.6.0
M 86 * Fixed hover styles for days
87 * Added multiple simultaneous datetime component support.
88 * `className` prop now supports string arrays
89 * Fixes 12:00am
90 * Removed warning for missing element keys.
91
cc4a96 92 ## 2.5.0
M 93 * Added pre-commit hook for tests.
94 * Added the `timeConstraints` prop.
95
52191d 96 ## 2.4.0
M 97 * Added ES linting.
98 * Added `closeOnTab` property.
99
64ce8b 100 ## 2.3.3
M 101 * Updated readme.
102 * Fixed short months for not English locales.
103 * Fixed mixed 12 AM/PM.
104
fa70cd 105 ## 2.3.2
M 106 * Time editor now handles the A format to display 12h times.
107
0390c2 108 ## 2.3.0
M 109 * Added typescript definition file.
110 * Changed button markup and updated styles.
a8a17a 111 * Fixes autoclosing on time change.
0390c2 112
50a0c2 113 ## 2.2.1
M 114 * Controlled datepicker now working for controlled datepickers
115
92a2c6 116 ## 2.2.0
M 117 * The picker can be used as a month or year picker just giving a format date without days/months
118 * Updates test suite
795f65 119
b9158d 120 ## 2.1.0
M 121 * Fixed rdtActive not getting set.
122 * Add react-dom as external dependency.
123 * Fixed rendering a span directly under the calendar table.
124 * Added dev setup
125 * Added example
126
795f65 127 ## 2.0.2
M 128 * Fixed january days go to november problem.
129
8b2e86 130 ## 2.0.1
M 131 * Fixed two days can't have the same header name.
132
08dd0e 133 ## 2.0.0
M 134 * DOM classes are now prefixed with `rdt`.
135 * A modified version of OnClickOutside is now included in the code to handle react 0.13 and 0.14 versions.
136 * Updated dependencies.
d6a6f7 137
272903 138 ## 1.3.0
M 139 * Added open prop.
140 * Added strictParsing prop.
141 * Fixed not possible to set value to `''`.
142
1f5ec1 143 ## 1.2.1
d6a6f7 144 * Removed classlist-polyfill so the component can be used in the server side.
M 145
b73550 146 ## 1.1.1
M 147 * Updates react-onclickoutside dependency to avoid the bug https://github.com/Pomax/react-onclickoutside/issues/20
148
62fd2f 149 ## 1.1.0
M 150 * Datepicker can have an empty value. If the value in the input is not valid, `onChange` and `onBlur` will return input value.
151 * `onBlur` is not triggered anymore if the calendar is not open.
8abb28 152
6eef21 153 ## 1.0.0-rc.2
M 154 * Added travis CI
155 * Fixed not showing timepicker when `dateFormat`=`false`.
156
8abb28 157 ## 1.0.0-rc.1
M 158 This is the release candidate for this project. Now it is pretty usable and API won't change drastically in a while. If you were using the alpha versions (v0.x) there is a bunch of breaking changes:
159
160 * `date` prop is now called `defaultValue` and it is the initial value to use the component uncontrolled.
161 * `value` prop has been added to use it as a [controlled component](https://facebook.github.io/react/docs/forms.html#controlled-components).
162 * Removed `minDate` and `maxDate` props. Now to define what dates are valid it is possible to use the new `isValidDate` prop.
163 * `dateFormat` and `timeFormat` default value is always the locale default format. In case that you don't want the component to show the date/time picker you should set `dateFormat`/`timeFormat` to `false`.
164
165 Moreover:
166 * Buttons doesn't submit anymore when the Datetime component is in a form.
167 * `className` prop has been added to customize component class.