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