Skip to content

Releases: yext/search-headless-react

v2.4.1

19 Sep 19:37
49b9a89
Compare
Choose a tag to compare

Version 2.4.1

Changes

  • Updates search-headless package version to support CloudChoice functionality

v2.4.0

08 Dec 19:09
b48346f
Compare
Choose a tag to compare

Version 2.4.0

Changes

  • Added support for document verticals (#191)
  • Added compatibility with PagesJS v1 (#190)

Fixes

  • Upgraded @babel/traverse version to address a vulnerability in the package (#194)

v2.3.2

13 Sep 19:35
99c3358
Compare
Choose a tag to compare

Bug fixes

  • Remove "type": "module" from the package.json file due to issues with various integrations

v2.3.0

29 Jun 16:29
d6bd840
Compare
Choose a tag to compare

Version 2.3.0

Features

Bump search-core and search-headless versions to 2.4.0 which introduce support for Markdown, RichText_v2 (Lexical), and HTML featured snippets

v2.2.0

10 May 15:46
26a2d90
Compare
Choose a tag to compare

Version 2.2.0

Changes

Support the EU Cloud region

  • We introduced two new configuration options: cloudRegion and environment. The search endpoints are hosted in both the US and in Europe, and the cloudRegion config option determines which endpoints are used. The environment config option supports both Prod and Sandbox. The SandboxEndpoints object is now deprecated, and the environment config option should be used instead to specify the sandbox environment.

v2.1.0

15 Nov 14:14
04477aa
Compare
Choose a tag to compare

Version 2.1.0

Changes

  • Base TS Config file was renamed. (#164)

Fixes

  • Dependency vulnerabilities were remediated. (#163, #165)

v2.0.1

08 Nov 16:08
fb10f62
Compare
Choose a tag to compare

Version 2.0.1

Bug Fixes

  • Address security vulnerabilities in @xmldom/xmldom (#165)

v2.0.0

08 Sep 21:08
addb3a7
Compare
Choose a tag to compare

Version 2.0.0

Breaking Changes

  • Upgraded search-headless dependency to V2. This means re-exported interfaces related to static filters and direct answers stems from search-headless V1 have been changed or removed in headless-react V2.
  • SearchHeadlessProvider now takes in a SearchHeadless instance instead of a SearchConfig object. SearchHeadlessProvider will also no longer set vertical key, session tracking, and session id for the SearchHeadless instance. Users will need to create and initialize a Headless instance themselves. For more context, this change is made to prevent potential memory leaks, per Redux's recommendation that redux store (i.e. SearchHeadless instance) should not be instantiated within a render function. (#156)
  • All exports marked as @deprecated in previous publish as part of the rebranding process, as well as subscribeToStateUpdates, is now removed in V2 (#153 )

v1.4.0

27 Jul 17:32
233b24f
Compare
Choose a tag to compare

Version 1.4.0

Changes

  • Updated to the latest version of search-headless (v1.4.0) to introduce new features in search-core.

v1.3.0

19 Jul 18:36
85df100
Compare
Choose a tag to compare

Version 1.3.0

@yext/answers-headless-react is now @yext/search-headless-react! This means that much of the answers terminology is now deprecated and have been replaced by new search terms.

Changes

  • The following identifiers were renamed in (#143):
    • AnswersHeadlessContextSearchHeadlessContext
    • AnswersActionsSearchActions
    • AnswersUtilitiesSearchUtilities
    • useAnswersActionsuseSearchActions
    • useAnswersStateuseSearchState
    • useAnswersUtilitiesuseSearchUtilities
    • AnswersHeadlessProviderSearchHeadlessProvider
  • Additionally, direct exports from what was previously @yext/answers-headless have been replaced by their @yext/search-headless counterparts:
    • answersUtilitiessearchUtilities
    • provideAnswersHeadlessprovideHeadless
    • AnswersHeadlessSearchHeadless
    • AnswersConfigSearchConfig
    • AnswersConfigWithTokenSearchConfigWithToken
    • AnswersConfigWithApiKeySearchConfigWithApiKey
    • AnswersCoreSearchCore
    • AnswersErrorSearchError
    • AnswersRequestSearchRequest
    • BaseAnswersConfigBaseSearchConfig
  • Finally, subscribeToStateUpdates was deprecated in (#142)