Skip to content

Releases: ericgio/react-bootstrap-typeahead

v4.0.0-alpha.2

27 Feb 17:37

Choose a tag to compare

v4.0.0-alpha.2 Pre-release
Pre-release

Breaking Changes

  • Drop menuId in favor of id and make require it for a11y
  • Drop support for React < 15.3

Docs + Examples

  • Remove componentWillMount from examples
  • Use context API in examples
  • Fix example scrollspy

Internal

  • Re-organize file structure

v3.3.6

25 Feb 18:57

Choose a tag to compare

Bug Fixes

  • Fix AsyncTypeahead bugs and update tests (#417, #422)
  • Correctly update activeItem during pagination (#400)

Internal

  • Add lint:fix command

v3.3.5

21 Feb 08:23

Choose a tag to compare

Bug Fixes

  • Fix circular dependency (#424)

Enhancements + Feature Requests

  • Allow setting the input type (#421)

Docs + Examples

  • Update Methods.md (#420) (Thanks @miguelcg!)
  • Update issue templates and add pull request template
  • Don't publish example site for pre-release versions

v3.3.4

10 Feb 05:40

Choose a tag to compare

  • Roll back breaking change introduced in 5c94448
  • Remove unused eslint config

v4.0.0-alpha.1

09 Feb 01:48

Choose a tag to compare

v4.0.0-alpha.1 Pre-release
Pre-release

Breaking Changes

See the upgrade guide for more in-depth details:

  • Updates to Overlay API; use positionFixed prop instead of bodyContainer
  • Remove onMenuHide and onMenuShow; use onMenuToggle prop instead
  • Fix default for autoComplete attribute (#413)
  • Remove a11y announcer (a11yNumResults & a11yNumSelected)(#301, #321)
  • Remove componentWillReceiveProps from top-level container (#415)

Bug Fixes

  • Prepend menu id to menu item id for uniqueness

Enhancements + Feature Requests

  • Add renderInput prop and expose hintContainer (#316)

Internal

  • Refactor internals to move towards a more modular and declarative API
  • Create a core set of components for better modularity
  • Better separation of typeahead and rendering logic
  • Default examples to Bootstrap 4
  • Update lint rules

v3.3.3

07 Feb 18:23

Choose a tag to compare

Docs

  • Update Public Methods docs; add reference to getInput

Internal

  • Use class instead of stateless component in withContext (#416)

v3.3.2

01 Feb 09:59

Choose a tag to compare

Bug Fixes

Internal

  • Remove unused react-lifecycles-compat lib
  • Minor internal refactoring
  • Stricter linting

v3.3.1

28 Jan 17:59

Choose a tag to compare

Bug Fixes

  • Add missing create-react-context dependency

v3.3.0

24 Jan 22:16

Choose a tag to compare

Bug Fixes

  • Fix hint truncation (#404)
  • Fix example typo
  • Update menu when text changes to ensure correct positioning

Enhancements + Feature Requests

  • Add onMenuToggle, deprecate onMenuHide & onMenuShow
  • Warn when using selected without onChange
  • Add open and defaultOpen props to control menu visibility (#375, #325)

Internal

  • Use polyfilled lifecycles and remove deprecated ones
  • Use RootCloseWrapper instead of react-onclickoutside
  • Consolidate constants
  • Make input focus a condition for hint
  • Use new context API via polyfill
  • Convert shell scripts to node for cross-platform compatibility
  • Update dependencies

v3.2.4

02 Oct 06:37

Choose a tag to compare

Bug Fixes

  • Reset shownResults when input value changes (#382)

Internal

  • Use PureComponent in Highlighter to avoid unnecessary re-renders
  • Force node-sass rebuild in CI env
  • Upgrade dependencies
  • Fix console warning in test
  • Move logic for showing menu into util function