Skip to content

Releases: ericgio/react-bootstrap-typeahead

v7.0.0-rc.4

05 Feb 02:00
Compare
Choose a tag to compare
v7.0.0-rc.4 Pre-release
Pre-release

Features

  • Export core components from root file. You can now use core functionality like useTypeahead and TypeaheadContext 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

04 Feb 18:47
Compare
Choose a tag to compare
v7.0.0-rc.3 Pre-release
Pre-release

Breaking Changes

  • Explicitly pass onItemSelect to MenuItem. 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

02 Feb 10:32
Compare
Choose a tag to compare
v7.0.0-rc.2 Pre-release
Pre-release

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

30 Jan 21:00
Compare
Choose a tag to compare
v7.0.0-rc.1 Pre-release
Pre-release

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

29 Jan 08:55
Compare
Choose a tag to compare

Feature Requests

  • Add support for React 19 (#866)

Internal

  • Add types for warning package
  • Add useRootClose hook, remove react-overlays dependency
  • Replace PopperJS/React-Popper with Floating UI (Thanks @printfn!)

Documentation

  • Default example page to BS 5.x

v6.3.4

30 Nov 06:21
Compare
Choose a tag to compare

Bug Fixes

  • Fix disabled items still selectable via hint (#835, #865)

v6.3.3

28 Nov 22:12
Compare
Choose a tag to compare

Bug Fixes

Documentation

  • make it clearer that isValid and isInvalid work for 5 too by @perryn in #861

New Contributors

Full Changelog: v6.3.2...v6.3.3

v6.3.2

31 Oct 22:13
Compare
Choose a tag to compare

Bug Fixes

  • Strip Japanese combining diacritics (#806, #807, Thanks @laug!)

Internal

  • Update .tsconfig
  • Bump a couple dependencies

v6.3.1

21 Oct 05:44
Compare
Choose a tag to compare

Bug Fixes

  • Fix loader showing by default [#828]

v6.3.0

20 Oct 20:49
Compare
Choose a tag to compare

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