Releases: ericgio/react-bootstrap-typeahead
Releases · ericgio/react-bootstrap-typeahead
v7.0.0-rc.4
Features
- Export core components from root file. You can now use core functionality like
useTypeahead
andTypeaheadContext
as part of the public API to build more and powerful typeaheads. - Update docs to reflect new menu item rendering
v7.0.0-rc.3
Breaking Changes
- Explicitly pass
onItemSelect
toMenuItem
. See the upgrade guide for more information.
Internal
- Consolidate types
- Move
emptyLabel
rendering out of useAsync - Move pagination out of
useTypeahead
- Remove children as prop from
useTypeahead
v7.0.0-rc.2
Features
- Expose
useOverlay
hook
Bug Fixes
- Fix example where toggling the
open
checkbox forced the menu to stay hidden
Internal
- Remove PropTypes
- Update types
- Move public hooks into /hooks dir
- Remove BS4 reference
- Skip flaky AsyncTypeahead test
- Remove TypeaheadManager & core/Typeahead
- Close menu on blur and stop using onRootClose
- Generalize internal API for more basic use cases
v7.0.0-rc.1
v7.0 introduces some major internal changes in an effort to move towards composable typeahead primitives instead of a monolithic, configurable component.
Breaking Changes
A few breaking changes were introduced. Please see the upgrade guide for more details.
- Use
gap
CSS property for multi-select input - Drop support for BS4
- Remove HOCs and move hooks
Bug Fixes
- Fix
MenuItem
stories not rendering correctly
Internal
useTypeahead
hook- Convert main Typeahead to functional component
- Add reducer to manage Typeahead state
- Use default params instead of
defaultProps
- Remove
RootClose
component - Remove
onActiveItemChange
- Remove
babel-plugin-transform-imports
- Convert scripts to modules
- Upgrade examples to use React 18
- Upgrade to Storybook 8.5
- Upgrade and clean up dependencies
v6.4.0
v6.3.4
v6.3.3
Bug Fixes
- Text hint fix by @Nathan-Roberts123 in #838
- Long option causes menu to open in wrong position issue by @Nathan-Roberts123 in #837
Documentation
New Contributors
- @perryn made their first contribution in #861
- @Nathan-Roberts123 made their first contribution in #838
Full Changelog: v6.3.2...v6.3.3
v6.3.2
v6.3.1
v6.3.0
Bug Fixes
- Remove defaultProps from Fn components [#823] (Thanks @HarrisonHemstreet!)
- don't skip options with a falsey disabled value [#819] (Thanks @dleavitt!)
- doc(API): fix typo [#820] (Thanks @wdh2100!)
- Update
scroll-into-view-if-needed
package and fix scroll behavior bug [#816]
Internal
- Require Node >=18 for development
- Drop CI testing on Node 14/16, add 18, 20
- Major upgrades for babel-loader, typescript-eslint, lint-staged, gh-pages, jest, prettier, rimraf pkg
- Update minor & patch dependencies