# react-select ## 4.3.1 ### Patch Changes - [2c915d10](https://github.com/JedWatson/react-select/commit/2c915d10b5ce7b7f48aa0903fa838f9c294c434d) [#4577](https://github.com/JedWatson/react-select/pull/4577) - Bump @emotion/cache to v11.4.0 which fixes an issue where different versions of Emotion running at the same time causes styles to disappear in production. ## 4.3.0 ### Minor Changes - [035294f4](https://github.com/JedWatson/react-select/commit/035294f457921423c9237861f7c73584bdecbcc4) [#3360](https://github.com/JedWatson/react-select/pull/3360) Thanks [@JedWatson](https://github.com/JedWatson)! - Now pass the focusedOption to the MenuList Component as a prop ### Patch Changes - [7a414a7c](https://github.com/JedWatson/react-select/commit/7a414a7c7a1f8e2902e43bd476e3db17a8dce049) [#3262](https://github.com/JedWatson/react-select/pull/3262) Thanks [@JedWatson](https://github.com/JedWatson)! - The Menu bottom is no longer scrolled into view when menuShouldScrollIntoView=false ## 4.2.1 ### Patch Changes - [ca3c41bb](https://github.com/JedWatson/react-select/commit/ca3c41bb55e2666589bbbb69d1153357191d07a4) [#4478](https://github.com/JedWatson/react-select/pull/4478) Thanks [@ebonow](https://github.com/ebonow)! - Check passive events polyfill for the existence of window for SSR ## 4.2.0 ### Minor Changes - [2ffed9c6](https://github.com/JedWatson/react-select/commit/2ffed9c6c40c9d5b81d7c8faf7bfc995976299ec) [#4444](https://github.com/JedWatson/react-select/pull/4444) Thanks [@Rall3n](https://github.com/Rall3n)! - Use accessor props to get value and label in `compareOption` - [2baf5a9d](https://github.com/JedWatson/react-select/commit/2baf5a9df2f4f56f9c9374fcb879cb5259a6d8d0) [#4414](https://github.com/JedWatson/react-select/pull/4414) Thanks [@ebonow](https://github.com/ebonow)! - Add ariaLiveMessages prop for internationalization and other customizations - [7cdb8a6b](https://github.com/JedWatson/react-select/commit/7cdb8a6b4d9de89a599b3aee8b6d90a44a931ea6) [#4391](https://github.com/JedWatson/react-select/pull/4391) Thanks [@ebonow](https://github.com/ebonow)! - Pass and sanitize CommonProps passed to Group and Input components ### Patch Changes - [c955415c](https://github.com/JedWatson/react-select/commit/c955415cd3724489423dd8e84d6dab5ace24c984) [#4437](https://github.com/JedWatson/react-select/pull/4437) Thanks [@ebonow](https://github.com/ebonow)! - Set event listeners to be non-passive to remove Chrome console warnings - [3ca22b2f](https://github.com/JedWatson/react-select/commit/3ca22b2f49ad4f05f98ec8a565d74c483c0b98aa) [#3827](https://github.com/JedWatson/react-select/pull/3827) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Memoize stripDiacritics in createFilter for the input with memoize-one so that stripDiacritics is not called for the same string as many times as there are options every time the input changes Inspired by https://blog.johnnyreilly.com/2019/04/react-select-with-less-typing-lag.html - [dce3863f](https://github.com/JedWatson/react-select/commit/dce3863ff2ba8dfb50f505d81a2e70cf2d7a97e7) [#4423](https://github.com/JedWatson/react-select/pull/4423) Thanks [@Methuselah96](https://github.com/Methuselah96)! - Remove browser alias fields in order to fix SSR apps - [ec7c0728](https://github.com/JedWatson/react-select/commit/ec7c0728c5bfe98a81ab557699147ae244f7a073) [#4443](https://github.com/JedWatson/react-select/pull/4443) Thanks [@ebonow](https://github.com/ebonow)! - Allow tabIndex prop Type to be number or string ## 4.1.0 ### Minor Changes - [b5f9b0c5](https://github.com/JedWatson/react-select/commit/b5f9b0c59d7ac8559f88287ba73f0495b4c8eed2) [#4342](https://github.com/JedWatson/react-select/pull/4342) Thanks [@Methuselah96](https://github.com/Methuselah96)! - Standardized innerProps and className props on customizable components - [19b76342](https://github.com/JedWatson/react-select/commit/19b763428d6df254f0b9662f18a698dd3c59d83b) [#3911](https://github.com/JedWatson/react-select/pull/3911) Thanks [@eugenet8k](https://github.com/eugenet8k)! - Add `removedValues` to `onChange` event meta when the action is `clear` (when the user clears the value in the Select) ### Patch Changes - [f600d13f](https://github.com/JedWatson/react-select/commit/f600d13f5981c9e54e78247fdd82f62555373cff) [#4422](https://github.com/JedWatson/react-select/pull/4422) Thanks [@Methuselah96](https://github.com/Methuselah96)! - Fix finding focusable options for groups - [a016c878](https://github.com/JedWatson/react-select/commit/a016c87821d9289ef9c317c0c397d64a0824ce16) [#4420](https://github.com/JedWatson/react-select/pull/4420) Thanks [@Methuselah96](https://github.com/Methuselah96)! - Bump dependency on @babel/runtime in order to fix compatibility issues with Webpack 5 - [10b5f5a5](https://github.com/JedWatson/react-select/commit/10b5f5a5edc93becb6b46f22666305ec8c1b7de3) [#4404](https://github.com/JedWatson/react-select/pull/4404) Thanks [@Methuselah96](https://github.com/Methuselah96)! - Remove unnecessary dependency on @emotion/css ## 4.0.2 ### Patch Changes - [44f285b0](https://github.com/JedWatson/react-select/commit/44f285b0d4a50e16713b9aa3746d73d80dee2c91) [#4399](https://github.com/JedWatson/react-select/pull/4399) Thanks [@Methuselah96](https://github.com/Methuselah96)! - Fixed building focusable options from groups ## 4.0.1 ### Patch Changes - [645feb3e](https://github.com/JedWatson/react-select/commit/645feb3e34776a5f181b32f603027df5ca709b7d) [#4396](https://github.com/JedWatson/react-select/pull/4396) Thanks [@Methuselah96](https://github.com/Methuselah96)! - Fixed keys for options within groups ## 4.0.0 ### Major Changes - [02050675](https://github.com/JedWatson/react-select/commit/020506755728f607a77145e2a00458526596496f) [#4339](https://github.com/JedWatson/react-select/pull/4339) Thanks [@Methuselah96](https://github.com/Methuselah96)! - Standardized value passed to onChange - [26b6325c](https://github.com/JedWatson/react-select/commit/26b6325c95113591e568451bc2296f98318a8dd9) [#4283](https://github.com/JedWatson/react-select/pull/4283) Thanks [@majgaard](https://github.com/majgaard)! - Upgrades Emotion dependency to v11.0.0 BREAKING CHANGE: The NonceProvider component now requires a `cacheKey` prop that corresponds to the `key` for the Emotion cache. - [b2488bb5](https://github.com/JedWatson/react-select/commit/b2488bb561ed08c822bc1a828d2d9fd957f25bdf) [#4313](https://github.com/JedWatson/react-select/pull/4313) Thanks [@Methuselah96](https://github.com/Methuselah96)! - Removed usages of UNSAFE React methods ### Patch Changes - [2d5496d5](https://github.com/JedWatson/react-select/commit/2d5496d52b6650b57352a0ea0dfcab383567f3ac) [#4388](https://github.com/JedWatson/react-select/pull/4388) Thanks [@Methuselah96](https://github.com/Methuselah96)! - Removed memoization of buildMenuOptions ## 3.2.0 ### Minor Changes - [c615e93d](https://github.com/JedWatson/react-select/commit/c615e93dbca15b9f9c6c3e6437744ca53703347f) [#4084](https://github.com/JedWatson/react-select/pull/4084) Thanks [@JedWatson](https://github.com/JedWatson)! - Changed the `cx` and `getValue` props that are passed to components into instance properties, which means they now pass a referential equality check on subsequent renders. This is helpful, for example, when you're optimising the performance of rendering custom Option components - see [#3055](https://github.com/JedWatson/react-select/issues/3055) - [72f6036f](https://github.com/JedWatson/react-select/commit/72f6036fa6f425837c8c2326bf91dff7bd7f6147) [#4306](https://github.com/JedWatson/react-select/pull/4306) Thanks [@bladey](https://github.com/bladey)! - Remove duplicate prop createOptionPosition ### Patch Changes - [ee638d46](https://github.com/JedWatson/react-select/commit/ee638d4615e789090ea860d2e1c9f4d95a829d50) [#4275](https://github.com/JedWatson/react-select/pull/4275) Thanks [@Methuselah96](https://github.com/Methuselah96)! - Adds react ^17.0.0 to peer dependencies for React 17 support - [a0133f19](https://github.com/JedWatson/react-select/commit/a0133f19f45eb2dc9a2faebd74e18f44da7d509b) [#4154](https://github.com/JedWatson/react-select/pull/4154) Thanks [@brenshanny](https://github.com/brenshanny)! - Creatable: Fixed removing MultiValues that have identical values. See issue #4137 for details. - [d1e660c6](https://github.com/JedWatson/react-select/commit/d1e660c6b261d7fd60a85a6eca2ee9e3e0348ea2) [#4213](https://github.com/JedWatson/react-select/pull/4213) Thanks [@eythort](https://github.com/eythort)! - Added a guard to the `ScrollCaptor` component to check that `el` exists before calling `removeEventListener`, fixes intermittent errors - [a1e1db25](https://github.com/JedWatson/react-select/commit/a1e1db255aceda301d9705d0639e7ca0302bd079) [#4373](https://github.com/JedWatson/react-select/pull/4373) Thanks [@Methuselah96](https://github.com/Methuselah96)! - Fixed value passed to onChange when clearing value - [2ad29d61](https://github.com/JedWatson/react-select/commit/2ad29d615bc769c3b3dc4177eb0007a267369748) [#4136](https://github.com/JedWatson/react-select/pull/4136) Thanks [@Methuselah96](https://github.com/Methuselah96)! - Base aria-live message on tabSelectsValue prop - [ad890f27](https://github.com/JedWatson/react-select/commit/ad890f279300b6baaca55a642141999a79af8883) [#4326](https://github.com/JedWatson/react-select/pull/4326) Thanks [@Methuselah96](https://github.com/Methuselah96)! - Updated react-input-autosize to v3.0.0 - [b28d9922](https://github.com/JedWatson/react-select/commit/b28d99222ab191db27482c6219f8c8b12ef753d8) [#3990](https://github.com/JedWatson/react-select/pull/3990) Thanks [@nikitaindik](https://github.com/nikitaindik)! - Fixed onCreateOption is not always called for Creatable - [24ba8702](https://github.com/JedWatson/react-select/commit/24ba8702b93885790ee919de8c01ea8f44d1c354) [#4289](https://github.com/JedWatson/react-select/pull/4289) Thanks [@slimklim](https://github.com/slimklim)! - Added `innerProps` prop to the built-in `MenuList` component to reduce the need for additional DOM nodes or forking internal code when passing additional props to the DOM element the MenuList component is rendering. See issue [#4265](https://github.com/JedWatson/react-select/issues/4265) for an explanation. ## 3.1.1 ### Patch Changes - [c8d74bd5](https://github.com/JedWatson/react-select/commit/c8d74bd5710b1db6736837fb4334a59e46614a27) [#3979](https://github.com/JedWatson/react-select/pull/3979) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fix repository field - [c8447f48](https://github.com/JedWatson/react-select/commit/c8447f480f8b9ca04386bee08e8d3a6fbb4f07c8) [#4034](https://github.com/JedWatson/react-select/pull/4034) Thanks [@sophiebits](https://github.com/sophiebits)! - Improve performance of option filtering when ignoreAccents is enabled (the default) - [7af1aafb](https://github.com/JedWatson/react-select/commit/7af1aafb2314db02544b7970784b868e97ec4824) [#4295](https://github.com/JedWatson/react-select/pull/4295) Thanks [@JedWatson](https://github.com/JedWatson)! - Fix menuplacement context - [32ad5c04](https://github.com/JedWatson/react-select/commit/32ad5c040bdd96cd1ca71010c2558842d684629c) [#3892](https://github.com/JedWatson/react-select/pull/3892) Thanks [@flexdinesh](https://github.com/flexdinesh)! - Fix react-select ignoring HTML5 "form" attribute - [6af14fbb](https://github.com/JedWatson/react-select/commit/6af14fbbc8ab42f2d17721732c9fe221d47c9e30) [#3897](https://github.com/JedWatson/react-select/pull/3897) Thanks [@lorisdev](https://github.com/lorisdev)! - Removes the call to `onMenuOpen` on every input change If you were relying on this undesired behavior it may be a breaking change. Please upgrade accordingly. - [0eb1ef96](https://github.com/JedWatson/react-select/commit/0eb1ef9625de907fddaf29516cec3bd93bf9c5f7) Thanks [@JedWatson](https://github.com/JedWatson)! - Fixes touch issues in IE11 - [ad608c8f](https://github.com/JedWatson/react-select/commit/ad608c8f1f445e70a082bae755dd30bda5b5f205) [#3928](https://github.com/JedWatson/react-select/pull/3928) Thanks [@dpordomingo](https://github.com/dpordomingo)! - Update MenuPlacer context usage in order to the new React Context API ## 3.1.0 ### Minor Changes - [4cf6c43c](https://github.com/JedWatson/react-select/commit/4cf6c43cc17a01b043fb60b33cad355d433fdf8c) [#3690](https://github.com/JedWatson/react-select/pull/3690) Thanks [@JedWatson](https://github.com/JedWatson)! - Add `isLoading` prop support to the AsyncSelect component (see #3690) ### Patch Changes - [83b48de4](https://github.com/JedWatson/react-select/commit/83b48de4a18263b361744fc5e89d9b9845b26e4f) [#3868](https://github.com/JedWatson/react-select/pull/3868) Thanks [@Tirzono](https://github.com/Tirzono)! - Fix for not focusing the selected value when the menu opens - [563b046a](https://github.com/JedWatson/react-select/commit/563b046a57a94c47950e62cedc4ce1c489f19f91) [#3794](https://github.com/JedWatson/react-select/pull/3794) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Convert class components that don't have to be class components to function components to reduce bundle size - [c7e9c697](https://github.com/JedWatson/react-select/commit/c7e9c697dada15ce3ff9a767bf914ad890080433) [#3682](https://github.com/JedWatson/react-select/pull/3682) Thanks [@JedWatson](https://github.com/JedWatson)! - Allow the input component to be a `textarea` element - [3c7de0de](https://github.com/JedWatson/react-select/commit/3c7de0de52826fe74d303a01475c43fe88256156) [#3090](https://github.com/JedWatson/react-select/pull/3090) Thanks [@akiselev](https://github.com/akiselev)! - Add aria attributes to dummy input - [d2a820ef](https://github.com/JedWatson/react-select/commit/d2a820efc70835adf864169eebc76947783a15e2) [#3537](https://github.com/JedWatson/react-select/pull/3537) Thanks [@jdelStrother](https://github.com/jdelStrother)! - Fix Flow issues. Refer to the linked PR for more details on the specific issues. - [fc52085b](https://github.com/JedWatson/react-select/commit/fc52085b969b1b6f53adf29d52469db9560b828c) [#3662](https://github.com/JedWatson/react-select/pull/3662) Thanks [@eemeli](https://github.com/eemeli)! - Update react-transition-group to ^4.3.0 - [edb18dd3](https://github.com/JedWatson/react-select/commit/edb18dd3d65b8fbc342bde9e805c5e3293ab6e37) [#3797](https://github.com/JedWatson/react-select/pull/3797) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Enable Babel loose mode to improve bundle size ## 3.0.8 ### Patch Changes - [a575a3c4](https://github.com/JedWatson/react-select/commit/a575a3c41798696620c77e8098c1150b4adda6cb) [#3727](https://github.com/JedWatson/react-select/pull/3727) Thanks [@tonytangau](https://github.com/tonytangau)! - Adding an `index` prop to `MultiValue` components - [916f0d2c](https://github.com/JedWatson/react-select/commit/916f0d2c651189bfeff2289d8d3cc597e06cb2ea) [#3644](https://github.com/JedWatson/react-select/pull/3644) Thanks [@TrySound](https://github.com/TrySound)! - Remove usage of `raf` package and replace with `window.requestAnimationFrame` because React already depends on `requestAnimationFrame` - [cba15309](https://github.com/JedWatson/react-select/commit/cba15309c4d7523ab6a785c8d5c0c7ec1048e22f) [#3676](https://github.com/JedWatson/react-select/pull/3676) Thanks [@wiesys](https://github.com/wiesys)! - Fix `loadingMessage` and `noOptionsMessage` properties in `Styles` flow type - [32f9475e](https://github.com/JedWatson/react-select/commit/32f9475e6d43a71000a3906da9e6d2d30710efd2) [#3790](https://github.com/JedWatson/react-select/pull/3790) Thanks [@JedWatson](https://github.com/JedWatson)! - Remove unnecessary dependency on `classnames` package - [1731175d](https://github.com/JedWatson/react-select/commit/1731175d790530b9dbfa787e3fffaff3fb0e44a0) [#3733](https://github.com/JedWatson/react-select/pull/3733) Thanks [@ddc67cd](https://github.com/ddc67cd)! - Pass `name` to `onChange` meta in `Creatable` to make it consistent with onChange in standard `Select` ## 3.0.7 ### Patch Changes - [df864f2](https://github.com/JedWatson/react-select/commit/df864f2) - Include updated yarn.lock ## 3.0.6 ### Patch Changes - [3e0a7a7](https://github.com/JedWatson/react-select/commit/3e0a7a7) - \* remove emotion 9 dep from mono repo (this wasn't being used anywhere) - update dep on react-input-autosize to 2.2.2 (adds UNSAFE prefix to deprecated lifecycles) (resolves #3773) ## 3.0.5 ### Patch Changes - [270cc01](https://github.com/JedWatson/react-select/commit/270cc01) [#3719](https://github.com/JedWatson/react-select/pulls/3719) Thanks [@jossmac](https://github.com/jossmac)! - Leverage currentColor for loading indicator dots -- makes styling easier, and more consistent, for consumers - [bab8af1](https://github.com/JedWatson/react-select/commit/bab8af1) - Update lifecycle methods with UNSAFE prefix ## 3.0.4 ### Patch Changes - [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 - [#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 - [#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 - [#3532](https://github.com/JedWatson/react-select/pull/3532) Thanks [@alisonhall](https://github.com/alisonhall)! - Change aria-live assertive to polite ## 3.0.3 - Remove base entrypoint to fix rollup dependency resolution issue ## 3.0.2 - fix erroneous build ## 3.0.1 - [patch][](https://github.com/JedWatson/react-select/commit/): - Add README.md file for npm ## 3.0.0 - [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): - Upgrade emotion dependency from 9.x to 10.x [#3321](https://github.com/JedWatson/react-select/pull/3321) - Normalize Values [#3416](https://github.com/JedWatson/react-select/pull/3416) - Separate entrypoints for Async, Creatable and makeAnimated [#3541](https://github.com/JedWatson/react-select/pull/3541) - UMD builds deprecated - required react peer-dependecy of 16.8 ## v2.4.4 / 2019-05-27 ### BugFixes - [#3540] Fixed active styles previously being applied to disabled options. Thanks [@risenforces](https://github.com/risenforces) - [#3563] Fixed IME composition bugs in non Chrome browsers. Thanks [@jwilander](https://github.com/jwilander) ## v2.4.3 / 2019-03-17 ### Bugfixes - [#3492](https://github.com/JedWatson/react-select/pull/3492) Add labels to fields to make inspection. [@destructobeam](https://github.com/destructobeam) - [#3442](https://github.com/JedWatson/react-select/pull/3442) Ignore keydown events on `Enter` in IME. [@sat0yu](https://github.com/sat0yu). - [#3343](https://github.com/JedWatson/react-select/pull/3343) fix lint issues. [@JoshMcCullough](https://github.com/JoshMcCullough). - [#3498](https://github.com/JedWatson/react-select/pull/3498) Fix async type. [@mufasa71](https://github.com/mufasa71) - [#3436](https://github.com/JedWatson/react-select/pull/3436) Allow Node as placeholder [@eemeli](https://github.com/eemeli). ## v2.4.2 / 2019-03-11 ### Bug fixes - [#3446](https://github.com/JedWatson/react-select/pull/3446) Fix bug with select input value not being selectable. Thanks [kangweichan](https://github.com/kangweichan). - [#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). ## Updates - Fixed typo in style docs. Thanks [thiagodebastos](https://github.com/thiagodebastos). - [#3460](https://github.com/JedWatson/react-select/pull/3460) Added description for actionTypes to docs. Thanks [mikekellyio](https://github.com/mikekellyio) ## v2.4.1 / 2019-02-18 ### Bug fixes - [#3432](https://github.com/JedWatson/react-select/pull/3432) Fix bug with select menu's not working on mobile. ## v2.4.0 / 2019-02-15 ### Bug fixes - [#3427](https://github.com/JedWatson/react-select/pull/3427) remove focusOption() invocation on ENTER press if the menu is not open. - [#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) - [#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) - [#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) - [#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). - [#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). - [#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). - [#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) ### Updates - [#3370](https://github.com/JedWatson/react-select/pull/3370) Updated memoize-one dependency to 5.0.0. Thanks [adam187](https://github.com/adam187) - [#3366](https://github.com/JedWatson/react-select/pull/3366/files) Update build tooling, to leverage babel 7. Thanks [DragonWW](https://github.com/DragorWW) ## v2.3.0 / 2019-01-18 ### Bug fixes - [#3315](https://github.com/JedWatson/react-select/pull/3315) add RAF call to Collapse component getRef() such that getBoundingClientRect() is invoked consistently. - [#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) - [#3357](https://github.com/JedWatson/react-select/pull/3357), fix loadOptions call in Async select to always pass in a string for the inputValue. - [#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. ### Features - [#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) ## v2.2.0 / 2018-12-28 ### Bug Fixes - [#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. - [#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. - [#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. - [#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. - [#3299](https://github.com/JedWatson/react-select/pull/3299) fix to assistive text on menu open. ### Feature - [#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. ## v2.1.2 / 2018-11-22 ### Bug fixes - [#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) - [#3096] Placeholder component now also receives the isFocused state value as a prop. Thanks [@Nelrohd](https://github.com/Nelrohd) - [#3060] Fix bug where trying to set the cursor somewhere in an input value would close the menu. Thanks [@stijndeschuymer](https://github.com/stijndeschuymer) - [#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) - [#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) - [#3013] Fixes bug where the menu would close on trying to scroll using the scroll bar in IE11. Thanks [@rakid](https://github.com/rakid) ### Misc - 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. - Thanks to [@IanVS](https://github.com/IanVS) for cleaning up our cypress tests. ## v2.1.1 / 2018-10-24 ### Bug fixes - [#3132] Strip theme props from default Input and GroupHeading components, as they were polluting the DOM. - [#3131] Add support for the 'Delete' key in the internal onKeyDown method. Same functionality as 'Backspace'. - [#3100] Update flow-types and normalised default prop declarations in indicators. Thanks [iseredov](https://github.com/iseredov) ### Updates - [#3083] Added sideEffects property to package.json to support tree-shaking in webpack 4.x. Thanks [SimenB](https://github.com/SimenB). - [#3078] Update jest dependency to 23.6.0. Thanks [papandreou](https://github.com/papandreou) - [#3065] Update babel-plugin-emotion to 9.2.10. Thanks [mtzhang](https://github.com/mtzhang) - [#3108] Update docs to include instructions for replicating the simple-value use case within react-select v2. Thanks [elboletaire](https://github.com/elboletaire) ## v2.1.0 / 2018-10-03 - [#2839] Added support for theming via theme prop. Thanks [akx](https://github.com/akx) - [#2874] Fixed flow-types of MultiValue components. Thanks [mike1808](https://github.com/mike1808) - [#2903] Fix missing form input when there isn't a selected value. Thanks [alvinsj](https://github.com/alvinsj) - [#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) - [#2876] Added overflow hidden to valueContainer to stop overflowing text in the control. Thanks [mike1808](https://github.com/mike1808) - [#2975] Separated menu placement logic from menu primitive. Thanks [jossmac](https://github.com/jossmac). ## v2.0.0 / 2018-07-23 - async select now accepts a filterOptions function as a prop [#2822](https://github.com/JedWatson/react-select/pull/2822) - [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) - [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) - 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) - 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. - Added fix to support IME inputs. [#2767](https://github.com/JedWatson/react-select/pull/2767), thanks [shamabe](https://github.com/shamabe) - 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) - 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) - [#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) - [#2652](https://github.com/JedWatson/react-select/pull/2652), Async Select now re-evaluates defaultOptions on componentWillReceiveProps. Thanks [jesstelford](https://github.com/jesstelford) ## v2.0.0-beta.7 / 2018-07-03 - 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). - Internal ref `input` is now `inputRef` for consistency. - Internal ref `menuRef` is now `menuListRef` for consistency. - Fixed bug with MultiValueRemove interaction not working in mobile [#2762](https://github.com/JedWatson/react-select/pull/2762), thanks [chuckbergeron](https://github.com/chuckbergeron). - 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) - Added functionality to not render the menu if `noOptionsMessage` or `loadingMessage` are set to null. [#2754](https://github.com/JedWatson/react-select/pull/2754) - Fixed bug with mobile menu being blocked when `menuShouldBlockScroll` is true. [#2756](https://github.com/JedWatson/react-select/pull/2756) - 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 - Updates to flow types, thanks [mike1808](https://github.com/mike1808), [himerus](https://github.com/himerus), [teamable-software](https://github.com/teamable-software) and - Bumped internal flow-bin dependency to 0.72.0, [#2646](https://github.com/JedWatson/react-select/pull/2646) thanks [lunij](https://github.com/lunij) - 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. - [#2733](https://github.com/JedWatson/react-select/issues/2733), fixed classname bug to do with prefixing classes with modifiers. - [#2723](https://github.com/JedWatson/react-select/issues/2732), fixed emotion compilation bug blocking loadingDot rendering. - [#2749](https://github.com/JedWatson/react-select/pull/2749) fixed typo in docs. thanks [JuhQ](https://github.com/juhq) - [#2717](https://github.com/JedWatson/react-select/pull/2717) added selected value to onChange to accommodate multi-select, thanks [SimeonC](https://github.com/simeonc) ## v2.0.0-beta.6 / 2018-05-23 - Fixed bug with `css` attribute being wrongly applied to a DOM element in SingleValue. Thanks [guigs](http://github.com/guigs) - Added `removedValue` to the `actionMeta` of the `remove-value` action that's passed into the `onChange` prop. - 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. - selectValue now filters items based on the getOptionValue method. Thanks (inv8der)[http://github.com/inv8der] - Added `createOptionPosition` to creatable select to allow users to specify where the createOption element appears in the menu. - Added touch handling logic to detect user intent to scroll the page when interacting with the select control. ## v2.0.0-beta.5 / 2018-05-18 - Added `controlShouldRenderValue` prop, defaults to true. Setting it to false disables rendering values in the control. Thanks[Joss Mackison](http://github.com/jossmac) ## v2.0.0-beta.4 / 2018-05-15 - Fixed bug where transition props were being spread onto the DummyInput causing react warnings in the console. Thanks [Mike Gardner](https://github.com/MikeLimeRocket) ## v2.0.0-beta.3 / 2018-05-14 **Note**: There is an important change in this release to the behaviour of `className`. Previously, `className` would control the class names applied to internal components as well as the containing element. Now, the `className` prop only controls the class name of the containing element, and the new prop `classNamePrefix` controls classes applies to internal components. Until 2.0.0 final is released, we have added backwards compatibility and a deprecation warning to cover this change. - Added `classNamePrefix` prop, which now controls the class names applied to internal components - Refactored cx internal implementation to reduce specificity of css-in-jss base styles. - `maxValueHeight` prop removed - Added `--is-disabled` className modifier to Option component, thanks [eemeli](https://github.com/eemeli) - Fixed various IE11 issues, see [#2583](https://github.com/JedWatson/react-select/issues/2583) - Added multi-value keyboard navigation using left and right arrows. - Simplified flow distribution, thanks [falconmick](https://github.com/falconmick) - Added fix to ensure focus is on the Input when the menu opens ## v2.0.0-beta.2 / 2018-04-25 - Switched from glam to [emotion](https://emotion.sh) for css-in-js - Input colour can now be changed - Use of React 16 Fragment removed, 2.0.0 should work with React 15 - SSR support improved - Indicator icons are now exported ## v2.0.0-beta.1 / 2018-04-20 - Added `tabIndex` prop - Added `classNames` prop - Added upgrade guide from v1 --> v2 - Fixed bug with overflowing long values in the control - Fixed ie11 bug to do with absolutely positioned children in flex parent. - Documentation ie11, styling and copy improvements ## v2.0.0-alpha.11 / 2018-04-12 Minor fix since last alpha: - Fixed a flow type issue that was causing issues for consumers ## v2.0.0-alpha.10 / 2018-04-10 Minor fix since last alpha: - Fixed an issue with `dist/react-select.es.js` where `babelHelpers` weren't defined ## v2.0.0-alpha.9 / 2018-04-10 Ongoing rewrite. Major changes since last alpha: - Added `openMenuOnClick` and `openMenuOnFocus` props - Significant test coverage and documentation improvements - Added `onMenuScrollToTop` and `onMenuScrollToBottom` event props - `scrollMenuIntoView` prop renamed `menuShouldScrollIntoView` - `onKeyDown` now based on event.key not event.keyCode - Component ids no longer have double separators - Fixed a Firefox bug with `position: absolute` and `display: flex` - Added support for fixed position menu and scroll blocking - Fixed issue with transition group props being passed to child components - Fixed issue with portalled menu display when `menuPlacement="top"` ## v2.0.0-alpha.8 / 2018-02-20 Ongoing rewrite. Major changes since last alpha: - Made `focus` and `blur` methods work consistently when composing HOCs - Added `menuPortalTarget` prop which portals the menu, with a `MenuPortal` component and `menuPortal` style key - Allow the `MultiValueRemove` component children to be changed - Lots of new tests, updates to documentation and examples ## v2.0.0-alpha.7 / 2018-02-14 Ongoing rewrite. Major changes since last alpha: - Significantly improved touch and mobile support - New positioning behaviour for the Menu - Added `scrollMenuIntoView` prop, which does exactly what you'd expect - Added action meta to the `onInputChange` event handler arguments - `Creatable` Component Added - `AsyncCreatable` Component Added - Fixed an issue with the layout that would trigger a Firefox repaint bug - Improved behaviour when the `isDisabled` prop value is changed - The `IndicatorSeparator` isn't rendered when there is no `DropdownIndicator` - Converted `StateManager` to a higher order component - New website, docs, and more tests! (still WIP) - Examples can now be launched in CodeSandbox, thanks to [Ben Conolly](https://github.com/noviny) ## v2.0.0-alpha.6 / 2018-02-14 Ongoing rewrite. Major changes since last alpha: - `menuIsOpen`, `inputValue` and `value` are now controllable props that default to internal state - Fixed missing loading indicator - Added "open in code sandbox" to all examples - Switched menu rendering from li to div tags for better screen reader usability - Removed unused primitives and simplified indicator components - Improved accessibility of groups and options, cleaned up Group implementation - Fixed some input alignment issues - Added right-to-left support with `isRtl` prop - Support blocking page scroll at menu boundaries with `captureMenuScroll` prop - Added automatic menu flipping at window boundaries with `menuPlacement` and `menuShouldFlip` props - Added `isSearchable` prop to support simple (not searchable) select inputs - Added `pageSize` prop ## v2.0.0-alpha.5 / 2018-02-07 Ongoing rewrite. Major changes since last alpha: - Fixed an issue where animated values would show ellipsis while leaving - Long single values are now also correctly truncated ## v2.0.0-alpha.4 / 2018-02-06 Ongoing rewrite. Major changes since last alpha: - Added support for Promises in the Async component - Added `setValue` method on the Select class - More consistent use of `innerProps` for internal components - Internal components are now provided a consistent set of props and API - Improved handling of keyboard and mouse interaction for options in the menu - Default filtering behaviour now has parity with v1 - New `createFilter` method lets you customise the filter options - Some unnecessary components have been removed for better performance - Long values are now truncated ## v2.0.0-alpha.3 / 2018-02-02 Ongoing rewrite. Major changes since last alpha: - Added `getOptionValue`, `getOptionLabel` and `formatOptionLabel` props - Added `isOptionSelected` and `isOptionDisabled` props - Added `name` and `delimiter` props to support hidden html inputs for forms - Added `loadingMessage`, `noOptionsMessage` and `screenReaderStatus` props so messages can be customised - Customisable components are now passed `innerProps` for simpler implementation - Cleaned up internal Components and made sure they can all be styled - Implemented customisable filtering function with support for case and diacritics - Fixed various css bugs and vendor prefixing issues - Accessibility improvements ## v2.0.0-alpha.2 / 2018-01-25 Ongoing rewrite. Major changes since last alpha: - `Async` component added - `styles` prop added to Select component - `isLoading` prop to Select component and new indicator added - Support added for disabled options - Internal components cleaned up - Cypress tests added - CSS class names added to default components - Accessibility improvements ## v2.0.0-alpha.1 / 2018-01-12 Complete rewrite, docs and upgrade notes on changes from v1 to come later. ## v1.2.1 / 2018-01-13 - 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) - 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) - Fixed dropdown menu positioning issues in IE 11, thanks [jharris4](https://github.com/jharris4) - [see PR](https://github.com/JedWatson/react-select/pull/2273) - Added missing rule to the `scss` stylesheet, thanks [Jordan Whitfield](https://github.com/mantissa7) - [see PR](https://github.com/JedWatson/react-select/pull/2280) > > > > > > > master ## v1.2.0 / 2018-01-08 - Source cleanup, thanks to [Yuri S](https://github.com/yuri-sakharov) and [Charles Lee](https://github.com/gwyneplaine) - [see PR](https://github.com/JedWatson/react-select/pull/2262) - Switched from babel-preset-es2015 to babel-preset-env, thanks [Rambabu Yadlapalli](https://github.com/RamYadlapalli) - [see PR](https://github.com/JedWatson/react-select/pull/2254) - Fixed focused option. Issue #2237, thanks [Yuri S](https://github.com/yuri-sakharov) - [see PR](https://github.com/JedWatson/react-select/pull/2245) - Fix onSelectResetsInput bug from keyboard navigation, thanks [Charles Lee](https://github.com/gwyneplaine) - [see PR](https://github.com/JedWatson/react-select/pull/2259) - Fixed all warnings on running tests, thanks [Yuri S](https://github.com/yuri-sakharov) - [see PR](https://github.com/JedWatson/react-select/pull/2231) - Added missing tests for Option.js and refactored Option-test.js., thanks [Yuri S](https://github.com/yuri-sakharov) - [see PR](https://github.com/JedWatson/react-select/pull/2249) - Added missing tests for Async.js, thanks [Yuri S](https://github.com/yuri-sakharov) - [see PR](https://github.com/JedWatson/react-select/pull/2250) - Fixed console error in GitHub users example, thanks [Yuri S](https://github.com/yuri-sakharov) - [see PR](https://github.com/JedWatson/react-select/pull/2244) - Fixed readme example. Issue #2235, thanks [Yuri S](https://github.com/yuri-sakharov) - [see PR](https://github.com/JedWatson/react-select/pull/2246) - Regression fix for single select with onSelectResetsInput=false, thanks [Yuri S](https://github.com/yuri-sakharov) - [see PR](https://github.com/JedWatson/react-select/pull/2226) - Pass placeholder prop to ValueComponent, thanks [Aravind Srivatsan](https://github.com/aravindsrivats) - [see PR](https://github.com/JedWatson/react-select/pull/2225) - Refactored handleKeyDown switch, thanks [Yuri S](https://github.com/yuri-sakharov) - [see PR](https://github.com/JedWatson/react-select/pull/2228) - onSelectResetsInput regression fixed, thanks [Jed Watson](https://github.com/dehamilton) - [see PR](https://github.com/JedWatson/react-select/pull/2215) - Don't open drop down menu when clear values, thanks [Jed Watson](https://github.com/Chopinsky) - [see PR](https://github.com/JedWatson/react-select/pull/2198) - Clear input value on receiving props with another value., thanks [Yuri S](https://github.com/yuri-sakharov) - [see PR](https://github.com/JedWatson/react-select/pull/2183) - Fix/is option unique crash, thanks [Jacob Zuo](https://github.com/Chopinsky) - [see PR](https://github.com/JedWatson/react-select/pull/2185) - Use react-input-autosize v2.1.2 for guard against undefined window, thanks [DStyleZ](https://github.com/sximba) - [see PR](https://github.com/JedWatson/react-select/pull/2187) - Fix issue #2182, thanks [Kurt Hoyt](https://github.com/kurtinatlanta) - [see PR](https://github.com/JedWatson/react-select/pull/2213) - Documenting behavior of onBlurResetsInput in the readme., thanks [hobbsl](https://github.com/levininja) - [see PR](https://github.com/JedWatson/react-select/pull/2212) - Use onSelectResetsInput for single select, thanks [lachiet](https://github.com/lachiet) - [see PR](https://github.com/JedWatson/react-select/pull/2205) - Fix state value in README example, thanks [Srishan Bhattarai](https://github.com/srishanbhattarai) - [see PR](https://github.com/JedWatson/react-select/pull/2192) - document breaking change of removing getInputValue, thanks [Turadg Aleahmad](https://github.com/turadg) - [see PR](https://github.com/JedWatson/react-select/pull/2195) - Fixed search for invalid label and/or value, thanks [Yuri S](https://github.com/yuri-sakharov) - [see PR](https://github.com/JedWatson/react-select/pull/2179) ## v1.1.0 / 2017-11-28 - added; more props are passed to the Option component: `focusOption`, `inputValue`, `selectValue`, `removeValue` - added; the `inputValue` is passed as the third argument to the `optionRenderer` - fixed; issues opening the menu correctly for multiselect when `autosize={false}` - fixed; removed `event.stopPropagation()` from Select's `clearValue` and `onClick` handlers, thanks [Thomas Burke](https://github.com/etburke) - fixed; `handleMouseDownOnArrow` when `openOnClick={false}`, thanks [elias ghali](https://github.com/elghali) - fixed; conditional scrolling into view of focused option, thanks [Michael Lewis](https://github.com/mtlewis) ## v1.0.1 / 2017-11-24 - reintroduced source files for scss and less stylesheets into the npm package ## v1.0.0 / 2017-11-23 - breaking; removed `getInputValue` function - [see PR](https://github.com/JedWatson/react-select/pull/2108) - reverted spacebar-selects-option behaviour for searchable selects, thanks [Charles Lee](https://github.com/gwyneplaine) - [see PR](https://github.com/JedWatson/react-select/pull/2163) - fixed behaviour where async doesn't handle onInputChange returning a value, thanks [Anton](https://github.com/tehbi4) - [see PR](https://github.com/JedWatson/react-select/pull/2133) - fixed Creatable bug where the first enter keypress is ignored when `promptTextCreator` returns only the label, thanks [George Karagkiaouris](https://github.com/karaggeorge) - [see PR](https://github.com/JedWatson/react-select/pull/2140) - Utility functions are now exported from the es6 build, thanks [Deiru](https://github.com/Deiru2k) - [see PR](https://github.com/JedWatson/react-select/pull/2154) - Update aria-only class to have absolute positioning, thanks [Jacob Hilker](https://github.com/JHilker) - [see PR](https://github.com/JedWatson/react-select/pull/1243) - gives possibility to use ref property for Creatable, thanks [blacktemplar](https://github.com/blacktemplar) - [see PR](https://github.com/JedWatson/react-select/pull/1646) - Adds lint and test pre-commit hooks, thanks [carymcpoland](https://github.com/mcpolandc) - [see PR](https://github.com/JedWatson/react-select/pull/2077) - Disable some browser-specific behaviours that break the input, thanks [Jed Watson](https://github.com/JedWatson) - [see PR](https://github.com/JedWatson/react-select/pull/2101) - onOpen: run after dom has rendered, thanks [Karl-Aksel Puulmann](https://github.com/macobo) - [see PR](https://github.com/JedWatson/react-select/pull/#1756) - fix not clearing when given invalid values, from #1756, thanks [Mário][https://github.com/ticklemynausea] - [see PR](https://github.com/JedWatson/react-select/pull/2100) - Exports Option Component, thanks [Erkelens, Jan Paul](https://github.com/jperkelens) - [see PR](https://github.com/JedWatson/react-select/pull/2097) - Fix/numeric multi select, thanks [Charles Lee](https://github.com/gwyneplaine) - [see PR](https://github.com/JedWatson/react-select/pull/2086) - removeSelected prop (round 2), for optionally keeping selected values in dropdown, thanks [Jed Watson](https://github.com/banderson) - [see PR](https://github.com/JedWatson/react-select/pull/1891) - pass removeValue() and always pass valueArray, thanks [kcliu](https://github.com/kcliu) - [see PR](https://github.com/JedWatson/react-select/pull/1850) - Accessibility Enhancements - Aria tags, Space/Enter keys, thanks [sushmabadam](https://github.com/sushmabadam) - [see PR](https://github.com/JedWatson/react-select/pull/1428) - added rtl support, thanks [Dekel](https://github.com/dekelb) - [see PR](https://github.com/JedWatson/react-select/pull/1613) - Add inputValue to menuRenderer, thanks [headcanon](https://github.com/chronick) - [see PR](https://github.com/JedWatson/react-select/pull/1732) - fix typo in handleKeyDown method, thanks [jasonchangxo](https://github.com/jasonchangxo) - [see PR](https://github.com/JedWatson/react-select/pull/2088) - Fix/numeric multi select, thanks [Charles Lee](https://github.com/gwyneplaine) - [see PR](https://github.com/JedWatson/react-select/pull/2086) - expose children in AsyncCreatable.js, thanks [Charles Lee](https://github.com/gwyneplaine) - [see PR](https://github.com/JedWatson/react-select/pull/2084) - replace trim fn loop with regex, thanks [Charles Lee](https://github.com/gwyneplaine) - [see PR](https://github.com/JedWatson/react-select/pull/2085) - Trim search text from beginning and the end. (fixes #1861), thanks [Serkan Ozer](https://github.com/serkanozer) - [see PR](https://github.com/JedWatson/react-select/pull/1862) - Add variable for focused input background, thanks [Aron Strandberg](https://github.com/aronstrandberg) - [see PR](https://github.com/JedWatson/react-select/pull/1998) - Added id in the input select, thanks [thecreazy](https://github.com/thecreazy) - [see PR](https://github.com/JedWatson/react-select/pull/2027) - adding a nvmrc file and adding coverage to eslintignore, thanks [Dave Birch](https://github.com/uxtx) - [see PR](https://github.com/JedWatson/react-select/pull/1137) - Updated the comment for the deleteRemoves option., thanks [Abul Dider](https://github.com/dider7) - [see PR](https://github.com/JedWatson/react-select/pull/2078) - implemented optional rendering of arrow, thanks [rolandjohann](https://github.com/rolandjohann) - [see PR](https://github.com/JedWatson/react-select/pull/1761) - Skip rendering arrow wrapper when custom arrow renderer returns falsy value, thanks [Mike Lewis](https://github.com/mtlewis) - [see PR](https://github.com/JedWatson/react-select/pull/2055) - do not show clear button if value is an empty string, thanks [Marie Godon](https://github.com/mariegodon) - [see PR](https://github.com/JedWatson/react-select/pull/2074) - Set isLoading to false if cache hit, thanks [timhwang21](https://github.com/timhwang21) - [see PR](https://github.com/JedWatson/react-select/pull/2042) - Add aria-labels to Options, thanks [jasonchangxo](https://github.com/jasonchangxo) - [see PR](https://github.com/JedWatson/react-select/pull/2036) - Adds source links to each example, thanks [Damon Bauer](https://github.com/damonbauer) - [see PR](https://github.com/JedWatson/react-select/pull/2051) - Issue #2056: onInputChange should return modified value, thanks [Caleb Scholze](https://github.com/cscholze) - [see PR](https://github.com/JedWatson/react-select/pull/2057) - Remove option `addLabelText` from README and propTypes, thanks [Jannes Jeising](https://github.com/jjeising) - [see PR](https://github.com/JedWatson/react-select/pull/2040) - GitHub has a capital H, thanks [David Baumgold](https://github.com/singingwolfboy) - [see PR](https://github.com/JedWatson/react-select/pull/2053) - refactor componentWillUnmount(), thanks [riophae](https://github.com/riophae) - [see PR](https://github.com/JedWatson/react-select/pull/2064) - Slim down NPM package, thanks [Valentin Agachi](https://github.com/avaly) - [see PR](https://github.com/JedWatson/react-select/pull/2062) - Update contributing doc, thanks [Gregg Brewster](https://github.com/greggb) - [see PR](https://github.com/JedWatson/react-select/pull/2059) - strip proptypes in production build (fixes #1882), thanks [Jochen Berger](https://github.com/jochenberger) - [see PR](https://github.com/JedWatson/react-select/pull/2003) - Support Webpack 2, Webpack 3, rollup., thanks [Matthew Schnee](https://github.com/mschnee) - [see PR](https://github.com/JedWatson/react-select/pull/2020) - Add missing semicolon, thanks [jochenberger](https://github.com/jochenberger) - [see PR](https://github.com/JedWatson/react-select/pull/2018) - autofocus --> autoFocus, thanks [Charles Lee](https://github.com/gwyneplaine) - [see PR](https://github.com/JedWatson/react-select/pull/2002) - Async> cache async response regardless of req order, thanks [Timothy Hwang](https://github.com/timhwang21) - [see PR](https://github.com/JedWatson/react-select/pull/2012) - Make this work in preact., thanks [liaoxuezhi](https://github.com/2betop) - [see PR](https://github.com/JedWatson/react-select/pull/2013) - Correct release candidate version on README, thanks [Damon Aw](https://github.com/daemonsy) - [see PR](https://github.com/JedWatson/react-select/pull/2017) - Fix test name, thanks [jochenberger](https://github.com/jochenberger) - [see PR](https://github.com/JedWatson/react-select/pull/2005) - Fixing css states to be scoped with Select selector, closes #1951., thanks [Adam Girton](https://github.com/agirton) - [see PR](https://github.com/JedWatson/react-select/pull/2000) - fix typo, thanks [jochenberger](https://github.com/jochenberger) - [see PR](https://github.com/JedWatson/react-select/pull/1999) ## v1.0.0-rc.10 / 2017-09-13 - changed; `openAfterFocus` prop has been renamed to `openOnClick`, and now defaults to `true` - fixed; React.PropTypes deprecation warning, thanks [Jeremy Liberman](https://github.com/MrLeebo) - improved; scrolling behaviour when navigating the menu with the keyboard, thanks [boatkorachal](https://github.com/boatkorachal) - fixed; error with the `Async` cache when you type `"hasOwnProperty"`, thanks [SuhushinAS](https://github.com/SuhushinAS) ## v1.0.0-rc.9 / 2017-09-13 - fixed; clearable padding style, thanks [Minori Miyauchi](https://github.com/mmiyauchi) - fixed; removed use of `Object.assign`, fixes IE compatibility - added; new `closeOnSelect` prop (defaults to `true`) that controls whether the menu is closed when an option is selected, thanks to [Michael Elgar](https://github.com/melgar) for the original idea - changed; by default, the menu for multi-selects now closes when an option is selected - changed; `Async` component no longer always clears options when one is selected (although the menu is now closed by default). Use `closeOnSelect={false} onSelectResetsInput={false}` to leave the menu open. - fixed; `Async` component always called `onChange` even when it wasn't provided - fixed; input lag for the `Async` component when results are returned from cache - fixed; required was not being updated without an onChange handler - fixed; peer dependencies for `prop-types`, thanks [Michaël De Boey](https://github.com/MichaelDeBoey) - fixed; internal optimisations, thanks [Kieran Boyle](https://github.com/dysfunc) - added; `Value` component is now exported, thanks [Prof Gra](https://github.com/Grahack) - fixed; callback fired after `Async` component unmounts, thanks [Andrew Russell](https://github.com/DeadHeadRussell) - fixed; wrapping on Firefox in SCSS files, thanks [Michael Williamson](https://github.com/mwilliamson) ## v1.0.0-rc.8 / 2017-09-12 - fixed; `onMenuScrollToBottom` does not work in chrome 58.0, thanks [Simon Hartcher](https://github.com/deevus) - fixed; missing es6 module build for `js:next` entrypoint - updated; `react-input-autosize@2.0.0` including several fixes for react-select (see [changes](https://github.com/JedWatson/react-input-autosize/blob/master/HISTORY.md)) ## v1.0.0-rc.7 / 2017-09-11 - fixed; issue with `lib` build preventing use in ES2015 environments ## v1.0.0-rc.6 / 2017-09-10 - fixed; changing `required` prop from `true` to `false` now works as expected, thanks [George Karagkiaouris](https://github.com/karaggeorge) - added; new prop `onSelectResetsInput` controls whether the input value is cleared when options are selected, thanks [David Roeca](https://github.com/davidroeca) and [Alexander Nosov](https://github.com/nosovsh) - fixed; tabindex parent bug fix for Edge, thanks [George Payne](https://github.com/George-A-Payne) - fixed; update selectize link in README.md, thanks [kerumen](https://github.com/kerumen) - added; standard issue template, thanks [agirton](https://github.com/agirton) - added; new build process using rollup and webpack. Removed grunt. thanks [gwyneplaine](https://github.com/gwyneplaine) - fixed; updated contributor docs with the correct node version reference [gwyneplaine](https://github.com/gwyneplaine) - fixed; missing method binds in Option, thanks [agirton](https://github.com/agirton) - fixed; converted components to use es6 classes, thanks [jochenberger](https://github.com/jochenberger) - fixed; console.log example in usage docs, thanks [rohmanhm](https://github.com/rohmanhm) - fixed; hide create option after closing menu, thanks [andreme](https://github.com/andreme) - fixed; remove circular reference, thanks [agirton](https://github.com/agirton) - fixed; readme typo, thanks [ieldanr](https:/github.com/ieldanr) - fixed; add missing function binds in Option component, thanks [agirton](https://github.com/agirton) and [blacktemplar](https://github.com/blacktemplar) - fixed; re-added fix to [#1580](https://github.com/JedWatson/react-select/issues/1580), thanks [agirton](https://github.com/agirton) - fixed; avoid mutating user inputs when ignoring case/accents, thanks [not-an-aardvark](https://github.com/not-an-aardvark) - fixed; issues synchronising options props in `Async`, thanks [cbergmiller](https://github.com/cbergmiller) - fixed; backspace handling for non-multi select controls, thanks [Jeremy Liberman](https://github.com/MrLeebo) ## v1.0.0-rc.5 / 2017-05-25 - fixed; Allow `falsey` values to be clearable, thanks [Simon Gaestel](https://github.com/sgaestel) - fixed; issue where Firefox would crash due to incorrect use of `aria-owns` attribute, thanks [Max Hubenthal](https://github.com/mhubenthal) - fixed; regression where options not using the value key couldn't be focused, thanks [Benjamin Piouffle](https://github.com/Betree) ## v1.0.0-rc.4 / 2017-05-14 - fixed; no more warning when using React 15.5, thanks [Adam Girton](https://github.com/agirton) - fixed; issue comparing objects in `getFocusableOptionIndex`, thanks [rndm2](https://github.com/rndm2) - fixed; missing .focus() method in `Creatable`, thanks [Anton Alexandrenok](https://github.com/the-spyke) - added; support for `aria-describedby` attribute, thanks [Eric Lee](https://github.com/ericj17) - added; `.is-clearable` className when clearable is true, thanks [Dan Diaz](https://github.com/dan-diaz) ## v1.0.0-rc.3 / 2017-02-01 - added; `arrowRenderer` prop, thanks [Brian Vaughn](https://github.com/bvaughn) - added; child-function support to `Async` and `Creatable` components so that they can compose each other (or future HOCs), thanks [Brian Vaughn](https://github.com/bvaughn) - added; `asyncCreatable` HOC that combines `Async` and `Creatable` so they can be used together, thanks [Brian Vaughn](https://github.com/bvaughn) - added; undocumented arguments for `menuRenderer`, thanks [Julian Krispel-Samsel](https://github.com/juliankrispel) - fixed; Do not focus and open menu when disabled, thanks [nhducit](https://github.com/nhducit) - fixed; Scrolling with arrow-keys is not working correctly, thanks [Damian Pieczynski](https://github.com/piecyk) - added; "select all text" functionality `Shift+Home|Del`, thanks [Damian Pieczynski](https://github.com/piecyk) - added; support for `boolean` values, thanks [Aaron Hardy](https://github.com/Aaronius) - fixed; Remove duplicated `promptTextCreator` field from readme, thanks [Jih-Chi Lee](https://github.com/jihchi) - fixed; Adding back ref that was removed in rc2, thanks [Martin Jujou](https://github.com/jooj123) - fixed; `Creatable` component doesn't allow input key down handling, thanks [Ivan Leonenko](https://github.com/IvanLeonenko) - added; Allow react nodes to be passed as loadingPlaceholder, thanks [Daniel Heath](https://github.com/DanielHeath) - fixed; IE8 compatibility issues, thanks [Kirill Mesnyankin](https://github.com/strayiker) - improved; Allow users to specify noResultsText, thanks [Daniel Heath](https://github.com/DanielHeath) - added; Only remove options if a loading placeholder is available, thanks [Daniel Heath](https://github.com/DanielHeath) - fixed; firefox display items in two rows due to reflow, thanks [Daniel Heath](https://github.com/DanielHeath) - fixed; `Creatable` readme typo, thanks [Ben](https://github.com/rockingskier) - fixed; explain way to implement `allowCreate` functionality with `Creatable` to readme, thanks [mayerwin](https://github.com/mayerwin) - added; delete key removes an item when there is no input, thanks [forum-is](https://github.com/forum-is) - added; `onNewOptionClick` handler for `Creatable`, thanks [Lee Siong Chan](https://github.com/leesiongchan) - fixed; `onInputChange` consistent for `Creatable`, thanks [Lee Siong Chan](https://github.com/leesiongchan) - fixed; `menuRenderer` is treated consistently between `Creatable` and `Select`, thanks [Brian Vaughn](https://github.com/bvaughn) - fixed; `asyncCreatable` options parsing will not parse undefined values into props, thanks [Romain Dardour](https://github.com/unity) - added; pass `inputProps` to `inputRenderer`, thanks [Alec Winograd](https://github.com/awinograd) - fixed; no exception when clearing an Async field that is not set to multi, thanks [Patrik Stutz](https://github.com/VanCoding) - added; allow rendering a custom clear component, thanks [Conor Hastings](https://github.com/conorhastings) - fixed; document `ignoreAccents`, thanks [Domenico Matteo](https://github.com/dmatteo) - fixed; arrowing up or down in `Select` with 0 options does not throw type error, thanks [Alex Howard](https://github.com/thezanke) - fixed; `Creatable` handles null children prop, thanks [Jack Coulter](https://github.com/jscinoz) - added; provide `isOpen` to arrowRenderer, thanks [Kuan](https://github.com/khankuan) - fixed; re-added the `focus()` method on `Select.Async`, thanks, [Maarten Claes](https://github.com/mcls) - fixed; focus the next available option after a selection, not the top option, thanks [Nicolas Raynaud](https://github.com/nraynaud) Note there has also been a breaking change to the props for the `Async` component: both `minimumInput` and `searchingText` have been removed. See #1226 for more details. Apologies for doing this in an RC release, but we had to trade off between resolving some important bugs and breaking the API, and figured it was better to do this before declaring 1.0.0 stable. ## v1.0.0-rc.1 / 2016-09-04 - fixed; reset value to `[]` when `multi=true`, thanks [Michael Williamson](https://github.com/mwilliamson) - added; pass index to `renderLabel` method, thanks [nhducit](https://github.com/nhducit) - fixed; uncontrolled to controlled component warning in React 15.3 - fixed; props cleanup, thanks [Forbes Lindesay](https://github.com/ForbesLindesay) - fixed; issue where a value of the number `0` would be assumed to be no value, thanks [Hanwen Cheng](https://github.com/hanwencheng) - fixed; internal refs converted to callbacks instead of strings, thanks [Johnny Nguyen](https://github.com/gojohnnygo) - added; optional `instanceId` prop for server-side rendering, thanks [Jevin Anderson](https://github.com/JevinAnderson) - added; `onCloseResetsInput` prop, thanks [Frankie](https://github.com/frankievx) - added; `Creatable` component, replaces pre-1.0 `allowCreate` prop, thanks [Brian Vaughn](https://github.com/bvaughn) ## v1.0.0-beta14 / 2016-07-17 - fixed; `react-input-autosize` has been udpated to `1.1.0`, which includes fixes for the new warnings that React 15.2 logs - fixed; "Unknown prop `inputClassName` on