Skip to content

Releases: ericgio/react-bootstrap-typeahead

v6.0.0-alpha.1

08 Oct 19:49
Compare
Choose a tag to compare
v6.0.0-alpha.1 Pre-release
Pre-release

Breaking Changes

  • Don't allow refs to be passed via inputProps
  • Remove selectHintOnEnter prop
  • Drop support for IE11
  • Remove asyncContainer, menutItemContainer, and tokenContainer functions

Bug Fixes

  • Strip diacritics from non-latin alphabets (#659, #660)

Feature Requests

  • Convert to Typescript (#619)

Internal

  • Replace Travis w/Github Actions
  • Use key instead of keyCode for keyboard events
  • Use Prettier

v5.2.0

09 Jul 08:49
Compare
Choose a tag to compare

Bug fixes

  • Up contrast on hint to meet a11y standards (#638)
  • Fix onClick not being applied when passed via inputProps (#616)
  • Prevent clicks on multi-input from bubbling to container (#615, #650)
  • Trigger onInputChange when clicking the clear button (#594)

Feature Requests

  • Add BS5 .visually-hidden classname (#622)
  • Allow changing colors via SCSS variables (#613; Thanks @Teyras!)
  • Don't override href passed to MenuItem (#649)

Internal & Documentation

  • Improve example a11y
  • Upgrade dependencies
  • Migrate to React Testing Library

v5.1.4

19 Jan 07:37
Compare
Choose a tag to compare

Upgrade dependencies and remove an unused package

v5.1.3

07 Dec 19:46
Compare
Choose a tag to compare
  • Add toggleMenu to public methods example
  • Use sass package instead of node-sass (#599, Thanks @Guymestef!)
  • Fix broken link in docs (#596)

v5.1.2

16 Oct 17:51
Compare
Choose a tag to compare

Bug Fixes

  • Prevent menu click/mousedown from blurring the menu (#579)
  • Prevent browser back navigation when ClearButton is focused (#580)

Internal + Docs

  • Update filterBy in AsyncExample.js (#578 Thanks @ET-CS!)
  • Update dependencies

v5.1.1

09 Aug 22:03
Compare
Choose a tag to compare

Internal

  • Upgrade dependencies, including some vulnerabilities
  • Update a bunch of documentation

v5.1.0

26 Jun 08:36
Compare
Choose a tag to compare

This release consists primarily of bug fixes in the useAsync hook. As part of that, there is a small backwards-compatible change to the API, hence a minor release. The delay prop in AsyncTypeahead can now be updated, whereas before it could only be set during the initial mount.

Bug Fixes

  • Fix useAsync bugs (#561)

Internal, Docs, + Examples

  • Use Fragment in example
  • Add hooks linter and fix issues

v5.0.0

23 Jun 04:07
Compare
Choose a tag to compare

v5.0 is a fairly extensive rewrite that brings the library more up-to-date with all the changes that React has introduced in the past year or so. Deprecated lifecycles and functions are finally gone; many components were rewritten with hooks, some of which have been exposed as part of the public API to make customization easier or more flexible. This version also drops official support for Bootstrap 3.

Breaking Changes

Please see the upgrade guide for more details on migrating from v4 to v5.

  • React >= 16.8 is required
  • Drop official support for Bootstrap 3
  • Remove remaining references to findDOMNode (#415)
  • Remove hintContainer and replaced with Hint component
  • bsSize prop has been renamed to size (deprecated in v4.2)
  • Remove getInstance (deprecated in v4.2)
  • Increase specificity for multi-select component

Deprecations

  • asyncContainer, menuItemContainer, and tokenContainer deprecated; renamed to withAsync, withItem, and withToken, respectively.
  • selectHintOnEnter prop deprecated; use shouldSelect prop on Hint component or shouldSelectHint prop on TypeaheadInputSingle & TypeaheadInputMulti

Enhancements

  • New useAsync, useItem, and useToken hooks
  • Expose shouldSelectHint prop on input components
  • useHint hook + callback for customizing hint selection (#330)

Internal + Documentation

  • Remove UNSAFE_componentWillReceiveProps (#415)
  • Remove BS3 code from examples
  • Update dependencies
  • Update react-overlays and add RootClose shim component (#415)
  • Move RootClose component to main Typeahead file
  • Remove extraneous type definition
  • Rename and reorganize some files
  • Improve test coverage
  • Update documentation

v5.0.0-rc.3

02 Jun 08:59
Compare
Choose a tag to compare
v5.0.0-rc.3 Pre-release
Pre-release

Features

  • Add useAsync & useToken hooks
  • asyncContainer, menuItemContainer, and tokenContainer HOCs deprecated in favor of withAsync, withItem, and withToken

Internal + Documentation

  • Drop .react extension from filenames
  • Update docs to reflect new features
  • Reshuffle some files

v5.0.0-rc.2

31 May 19:23
Compare
Choose a tag to compare
v5.0.0-rc.2 Pre-release
Pre-release

Features

  • Expose shouldSelectHint prop on input components (TypeaheadInputSingle + TypeaheadInputMulti)

Internal + Documentation

  • Update dependencies
  • Update renderInput documentation
  • Clarify and expand shouldSelect documentation
  • Remove hintContainer and add useItem to docs
  • Remove bsSize from docs