Skip to content

Releases: sajari/sdk-react

v2.0.0

10 Jul 11:47
Compare
Choose a tag to compare
  • Complete rewrite in Typescript
  • New documentation, see here

v1.5.1

20 Feb 07:30
Compare
Choose a tag to compare

Result summary now uses commas (or periods etc depending on locale) to split large numbers for readability.

When the response is cleared all current inflight search requests are discarded. Fixes a bug where results would show up after a user had cleared the search box.

v1.5.0

06 Dec 00:49
Compare
Choose a tag to compare

URLs are now decoded before being rendered.

PDF, DOC, DOCX, XML urls now show a filetype icon in results.

The <input> element in AutocompleteDropdown is now wrapped to allow further UI customisation through pseudo elements.

Error messages from the Sajari JS SDK are now logged to the console and presented to the user instead of a generic "An error has occurred" message. 403s are handled separately and show a friendly message to help devs/integrators.

Query time summary is now truncated to 1 significant decimal figure.

Upgraded dependencies

v1.4.0

10 Oct 03:16
Compare
Choose a tag to compare

Added autocomplete-dropdown example.

Added components:

  • AutocompleteDropdown
  • AutocompleteDropdownBase
  • AutocompleteDropdownRenderer
  • AutocompleteSuggestion
  • AutocompleteSuggestions

Added classnames internal helper.

Renamed css classes:

  • sj-search-input-holder-outer -> sj-search-holder-outer
  • sj-search-input-holder-inner -> sj-search-holder-inner

Changed search box style to have rounded corners and be full width instead of fixed.

Fixed bug in Input component causing it to always search on keypress.

v1.3.6

20 Sep 04:54
Compare
Choose a tag to compare

Renamed NoneTracking to NoTracking.

v1.3.5

20 Sep 00:50
Compare
Choose a tag to compare

Added NoneTracking type.

v1.3.4

20 Aug 23:44
Compare
Choose a tag to compare

Fixed a bug in analytics caused by empty q value.

Fixed analytics using a string method not available in older browsers.

Fixed a spelling mistake in the Results component when displaying an error status.

v1.3.3

20 Aug 23:32
Compare
Choose a tag to compare

Fixed custom tracking:

  • previously when adding custom tracking, the field name was being ignored

v1.3.0

02 Aug 08:40
Compare
Choose a tag to compare

Refactored Pipeline.search:

  • Changed type of first argument from Values to plain Object (key-value pairs).
  • Removed tracking argument.

Added new Tracking and ClickTracking classes to setup click-tracking in requests and handle tracking/click-tracking events.

Added Analytics adaptor which listens for Tracking and Pipeline events and consolidates them into analytics events which can be used to directly report behaviour to analytics systems.

Added GoogleAnalytics class which converts Analytics events into calls to Google Analytics, now enabled by default, but will only send events if GA is enabled on the page hosting your app.

Added DebugAnalytics class which logs analytics events to the console.

Added preliminary tests for all components.

Added eslint to build.

v1.2.1

01 Aug 08:23
Compare
Choose a tag to compare

Fixes event errors when using TabFacet and DebugFacet.