Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Latest commit

 

History

History
262 lines (193 loc) · 9.34 KB

CHANGELOG.md

File metadata and controls

262 lines (193 loc) · 9.34 KB

CHANGELOG

We try to follow http://keepachangelog.com/ recommendations for easier to update & more readable change logs.

(add items here for easier creation of next log entry)

1.8.1 - 2018-02-11

Fixed

  • Prevent menu from closing prematurely on mobile (#308)
  • Fix for up-arrow not working after props.isItemSelectable was added (#315)

1.8.0 - 2018-02-04

Added

  • props.isItemSelectable which allows rendering items that will not function as selectable items, but instead as static information/decoration elements such as headers (thanks to @rssteffey with help from @rmcauley) (#241)

1.7.3 - 2018-02-04

Fixed

  • Release focus-lock when user uses Enter to close menu (thanks to @Fralleee for discovering this edge case) (#304)

1.7.2 - 2017-10-8

Changed

  • Include React v16 in peer-dependency version range (#280)

1.7.1 - 2017-08-20

Fixed

  • Do not select an item on Enter keypress when keyCode is not 13 (#201)

1.7.0 - 2017-08-20

Added

  • props.selectOnBlur to select any highlighted item on blur (#251)

1.6.0 - 2017-08-19

Added

  • props.renderInput to allow custom <input> components (#247)

1.5.10 - 2017-07-20

Fixed

  • Make setState updaters compatible with preact-compat (#258)

1.5.9 - 2017-06-16

Fixed

  • Reworked focus management to be more consistent and handle edge cases (async focus, input out of viewport, etc., read more in #153, #246, #222, & #240)

1.5.8 - 2017-06-16

Fixed

  • Ensure top match is highlighted even if props.items arrive out of order (async) (#249)

1.5.7 - 2017-06-14

Changed

  • Improve auto highlight logic, reduces render count and fixes some edge cases
  • Make props.debug only show renders relating to the current instance

1.5.6 - 2017-06-01

Fixed

  • Include prop-types in UMD build, fixes an unintentional breaking change introduced in 1.5.5

1.5.5 - 2017-05-29

Fixed

  • Replace deprecated React.PropTypes with prop-types module (#232)
  • Replace deprecated React.createClass with class syntax (#232)

1.5.4 - 2017-05-25

Fixed

  • Delay re-focus until all actions have been processed (#240)

1.5.3 - 2017-05-14

Fixed

  • Prevent menu from closing when interacting with scrollbar in IE (#211, #222)

1.5.2 - 2017-05-11

Fixed

  • Prevent onFocus and onBlur when selecting an item (#229)

1.5.1 - 2017-04-27

Fixed

  • Remove logic that selected highlighted item on input click. This was no longer desired after typeahead was removed.

1.5.0 - 2017-04-23

Added

  • Public imperative API which can be used to perform actions such as focus, blur, set selection range, etc

1.4.4 - 2017-04-16

Fixed

  • Prevent highlighted selection from being cleared when pressing keys that don't modify input.value (e.g. ctrl, alt, left/right arrows, etc)

1.4.3 - 2017-04-16

Fixed

  • Ensure menu positions are set when specifying props.open

1.4.2 - 2017-04-02

Fixed

  • Workaround for "Cannot read property 'ownerDocument' of null"

1.4.1 - 2017-03-16

Fixed

  • Add missing aria-expanded attribute

1.4.0 - 2016-11-07

Added

  • Add all event handlers specified in props.inputProps to <input>

1.3.1 - 2016-08-01

Changed

  • Re-publish without node_modules and coverage included in tarball

1.3.0 - 2016-08-01

Added

  • props.open to manually control when the menu is open/closed (#163)
  • props.onMenuVisibilityChange callback that is invoked every time the menu is opened/closed by Autocomplete's internal logic. Pairs well with props.open for granulated control over the menu's visibility (#163)

Removed

  • bower.json has been removed from the repo

1.2.1 - 2016-08-09

Fixed

  • build/package.json incorrectly stated 1.1.0 for the version, a quick rebuild and patch version publish got these back in sync.

1.2.0 - 2016-08-09

Added

  • props.autoHighlight to toggle automatic highlighting of top match (see #146 & #159)

Fixed

  • Bug which prevented menu from closing properly in IE (see #153)
  • .babelrc presets were causing 1 user(s) to not be able to run tests locally with Jest

1.1.0 - 2016-08-02

Added

  • Ability to return custom components from renderMenu/renderItem (see #127)
  • Added missing propTypes
  • Jest for testing (replaces mocha/isparta)
  • eslint consuming the rackt config

Fixed

  • Custom Menu Example (#81)
  • Bug causing menu to close immediately when clicking into input (#84)
  • Bug referencing this.state.value (has since been moved to props)
  • Reset highlightedIndex when it's outside items.length (#139)
  • Removed typeahead behavior for improved mobile functionality (#40, #111, #152)

Updated

  • rackt-cli (#131, #51, #107)
  • repo urls (#114)
  • Jest ignore rules & configurations

1.0.1 - 2016-06-26


  • Fixed compatibility issues with React 15.x, removed use of previously deprecated APIs

v1.0.0 - 17 June 2016

  • Additional failing tests fixed, pre-publish build with 1.0.0 changes

v1.0.0-rc6 - 5 June 2016

  • Updated propTypes for several props being used but not included here
  • Several issues and fixes from #68, #84, #92, #93, #103, #104, #106
  • Actually built the build/dist files and included them in the publish

v1.0.0-rc5 - 5 June 2016

  • Dependencies clean up (removed duplicates and large lodash dependency)
  • Demoted React to peerDependency

v1.0.0-rc3 - 25 May 2016

  • Removed lodash dependency, reducing overall package size
  • Removed iternally rendered <label>, deprecating labelText prop

v1.0.0-rc2 - 31 Mar 2016

  • Fixed a blocking issues for IE 11 users, detailed in #80
  • Added wrapperProps and wrapperStyle props that are passed to the <Autocomplete />'s root HTML wrapper. (via #91)

v1.0.0-rc1 - 31 Mar 2016

  • Updated this component to no longer use internal state for retaining value, this is prop driven now.
  • The version number 1.0.0-rc1 is an unforunate coincidence, We're only bumping this as it introduces breaking changes.
  • Other outstanding PRs may be merged in to the the final release so we can break several things at once (now that we have tests of course)

v0.2.1 - 10 Mar 2016

  • Added unit tests (thanks @ryanalane)
  • Updated README.md

v0.1.4 - Wed, 12 Aug 2015 20:22:13 GMT

v0.1.3 - Wed, 12 Aug 2015 20:16:46 GMT

v0.1.2 - Wed, 12 Aug 2015 19:36:38 GMT

  • 34b185b [fixed] incorrect style merging

v0.1.1 - Wed, 12 Aug 2015 19:34:11 GMT

  • fd23644 [fixed] left-over console.log :|

v0.1.0 - Wed, 12 Aug 2015 19:22:26 GMT