Simon Egersand
2016-11-16 1647b98a9be8c7b8cf1023e61966f21cf83a66d8
commit | author | age
8abb28 1 Changelog
M 2 =========
1647b9 3 ## 2.7.1
SE 4 * Bug fix: `onFocus` and `onBlur` were being called in a way causing state to reset. This unwanted behavior is now adjusted.
5
851b44 6 ## 2.7.0
SE 7 * `isValidDate` now supports months and years.
8 * `utc` prop was added, by setting it to `true` input time values will be interpreted as UTC (Zulu time).
9 * Bug fix: The input value now updates when `dateFormat` changes. 
10 * Removed the source-map file because the commit it was introduced in was causing the minified file to be bigger than the non-minified. 
11
e00d4b 12 ## 2.6.2
SE 13 * Update file references in `package.json`
14
3fdcb7 15 ## 2.6.1
SE 16 * Added a source-map file.
17 * Fixed bug with invalid moment object.
18 * Decreased npm package size by ~29.3KB.
19
b53b25 20 ## 2.6.0
M 21 * Fixed hover styles for days
22 * Added multiple simultaneous datetime component support.
23 * `className` prop now supports string arrays
24 * Fixes 12:00am
25 * Removed warning for missing element keys.
26
cc4a96 27 ## 2.5.0
M 28 * Added pre-commit hook for tests.
29 * Added the `timeConstraints` prop.
30
52191d 31 ## 2.4.0
M 32 * Added ES linting.
33 * Added `closeOnTab` property.
34
64ce8b 35 ## 2.3.3
M 36 * Updated readme.
37 * Fixed short months for not English locales.
38 * Fixed mixed 12 AM/PM.
39
fa70cd 40 ## 2.3.2
M 41 * Time editor now handles the A format to display 12h times.
42
0390c2 43 ## 2.3.0
M 44 * Added typescript definition file.
45 * Changed button markup and updated styles.
a8a17a 46 * Fixes autoclosing on time change.
0390c2 47
50a0c2 48 ## 2.2.1
M 49 * Controlled datepicker now working for controlled datepickers
50
92a2c6 51 ## 2.2.0
M 52 * The picker can be used as a month or year picker just giving a format date without days/months
53 * Updates test suite
795f65 54
b9158d 55 ## 2.1.0
M 56 * Fixed rdtActive not getting set.
57 * Add react-dom as external dependency.
58 * Fixed rendering a span directly under the calendar table.
59 * Added dev setup
60 * Added example
61
795f65 62 ## 2.0.2
M 63 * Fixed january days go to november problem.
64
8b2e86 65 ## 2.0.1
M 66 * Fixed two days can't have the same header name.
67
08dd0e 68 ## 2.0.0
M 69 * DOM classes are now prefixed with `rdt`.
70 * A modified version of OnClickOutside is now included in the code to handle react 0.13 and 0.14 versions.
71 * Updated dependencies.
d6a6f7 72
272903 73 ## 1.3.0
M 74 * Added open prop.
75 * Added strictParsing prop.
76 * Fixed not possible to set value to `''`.
77
1f5ec1 78 ## 1.2.1
d6a6f7 79 * Removed classlist-polyfill so the component can be used in the server side.
M 80
b73550 81 ## 1.1.1
M 82 * Updates react-onclickoutside dependency to avoid the bug https://github.com/Pomax/react-onclickoutside/issues/20
83
62fd2f 84 ## 1.1.0
M 85 * Datepicker can have an empty value. If the value in the input is not valid, `onChange` and `onBlur` will return input value.
86 * `onBlur` is not triggered anymore if the calendar is not open.
8abb28 87
6eef21 88 ## 1.0.0-rc.2
M 89 * Added travis CI
90 * Fixed not showing timepicker when `dateFormat`=`false`.
91
8abb28 92 ## 1.0.0-rc.1
M 93 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:
94
95 * `date` prop is now called `defaultValue` and it is the initial value to use the component uncontrolled.
96 * `value` prop has been added to use it as a [controlled component](https://facebook.github.io/react/docs/forms.html#controlled-components).
97 * Removed `minDate` and `maxDate` props. Now to define what dates are valid it is possible to use the new `isValidDate` prop.
98 * `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`.
99
100 Moreover:
101 * Buttons doesn't submit anymore when the Datetime component is in a form.
102 * `className` prop has been added to customize component class.