1 | # React-Select
|
2 | ## v2.4.4 / 2019-05-27
|
3 | ### BugFixes
|
4 | * [#3540] Fixed active styles previously being applied to disabled options. Thanks [@risenforces](https://github.com/risenforces)
|
5 | * [#3563] Fixed IME composition bugs in non Chrome browsers. Thanks [@jwilander](https://github.com/jwilander)
|
6 |
|
7 | ## v2.4.3 / 2019-03-17
|
8 | ### Bugfixes
|
9 | * [#3492](https://github.com/JedWatson/react-select/pull/3492) Add labels to fields to make inspection. [@destructobeam](https://github.com/destructobeam)
|
10 | * [#3442](https://github.com/JedWatson/react-select/pull/3442) Ignore keydown events on `Enter` in IME. [@sat0yu](https://github.com/sat0yu).
|
11 | * [#3343](https://github.com/JedWatson/react-select/pull/3343) fix lint issues. [@JoshMcCullough](https://github.com/JoshMcCullough).
|
12 | * [#3498](https://github.com/JedWatson/react-select/pull/3498) Fix async type. [@mufasa71](https://github.com/mufasa71)
|
13 | * [#3436](https://github.com/JedWatson/react-select/pull/3436) Allow Node as placeholder [@eemeli](https://github.com/eemeli).
|
14 |
|
15 | ## v2.4.2 / 2019-03-11
|
16 | ### Bug fixes
|
17 | * [#3446](https://github.com/JedWatson/react-select/pull/3446) Fix bug with select input value not being selectable. Thanks [kangweichan](https://github.com/kangweichan).
|
18 | * [#3445](https://github.com/JedWatson/react-select/pull/3446) Fix accessibility bug. Disabled options are now focusable and announced by screen-readers but not selectable. Thanks [sarahbethfederman](https://github.com/sarahbethfederman).
|
19 |
|
20 | ## Updates
|
21 | * Fixed typo in style docs. Thanks [thiagodebastos](https://github.com/thiagodebastos).
|
22 | * [#3460](https://github.com/JedWatson/react-select/pull/3460) Added description for actionTypes to docs. Thanks [mikekellyio](https://github.com/mikekellyio)
|
23 |
|
24 | ## v2.4.1 / 2019-02-18
|
25 | ### Bug fixes
|
26 | * [#3432](https://github.com/JedWatson/react-select/pull/3432) Fix bug with select menu's not working on mobile.
|
27 |
|
28 | ## v2.4.0 / 2019-02-15
|
29 | ### Bug fixes
|
30 | * [#3427](https://github.com/JedWatson/react-select/pull/3427) remove focusOption() invocation on ENTER press if the menu is not open.
|
31 | * [#3402](https://github.com/JedWatson/react-select/pull/3402) fix menu scroll being reset on focus of a select with an open menu in ie11. See [#3342](https://github.com/JedWatson/react-select/issues/3342) for details. Thanks [timothypage](https://github.com/timothypage)
|
32 | * [#3420](https://github.com/JedWatson/react-select/pull/3420) fixed select menu being opened on click, when openMenuOnClick is false. Thanks [caleb](https://github.com/caleb) and [rscotten](https://github.com/rscotten)
|
33 | * [#3419](https://github.com/JedWatson/react-select/pull/3419) fixed bug with ScrollCaptor operating on an undefined scrollTarget. Thanks [iulian-radu-at](https://github.com/iulian-radu-at)
|
34 | * [#3411](https://github.com/JedWatson/react-select/pull/3411) fix bug where Enter key press on select with a closed menu wouldn't propagate up. Resolves [#2217](https://github.com/JedWatson/react-select/issues/2217).
|
35 | * [#3407](https://github.com/JedWatson/react-select/pull/3407) remove unnecessary aria-roles from menu and options. This is now all handled by our aria-live implementation. Resolves [#3355](https://github.com/JedWatson/react-select/issues/3355). Thanks [sarahbethfederman](https://github.com/sarahbethfederman).
|
36 | * [#3393](https://github.com/JedWatson/react-select/pull/3393), fix aria live announcement text for removing a selected option. Thanks [msharkeyiii](https://github.com/msharkeyiii).
|
37 | * [#3350](https://github.com/JedWatson/react-select/pull/3350) Updated to 0.91 of flow. Updated types to pass stricter type checking, in later versions of flow. Thanks [DragonWW](https://github.com/DragorWW)
|
38 |
|
39 |
|
40 | ### Updates
|
41 | * [#3370](https://github.com/JedWatson/react-select/pull/3370) Updated memoize-one dependency to 5.0.0. Thanks [adam187](https://github.com/adam187)
|
42 | * [#3366](https://github.com/JedWatson/react-select/pull/3366/files) Update build tooling, to leverage babel 7. Thanks [DragonWW](https://github.com/DragorWW)
|
43 |
|
44 | ## v2.3.0 / 2019-01-18
|
45 |
|
46 | ### Bug fixes
|
47 | * [#3315](https://github.com/JedWatson/react-select/pull/3315) add RAF call to Collapse component getRef() such that getBoundingClientRect() is invoked consistently.
|
48 | * [#3275](https://github.com/JedWatson/react-select/pull/3275/files) wrap String invocation around inputValue to avoid calling toLowerCase on invalid elements. thanks [tavareshenrique](https://github.com/tavareshenrique)
|
49 | * [#3357](https://github.com/JedWatson/react-select/pull/3357), fix loadOptions call in Async select to always pass in a string for the inputValue.
|
50 | * [#3346](https://github.com/JedWatson/react-select/pull/3346) Revert work done in CSP nonce PR [#3260](https://github.com/JedWatson/react-select/pull/3260) to unblock react-select usage in an SSR setting. Users who need nonce support still, please pin your version of react-select at 2.2.0. Nonce support will be re-added in 3.0.0 along with an upgrade to emotion 10; which includes nonce support without having to provide a custom emotion instance.
|
51 |
|
52 | ### Features
|
53 | * [#3115](https://github.com/JedWatson/react-select/pull/3115) menu-is-open modifier added to control class when the menu is open. [@s20lee](https://github.com/s20lee)
|
54 |
|
55 | ## v2.2.0 / 2018-12-28
|
56 |
|
57 | ### Bug Fixes
|
58 | * [#3296](https://github.com/JedWatson/react-select/pull/3296) Fix for tab interactions when in composition mode with an IME. Thanks [yshr446](https://github.com/yshr446) for the PR.
|
59 | * [#3302](https://github.com/JedWatson/react-select/pull/3302) Fix to breaking android and mobile safari touch bug [#2755](https://github.com/JedWatson/react-select/issues/2755), by adding more conscientious checks to the onTouchStart and onTouchMove listeners. Thanks [xakep139](https://github.com/xakep139) for the PR.
|
60 | * [#3303](https://github.com/JedWatson/react-select/pull/3303) Input and GroupHeading components now get passed the selectProps prop, thanks [maxmarchuk](https://github.com/maxmarchuk) for the PR.
|
61 | * [#3260](https://github.com/JedWatson/react-select/pull/3260) As a result of the CSP nonce support feature, the emotion instance is now cached and passed down to all internal components, meaning that users looking to heavily customise their Select components can do so without externally importing emotion, and nonce instances are respected per select instance. Please see [this segment](https://react-select.com/styles#cx-and-custom-components) in the docs for a more detailed explanation.
|
62 | * [#3299](https://github.com/JedWatson/react-select/pull/3299) fix to assistive text on menu open.
|
63 |
|
64 | ### Feature
|
65 | * [#3260](https://github.com/JedWatson/react-select/pull/3260) Add CSP nonce support to Select, thanks [Avaq](https://github.com/Avaq) and [Andarist](https://github.com/Andarist) for the heavy lifting.
|
66 |
|
67 | ## v2.1.2 / 2018-11-22
|
68 |
|
69 | ### Bug fixes
|
70 |
|
71 | * [#3161] Initialize state with `inputValue` when `defaultOptions` is true in AsyncSelect, resolves [#3160](https://github.com/JedWatson/react-select/issues/3160), thanks [@cutterbl](https://github.com/cutterbl)
|
72 | * [#3096] Placeholder component now also receives the isFocused state value as a prop. Thanks [@Nelrohd](https://github.com/Nelrohd)
|
73 | * [#3060] Fix bug where trying to set the cursor somewhere in an input value would close the menu. Thanks [@stijndeschuymer](https://github.com/stijndeschuymer)
|
74 | * [#3163] Fixed bug where isDisabled wasn't being reflected onto the DummyInput, which meant that disabled non searchable selects were still focusable. Thanks [@gm0t](https://github.com/gm0t)
|
75 | * [#3216] Fixes bug where clearing with backspace in a single select would result in an empty array, as opposed to the expected empty object. Thanks [@IanVS](https://github.com/IanVS)
|
76 | * [#3013] Fixes bug where the menu would close on trying to scroll using the scroll bar in IE11. Thanks [@rakid](https://github.com/rakid)
|
77 |
|
78 | ### Misc
|
79 |
|
80 | * A big shoutout to everyone who helped contribute to the docs. In no particular order [@acrawford13](https://github.com/JedWatson/react-select/commits?author=acrawford13), [@kirillku](https://github.com/kirillku), [@ajaymathur](https://github.com/ajaymathur), [@mgalgs](https://github.com/mgalgs), [@cutterbl](https://github.com/cutterbl), [@JonathanWbn](https://github.com/JonathanWbn), [@mwood23](https://github.com/mwood23), [@stevemao](https://github.com/stevemao), [@jossmac](https://github.com/jossmac), and anyone else I've missed.
|
81 | * Thanks to [@IanVS](https://github.com/IanVS) for cleaning up our cypress tests.
|
82 |
|
83 | ## v2.1.1 / 2018-10-24
|
84 |
|
85 | ### Bug fixes
|
86 |
|
87 | * [#3132] Strip theme props from default Input and GroupHeading components, as they were polluting the DOM.
|
88 | * [#3131] Add support for the 'Delete' key in the internal onKeyDown method. Same functionality as 'Backspace'.
|
89 | * [#3100] Update flow-types and normalised default prop declarations in indicators. Thanks [iseredov](https://github.com/iseredov)
|
90 |
|
91 | ### Updates
|
92 |
|
93 | * [#3083] Added sideEffects property to package.json to support tree-shaking in webpack 4.x. Thanks [SimenB](https://github.com/SimenB).
|
94 | * [#3078] Update jest dependency to 23.6.0. Thanks [papandreou](https://github.com/papandreou)
|
95 | * [#3065] Update babel-plugin-emotion to 9.2.10. Thanks [mtzhang](https://github.com/mtzhang)
|
96 | * [#3108] Update docs to include instructions for replicating the simple-value use case within react-select v2. Thanks [elboletaire](https://github.com/elboletaire)
|
97 |
|
98 | ## v2.1.0 / 2018-10-03
|
99 |
|
100 | * [#2839] Added support for theming via theme prop. Thanks [akx](https://github.com/akx)
|
101 | * [#2874] Fixed flow-types of MultiValue components. Thanks [mike1808](https://github.com/mike1808)
|
102 | * [#2903] Fix missing form input when there isn't a selected value. Thanks [alvinsj](https://github.com/alvinsj)
|
103 | * [#2934] Reduced theme colors to a sane value set to make the exported theme more easy to consume and configure. Thanks [jossmac](https://github.com/jossmac)
|
104 | * [#2876] Added overflow hidden to valueContainer to stop overflowing text in the control. Thanks [mike1808](https://github.com/mike1808)
|
105 | * [#2975] Separated menu placement logic from menu primitive. Thanks [jossmac](https://github.com/jossmac).
|
106 |
|
107 | ## v2.0.0 / 2018-07-23
|
108 |
|
109 | * async select now accepts a filterOptions function as a prop [#2822](https://github.com/JedWatson/react-select/pull/2822)
|
110 | * [BREAKING] react-select now exports react-select.esm.js from dist instead of react-select.es.js [#2641](https://github.com/JedWatson/react-select/pull/2641)
|
111 | * [BREAKING] innerRef assignments in custom components must now be made from the root of the prop object, as opposed to reaching into innerProps. This is part of the work to normalize the behaviour circa custom components. [#2824](https://github.com/JedWatson/react-select/pull/2824)
|
112 | * className and classNamePrefix deprecation warning and backward compatibility removed. className now only affects the select container, classNamePrefix prefixes all internal components. [#2820](https://github.com/JedWatson/react-select/pull/2820)
|
113 | * Added `closeMenuOnScroll` prop, which can either be a `boolean` or a `function`, if set to `true` the select menu will close on scroll of the document/body. If a function is supplied, it must take the following shape `(event: ScrollEvent) => boolean`, the boolean value will be used to resolve whether the menu should be closed or stay open. [#2809](https://github.com/JedWatson/react-select/pull/2809), thanks [Vynlar](https://github.com/Vynlar) for this.
|
114 | * Added fix to support IME inputs. [#2767](https://github.com/JedWatson/react-select/pull/2767), thanks [shamabe](https://github.com/shamabe)
|
115 | * Removed primitives, and normalise multi-value components to be in line with existing component customisation patterns. [#2821](https://github.com/JedWatson/react-select/pull/2821)
|
116 | * Normalised isOptionDisabled to be inline with its sibling prop isOptionSelected. [#2821](https://github.com/JedWatson/react-select/pull/2695) Thanks [SimeonC](https://github.com/SimeonC)
|
117 | * [#2814](https://github.com/JedWatson/react-select/pull/2814) Added memoization to custom components within Select.js as well as in the exported makeAnimated factory method. Thanks to [Alex Reardon's](https://github.com/alexreardon) [memoize-one](https://github.com/alexreardon/memoize-one)
|
118 | * [#2652](https://github.com/JedWatson/react-select/pull/2652), Async Select now re-evaluates defaultOptions on componentWillReceiveProps. Thanks [jesstelford](https://github.com/jesstelford)
|
119 |
|
120 | ## v2.0.0-beta.7 / 2018-07-03
|
121 |
|
122 | * Removed old aria-attributes in Option, MenuList and other components in favor of an aria-live-region implementation. `screenReaderStatus` prop is still at the moment untouched, and `aria-labelledby` and `aria-label` props are still available and retain their functionality. See [#2581](https://github.com/JedWatson/react-select/pull/2581).
|
123 | * Internal ref `input` is now `inputRef` for consistency.
|
124 | * Internal ref `menuRef` is now `menuListRef` for consistency.
|
125 | * Fixed bug with MultiValueRemove interaction not working in mobile [#2762](https://github.com/JedWatson/react-select/pull/2762), thanks [chuckbergeron](https://github.com/chuckbergeron).
|
126 | * Added makeAnimated function export, that takes passed in components and wraps them in higher order components that expose animated functionality. [#2724](https://github.com/JedWatson/react-select/pull/2724)
|
127 | * Added functionality to not render the menu if `noOptionsMessage` or `loadingMessage` are set to null. [#2754](https://github.com/JedWatson/react-select/pull/2754)
|
128 | * Fixed bug with mobile menu being blocked when `menuShouldBlockScroll` is true.
|
129 | [#2756](https://github.com/JedWatson/react-select/pull/2756)
|
130 | * Enabled hideSelectedOptions functionality for single-select as well. Changed logic so that if isMulti is true and hideSelectedOptions is not defined, we will hide selected options by default. Explicitly setting hideSelectedOptions will override this behaviour. https://github.com/JedWatson/react-select/pull/2753
|
131 | * Updates to flow types, thanks [mike1808](https://github.com/mike1808), [himerus](https://github.com/himerus),
|
132 | [teamable-software](https://github.com/teamable-software) and
|
133 | * Bumped internal flow-bin dependency to 0.72.0, [#2646](https://github.com/JedWatson/react-select/pull/2646) thanks [lunij](https://github.com/lunij)
|
134 | * Fixed [#2701](https://github.com/JedWatson/react-select/issues/2701), use of un-polyfilled array.includes() in Select.js, this has now been subbed out for a IE compatible implementation.
|
135 | * [#2733](https://github.com/JedWatson/react-select/issues/2733), fixed classname bug to do with prefixing classes with modifiers.
|
136 | * [#2723](https://github.com/JedWatson/react-select/issues/2732), fixed emotion compilation bug blocking loadingDot rendering.
|
137 | * [#2749](https://github.com/JedWatson/react-select/pull/2749) fixed typo in docs. thanks [JuhQ](https://github.com/juhq)
|
138 | * [#2717](https://github.com/JedWatson/react-select/pull/2717) added selected value to onChange to accommodate multi-select, thanks [SimeonC](https://github.com/simeonc)
|
139 |
|
140 | ## v2.0.0-beta.6 / 2018-05-23
|
141 |
|
142 | * Fixed bug with `css` attribute being wrongly applied to a DOM element in SingleValue. Thanks [guigs](http://github.com/guigs)
|
143 | * Added `removedValue` to the `actionMeta` of the `remove-value` action that's passed into the `onChange` prop.
|
144 | * Reverted previous change of `innerRef` in `innerProps` of custom Components to `ref`. The property is now once again named `innerRef`. This is mostly to resolve issues with styled-components not passing `ref` down to wrapped dom elements, however this is also a safer pattern to apply as it requires users providing their own custom components to explicitly associate the passed down ref with the requisite dom element.
|
145 | * selectValue now filters items based on the getOptionValue method. Thanks (inv8der)[http://github.com/inv8der]
|
146 | * Added `createOptionPosition` to creatable select to allow users to specify where the createOption element appears in the menu.
|
147 | * Added touch handling logic to detect user intent to scroll the page when interacting with the select control.
|
148 |
|
149 | ## v2.0.0-beta.5 / 2018-05-18
|
150 |
|
151 | * Added `controlShouldRenderValue` prop, defaults to true. Setting it to false disables rendering values in the control. Thanks[Joss Mackison](http://github.com/jossmac)
|
152 |
|
153 | ## v2.0.0-beta.4 / 2018-05-15
|
154 | * Fixed bug where transition props were being spread onto the DummyInput causing react warnings in the console. Thanks [Mike Gardner](https://github.com/MikeLimeRocket)
|
155 |
|
156 | ## v2.0.0-beta.3 / 2018-05-14
|
157 |
|
158 | **Note**: There is an important change in this release to the behaviour of `className`.
|
159 |
|
160 | Previously, `className` would control the class names applied to internal components
|
161 | as well as the containing element. Now, the `className` prop only controls the class
|
162 | name of the containing element, and the new prop `classNamePrefix` controls classes
|
163 | applies to internal components.
|
164 |
|
165 | Until 2.0.0 final is released, we have added backwards compatibility and a deprecation
|
166 | warning to cover this change.
|
167 |
|
168 | * Added `classNamePrefix` prop, which now controls the class names applied to internal components
|
169 | * Refactored cx internal implementation to reduce specificity of css-in-jss base styles.
|
170 | * `maxValueHeight` prop removed
|
171 | * Added `--is-disabled` className modifier to Option component, thanks [eemeli](https://github.com/eemeli)
|
172 | * Fixed various IE11 issues, see [#2583](https://github.com/JedWatson/react-select/issues/2583)
|
173 | * Added multi-value keyboard navigation using left and right arrows.
|
174 | * Simplified flow distribution, thanks [falconmick](https://github.com/falconmick)
|
175 | * Added fix to ensure focus is on the Input when the menu opens
|
176 |
|
177 | ## v2.0.0-beta.2 / 2018-04-25
|
178 |
|
179 | * Switched from glam to [emotion](https://emotion.sh) for css-in-js
|
180 | * Input colour can now be changed
|
181 | * Use of React 16 Fragment removed, 2.0.0 should work with React 15
|
182 | * SSR support improved
|
183 | * Indicator icons are now exported
|
184 |
|
185 | ## v2.0.0-beta.1 / 2018-04-20
|
186 |
|
187 | * Added `tabIndex` prop
|
188 | * Added `classNames` prop
|
189 | * Added upgrade guide from v1 --> v2
|
190 | * Fixed bug with overflowing long values in the control
|
191 | * Fixed ie11 bug to do with absolutely positioned children in flex parent.
|
192 | * Documentation ie11, styling and copy improvements
|
193 |
|
194 | ## v2.0.0-alpha.11 / 2018-04-12
|
195 |
|
196 | Minor fix since last alpha:
|
197 |
|
198 | * Fixed a flow type issue that was causing issues for consumers
|
199 |
|
200 | ## v2.0.0-alpha.10 / 2018-04-10
|
201 |
|
202 | Minor fix since last alpha:
|
203 |
|
204 | * Fixed an issue with `dist/react-select.es.js` where `babelHelpers` weren't defined
|
205 |
|
206 | ## v2.0.0-alpha.9 / 2018-04-10
|
207 |
|
208 | Ongoing rewrite. Major changes since last alpha:
|
209 |
|
210 | * Added `openMenuOnClick` and `openMenuOnFocus` props
|
211 | * Significant test coverage and documentation improvements
|
212 | * Added `onMenuScrollToTop` and `onMenuScrollToBottom` event props
|
213 | * `scrollMenuIntoView` prop renamed `menuShouldScrollIntoView`
|
214 | * `onKeyDown` now based on event.key not event.keyCode
|
215 | * Component ids no longer have double separators
|
216 | * Fixed a Firefox bug with `position: absolute` and `display: flex`
|
217 | * Added support for fixed position menu and scroll blocking
|
218 | * Fixed issue with transition group props being passed to child components
|
219 | * Fixed issue with portalled menu display when `menuPlacement="top"`
|
220 |
|
221 | ## v2.0.0-alpha.8 / 2018-02-20
|
222 |
|
223 | Ongoing rewrite. Major changes since last alpha:
|
224 |
|
225 | * Made `focus` and `blur` methods work consistently when composing HOCs
|
226 | * Added `menuPortalTarget` prop which portals the menu, with a `MenuPortal` component and `menuPortal` style key
|
227 | * Allow the `MultiValueRemove` component children to be changed
|
228 | * Lots of new tests, updates to documentation and examples
|
229 |
|
230 | ## v2.0.0-alpha.7 / 2018-02-14
|
231 |
|
232 | Ongoing rewrite. Major changes since last alpha:
|
233 |
|
234 | * Significantly improved touch and mobile support
|
235 | * New positioning behaviour for the Menu
|
236 | * Added `scrollMenuIntoView` prop, which does exactly what you'd expect
|
237 | * Added action meta to the `onInputChange` event handler arguments
|
238 | * `Creatable` Component Added
|
239 | * `AsyncCreatable` Component Added
|
240 | * Fixed an issue with the layout that would trigger a Firefox repaint bug
|
241 | * Improved behaviour when the `isDisabled` prop value is changed
|
242 | * The `IndicatorSeparator` isn't rendered when there is no `DropdownIndicator`
|
243 | * Converted `StateManager` to a higher order component
|
244 | * New website, docs, and more tests! (still WIP)
|
245 | * Examples can now be launched in CodeSandbox, thanks to [Ben Conolly](https://github.com/noviny)
|
246 |
|
247 | ## v2.0.0-alpha.6 / 2018-02-14
|
248 |
|
249 | Ongoing rewrite. Major changes since last alpha:
|
250 |
|
251 | * `menuIsOpen`, `inputValue` and `value` are now controllable props that default to internal state
|
252 | * Fixed missing loading indicator
|
253 | * Added "open in code sandbox" to all examples
|
254 | * Switched menu rendering from li to div tags for better screen reader usability
|
255 | * Removed unused primitives and simplified indicator components
|
256 | * Improved accessibility of groups and options, cleaned up Group implementation
|
257 | * Fixed some input alignment issues
|
258 | * Added right-to-left support with `isRtl` prop
|
259 | * Support blocking page scroll at menu boundaries with `captureMenuScroll` prop
|
260 | * Added automatic menu flipping at window boundaries with `menuPlacement` and `menuShouldFlip` props
|
261 | * Added `isSearchable` prop to support simple (not searchable) select inputs
|
262 | * Added `pageSize` prop
|
263 |
|
264 | ## v2.0.0-alpha.5 / 2018-02-07
|
265 |
|
266 | Ongoing rewrite. Major changes since last alpha:
|
267 |
|
268 | * Fixed an issue where animated values would show ellipsis while leaving
|
269 | * Long single values are now also correctly truncated
|
270 |
|
271 | ## v2.0.0-alpha.4 / 2018-02-06
|
272 |
|
273 | Ongoing rewrite. Major changes since last alpha:
|
274 |
|
275 | * Added support for Promises in the Async component
|
276 | * Added `setValue` method on the Select class
|
277 | * More consistent use of `innerProps` for internal components
|
278 | * Internal components are now provided a consistent set of props and API
|
279 | * Improved handling of keyboard and mouse interaction for options in the menu
|
280 | * Default filtering behaviour now has parity with v1
|
281 | * New `createFilter` method lets you customise the filter options
|
282 | * Some unnecessary components have been removed for better performance
|
283 | * Long values are now truncated
|
284 |
|
285 | ## v2.0.0-alpha.3 / 2018-02-02
|
286 |
|
287 | Ongoing rewrite. Major changes since last alpha:
|
288 |
|
289 | * Added `getOptionValue`, `getOptionLabel` and `formatOptionLabel` props
|
290 | * Added `isOptionSelected` and `isOptionDisabled` props
|
291 | * Added `name` and `delimiter` props to support hidden html inputs for forms
|
292 | * Added `loadingMessage`, `noOptionsMessage` and `screenReaderStatus` props so messages can be customised
|
293 | * Customisable components are now passed `innerProps` for simpler implementation
|
294 | * Cleaned up internal Components and made sure they can all be styled
|
295 | * Implemented customisable filtering function with support for case and diacritics
|
296 | * Fixed various css bugs and vendor prefixing issues
|
297 | * Accessibility improvements
|
298 |
|
299 | ## v2.0.0-alpha.2 / 2018-01-25
|
300 |
|
301 | Ongoing rewrite. Major changes since last alpha:
|
302 |
|
303 | * `Async` component added
|
304 | * `styles` prop added to Select component
|
305 | * `isLoading` prop to Select component and new indicator added
|
306 | * Support added for disabled options
|
307 | * Internal components cleaned up
|
308 | * Cypress tests added
|
309 | * CSS class names added to default components
|
310 | * Accessibility improvements
|
311 |
|
312 | ## v2.0.0-alpha.1 / 2018-01-12
|
313 |
|
314 | Complete rewrite, docs and upgrade notes on changes from v1 to come later.
|
315 |
|
316 | ## v1.2.1 / 2018-01-13
|
317 |
|
318 | * Fixed blocking the Del key when deleteRemoves is false, thanks [Nachtigall, Jens (init)](https://github.com/jnachtigall) - [see PR](https://github.com/JedWatson/react-select/pull/2291)
|
319 | * Fixed inline-block rendering for arrowRenderer without autosize, thanks [Harry Kao](https://github.com/harrykao) - [see PR](https://github.com/JedWatson/react-select/pull/2276)
|
320 | * Fixed dropdown menu positioning issues in IE 11, thanks [jharris4](https://github.com/jharris4) - [see PR](https://github.com/JedWatson/react-select/pull/2273)
|
321 | * Added missing rule to the `scss` stylesheet, thanks [Jordan Whitfield](https://github.com/mantissa7) - [see PR](https://github.com/JedWatson/react-select/pull/2280)
|
322 | >>>>>>> master
|
323 |
|
324 | ## v1.2.0 / 2018-01-08
|
325 |
|
326 | * Source cleanup, thanks to [Yuri S](https://github.com/yuri-sakharov) and
|
327 | [Charles Lee](https://github.com/gwyneplaine) -
|
328 | [see PR](https://github.com/JedWatson/react-select/pull/2262)
|
329 | * Switched from babel-preset-es2015 to babel-preset-env, thanks
|
330 | [Rambabu Yadlapalli](https://github.com/RamYadlapalli) -
|
331 | [see PR](https://github.com/JedWatson/react-select/pull/2254)
|
332 | * Fixed focused option. Issue #2237, thanks
|
333 | [Yuri S](https://github.com/yuri-sakharov) -
|
334 | [see PR](https://github.com/JedWatson/react-select/pull/2245)
|
335 | * Fix onSelectResetsInput bug from keyboard navigation, thanks
|
336 | [Charles Lee](https://github.com/gwyneplaine) -
|
337 | [see PR](https://github.com/JedWatson/react-select/pull/2259)
|
338 | * Fixed all warnings on running tests, thanks
|
339 | [Yuri S](https://github.com/yuri-sakharov) -
|
340 | [see PR](https://github.com/JedWatson/react-select/pull/2231)
|
341 | * Added missing tests for Option.js and refactored Option-test.js., thanks
|
342 | [Yuri S](https://github.com/yuri-sakharov) -
|
343 | [see PR](https://github.com/JedWatson/react-select/pull/2249)
|
344 | * Added missing tests for Async.js, thanks
|
345 | [Yuri S](https://github.com/yuri-sakharov) -
|
346 | [see PR](https://github.com/JedWatson/react-select/pull/2250)
|
347 | * Fixed console error in GitHub users example, thanks
|
348 | [Yuri S](https://github.com/yuri-sakharov) -
|
349 | [see PR](https://github.com/JedWatson/react-select/pull/2244)
|
350 | * Fixed readme example. Issue #2235, thanks
|
351 | [Yuri S](https://github.com/yuri-sakharov) -
|
352 | [see PR](https://github.com/JedWatson/react-select/pull/2246)
|
353 | * Regression fix for single select with onSelectResetsInput=false, thanks
|
354 | [Yuri S](https://github.com/yuri-sakharov) -
|
355 | [see PR](https://github.com/JedWatson/react-select/pull/2226)
|
356 | * Pass placeholder prop to ValueComponent, thanks
|
357 | [Aravind Srivatsan](https://github.com/aravindsrivats) -
|
358 | [see PR](https://github.com/JedWatson/react-select/pull/2225)
|
359 | * Refactored handleKeyDown switch, thanks
|
360 | [Yuri S](https://github.com/yuri-sakharov) -
|
361 | [see PR](https://github.com/JedWatson/react-select/pull/2228)
|
362 | * onSelectResetsInput regression fixed, thanks
|
363 | [Jed Watson](https://github.com/dehamilton) -
|
364 | [see PR](https://github.com/JedWatson/react-select/pull/2215)
|
365 | * Don't open drop down menu when clear values, thanks
|
366 | [Jed Watson](https://github.com/Chopinsky) -
|
367 | [see PR](https://github.com/JedWatson/react-select/pull/2198)
|
368 | * Clear input value on receiving props with another value., thanks
|
369 | [Yuri S](https://github.com/yuri-sakharov) -
|
370 | [see PR](https://github.com/JedWatson/react-select/pull/2183)
|
371 | * Fix/is option unique crash, thanks [Jacob Zuo](https://github.com/Chopinsky) -
|
372 | [see PR](https://github.com/JedWatson/react-select/pull/2185)
|
373 | * Use react-input-autosize v2.1.2 for guard against undefined window, thanks
|
374 | [DStyleZ](https://github.com/sximba) -
|
375 | [see PR](https://github.com/JedWatson/react-select/pull/2187)
|
376 | * Fix issue #2182, thanks [Kurt Hoyt](https://github.com/kurtinatlanta) -
|
377 | [see PR](https://github.com/JedWatson/react-select/pull/2213)
|
378 | * Documenting behavior of onBlurResetsInput in the readme., thanks
|
379 | [hobbsl](https://github.com/levininja) -
|
380 | [see PR](https://github.com/JedWatson/react-select/pull/2212)
|
381 | * Use onSelectResetsInput for single select, thanks
|
382 | [lachiet](https://github.com/lachiet) -
|
383 | [see PR](https://github.com/JedWatson/react-select/pull/2205)
|
384 | * Fix state value in README example, thanks
|
385 | [Srishan Bhattarai](https://github.com/srishanbhattarai) -
|
386 | [see PR](https://github.com/JedWatson/react-select/pull/2192)
|
387 | * document breaking change of removing getInputValue, thanks
|
388 | [Turadg Aleahmad](https://github.com/turadg) -
|
389 | [see PR](https://github.com/JedWatson/react-select/pull/2195)
|
390 | * Fixed search for invalid label and/or value, thanks
|
391 | [Yuri S](https://github.com/yuri-sakharov) -
|
392 | [see PR](https://github.com/JedWatson/react-select/pull/2179)
|
393 |
|
394 | ## v1.1.0 / 2017-11-28
|
395 |
|
396 | * added; more props are passed to the Option component: `focusOption`,
|
397 | `inputValue`, `selectValue`, `removeValue`
|
398 | * added; the `inputValue` is passed as the third argument to the
|
399 | `optionRenderer`
|
400 | * fixed; issues opening the menu correctly for multiselect when
|
401 | `autosize={false}`
|
402 | * fixed; removed `event.stopPropagation()` from Select's `clearValue` and
|
403 | `onClick` handlers, thanks [Thomas Burke](https://github.com/etburke)
|
404 | * fixed; `handleMouseDownOnArrow` when `openOnClick={false}`, thanks
|
405 | [elias ghali](https://github.com/elghali)
|
406 | * fixed; conditional scrolling into view of focused option, thanks
|
407 | [Michael Lewis](https://github.com/mtlewis)
|
408 |
|
409 | ## v1.0.1 / 2017-11-24
|
410 |
|
411 | * reintroduced source files for scss and less stylesheets into the npm package
|
412 |
|
413 | ## v1.0.0 / 2017-11-23
|
414 |
|
415 | * breaking; removed `getInputValue` function -
|
416 | [see PR](https://github.com/JedWatson/react-select/pull/2108)
|
417 | * reverted spacebar-selects-option behaviour for searchable selects, thanks
|
418 | [Charles Lee](https://github.com/gwyneplaine) -
|
419 | [see PR](https://github.com/JedWatson/react-select/pull/2163)
|
420 | * fixed behaviour where async doesn't handle onInputChange returning a value,
|
421 | thanks [Anton](https://github.com/tehbi4) -
|
422 | [see PR](https://github.com/JedWatson/react-select/pull/2133)
|
423 | * fixed Creatable bug where the first enter keypress is ignored when
|
424 | `promptTextCreator` returns only the label, thanks
|
425 | [George Karagkiaouris](https://github.com/karaggeorge) -
|
426 | [see PR](https://github.com/JedWatson/react-select/pull/2140)
|
427 | * Utility functions are now exported from the es6 build, thanks
|
428 | [Deiru](https://github.com/Deiru2k) -
|
429 | [see PR](https://github.com/JedWatson/react-select/pull/2154)
|
430 | * Update aria-only class to have absolute positioning, thanks
|
431 | [Jacob Hilker](https://github.com/JHilker) -
|
432 | [see PR](https://github.com/JedWatson/react-select/pull/1243)
|
433 | * gives possibility to use ref property for Creatable, thanks
|
434 | [blacktemplar](https://github.com/blacktemplar) -
|
435 | [see PR](https://github.com/JedWatson/react-select/pull/1646)
|
436 | * Adds lint and test pre-commit hooks, thanks
|
437 | [carymcpoland](https://github.com/mcpolandc) -
|
438 | [see PR](https://github.com/JedWatson/react-select/pull/2077)
|
439 | * Disable some browser-specific behaviours that break the input, thanks
|
440 | [Jed Watson](https://github.com/JedWatson) -
|
441 | [see PR](https://github.com/JedWatson/react-select/pull/2101)
|
442 | * onOpen: run after dom has rendered, thanks
|
443 | [Karl-Aksel Puulmann](https://github.com/macobo) -
|
444 | [see PR](https://github.com/JedWatson/react-select/pull/#1756)
|
445 | * fix not clearing when given invalid values, from #1756, thanks
|
446 | [Mário][https://github.com/ticklemynausea] -
|
447 | [see PR](https://github.com/JedWatson/react-select/pull/2100)
|
448 | * Exports Option Component, thanks
|
449 | [Erkelens, Jan Paul](https://github.com/jperkelens) -
|
450 | [see PR](https://github.com/JedWatson/react-select/pull/2097)
|
451 | * Fix/numeric multi select, thanks
|
452 | [Charles Lee](https://github.com/gwyneplaine) -
|
453 | [see PR](https://github.com/JedWatson/react-select/pull/2086)
|
454 | * removeSelected prop (round 2), for optionally keeping selected values in
|
455 | dropdown, thanks [Jed Watson](https://github.com/banderson) -
|
456 | [see PR](https://github.com/JedWatson/react-select/pull/1891)
|
457 | * pass removeValue() and always pass valueArray, thanks
|
458 | [kcliu](https://github.com/kcliu) -
|
459 | [see PR](https://github.com/JedWatson/react-select/pull/1850)
|
460 | * Accessibility Enhancements - Aria tags, Space/Enter keys, thanks
|
461 | [sushmabadam](https://github.com/sushmabadam) -
|
462 | [see PR](https://github.com/JedWatson/react-select/pull/1428)
|
463 | * added rtl support, thanks [Dekel](https://github.com/dekelb) -
|
464 | [see PR](https://github.com/JedWatson/react-select/pull/1613)
|
465 | * Add inputValue to menuRenderer, thanks
|
466 | [headcanon](https://github.com/chronick) -
|
467 | [see PR](https://github.com/JedWatson/react-select/pull/1732)
|
468 | * fix typo in handleKeyDown method, thanks
|
469 | [jasonchangxo](https://github.com/jasonchangxo) -
|
470 | [see PR](https://github.com/JedWatson/react-select/pull/2088)
|
471 | * Fix/numeric multi select, thanks
|
472 | [Charles Lee](https://github.com/gwyneplaine) -
|
473 | [see PR](https://github.com/JedWatson/react-select/pull/2086)
|
474 | * expose children in AsyncCreatable.js, thanks
|
475 | [Charles Lee](https://github.com/gwyneplaine) -
|
476 | [see PR](https://github.com/JedWatson/react-select/pull/2084)
|
477 | * replace trim fn loop with regex, thanks
|
478 | [Charles Lee](https://github.com/gwyneplaine) -
|
479 | [see PR](https://github.com/JedWatson/react-select/pull/2085)
|
480 | * Trim search text from beginning and the end. (fixes #1861), thanks
|
481 | [Serkan Ozer](https://github.com/serkanozer) -
|
482 | [see PR](https://github.com/JedWatson/react-select/pull/1862)
|
483 | * Add variable for focused input background, thanks
|
484 | [Aron Strandberg](https://github.com/aronstrandberg) -
|
485 | [see PR](https://github.com/JedWatson/react-select/pull/1998)
|
486 | * Added id in the input select, thanks
|
487 | [thecreazy](https://github.com/thecreazy) -
|
488 | [see PR](https://github.com/JedWatson/react-select/pull/2027)
|
489 | * adding a nvmrc file and adding coverage to eslintignore, thanks
|
490 | [Dave Birch](https://github.com/uxtx) -
|
491 | [see PR](https://github.com/JedWatson/react-select/pull/1137)
|
492 | * Updated the comment for the deleteRemoves option., thanks
|
493 | [Abul Dider](https://github.com/dider7) -
|
494 | [see PR](https://github.com/JedWatson/react-select/pull/2078)
|
495 | * implemented optional rendering of arrow, thanks
|
496 | [rolandjohann](https://github.com/rolandjohann) -
|
497 | [see PR](https://github.com/JedWatson/react-select/pull/1761)
|
498 | * Skip rendering arrow wrapper when custom arrow renderer returns falsy value,
|
499 | thanks [Mike Lewis](https://github.com/mtlewis) -
|
500 | [see PR](https://github.com/JedWatson/react-select/pull/2055)
|
501 | * do not show clear button if value is an empty string, thanks
|
502 | [Marie Godon](https://github.com/mariegodon) -
|
503 | [see PR](https://github.com/JedWatson/react-select/pull/2074)
|
504 | * Set isLoading to false if cache hit, thanks
|
505 | [timhwang21](https://github.com/timhwang21) -
|
506 | [see PR](https://github.com/JedWatson/react-select/pull/2042)
|
507 | * Add aria-labels to Options, thanks
|
508 | [jasonchangxo](https://github.com/jasonchangxo) -
|
509 | [see PR](https://github.com/JedWatson/react-select/pull/2036)
|
510 | * Adds source links to each example, thanks
|
511 | [Damon Bauer](https://github.com/damonbauer) -
|
512 | [see PR](https://github.com/JedWatson/react-select/pull/2051)
|
513 | * Issue #2056: onInputChange should return modified value, thanks
|
514 | [Caleb Scholze](https://github.com/cscholze) -
|
515 | [see PR](https://github.com/JedWatson/react-select/pull/2057)
|
516 | * Remove option `addLabelText` from README and propTypes, thanks
|
517 | [Jannes Jeising](https://github.com/jjeising) -
|
518 | [see PR](https://github.com/JedWatson/react-select/pull/2040)
|
519 | * GitHub has a capital H, thanks
|
520 | [David Baumgold](https://github.com/singingwolfboy) -
|
521 | [see PR](https://github.com/JedWatson/react-select/pull/2053)
|
522 | * refactor componentWillUnmount(), thanks
|
523 | [riophae](https://github.com/riophae) -
|
524 | [see PR](https://github.com/JedWatson/react-select/pull/2064)
|
525 | * Slim down NPM package, thanks [Valentin Agachi](https://github.com/avaly) -
|
526 | [see PR](https://github.com/JedWatson/react-select/pull/2062)
|
527 | * Update contributing doc, thanks [Gregg Brewster](https://github.com/greggb) -
|
528 | [see PR](https://github.com/JedWatson/react-select/pull/2059)
|
529 | * strip proptypes in production build (fixes #1882), thanks
|
530 | [Jochen Berger](https://github.com/jochenberger) -
|
531 | [see PR](https://github.com/JedWatson/react-select/pull/2003)
|
532 | * Support Webpack 2, Webpack 3, rollup., thanks
|
533 | [Matthew Schnee](https://github.com/mschnee) -
|
534 | [see PR](https://github.com/JedWatson/react-select/pull/2020)
|
535 | * Add missing semicolon, thanks
|
536 | [jochenberger](https://github.com/jochenberger) -
|
537 | [see PR](https://github.com/JedWatson/react-select/pull/2018)
|
538 | * autofocus --> autoFocus, thanks
|
539 | [Charles Lee](https://github.com/gwyneplaine) -
|
540 | [see PR](https://github.com/JedWatson/react-select/pull/2002)
|
541 | * Async> cache async response regardless of req order, thanks
|
542 | [Timothy Hwang](https://github.com/timhwang21) -
|
543 | [see PR](https://github.com/JedWatson/react-select/pull/2012)
|
544 | * Make this work in preact., thanks [liaoxuezhi](https://github.com/2betop) -
|
545 | [see PR](https://github.com/JedWatson/react-select/pull/2013)
|
546 | * Correct release candidate version on README, thanks
|
547 | [Damon Aw](https://github.com/daemonsy) -
|
548 | [see PR](https://github.com/JedWatson/react-select/pull/2017)
|
549 | * Fix test name, thanks [jochenberger](https://github.com/jochenberger) -
|
550 | [see PR](https://github.com/JedWatson/react-select/pull/2005)
|
551 | * Fixing css states to be scoped with Select selector, closes #1951., thanks
|
552 | [Adam Girton](https://github.com/agirton) -
|
553 | [see PR](https://github.com/JedWatson/react-select/pull/2000)
|
554 | * fix typo, thanks [jochenberger](https://github.com/jochenberger) -
|
555 | [see PR](https://github.com/JedWatson/react-select/pull/1999)
|
556 |
|
557 | ## v1.0.0-rc.10 / 2017-09-13
|
558 |
|
559 | * changed; `openAfterFocus` prop has been renamed to `openOnClick`, and now
|
560 | defaults to `true`
|
561 | * fixed; React.PropTypes deprecation warning, thanks
|
562 | [Jeremy Liberman](https://github.com/MrLeebo)
|
563 | * improved; scrolling behaviour when navigating the menu with the keyboard,
|
564 | thanks [boatkorachal](https://github.com/boatkorachal)
|
565 | * fixed; error with the `Async` cache when you type `"hasOwnProperty"`, thanks
|
566 | [SuhushinAS](https://github.com/SuhushinAS)
|
567 |
|
568 | ## v1.0.0-rc.9 / 2017-09-13
|
569 |
|
570 | * fixed; clearable padding style, thanks
|
571 | [Minori Miyauchi](https://github.com/mmiyauchi)
|
572 | * fixed; removed use of `Object.assign`, fixes IE compatibility
|
573 | * added; new `closeOnSelect` prop (defaults to `true`) that controls whether the
|
574 | menu is closed when an option is selected, thanks to
|
575 | [Michael Elgar](https://github.com/melgar) for the original idea
|
576 | * changed; by default, the menu for multi-selects now closes when an option is
|
577 | selected
|
578 | * changed; `Async` component no longer always clears options when one is
|
579 | selected (although the menu is now closed by default). Use
|
580 | `closeOnSelect={false} onSelectResetsInput={false}` to leave the menu open.
|
581 | * fixed; `Async` component always called `onChange` even when it wasn't provided
|
582 | * fixed; input lag for the `Async` component when results are returned from
|
583 | cache
|
584 | * fixed; required was not being updated without an onChange handler
|
585 | * fixed; peer dependencies for `prop-types`, thanks
|
586 | [Michaël De Boey](https://github.com/MichaelDeBoey)
|
587 | * fixed; internal optimisations, thanks
|
588 | [Kieran Boyle](https://github.com/dysfunc)
|
589 | * added; `Value` component is now exported, thanks
|
590 | [Prof Gra](https://github.com/Grahack)
|
591 | * fixed; callback fired after `Async` component unmounts, thanks
|
592 | [Andrew Russell](https://github.com/DeadHeadRussell)
|
593 | * fixed; wrapping on Firefox in SCSS files, thanks
|
594 | [Michael Williamson](https://github.com/mwilliamson)
|
595 |
|
596 | ## v1.0.0-rc.8 / 2017-09-12
|
597 |
|
598 | * fixed; `onMenuScrollToBottom` does not work in chrome 58.0, thanks
|
599 | [Simon Hartcher](https://github.com/deevus)
|
600 | * fixed; missing es6 module build for `js:next` entrypoint
|
601 | * updated; `react-input-autosize@2.0.0` including several fixes for react-select
|
602 | (see
|
603 | [changes](https://github.com/JedWatson/react-input-autosize/blob/master/HISTORY.md))
|
604 |
|
605 | ## v1.0.0-rc.7 / 2017-09-11
|
606 |
|
607 | * fixed; issue with `lib` build preventing use in ES2015 environments
|
608 |
|
609 | ## v1.0.0-rc.6 / 2017-09-10
|
610 |
|
611 | * fixed; changing `required` prop from `true` to `false` now works as expected,
|
612 | thanks [George Karagkiaouris](https://github.com/karaggeorge)
|
613 | * added; new prop `onSelectResetsInput` controls whether the input value is
|
614 | cleared when options are selected, thanks
|
615 | [David Roeca](https://github.com/davidroeca) and
|
616 | [Alexander Nosov](https://github.com/nosovsh)
|
617 | * fixed; tabindex parent bug fix for Edge, thanks
|
618 | [George Payne](https://github.com/George-A-Payne)
|
619 | * fixed; update selectize link in README.md, thanks
|
620 | [kerumen](https://github.com/kerumen)
|
621 | * added; standard issue template, thanks [agirton](https://github.com/agirton)
|
622 | * added; new build process using rollup and webpack. Removed grunt. thanks
|
623 | [gwyneplaine](https://github.com/gwyneplaine)
|
624 | * fixed; updated contributor docs with the correct node version reference
|
625 | [gwyneplaine](https://github.com/gwyneplaine)
|
626 | * fixed; missing method binds in Option, thanks
|
627 | [agirton](https://github.com/agirton)
|
628 | * fixed; converted components to use es6 classes, thanks
|
629 | [jochenberger](https://github.com/jochenberger)
|
630 | * fixed; console.log example in usage docs, thanks
|
631 | [rohmanhm](https://github.com/rohmanhm)
|
632 | * fixed; hide create option after closing menu, thanks
|
633 | [andreme](https://github.com/andreme)
|
634 | * fixed; remove circular reference, thanks [agirton](https://github.com/agirton)
|
635 | * fixed; readme typo, thanks [ieldanr](https:/github.com/ieldanr)
|
636 | * fixed; add missing function binds in Option component, thanks
|
637 | [agirton](https://github.com/agirton) and
|
638 | [blacktemplar](https://github.com/blacktemplar)
|
639 | * fixed; re-added fix to
|
640 | [#1580](https://github.com/JedWatson/react-select/issues/1580), thanks
|
641 | [agirton](https://github.com/agirton)
|
642 | * fixed; avoid mutating user inputs when ignoring case/accents, thanks
|
643 | [not-an-aardvark](https://github.com/not-an-aardvark)
|
644 | * fixed; issues synchronising options props in `Async`, thanks
|
645 | [cbergmiller](https://github.com/cbergmiller)
|
646 | * fixed; backspace handling for non-multi select controls, thanks
|
647 | [Jeremy Liberman](https://github.com/MrLeebo)
|
648 |
|
649 | ## v1.0.0-rc.5 / 2017-05-25
|
650 |
|
651 | * fixed; Allow `falsey` values to be clearable, thanks
|
652 | [Simon Gaestel](https://github.com/sgaestel)
|
653 | * fixed; issue where Firefox would crash due to incorrect use of `aria-owns`
|
654 | attribute, thanks [Max Hubenthal](https://github.com/mhubenthal)
|
655 | * fixed; regression where options not using the value key couldn't be focused,
|
656 | thanks [Benjamin Piouffle](https://github.com/Betree)
|
657 |
|
658 | ## v1.0.0-rc.4 / 2017-05-14
|
659 |
|
660 | * fixed; no more warning when using React 15.5, thanks
|
661 | [Adam Girton](https://github.com/agirton)
|
662 | * fixed; issue comparing objects in `getFocusableOptionIndex`, thanks
|
663 | [rndm2](https://github.com/rndm2)
|
664 | * fixed; missing .focus() method in `Creatable`, thanks
|
665 | [Anton Alexandrenok](https://github.com/the-spyke)
|
666 | * added; support for `aria-describedby` attribute, thanks
|
667 | [Eric Lee](https://github.com/ericj17)
|
668 | * added; `.is-clearable` className when clearable is true, thanks
|
669 | [Dan Diaz](https://github.com/dan-diaz)
|
670 |
|
671 | ## v1.0.0-rc.3 / 2017-02-01
|
672 |
|
673 | * added; `arrowRenderer` prop, thanks [Brian Vaughn](https://github.com/bvaughn)
|
674 | * added; child-function support to `Async` and `Creatable` components so that
|
675 | they can compose each other (or future HOCs), thanks
|
676 | [Brian Vaughn](https://github.com/bvaughn)
|
677 | * added; `asyncCreatable` HOC that combines `Async` and `Creatable` so they can
|
678 | be used together, thanks [Brian Vaughn](https://github.com/bvaughn)
|
679 | * added; undocumented arguments for `menuRenderer`, thanks
|
680 | [Julian Krispel-Samsel](https://github.com/juliankrispel)
|
681 | * fixed; Do not focus and open menu when disabled, thanks
|
682 | [nhducit](https://github.com/nhducit)
|
683 | * fixed; Scrolling with arrow-keys is not working correctly, thanks
|
684 | [Damian Pieczynski](https://github.com/piecyk)
|
685 | * added; "select all text" functionality `Shift+Home|Del`, thanks
|
686 | [Damian Pieczynski](https://github.com/piecyk)
|
687 | * added; support for `boolean` values, thanks
|
688 | [Aaron Hardy](https://github.com/Aaronius)
|
689 | * fixed; Remove duplicated `promptTextCreator` field from readme, thanks
|
690 | [Jih-Chi Lee](https://github.com/jihchi)
|
691 | * fixed; Adding back ref that was removed in rc2, thanks
|
692 | [Martin Jujou](https://github.com/jooj123)
|
693 | * fixed; `Creatable` component doesn't allow input key down handling, thanks
|
694 | [Ivan Leonenko](https://github.com/IvanLeonenko)
|
695 | * added; Allow react nodes to be passed as loadingPlaceholder, thanks
|
696 | [Daniel Heath](https://github.com/DanielHeath)
|
697 | * fixed; IE8 compatibility issues, thanks
|
698 | [Kirill Mesnyankin](https://github.com/strayiker)
|
699 | * improved; Allow users to specify noResultsText, thanks
|
700 | [Daniel Heath](https://github.com/DanielHeath)
|
701 | * added; Only remove options if a loading placeholder is available, thanks
|
702 | [Daniel Heath](https://github.com/DanielHeath)
|
703 | * fixed; firefox display items in two rows due to reflow, thanks
|
704 | [Daniel Heath](https://github.com/DanielHeath)
|
705 | * fixed; `Creatable` readme typo, thanks [Ben](https://github.com/rockingskier)
|
706 | * fixed; explain way to implement `allowCreate` functionality with `Creatable`
|
707 | to readme, thanks [mayerwin](https://github.com/mayerwin)
|
708 | * added; delete key removes an item when there is no input, thanks
|
709 | [forum-is](https://github.com/forum-is)
|
710 | * added; `onNewOptionClick` handler for `Creatable`, thanks
|
711 | [Lee Siong Chan](https://github.com/leesiongchan)
|
712 | * fixed; `onInputChange` consistent for `Creatable`, thanks
|
713 | [Lee Siong Chan](https://github.com/leesiongchan)
|
714 | * fixed; `menuRenderer` is treated consistently between `Creatable` and
|
715 | `Select`, thanks [Brian Vaughn](https://github.com/bvaughn)
|
716 | * fixed; `asyncCreatable` options parsing will not parse undefined values into
|
717 | props, thanks [Romain Dardour](https://github.com/unity)
|
718 | * added; pass `inputProps` to `inputRenderer`, thanks
|
719 | [Alec Winograd](https://github.com/awinograd)
|
720 | * fixed; no exception when clearing an Async field that is not set to multi,
|
721 | thanks [Patrik Stutz](https://github.com/VanCoding)
|
722 | * added; allow rendering a custom clear component, thanks
|
723 | [Conor Hastings](https://github.com/conorhastings)
|
724 | * fixed; document `ignoreAccents`, thanks
|
725 | [Domenico Matteo](https://github.com/dmatteo)
|
726 | * fixed; arrowing up or down in `Select` with 0 options does not throw type
|
727 | error, thanks [Alex Howard](https://github.com/thezanke)
|
728 | * fixed; `Creatable` handles null children prop, thanks
|
729 | [Jack Coulter](https://github.com/jscinoz)
|
730 | * added; provide `isOpen` to arrowRenderer, thanks
|
731 | [Kuan](https://github.com/khankuan)
|
732 | * fixed; re-added the `focus()` method on `Select.Async`, thanks,
|
733 | [Maarten Claes](https://github.com/mcls)
|
734 | * fixed; focus the next available option after a selection, not the top option,
|
735 | thanks [Nicolas Raynaud](https://github.com/nraynaud)
|
736 |
|
737 | Note there has also been a breaking change to the props for the `Async`
|
738 | component: both `minimumInput` and `searchingText` have been removed. See #1226
|
739 | for more details. Apologies for doing this in an RC release, but we had to trade
|
740 | off between resolving some important bugs and breaking the API, and figured it
|
741 | was better to do this before declaring 1.0.0 stable.
|
742 |
|
743 | ## v1.0.0-rc.1 / 2016-09-04
|
744 |
|
745 | * fixed; reset value to `[]` when `multi=true`, thanks
|
746 | [Michael Williamson](https://github.com/mwilliamson)
|
747 | * added; pass index to `renderLabel` method, thanks
|
748 | [nhducit](https://github.com/nhducit)
|
749 | * fixed; uncontrolled to controlled component warning in React 15.3
|
750 | * fixed; props cleanup, thanks
|
751 | [Forbes Lindesay](https://github.com/ForbesLindesay)
|
752 | * fixed; issue where a value of the number `0` would be assumed to be no value,
|
753 | thanks [Hanwen Cheng](https://github.com/hanwencheng)
|
754 | * fixed; internal refs converted to callbacks instead of strings, thanks
|
755 | [Johnny Nguyen](https://github.com/gojohnnygo)
|
756 | * added; optional `instanceId` prop for server-side rendering, thanks
|
757 | [Jevin Anderson](https://github.com/JevinAnderson)
|
758 | * added; `onCloseResetsInput` prop, thanks
|
759 | [Frankie](https://github.com/frankievx)
|
760 | * added; `Creatable` component, replaces pre-1.0 `allowCreate` prop, thanks
|
761 | [Brian Vaughn](https://github.com/bvaughn)
|
762 |
|
763 | ## v1.0.0-beta14 / 2016-07-17
|
764 |
|
765 | * fixed; `react-input-autosize` has been udpated to `1.1.0`, which includes
|
766 | fixes for the new warnings that React 15.2 logs
|
767 | * fixed; "Unknown prop `inputClassName` on <div> tag" warning, thanks
|
768 | [Max Stoiber](https://github.com/mxstbr)
|
769 | * fixed; Removed unnecessary `onUnfocus`, thanks
|
770 | [Johnny Nguyen](https://github.com/gojohnnygo)
|
771 | * added; Support for react components in `searchPromptText`, thanks
|
772 | [Matt](https://github.com/hellaeon)
|
773 | * fixed; focus bug on iOS, thanks
|
774 | [Tony deCatanzaro](https://github.com/tonydecat)
|
775 | * fixed; Async bugs with Promises, thanks
|
776 | [Vladimir](https://github.com/VladimirPal) and
|
777 | [Ian Firkin](https://github.com/lobsteropteryx)
|
778 | * fixed; `searchingText` bug, thanks
|
779 | [Tony deCatanzaro](https://github.com/tonydecat)
|
780 | * improved; More antive-like input behaviour, thanks
|
781 | [Johnny Nguyen](https://github.com/gojohnnygo)
|
782 | * fixed; Added missing unit (px) to `minWidth` attribute, thanks
|
783 | [Ian Witherow](https://github.com/ianwitherow)
|
784 | * added; Support for assistive technologies, thanks
|
785 | [Dave Brotherstone](https://github.com/bruderstein)
|
786 | * fixed; React error if `onChange` callback causes a root component to unmount,
|
787 | thanks [Nathan Norton](https://github.com/Xesued)
|
788 | * fixed; Open menu is now closed if `disabled` becomes true, thanks
|
789 | [Jason Moon](https://github.com/jsnmoon)
|
790 | * fixed; Prevent `getFocusableOptionIndex` from returning a disabled option,
|
791 | thanks [Brian Powers](https://github.com/brianspowers)
|
792 | * added; Home, End, Page Up/Down support, thanks
|
793 | [Jason Kadrmas](https://github.com/blackjk3)
|
794 | * fixed; Don't render `backspaceToRemoveMessage` if `backspaceRemoves` is set to
|
795 | false, thanks [Ryan Zec](https://github.com/ryanzec)
|
796 | * fixed; Issue with an outline appearing on the auto sized input, thanks
|
797 | [Ryan Zec](https://github.com/ryanzec)
|
798 | * fixed; Events don't propagate when `esc` is pressed, thanks
|
799 | [Yoshihide Jimbo](https://github.com/jmblog)
|
800 | * fixed; Update `required` prop based on nextProps on update, thanks
|
801 | [Matt Shwery](https://github.com/mshwery)
|
802 | * fixed; On focus check whether input ref is a real input or an input component,
|
803 | thanks [Peter Brant](https://github.com/pbrant) and
|
804 | [Greg Poole](https://github.com/gpoole)
|
805 |
|
806 | Also a big thanks to [Brian Vaughn](https://github.com/bvaughn) for his help
|
807 | triaging issues for this release!
|
808 |
|
809 | ## v1.0.0-beta13 / 2016-05-30
|
810 |
|
811 | * added; `inputRenderer` prop, allows you to override the input component,
|
812 | thanks [Sean Burke](https://github.com/leftmostcat)
|
813 | * added; `openOnFocus` prop, causes the menu to always open when the select
|
814 | control is focused, thanks
|
815 | [HuysentruytRuben](https://github.com/HuysentruytRuben)
|
816 | * added; `react-virtualised-select` HOC example, thanks
|
817 | [Brian Vaughn](https://github.com/bvaughn)
|
818 | * added; `tabSelectsValue` prop can be set to false to prevent selection of
|
819 | focused option when tab is pressed, thanks
|
820 | [Byron Anderson](https://github.com/byronanderson)
|
821 | * added; ability to override `resetValue` when clearing the control, thanks
|
822 | [Alexander Luberg](https://github.com/LubergAlexander)
|
823 | * added; input can be updated with `onInputChange`, thanks
|
824 | [Brett DeWoody](https://github.com/brettdewoody)
|
825 | * added; Styles for .is-selected class, thanks
|
826 | [Danny Herran](https://github.com/dherran)
|
827 | * fixed; `noResultsText` prop type is now `stringOrNode` for Async component,
|
828 | thanks [Michael Groeneman](https://github.com/mgroeneman)
|
829 | * fixed; `onInputChange` is wrapped by Async component, thanks
|
830 | [Eric O'Connell](https://github.com/drd)
|
831 | * fixed; `scrollMenuIntoView` behaviour in IE10, thanks
|
832 | [Ivan Jager](https://github.com/aij)
|
833 | * fixed; isEqualNode replaced with strict equality check, thanks
|
834 | [Alexandre Balhier](https://github.com/abalhier)
|
835 | * fixed; issue with value object not being passed to `handleRequired`, thanks
|
836 | [Andrew Hite](https://github.com/andyhite)
|
837 | * fixed; the menu-outer container is no longer rendered when it does not contain
|
838 | anything, thanks [Kuan](https://github.com/khankuan)
|
839 | * improved; better support for IE8 in styles, thanks
|
840 | [Rockallite Wulf](https://github.com/rockallite)
|
841 |
|
842 | ## v1.0.0-beta12 / 2016-04-02
|
843 |
|
844 | * added; `menuRenderer` method and example for effeciently rendering thousands
|
845 | of options, thanks [Brian Vaughn](https://github.com/bvaughn)
|
846 | * added; `optionClassName` prop, thanks [Max Tyler](https://github.com/iam4x)
|
847 |
|
848 | ## v1.0.0-beta11 / 2016-03-09
|
849 |
|
850 | * updated dependencies to allow use with React 15.x
|
851 | * changed; multiple selected values are now submitted using multiple inputs,
|
852 | thanks [Trinh Hoang Nhu](https://github.com/james4388)
|
853 | * added; `joinValues` prop to revert the above change and submit multiple values
|
854 | in a single field with the delimiter
|
855 |
|
856 | ## v1.0.0-beta10 / 2016-02-23
|
857 |
|
858 | * fixed build issues with v1.0.0-beta9
|
859 |
|
860 | ## v1.0.0-beta9 / 2016-02-12
|
861 |
|
862 | * added; onBlurResetsInput prop, thanks
|
863 | [Sly Bridges](https://github.com/slybridges)
|
864 | * changed; Enter selects and retains focus, Tab selects and shifts focus, thanks
|
865 | [RDX](https://github.com/rdsubhas)
|
866 | * fixed; Hide noResultsText when value is falsy, thanks
|
867 | [Fernando Alex Helwanger](https://github.com/fhelwanger)
|
868 | * added; `required` prop, adds HTML5 required attribute, thanks
|
869 | [Domenico Matteo](https://github.com/dmatteo)
|
870 | * fixed; Touch drag behaviour, thanks
|
871 | [Pavel Tarnopolsky](https://github.com/Paveltarno)
|
872 | * added; `onOpen` and `onClose` event props, thanks
|
873 | [Jacob Page](https://github.com/DullReferenceException)
|
874 | * fixed; Pressing Enter on open Select should stop propagation, thanks
|
875 | [Jeremy Liberman](https://github.com/MrLeebo)
|
876 | * fixed; Missing handleMouseDownOnMenu, thanks
|
877 | [Jeremy Liberman](https://github.com/MrLeebo)
|
878 | * added; Ensures the selected option is immediately visible when the menu is
|
879 | open, thanks [Martin Jujou](https://github.com/jooj123)
|
880 | * added; `autoBlur` prop, blurs the input when a value is selected, thanks
|
881 | [Pavel Tarnopolsky](https://github.com/Paveltarno)
|
882 | * fixed; Several isFocused checks weren't working properly
|
883 |
|
884 | ## v1.0.0-beta8 / 2015-12-20
|
885 |
|
886 | * fixed; input focus bug when toggling `disabled` prop, thanks
|
887 | [Davide Curletti](https://github.com/dcurletti)
|
888 | * fixed; `focus()` is now exposed on the `Async` component, thanks
|
889 | [AugustinLF](https://github.com/AugustinLF)
|
890 |
|
891 | ## v1.0.0-beta7 / 2015-12-15
|
892 |
|
893 | * You can now use React elements for placeholders and the text props, thanks
|
894 | [kromit](https://github.com/kromit) and
|
895 | [Alyssa Biasi](https://github.com/alyssaBiasi)
|
896 | * Fixed a problem where the border doesn't show when the element is inside a
|
897 | table, thanks [Rodrigo Boratto](https://github.com/rwrz)
|
898 | * New prop `scrollMenuIntoView` scrolls the viewport to display the menu, thanks
|
899 | [Alexander Zaharakis](https://github.com/azaharakis)
|
900 | * New LESS / SCSS variable `select-option-bg` lets you control the menu option
|
901 | background color, thanks [Evan Goldenberg](https://github.com/Naveg)
|
902 | * Fixed an error in the blur handler on IE when the menu is not visible, thanks
|
903 | [Gaston Sanchez](https://github.com/gaastonsr)
|
904 | * Added support for a `clearableValue` option property in `multi` mode, thanks
|
905 | [Sly Bridges](https://github.com/slybridges)
|
906 |
|
907 | ## v1.0.0-beta6 / 2015-11-29
|
908 |
|
909 | * Test suite complete and passing, with a couple of minor fixes thanks to
|
910 | @bruderstein
|
911 |
|
912 | ## v1.0.0-beta5 / 2015-11-08
|
913 |
|
914 | * Fixes issues relating to serializing simple values into the hidden field
|
915 |
|
916 | ## v1.0.0-beta4 / 2015-11-08
|
917 |
|
918 | * New default styles that match [Elemental UI](http://elemental-ui.com) and look
|
919 | right at home in the new [KeystoneJS Admin UI](http://keystonejs.com)
|
920 |
|
921 | We're potentially going to ship some theme stylesheets in the future, shout out
|
922 | on GitHub if this interests you.
|
923 |
|
924 | ## v1.0.0-beta3 / 2015-11-08
|
925 |
|
926 | * The selected value populated in the hidden field has been fixed (was `"[object Object]"` before)
|
927 | * Added new `autofocus` prop
|
928 | * Fixed duplicate key error for options and values with duplicate `value`
|
929 | properties
|
930 | * SCSS variables now have `!default` so you can override them
|
931 |
|
932 | ## v1.0.0-beta2 / 2015-11-06
|
933 |
|
934 | Changed since beta 1:
|
935 |
|
936 | * Async options cache works again
|
937 | * New style props for custom styling the component without modifying css
|
938 | classes: `style` `wrapperStyle` `menuStyle` `menuContainerStyle`
|
939 | * The menu opens and closes correctly when `searchable={false}`, there is still
|
940 | some work to do on this use-case
|
941 |
|
942 | ## v1.0.0-beta1 / 2015-11-06
|
943 |
|
944 | This is a complete rewrite. Major changes include:
|
945 |
|
946 | * Everything is simpler (I'm nearly done and the source code is only 60% of the
|
947 | size of the last version)
|
948 | * No more timeouts or weird handlers, the restructuring has let me make
|
949 | everything more straight-forward
|
950 | * The options array is no longer preprocessed into state, just retrieved from
|
951 | props
|
952 | * The values array is now initialised in the Options array during render, and
|
953 | not stored in state, which along with the change to options makes the
|
954 | component more reliable and fixes issues with props not updating correctly
|
955 | * The component no longer stores its own value in state (ever) - it needs to be
|
956 | passed as a prop and handled with `onChange`.
|
957 | * Complex values are now enabled by default (so you're passed the option object,
|
958 | not its value); you can enable the legacy mode with a prop
|
959 | * The Value and Option components have been cleaned up as well for consistency
|
960 | * The hidden `<input>` field is now optional and the component is better suited
|
961 | to use in a rich React.js app than it was
|
962 | * You can disable options filtering to do the filtering externally with
|
963 | `onInputChange`
|
964 | * Accents on characters can now be ignored
|
965 | * The `asyncOptions` prop has been replaced by a new wrapper component:
|
966 | `Select.Async`
|
967 |
|
968 | Note that "Tag mode" (creating options on the fly) isn't reimplemented yet.
|
969 |
|
970 | A full guide to the breaking changes and new features will be written up soon.
|
971 | In the meantime please see the new examples.
|
972 |
|
973 | ## v0.9.1 / 2015-11-01
|
974 |
|
975 | * added; new Contributors example w/ async options loading and custom value /
|
976 | label keys
|
977 | * fixed; several issues with custom `valueKey` and `labelKey` props
|
978 | * fixed; autoload now loads options with no search input
|
979 |
|
980 | ## v0.9.0 / 2015-10-29
|
981 |
|
982 | * added; SCSS stylesheets!
|
983 | * improved; Options rendering should be more performant
|
984 | * breaking change; Custom `Option` components now need to pass their `option`
|
985 | prop to event handlers; see
|
986 | [this commit](https://github.com/JedWatson/react-select/commit/89af12a80a972794222b193a767f44234bbe9817)
|
987 | for an example of the required change.
|
988 |
|
989 | ## v0.8.4 / 2015-10-27
|
990 |
|
991 | * fixed; LESS math operations now work with --strict-math=on, thanks
|
992 | [Vincent Fretin](https://github.com/vincentfretin)
|
993 |
|
994 | ## v0.8.3 / 2015-10-27
|
995 |
|
996 | * fixed; IE issue where clicking the scrollbar would close the menu, thanks
|
997 | [Pete Nykänen](https://github.com/petetnt)
|
998 |
|
999 | ## v0.8.2 / 2015-10-22
|
1000 |
|
1001 | * added; Promise support for `loadAsyncOptions`, thanks
|
1002 | [Domenico Matteo](https://github.com/dmatteo)
|
1003 |
|
1004 | ## v0.8.1 / 2015-10-20
|
1005 |
|
1006 | * fixed; `loadAsyncOptions` raises TypeError in setup, see #439 for details,
|
1007 | thanks [Pancham Mehrunkar](https://github.com/pancham348)
|
1008 |
|
1009 | ## v0.8.0 / 2015-10-19
|
1010 |
|
1011 | This release contains significant DOM structure and CSS improvements by
|
1012 | @jossmac, including:
|
1013 |
|
1014 | * no more `position: absolute` for inner controls
|
1015 | * `display: table` is used for layout, which works in IE8 and above, and
|
1016 | [all other modern browsers](http://caniuse.com/#feat=css-table)
|
1017 | * less "magic numbers" used for layout, should fix various browser-specific
|
1018 | alignment issues
|
1019 | * clear "x" control now animates in
|
1020 | * clearer `.Select--multi` className replaces `.Select.is-multi`
|
1021 | * new height & theme variables
|
1022 | * "dropdown" indicator chevron is no longer displayed for multi-select controls
|
1023 |
|
1024 | There are no functional changes, but if you've forked the LESS / CSS to create
|
1025 | your own theme you'll want to pay close attention to PR #527 when upgrading to
|
1026 | this version.
|
1027 |
|
1028 | ## v0.7.0 / 2015-10-10
|
1029 |
|
1030 | React Select is updated for React 0.14. If you're still using React 0.13, please
|
1031 | continue to use `react-select@0.6.x`. There are no functional differences
|
1032 | between v0.7.0 and v0.6.12.
|
1033 |
|
1034 | Additionally, our tests now require Node.js 4.x. If you are developing
|
1035 | `react-select`, please make sure you are running the latest version of node.
|
1036 |
|
1037 | Thanks to @bruderstein, @dmatteo and @hull for their help getting these updates
|
1038 | shipped!
|
1039 |
|
1040 | ## v0.6.12 / 2015-10-02
|
1041 |
|
1042 | * added; `labelKey` and `valueKey` props, so you can now use different keys in
|
1043 | `option` objects for the label and value
|
1044 | * fixed; additional `isMounted()` checks in timeouts
|
1045 | * fixed; componentDidUpdate timeout is reset correctly, see #208 and #434,
|
1046 | thanks [Petr Gladkikh](https://github.com/PetrGlad)
|
1047 | * fixed; mousedown event on scrollbar in menu no longer hides it, thanks
|
1048 | [Yishai Burt](https://github.com/burtyish)
|
1049 |
|
1050 | ## v0.6.11 / 2015-09-28
|
1051 |
|
1052 | * added; `isLoading` prop, allows indication of async options loading in
|
1053 | situations where more control is required, thanks
|
1054 | [Jon Gautsch](https://github.com/jgautsch)
|
1055 |
|
1056 | ## v0.6.10 / 2015-09-24
|
1057 |
|
1058 | * fixed; a build issue with the previous release that prevented the stylesheet
|
1059 | being generated / included
|
1060 | * fixed; a LESS syntax issue, thanks [Bob Cardenas](https://github.com/bcardi)
|
1061 |
|
1062 | ## v0.6.9 / 2015-09-19
|
1063 |
|
1064 | * added; `style` key for package.json, thanks
|
1065 | [Stephen Wan](https://github.com/stephen)
|
1066 | * added; `onInputChange` handler that returns the current input value, thanks
|
1067 | [Tom Leslie](https://github.com/lomteslie)
|
1068 | * fixed; simplifying handleKey function & preventDefault behaviour, thanks
|
1069 | [davidpene](https://github.com/davidpene)
|
1070 | * fixed; Display spinner while auto-loading initial data, thanks
|
1071 | [Ben Jenkinson](https://github.com/BenJenkinson)
|
1072 | * fixed; better support for touch events, thanks
|
1073 | [Montlouis-Calixte Stéphane](https://github.com/bulby97)
|
1074 | * fixed; prevent value splitting on non-multi-value select, thanks
|
1075 | [Alan R. Soares](https://github.com/alanrsoares)
|
1076 |
|
1077 | ## v0.6.8 / 2015-09-16
|
1078 |
|
1079 | * fixed; broader range of allowed prereleases for React 0.14, including rc1
|
1080 | * fixed; preventing backspace from navigating back in the browser history,
|
1081 | thanks [davidpene](https://github.com/davidpene)
|
1082 |
|
1083 | ## v0.6.7 / 2015-08-28
|
1084 |
|
1085 | * fixed; missing styles for `.Select-search-prompt` and `.Select-searching`
|
1086 | issues, thanks [Jaak Erisalu](https://github.com/jaakerisalu) and
|
1087 | [davidpene](https://github.com/davidpene)
|
1088 |
|
1089 | ## v0.6.6 / 2015-08-26
|
1090 |
|
1091 | * fixed; issue in Chrome where clicking the scrollbar would close the menu,
|
1092 | thanks [Vladimir Matsola](https://github.com/vomchik)
|
1093 |
|
1094 | ## v0.6.5 / 2015-08-24
|
1095 |
|
1096 | * fixed; completely ignores clicks on disabled items, unless the target of the
|
1097 | click is a link, thanks [Ben Stahl](https://github.com/bhstahl)
|
1098 |
|
1099 | ## v0.6.4 / 2015-08-24
|
1100 |
|
1101 | This release includes a huge improvement to the examples / website thanks to
|
1102 | @jossmac. Also:
|
1103 |
|
1104 | * added; support for React 0.14 beta3
|
1105 | * fixed; disabled options after searching, thanks @bruderstein
|
1106 | * added; support for "Searching..." text (w/ prop) while loading async results,
|
1107 | thanks @bruderstein and @johnomalley
|
1108 | * added; `className`, `style` and `title` keys are now supported in option
|
1109 | properties, thanks @bruderstein
|
1110 |
|
1111 | ## v0.6.3 / 2015-08-18
|
1112 |
|
1113 | Otherwise known as "the real 0.6.2" this includes the updated build for the last
|
1114 | version; sorry about that!
|
1115 |
|
1116 | ## v0.6.2 / 2015-08-13
|
1117 |
|
1118 | * changed; if the `searchable` prop is `false`, the menu is opened _or closed_
|
1119 | on click, more like a standard Select input. thanks
|
1120 | [MaaikeB](https://github.com/MaaikeB)
|
1121 |
|
1122 | ## v0.6.1 / 2015-08-09
|
1123 |
|
1124 | * added; Support for options with numeric values, thanks
|
1125 | [Dave Brotherstone](https://github.com/bruderstein)
|
1126 | * changed; Disabled options now appear in the search results , thanks
|
1127 | [Dave Brotherstone](https://github.com/bruderstein)
|
1128 | * fixed; asyncOptions are reloaded on componentWillReceiveProps when the value
|
1129 | has changed, thanks [Francis Cote](https://github.com/drfeelgoud)
|
1130 | * added; `cacheAsyncResults` prop (default `true`) now controls whether the
|
1131 | internal cache is used for `asyncOptions`
|
1132 |
|
1133 | ## v0.6.0 / 2015-08-05
|
1134 |
|
1135 | * improved; option, value and single value have been split out into their own
|
1136 | components, and can be customised with props. see
|
1137 | [#328](https://github.com/JedWatson/react-select/pull/328) for more details.
|
1138 | * improved; Near-complete test coverage thanks to the awesome work of
|
1139 | [Dave Brotherstone](https://github.com/bruderstein)
|
1140 | * improved; Support all alpha/beta/rc's of React 0.14.0, thanks
|
1141 | [Sébastien Lorber](https://github.com/slorber)
|
1142 | * fixed; Close multi-select menu when tabbing away, thanks
|
1143 | [Ben Alpert](https://github.com/spicyj)
|
1144 | * fixed; Bug where Select shows the value instead of the label (reapplying fix)
|
1145 | * fixed; `valueRenderer` now works when `multi={false}`, thanks
|
1146 | [Chris Portela](https://github.com/0xCMP)
|
1147 | * added; New property `backspaceRemoves` (default `true`), allows the default
|
1148 | behaviour of removing values with backspace when `multi={true}`, thanks
|
1149 | [Leo Lehikoinen](https://github.com/lehikol2)
|
1150 |
|
1151 | ## v0.5.6 / 2015-07-27
|
1152 |
|
1153 | * fixed; Allow entering of commas when allowCreate is on but multi is off,
|
1154 | thanks [Angelo DiNardi](https://github.com/adinardi)
|
1155 | * fixed; Times (clear) character is now rendered from string unicode character
|
1156 | for consistent output, thanks [Nibbles](https://github.com/Siliconrob)
|
1157 | * fixed; allowCreate bug, thanks [goodzsq](https://github.com/goodzsq)
|
1158 | * fixed; changes to props.placeholder weren't being reflected correctly, thanks
|
1159 | [alesn](https://github.com/alesn)
|
1160 | * fixed; error when escape is pressedn where `clearValue` was not passed the
|
1161 | event, thanks [Mikhail Kotelnikov](https://github.com/mkotelnikov)
|
1162 | * added; More tests, thanks [Dave Brotherstone](https://github.com/bruderstein)
|
1163 |
|
1164 | ## v0.5.5 / 2015-07-12
|
1165 |
|
1166 | * fixed; replaced usage of `component.getDOMNode()` with
|
1167 | `React.findDOMNode(component)` for compatibility with React 0.14
|
1168 |
|
1169 | ## v0.5.4 / 2015-07-06
|
1170 |
|
1171 | * fixed; regression in 0.5.3 that broke componentWillMount, sorry everyone!
|
1172 | * added; `addLabelText` prop for customising the "add {label}?" text when in
|
1173 | tags mode, thanks [Fenn](https://github.com/Fenntasy)
|
1174 |
|
1175 | ## v0.5.3 / 2015-07-05
|
1176 |
|
1177 | * fixed; autoload issues, thanks [Maxime Tyler](https://github.com/iam4x)
|
1178 | * fixed; style incompatibilities with Foundation framework, thanks
|
1179 | [Timothy Kempf](https://github.com/Fauntleroy)
|
1180 |
|
1181 | ## v0.5.2 / 2015-06-28
|
1182 |
|
1183 | * fixed; bug where Select shows the value instead of the label, thanks
|
1184 | [Stephen Demjanenko](https://github.com/sdemjanenko)
|
1185 | * added; 'is-selected' classname is added to the selected option, thanks
|
1186 | [Alexey Volodkin](https://github.com/miraks)
|
1187 | * fixed; async options are now loaded with the initial value, thanks
|
1188 | [Pokai Chang](https://github.com/Neson)
|
1189 | * fixed; `react-input-autosize` now correctly escapes ampersands (&), not
|
1190 | actually a fix in react-select but worth noting here because it would have
|
1191 | been causing a problem in `react-select` as well.
|
1192 |
|
1193 | ## v0.5.1 / 2015-06-21
|
1194 |
|
1195 | * added; custom option and value rendering capability, thanks
|
1196 | [Brian Reavis](https://github.com/brianreavis)
|
1197 | * fixed; collapsing issue when single-select or empty multi-select fields are
|
1198 | disabled
|
1199 | * fixed; issue where an empty value would be left after clearing all values in a
|
1200 | multi-select field
|
1201 |
|
1202 | ## v0.5.0 / 2015-06-20
|
1203 |
|
1204 | * fixed; `esc` key incorrectly created empty options, thanks
|
1205 | [rgrzelak](https://github.com/rgrzelak)
|
1206 | * adeed; New feature to allow option creation ("tags mode"), enable with
|
1207 | `allowCreate` prop, thanks [Florent Vilmart](https://github.com/flovilmart)
|
1208 | and [Brian Reavis](https://github.com/brianreavis)
|
1209 | * fixed; IE8 compatibility fallback for `addEventListener/removeEventListener`,
|
1210 | which don't exist in IE8, thanks
|
1211 | [Stefan Billiet](https://github.com/StefanBilliet)
|
1212 | * fixed; Undefined values when using asyncOptions, thanks
|
1213 | [bannaN](https://github.com/bannaN)
|
1214 | * fixed; Prevent add the last focused value when the drop down menu is closed /
|
1215 | Pushing enter without dropdown open adds a value, thanks
|
1216 | [Giuseppe](https://github.com/giuse88)
|
1217 | * fixed; Callback context is undefined, thanks
|
1218 | [Giuseppe](https://github.com/giuse88)
|
1219 | * fixed; Issue with event being swallowed on Enter `keydown`, thanks
|
1220 | [Kevin Burke](https://github.com/kembuco)
|
1221 | * added; Support for case-insensitive filtering when `matchPos="start"`, thanks
|
1222 | [wesrage](https://github.com/wesrage)
|
1223 | * added; Support for customizable background color, thanks
|
1224 | [John Morales](https://github.com/JohnMorales)
|
1225 | * fixed; Updated ESLint and cleared up warnings, thanks
|
1226 | [Alexander Shemetovsky](https://github.com/AlexKVal)
|
1227 | * fixed; Close dropdown when clicking on select, thanks
|
1228 | [Nik Butenko](https://github.com/nkbt)
|
1229 | * added; Tests, and mocha test framework, thanks
|
1230 | [Craig Dallimore](https://github.com/craigdallimore)
|
1231 | * fixed; You can now start the example server and watch for changes with `npm start`
|
1232 |
|
1233 | ## v0.4.9 / 2015-05-11
|
1234 |
|
1235 | * fixed; focus was being grabbed by the select when `autoload` and
|
1236 | `asyncOptions` were set
|
1237 | * added; `focus` method on the component
|
1238 | * added; support for disabled options, thanks
|
1239 | [Pasha Palangpour](https://github.com/pashap)
|
1240 | * improved; more closures, less binds, for better performance, thanks
|
1241 | [Daniel Cousens](https://github.com/dcousens)
|
1242 |
|
1243 | ## v0.4.8 / 2015-05-02
|
1244 |
|
1245 | * fixed; restored `dist/default.css`
|
1246 | * fixed; standalone example works again
|
1247 | * fixed; clarified dependency documentation and added dependencies for Bower
|
1248 | * fixed; Scoping issues in `_bindCloseMenuIfClickedOutside`, thanks
|
1249 | [bannaN](https://github.com/bannaN)
|
1250 | * fixed; Doesnt try to set focus afterupdate if component is disabled, thanks
|
1251 | [bannaN](https://github.com/bannaN)
|
1252 |
|
1253 | ## v0.4.7 / 2015-04-21
|
1254 |
|
1255 | * improved; lodash is no longer a dependency, thanks
|
1256 | [Daniel Lo Nigro](https://github.com/Daniel15)
|
1257 |
|
1258 | ## v0.4.6 / 2015-04-06
|
1259 |
|
1260 | * updated; dependencies, build process and input-autosize component
|
1261 |
|
1262 | ## v0.4.5 / 2015-03-28
|
1263 |
|
1264 | * fixed; issue with long options overlapping arrow and clear icons, thanks
|
1265 | [Rohit Kalkur](https://github.com/rovolution)
|
1266 |
|
1267 | ## v0.4.4 / 2015-03-26
|
1268 |
|
1269 | * fixed; error handling click events when the menu is closed, thanks
|
1270 | [Ilya Petrov](https://github.com/muromec)
|
1271 | * fixed; issue where options will not be filtered in certain conditions, thanks
|
1272 | [G. Kay Lee](https://github.com/gsklee)
|
1273 |
|
1274 | ## v0.4.3 / 2015-03-25
|
1275 |
|
1276 | * added tests and updated dependencies
|
1277 |
|
1278 | ## v0.4.2 / 2015-03-23
|
1279 |
|
1280 | * added; ESLint and contributing guide
|
1281 | * fixed; incorrect `classnames` variable assignment in window scope
|
1282 | * fixed; all ESLint errors and warnings (except invalid JSX undefined/unused
|
1283 | vars due to ESLint bug)
|
1284 | * fixed; first option is now focused correctly, thanks
|
1285 | [Eivind Siqveland Larsen](https://github.com/esiqveland)
|
1286 |
|
1287 | ## v0.4.1 / 2015-03-20
|
1288 |
|
1289 | * fixed; IE11 issue: clicking on scrollbar within menu no longer closes menu,
|
1290 | thanks [Rohit Kalkur](https://github.com/rovolution)
|
1291 |
|
1292 | ## v0.4.0 / 2015-03-12
|
1293 |
|
1294 | * updated; compatible with React 0.13
|
1295 |
|
1296 | ## v0.3.5 / 2015-03-09
|
1297 |
|
1298 | * improved; less/no repaint on scroll for performance wins, thanks
|
1299 | [jsmunich](https://github.com/jsmunich)
|
1300 | * added; `onBlur` and `onFocus` event handlers, thanks
|
1301 | [Jonas Budelmann](https://github.com/cloudkite)
|
1302 | * added; support for `inputProps` prop, passed to the `<input>` component,
|
1303 | thanks [Yann Plantevin](https://github.com/YannPl)
|
1304 | * changed; now using
|
1305 | [react-component-gulp-tasks](https://github.com/JedWatson/react-component-gulp-tasks)
|
1306 | for build
|
1307 | * fixed; issue w/ remote callbacks overriding cached options, thanks
|
1308 | [Corey McMahon](https://github.com/coreymcmahon)
|
1309 | * fixed; if not `this.props.multi`, menu doesn't need handleMouseDown, thanks
|
1310 | [wenbing](https://github.com/wenbing)
|
1311 |
|
1312 | ## v0.3.4 / 2015-02-23
|
1313 |
|
1314 | * fixed; issues with the underscore/lodash dependency change, thanks
|
1315 | [Aaron Powell](https://github.com/aaronpowell)
|
1316 |
|
1317 | ## v0.3.3 / 2015-02-22
|
1318 |
|
1319 | * added; `disabled` prop, thanks [Danny Shaw](https://github.com/dannyshaw)
|
1320 | * added; `searchable` prop - set to `false` to disable the search box, thanks
|
1321 | [Julen Ruiz Aizpuru](https://github.com/julen)
|
1322 | * added; `onOptionLabelClick` prop - see
|
1323 | [#66](https://github.com/JedWatson/react-select/pull/66) for docs, thanks
|
1324 | [Dmitry Smirnov](https://github.com/dmitry-smirnov)
|
1325 | * fixed; `text-overflow: ellipsis;` typo, thanks
|
1326 | [Andru Vallance](https://github.com/andru)
|
1327 |
|
1328 | ## v0.3.2 / 2015-01-30
|
1329 |
|
1330 | * fixed; issue adding undefined values to multiselect, thanks
|
1331 | [Tejas Dinkar](https://github.com/gja)
|
1332 |
|
1333 | ## v0.3.1 / 2015-01-20
|
1334 |
|
1335 | * fixed; missing `var` statement
|
1336 |
|
1337 | ## v0.3.0 / 2015-01-20
|
1338 |
|
1339 | * added; node compatible build now available in `/lib`
|
1340 |
|
1341 | ## v0.2.14 / 2015-01-07
|
1342 |
|
1343 | * added; `searchPromptText` property that is displayed when `asyncOptions` is
|
1344 | set and there are (a) no options loaded, and (b) no input entered to search
|
1345 | on, thanks [Anton Fedchenko](https://github.com/kompot)
|
1346 | * added; `clearable` property (defaults to `true`) to control whether the
|
1347 | "clear" control is available, thanks
|
1348 | [Anton Fedchenko](https://github.com/kompot)
|
1349 |
|
1350 | ## v0.2.13 / 2015-01-05
|
1351 |
|
1352 | * fixed; height issues in Safari, thanks
|
1353 | [Joss Mackison](https://github.com/jossmac)
|
1354 | * added; Option to specify "Clear value" label as prop for i18n
|
1355 |
|
1356 | ## v0.2.12 / 2015-01-04
|
1357 |
|
1358 | * fixed; UI now responds to touch events, and works on mobile devices! thanks
|
1359 | [Fraser Xu](https://github.com/fraserxu)
|
1360 |
|
1361 | ## v0.2.11 / 2015-01-04
|
1362 |
|
1363 | * fixed; Options in the dropdown now scroll into view when they are focused,
|
1364 | thanks [Adam](https://github.com/fmovlex)
|
1365 | * improved; Example dist is now excluded from the npm package
|
1366 |
|
1367 | ## v0.2.10 / 2015-01-01
|
1368 |
|
1369 | * fixed; More specific mixin name to avoid conflicts (css)
|
1370 | * fixed; Example CSS now correctly rebuilds on changes in development
|
1371 | * fixed; Values are now expanded correctly when options change (see #28)
|
1372 | * added; Option to specify "No results found" label as prop for i18n, thanks
|
1373 | [Julen Ruiz Aizpuru](https://github.com/julen)
|
1374 |
|
1375 | ## v0.2.9 / 2014-12-09
|
1376 |
|
1377 | * added; `filterOption` and `filterOptions` props for more control over
|
1378 | filtering
|
1379 |
|
1380 | ## v0.2.8 / 2014-12-08
|
1381 |
|
1382 | * added; `matchPos` option to control whether to match the `start` or `any`
|
1383 | position in the string when filtering options (default: `any`)
|
1384 | * added; `matchProp` option to control whether to match the `value`, `label` or
|
1385 | `any` property of each option when filtering (default: `any`)
|
1386 |
|
1387 | ## v0.2.7 / 2014-12-01
|
1388 |
|
1389 | * fixed; screen-readers will now read "clear value" instead of "times" for the
|
1390 | clear button
|
1391 | * fixed; non-left-click mousedown events aren't blocked by the control
|
1392 |
|
1393 | ## v0.2.6 / 2014-11-30
|
1394 |
|
1395 | * improved; better comparison of changes to [options] in `willReceiveProps`
|
1396 | * fixed; now focuses the first option correctly when in multiselect mode
|
1397 | * fixed; fixed focused option behaviour on value change
|
1398 | * fixed; when filtering, there is always a focused option (#19)
|
1399 | * changed; using ^ in package.json to compare dependencies
|
1400 |
|
1401 | ## v0.2.5 / 2014-11-20
|
1402 |
|
1403 | * fixed; compatibility with case-sensitive file systems
|
1404 |
|
1405 | ## v0.2.4 / 2014-11-20
|
1406 |
|
1407 | * fixed; package.json pointed at the right file
|
1408 |
|
1409 | ## v0.2.3 / 2014-11-17
|
1410 |
|
1411 | * fixed; Updating state correctly when props change
|
1412 | * improved; Build tasks and docs
|
1413 | * added; Working standalone build
|
1414 | * added; Minified dist version
|
1415 | * added; Publised to Bower
|
1416 |
|
1417 | ## v0.2.2 / 2014-11-15
|
1418 |
|
1419 | * fixed; backspace event being incorrectly cancelled
|
1420 |
|
1421 | ## v0.2.1 / 2014-11-15
|
1422 |
|
1423 | * fixed; issue where backspace incorrectly clears the value (#14)
|
1424 |
|
1425 | ## v0.2.0 / 2014-11-15
|
1426 |
|
1427 | * changed; Major rewrite to improve focus handling and internal state management
|
1428 | * added; Support for `multi` prop, enable multiselect mode
|
1429 |
|
1430 | ## v0.1.1 / 2014-11-03
|
1431 |
|
1432 | * added; Support for `onChange` event
|
1433 | * added; `propTypes` are defined by the `Select` component now
|
1434 | * added; `className` property, sets the `className` on the outer `div` element
|
1435 | * fixed; Removed deprecated `React.DOM.x` calls
|
1436 |
|
1437 | ## v0.1.0 / 2014-11-01
|
1438 |
|
1439 | * updated; React to 0.12.0
|
1440 |
|
1441 | ## v0.0.6 / 2014-10-14
|
1442 |
|
1443 | * fixed; Error keeping value when using Async Options
|