Skip to content

Releases: algolia/instantsearch

v4.7.1

19 Aug 08:25
8e6a645
Compare
Choose a tag to compare

4.7.1 (2020-08-19)

Bug Fixes

  • configureRelatedItems: support nested attributes (#4480) (2266004)
  • connectToggleRefinement: fix onFacetValue/offFacetValue on render when using arrays for on/off (#4449) (fd3e83f)
  • index: don't show a development warning for inconsistent UI state in connectRange (#4440) (eb8c8b3), closes #4437
  • infiniteHits: work with controlled mode (#4435) (68b20f4)
  • typescript: correct dummy v4 client (#4459) (ca0c394)
  • typescript: jsDoc comments which conform to Connector definition (#4458) (5209bdb)
  • typescript: export correct types (#4476) (5fb4c5b)

v4.7.0

15 Jun 09:27
ada37ae
Compare
Choose a tag to compare

4.7.0 (2020-06-15)

Bug Fixes

  • rangeInput: clear input when refinement is cleared (#4429) (a2c7663)

Features

v4.6.0

08 Jun 09:15
0c75437
Compare
Choose a tag to compare

4.6.0 (2020-06-08)

Bug Fixes

  • connectPagination: set isLastPage to true when no results (#4422) (92bcc02)
  • rangeInput: support typing float numbers (#4418) (61b19b8)

Features

  • connectToggleRefinement: add support for array values (#4420) (fe1fbee)

v4.5.0

13 May 14:22
c0c0ab4
Compare
Choose a tag to compare

4.5.0 (2020-05-13)

Bug Fixes

  • middleware: subscribe middleware after init (#4322) (f61fc4d)

Features

  • index: support adding index widget with initial UI state (#4359) (5ff4c83)
  • voice: allow custom voice helper (#4363) (4a00fa6)

v4.4.1

29 Apr 15:11
56fcb8c
Compare
Choose a tag to compare

4.4.1 (2020-04-29)

Bug Fixes

v4.4.0

08 Apr 13:21
bae6ed2
Compare
Choose a tag to compare

4.4.0 (2020-04-08)

Features

  • introduce controlled mode APIs with onStateChange and setUiState (#4362) (4953324)

v4.3.1

06 Mar 10:16
b331cef
Compare
Choose a tag to compare

4.3.1 (2020-03-06)

This versions fixes a Cross-Site Scripting (XSS) vulnerability (#4344) when using the refinementList widget when relying on its default item template and routing. We recommend all users to upgrade to this version. We now escape the refinementList item template by default, which avoids HTML to be injected. If ever you were relying on this behavior, which we do not recommend, you can copy the previous item template into your widget.

You were not vulnerable to this XSS if:

Bug Fixes

v4.3.0

25 Feb 16:05
933d9ff
Compare
Choose a tag to compare

4.3.0 (2020-02-25)

Bug Fixes

Features

  • highlight: add cssClasses to snippet & highlight helper (#4306) (ece0aa6)

v4.2.0

23 Jan 15:34
e88cae5
Compare
Choose a tag to compare

4.2.0 (2020-01-23)

Features

  • algoliasearch: add support for algoliasearch v4 (#4294) (73f1584)
  • insights: add getInsightsAnonymousUserToken helper (#4279) (4653f95)

The perf game

04 Mar 13:21
@vvo vvo
Compare
Choose a tag to compare

Major highlights for this release:

  • All around performance improvements
  • Widgets are now collapsable
  • You can now use React templates
  • You can override the default search being done (= conditionally choose when to do a search)
  • Many small but annoying bug fixes

1.3.0 (2016-03-04)

Bug Fixes

  • browser support: make IE lte 10 work by fixing Object.getPrototypeOf (bbb264b
  • menu,refinementList: sort by count AND name to avoid reorders on refine (02fe7bf, closes #65
  • priceRanges: pass the bound refine to the form (ce2b956
  • searchBox: handle external updates of the query (6a0af14, closes #803
  • searchBox: stop setting the query twice (91270b2
  • searchBox: stop updating query at eachkeystroke with searchOnEnterKeyPressOnly (28dc4d2, closes #875
  • Slider: do not render Slider when range.min === range.max (f20274e
  • Template: now render() when templateKey changes (8906224
  • toggle: pass isRefined to toggleRefinement (8ac494e
  • url-sync: always decode incoming query string (bea38e3, closes #848
  • url-sync: handle href pages (e58aadc, closes #790

Features

  • collapsable widgets: add collapsable and collapsed option (c4df7c5
  • instantsearch: allow overriding the helper.search function (9a930e7
  • rangeSlider: allow passing min and max values (409295c, closes #858
  • searchBox: allow to pass a queryHook (5786a64
  • Template: allow template functions to return a React element (748077d
  • Template: allow template functions to return a React element (0f9296d

Performance Improvements

  • autoHideContainer: stop re-creating React components (8c89862
  • formatting numbers: stop using a default locale, use the system one (b056554
  • nouislider: upgrade nouislider, shaves some more ms (fefbe65
  • React: use babel optimisation option for React (95f940c
  • React, widgets: implement shouldComponentUpdate, reduce bind (5efaac1