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