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