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