Breaking Changes
Please see the migration guide for more details on breaking changes and how to upgrade from v5 to v6.
- Drop support for IE11
- Upgrade react-popper/popperjs to v2 (#549)
- Don't allow refs to be passed via
inputProps
- Introduced
selectHint
as a top-level prop. RemovedshouldSelectHint
from lower-level components. RemovedselectHintOnEnter
prop. - Remove
asyncContainer
,menutItemContainer
, andtokenContainer
functions - Removed
'large'
and'small'
as valid values from thesize
prop
Feature Requests
- Convert library to Typescript (#619)
- Support Bootstrap 5
- Allow better control of multi-select placeholder (#684)
Bug Fixes
- Fix aux controls overlapping with validation (#658)
- Strip diacritics from non-latin alphabets (#659, #660)
- Only fire
onFocus
event once (#665) - Trigger change handler when clicking clear button in multi-select mode (#666, #672)
- Get rid of console warnings in examples
- Ignore helper file from test coverage
- Fix act warnings in tests
- Don't pass option object to token
- Fix click forwarding on multi-select input (#695)
- Fix filter callback return type (#702) (Thanks @povder!)
- Remove @emotion/core types after running yarn (#705) (Thanks @DASPRiD!)
- Fix bug when filtering with
labelKey
function (#714) - Fix multi-input disabled styles (#718)
- Copy font-weight to hintNode (#719)
- Upgrade react-overlays (#717, #721) (Thanks @charlesroelli!)
Internal + Documentation
- Replace Travis w/Github Actions
- Use Prettier
- Incorporate Storybook and add Chromatic integration
- Upgrade dependencies
- Use
key
instead ofkeyCode
for keyboard events - Convert
Highlighter
to function component - Add instructions for BS5 CSS
- Added breaking changes to the migration guide
- Added Storybook stories for each component
- Updated Jest config/setup
- Use rem for CSS
- Convert
withClassNames
HoC to a simple function - Use
sass.compile
instead ofsass.render
- Remove rollup-plugin-size-snapshot
- Use PrismJS as a module
- Add invariant types
- Convert examples to TS
- Add example for keeping the menu open during multi-selection