Releases: yext/answers-search-ui
Releases · yext/answers-search-ui
v1.9.0
Version 1.9.0
Changes
- The call to the
Master Switch API
which blocked theonReady
has been removed. (#1377) - A couple of performance optimizations were made to this SDK. This includes progressive rendering of child components, avoidance of unnecessary
cloneDeep
calls, and the removal of an extraneous, expensiveDOM.create
call. Note that the progressive rendering is opt-in. (#1397, #1411) - Code coverage reports of the SDK are now generated automatically. (#1409)
- The outdated
sample-app
was removed and the contents ofdocs
is now up-to-date. (#1420) - If an
addComponent
call fails, it no longer blocks subsequentaddComponent
calls. An error is simply printed to the console and the SDK attempts to render
the other components. (#1426) - The
Core
version was updated to support rich text featured snippets. (#1437)
Bug Fixes
v1.8.4
Version 1.8.3
Fixes
jsLibVersion
is now correctly sent in all network requests again (#1412).
Version 1.8.2
Version 1.8.1
Version 1.8.1
Bugfixes
- Fixed a bug that prevented the URL from being properly updated on page load and back navigation (#1381)
v1.8.0
Version 1.8.0
This release, a number of changes were made to the SDK. Some tech debt was addressed by changing the SDK to use both the answers-core
and answers-storage
libraries under the hood. Support for Boolean Facets, Document Search, and Pre-applying Facets and Filters via URL params was also added.
Changes
- We made improvements to better support Boolean facets out of the box. The values of
true
andfalse
are now properly capitalized and translated. (#1335, #1359) - The new
highlightedFields
attribute provided by Live API is now included on any applicableResult
. This attribute contains information on what highlighting to apply to a text field or sub-field. (#1277) - The SDK now relies on the
answers-core
library to perform autocomplete, search, and question submission. (#1333) - Internally, the SDK's storage was re-worked. It is now more streamlined and is powered by the
answers-storage
library. - We now distribute a
THIRD-PARTY-NOTICES
file with the SDK. This file contains the license information of all direct and indirect dependencies. (#1347) - A new configuration attribute was added for the
FacetsComponent
:transformFacets
. This attribute allows you to modify the facet and facet options returned by the back-end before they are rendered on the page. (#1344, #1346) - The
rtf-converter
dependency was upgraded to allowANSWERS.formatRichText
to support strike-through, superscripts, and subscripts. (#1378) - Facets and static filters are now correctly applied from the URL parameters on page load.
- An empty search is now allowed on Universal. Further, you can also specify an empty
defaultInitialSearch
for Universal. (#1312)
Bug Fixes
- The SDK now enters the
SEARCH_LOADING
state as soon as a search is initiated. Previously, this state was entered right before the API call was made. (#1364) - The performance of the
LocationBias
component was improved. Further, unwanted flashing of this component was removed. (#1365) - Outdated and vulnerable dependencies were updated. (#1345)
v1.7.4
v1.6.5
v1.5.8
Bug Fixes
- Added a unique identifier to each component. This prevents a bug that led to components being unnecessarily removed from the page during a re-render. (#1371)
- Updated the
rtf-converter
dependency to support the new Yext Markdown strike-through syntax. (#1370) - Fixed a styling bug that caused the search bar buttons to disappear on small screens. (#1243)
- When a spell check query suggestion is clicked, the proper
queryTrigger
is now sent. (#1230) - Fixed a small race condition that occurred when the
ANSWERS
instance was loaded
on the page before thetemplateBundle
. (#1305)
v1.4.10
Bug Fixes
- Added a unique identifier to each component. This prevents a bug that led to components being unnecessarily removed from the page during a re-render. (#1371)
- Updated the
rtf-converter
dependency to support the new Yext Markdown strike-through syntax. (#1370) - Fixed a styling bug that caused the search bar buttons to disappear on small screens. (#1243)
- When a spell check query suggestion is clicked, the proper
queryTrigger
is now sent. (#1230) - Fixed a small race condition that occurred when the
ANSWERS
instance was loaded
on the page before thetemplateBundle
. (#1305)