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