Skip to content

Latest commit

 

History

History
378 lines (181 loc) · 15 KB

CHANGELOG.md

File metadata and controls

378 lines (181 loc) · 15 KB

2.1.0 (2017-01-11)

Bug Fixes

  • Do not use setState to save timer instance. (3709fdb6)

Features

  • changed to use reacts internal shallowCompare func (c66051d5)
  • add blur() (d16c61)
  • Added ARIA attributes to whitelist (5cb3f9a6)
  • label: add BEM class to geosuggest label (fb79f34e)
  • style:
    • allow custom hidden list class and active item class (57338753)
    • Allow adding custom classes to the suggest list and suggest item (ed69df6c)

2.0.1

Bug Fixes

  • refactor: changed to use reacts internal shallowCompare

2.0.0 (2016-10-07)

Bug Fixes

Features

  • Geosuggest: render label if id and label text where supplied (e2cbfc86)
  • prop-types: add label prop types (0345d63b)

1.25.1 (2016-09-23)

Bug Fixes

  • package: Specify addon as peer dependency (7be701c1)

Breaking Changes

  • react-addons-shallow-compare is now a peer dependency, meaning users must install it separately from react-geosuggest.

The peer dependency for react allows one to use either react 0.14 or 0.15. However, the dependency for react-addons-shallow-compare only allows 0.15 versions. For anyone using react 0.14 this causes warnings from npm saying that the peer dependency for react 0.15 (specified by react-addons-shallow-compare) is missing. This completely breaks workflows depending on npm shrinkwrap.

(7be701c1)

1.25.0 (2016-08-19)

Bug Fixes

  • Geosuggest: allow enter key events to propagate if suggestions are hidden (f993c6bc, closes #184)

Features

  • Geosuggest: pass on mouse and clipboard events (7dc64566, closes #182)
  • Geosuggest: Add a loading class on suggest loading (685812b7

1.24.1 (2016-06-21)

Bug Fixes

  • Geosuggest: fix server side rendering (428dedd8, closes #172)

1.24.0 (2016-06-21)

Bug Fixes

  • Geosuggest:
    • fix autoActivateFirstSuggest prop (f4409f7e)
    • Unset activeSuggest on blur and when not in suggestion list anymore (08ea143e)
    • Hide the suggest list when the result set is empty (6f23dc0e)
    • GeoCode fixtures if no location is provided (67ec4e5b)
    • Set autoComplete='off' and remove autoComplete option (33763dd9, closes #136)
    • initialise Google Maps in componentWillMount instead of componentDidMount (2f326427, closes #130)
  • example: add Google Maps API key (9c3c6d25, closes #107)
  • package:
    • add test cases and src/*.js to linter (61e3d08b)
    • add src/*.js to light-server watch list (68432ec1)

Features

  • on-blur: return current user input (e88eda42)
  • add support for inline styles (935fc71c)
  • Input obeys ignoreTab (5987f05b)
  • add queryDelay parameter (9daff3ac)
  • add onSuggestNoResults callback function (f51cacc0)

1.23.0 (2016-05-19)

Bug Fixes

  • Bug fix for IE 10, 'this' is not defined in the constructor function. We need to access the props directly from the argument. (2dca2727)

Features

  • Geosuggest: add onActivateSuggest event (ab2fc049)

1.22.0 (2016-04-26)

Features

  • Geosuggest:

1.21.0 (2016-04-15)

Features

1.20.1 (2016-04-06)

Bug Fixes

  • always add wrappers to input and suggests (91d1f4fb)

1.20.0 (2016-04-06)

Bug Fixes

  • example: switch to ES6 imports thanks to Babel bug (b5a066b8, closes #112)

Features

  • Add wrapper options and add them to example and README ( 4b9f9c7)

1.19.0 (2016-03-11)

Bug Fixes

  • remove isMounted antipattern (b347e9a3, closes #71)
  • Add className option for fixtures (880fe77)

Features

1.18.1 (2016-02-11)

Bug Fixes

  • input: use corrected list of allowed input attributes (d623c65c)
  • make classnames a real dependency (1fd93dd)

1.18.0 (2016-02-10)

Features

1.17.0 (2016-02-10)

Bug Fixes

  • Handle null value for Google suggestions (cfd84ad)

Features

  • add focus() to focus on the element (11c08af5)

1.16.1 (2016-02-07)

Bug Fixes

1.16.0 (2016-02-05)

Bug Fixes

  • autofocus -> autoFocus (7f9daa0)
  • use ignoreBlur flag to avoid hiding suggests when clicking one (4fa6bd2)
  • Escape user input for regex to avoid Exception (95b01ba)

Features

  • Use labelId instead of address to get the geocode (f95d2a3)

1.15.1 (2016-01-18)

Bug Fixes

1.15.0 (2016-01-18)

Features

  • allow all standard input type attributes (a43c388c, closes #80)

1.14.0 (2016-01-04)

Bug Fixes

  • check whether component is still mounted after timeout (67972d08, closes #71)
  • "use strict"; no longer throws errors if google cannot be loaded (d8c97c0)

Features

  • Add property for input class name. (c43b91a)

1.13.0 (2015-10-29)

Features

  • Remove defaults for search radius and location (17f0bf0)

1.12.0 (2015-10-22)

Bug Fixes

  • doc comments, backward compatible changes (96cca392)
  • add copy css in build module (bb988a1c)
  • googleMaps object moved out of props and set in componentDidMount (955812df)

1.11.1 (2015-10-12)

Bug Fixes

1.11.0 (2015-10-12)

Features

  • bump peer dependency react to 0.14.0 (dc39828e)
  • input: auto activate first suggest (d1429b86)

1.10.0 (2015-09-29)

Bug Fixes

  • prevent form submit on enter press (dda86a12, closes #49)

Features

  • add skipSuggest to not show certain suggestions (6da568d5
  • add getSuggestLabel to define a custom label (5103598
  • input: add disabled prop to disable (7100d43e

1.9.1 (2015-09-25)

Bug Fixes

  • Fix issue if the initialValue changes (b739b5c9)
  • Build fixes so dist/ works with a global window.React (9b5e4369)

1.9.0 (2015-09-09)

Features

  • input: add onChange callbacks (e6555ad

1.8.0 (2015-09-01)

Features

  • input: add method to change the value of the user input (44d86f5

1.7.0 (2015-08-19)

Features

  • suggests: add individual fixture classNames (01b0e8a

1.6.0 (2015-08-12)

Features

  • input: add bounds, country and types params (00a84866, closes #20)

1.5.0 (2015-08-12)

Features

  • input:

    • add clear method to geosuggest (2d38a40
    • add onFocus and onBlur callbacks (5051bc4
  • example: add onFocus and onBlur demo (88cf7f88)

1.4.3 (2015-07-29)

Bug Fixes

  • example: remove drop_console option from uglify (e8e16112)

1.4.2 (2015-07-29)

Bug Fixes

  • build: fix build for npm (6475372)

1.4.1 (2015-07-21)

Bug Fixes

1.4.0 (2015-07-20)

Bug Fixes

  • input: allow continuous editing (62e83cce, closes #12)

Features