marquex
2016-07-29 cc4a9653d8c53d92dc7d2ad2410de12651f27b19
commit | author | age
8abb28 1 Changelog
M 2 =========
cc4a96 3 ## 2.5.0
M 4 * Added pre-commit hook for tests.
5 * Added the `timeConstraints` prop.
6
52191d 7 ## 2.4.0
M 8 * Added ES linting.
9 * Added `closeOnTab` property.
10
64ce8b 11 ## 2.3.3
M 12 * Updated readme.
13 * Fixed short months for not English locales.
14 * Fixed mixed 12 AM/PM.
15
fa70cd 16 ## 2.3.2
M 17 * Time editor now handles the A format to display 12h times.
18
0390c2 19 ## 2.3.0
M 20 * Added typescript definition file.
21 * Changed button markup and updated styles.
a8a17a 22 * Fixes autoclosing on time change.
0390c2 23
50a0c2 24 ## 2.2.1
M 25 * Controlled datepicker now working for controlled datepickers
26
92a2c6 27 ## 2.2.0
M 28 * The picker can be used as a month or year picker just giving a format date without days/months
29 * Updates test suite
795f65 30
b9158d 31 ## 2.1.0
M 32 * Fixed rdtActive not getting set.
33 * Add react-dom as external dependency.
34 * Fixed rendering a span directly under the calendar table.
35 * Added dev setup
36 * Added example
37
795f65 38 ## 2.0.2
M 39 * Fixed january days go to november problem.
40
8b2e86 41 ## 2.0.1
M 42 * Fixed two days can't have the same header name.
43
08dd0e 44 ## 2.0.0
M 45 * DOM classes are now prefixed with `rdt`.
46 * A modified version of OnClickOutside is now included in the code to handle react 0.13 and 0.14 versions.
47 * Updated dependencies.
d6a6f7 48
272903 49 ## 1.3.0
M 50 * Added open prop.
51 * Added strictParsing prop.
52 * Fixed not possible to set value to `''`.
53
1f5ec1 54 ## 1.2.1
d6a6f7 55 * Removed classlist-polyfill so the component can be used in the server side.
M 56
b73550 57 ## 1.1.1
M 58 * Updates react-onclickoutside dependency to avoid the bug https://github.com/Pomax/react-onclickoutside/issues/20
59
62fd2f 60 ## 1.1.0
M 61 * Datepicker can have an empty value. If the value in the input is not valid, `onChange` and `onBlur` will return input value.
62 * `onBlur` is not triggered anymore if the calendar is not open.
8abb28 63
6eef21 64 ## 1.0.0-rc.2
M 65 * Added travis CI
66 * Fixed not showing timepicker when `dateFormat`=`false`.
67
8abb28 68 ## 1.0.0-rc.1
M 69 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:
70
71 * `date` prop is now called `defaultValue` and it is the initial value to use the component uncontrolled.
72 * `value` prop has been added to use it as a [controlled component](https://facebook.github.io/react/docs/forms.html#controlled-components).
73 * Removed `minDate` and `maxDate` props. Now to define what dates are valid it is possible to use the new `isValidDate` prop.
74 * `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`.
75
76 Moreover:
77 * Buttons doesn't submit anymore when the Datetime component is in a form.
78 * `className` prop has been added to customize component class.