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