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