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