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