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