npm / downshift
downshift
What changed in downshift 4 to 9, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
16 breaking3 new APIs and options4 behavior and defaults12 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initdownshift 913 changes
New APIs and options 2
Adds support for CommonJS and ES module extensions.
Adds the useTagGroup hook.
Behavior and default changes 1
Adds a blur source when clicking outside, allowing stateReducer to handle that source.
Fixes and other changes 10
useMouseAndTouchTracker now uses passive event listeners.
Fixes compatibility with the React Compiler.
Removes an added check from the migration for getHighlightedIndexOnOpen.
Fixes a regression involving disabled being removed from the spread.
Action props are brought back, restoring their availability to developers using the hooks.
Improves the fix for the webpack analyzer.
Prevents a Webpack static analysis issue involving useId.
The mouse tracker hook was improved.
Element ids are updated when related props change.
Elements are read directly from refs instead of stale values in a closure.
downshift 87 changes
Breaking changes 6
The disabled prop passed to getItemProps has been removed; using it produces a console warning. Use isItemDisabled instead.
Getter prop return types are no longer any; they reflect returned defaults and user-provided arguments. Some Downshift getter values also changed from null to undefined.
useCombobox and useSelect now accept isItemDisabled to mark menu items as disabled, removing them from navigation and preventing selection.
Input focus no longer changes state; input clicks toggle the menu instead, aligning the default behavior with the ARIA combobox 1.2 recommendation.
Added as the state change type for input clicks, replacing InputFocus.
Removed because input focus no longer triggers a state change.
Fixes and other changes 1
The environment TypeScript type now contains Node, and propTypes reflect the properties Downshift requires from environment.
downshift 71 changes
Breaking changes 1
Updated to adhere to version 1.2 of the ARIA Combobox pattern.
downshift 65 changes
Breaking changes 3
In useSelect and useCombobox, selectedItem, defaultSelectedItem, and initialSelectedItem now have the Item | null type instead of Item.
Closing the menu using mouse or touch no longer selects an item highlighted by keyboard; selection on blur happens only with Tab or Shift+Tab.
Escape closes an open menu; when the menu is closed, Escape clears the selected item and input value if either is set.
New APIs and options 1
Change handlers now receive
typein their parameters, and TypeScript typings reflect it; onStateChange typings were also updated.
Fixes and other changes 1
The item parameter can now be null in useSelect and useCombobox, and in Downshift; useMultipleSelection remains unchanged.
downshift 57 changes
Breaking changes 4
The shared interface for accessibility message functions; use it instead of the removed useSelect- and useCombobox-specific options types.
Removed from state change types and TypeScript typings; use FunctionSetInputValue with an empty inputValue in stateReducer instead.
Use resultCount instead of items in useSelect and useCombobox accessibility message functions.
Removed; use A11yStatusMessageOptions instead.
Behavior and default changes 3
Focus management is improved for useSelect and useCombobox.
In useSelect, this action is used after the timeout for keeping character keys in memory expires; its inputValue is an empty string.
Marked optional in the TypeScript typings for the shared accessibility message function props.
downshift 42 changes
Breaking changes 2
TypeScript typings changed for Downshift; see the PR for details.
TypeScript typings changed for useSelect; see the PR for details.