v1.3.0
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):
AnswersHeadlessContext
→SearchHeadlessContext
AnswersActions
→SearchActions
AnswersUtilities
→SearchUtilities
useAnswersActions
→useSearchActions
useAnswersState
→useSearchState
useAnswersUtilities
→useSearchUtilities
AnswersHeadlessProvider
→SearchHeadlessProvider
- Additionally, direct exports from what was previously
@yext/answers-headless
have been replaced by their@yext/search-headless
counterparts:answersUtilities
→searchUtilities
provideAnswersHeadless
→provideHeadless
AnswersHeadless
→SearchHeadless
AnswersConfig
→SearchConfig
AnswersConfigWithToken
→SearchConfigWithToken
AnswersConfigWithApiKey
→SearchConfigWithApiKey
AnswersCore
→SearchCore
AnswersError
→SearchError
AnswersRequest
→SearchRequest
BaseAnswersConfig
→BaseSearchConfig
- Finally,
subscribeToStateUpdates
was deprecated in (#142)