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