Update dependency downshift to v5
Created by: renovate[bot]
This PR contains the following updates:
Package | Type | Update | New value | References | Sourcegraph |
---|---|---|---|---|---|
downshift | dependencies | major | ^5.2.2 | source |
Release Notes
downshift-js/downshift
v5.2.2
Bug Fixes
v5.2.1
Bug Fixes
v5.2.0
Features
v5.1.1
Bug Fixes
-
useMultipleSelection: replace item with selectedItem in typings for
getSelectedItemProps
(#1002) (5ad8864)
v5.1.0
Features
v5.0.7
Bug Fixes
v5.0.6
Bug Fixes
v5.0.5
Bug Fixes
v5.0.4
Bug Fixes
v5.0.3
Bug Fixes
v5.0.2
Bug Fixes
v5.0.1
Bug Fixes
v5.0.0
BREAKING CHANGES
- Removed
FunctionClearKeysSoFar
from state change types and TS typings. In useSelect, once the timeout for keeping the character keys in memory has expired,FunctionSetInputValue
will be used. We are doing this as we are renamingkeysSoFar
withinputValue
.
To migrate to the new change, simply check for FunctionSetInputValue
with empty string as inputValue
instead of checking for FunctionClearKeysSoFar
in stateReducer
.
- Both
getA11yStatusMessage
andgetA11ySelectionMessage
will be called with the same props as thegetA11yStatusMessage
in<Downshift>
, apart frompreviousResultCount
. In the TS typings it's now marked as optional, and all functions have the same interface definition,A11yStatusMessageOptions
.
To migrate to the new changes, in useSelect
and useCombobox
, if you used items
as parameters in any of the a11y message functions, now you should use resultCount
as probably you only needed items.length
from it anyway.
Also typings UseSelectA11yMessageOptions
and UseComboboxA11yMessageOptions
have been removed. Use A11yStatusMessageOptions
instead.
Code Changes: tests have been enhanced by using user input
from RTL
and they now look better and cleaner. Also covered more use cases better. Code has been refactored as well, and bundle size slightly reduced.
Functional Improvement: better focus management for both useSelect
and useCombobox
.
Fixes #832. Closes #892 Closes #891 Closes #873
v4.1.0
Features
v4.0.11
Bug Fixes
v4.0.10
Bug Fixes
v4.0.9
Bug Fixes
v4.0.8
Bug Fixes
v4.0.7
Bug Fixes
v4.0.6
Bug Fixes
v4.0.5
Bug Fixes
v4.0.4
Bug Fixes
v4.0.3
Bug Fixes
- release: manually release a patch version #887 (4fab769)
- typings: useCombobox prop getters' options (#876) (176fef8)
v4.0.2
Bug Fixes
v4.0.1
Bug Fixes
v4.0.0
Bug Fixes
Features
- release 4.0.0 (#812) (#857) (1a11745), closes #748
- release 4.0.0 (#860) (bb699ea), closes #812 #748
BREAKING CHANGES
-
release: TypeScript typings have changed for both
useSelect
andDownshift
. See PR for details.
Renovate configuration
-
If you want to rebase/retry this PR, check this box
This PR has been generated by WhiteSource Renovate. View repository job log here.