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