Releases: yext/search-headless
Releases · yext/search-headless
v2.5.2
v2.5.1
v2.5.0
v2.4.0
v2.3.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.
- Update the Search Core version which introduces inputIntents to the AutocompleteResponse
v2.2.0
v2.1.0
v2.0.0
Version 2.0.0
Breaking Changes
- Re-exported all modified and newly added direct answer related interfaces from search-core V2. (#131 #133 #136 )
- More details of the changes are listed in search-core v2 release notes
- Restructured static filters state to allow user to store more complex combination of static filters as well as field value filters.
SelectableFilter
interface is replaced withSelectableStaticFilter
, which uses the newStaticFilter
interface from search-core V2. The static filters state now accepts an array ofSelectableStaticFilter
. (#130 ) - All exports marked as
@deprecated
in previous version(s) as part of a rebranding process is now removed in V2 (#132 )- for more details, the removed deprecated identifiers are listed in v1.3 release notes
v1.4.0
Version 1.4.0
Changes
- Upgraded to the latest version of
search-core
matchedSubstrings
fromspellCheck
is now accessible in state (#126)- An array of objects with properties
offset
andlength
that represent the matching substrings between theoriginalQuery
and thecorrectedQuery
- An array of objects with properties
v1.3.0
Version 1.3.0
@yext/answers-headless
is now @yext/search-headless
! 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 (#116):
answersUtilities
→searchUtilities
provideAnswersHeadless
→provideHeadless
AnswersHeadless
→SearchHeadless
- Additionally, direct exports from what was previously
@yext/answers-core
have been replaced by their@yext/search-core
counterparts:AnswersConfig
→SearchConfig
AnswersConfigWithToken
→SearchConfigWithToken
AnswersConfigWithApiKey
→SearchConfigWithApiKey
AnswersCore
→SearchCore
AnswersError
→SearchError
AnswersRequest
→SearchRequest
BaseAnswersConfig
→BaseSearchConfig