Skip to content

Latest commit

 

History

History
55 lines (47 loc) · 2.7 KB

BREAKING-CHANGES.md

File metadata and controls

55 lines (47 loc) · 2.7 KB

Search Adapter Changelog

6.0.0

EX-3070 Remove prefix, multiSelectable, showUnselectedValues and add new template config inside the FacetConfig, now it's not possible to concatenate filters using OR.

EX-3253 Update @empathy/search-types to version 8.0.0-alpha.1 and @empathy/jest-utils to version 1.3.0.

EX-3253 Add new facet mapper EmpathyBooleanFilterMapper which maps selected, value, totalResults properties removed from EmpathyFilterMapper.

EX-3253 Renamed EmpathyNumberRangeFilter value map to range.

EX-3253 Modified facets from SearchResponse to make it optional.

EX-3302 Remove sortDirection parameter from SearchRequest.

5.0.0

EX-2413 Rename facetName and noTagFacetName by facetId and noTagFacetId respectively in the FacetConfig.prefix.

EX-2413 Replace DEPENDENCIES.ResponseMappers.filters by specific ones DEPENDENCIES.ResponseMappers.simpleFilter, DEPENDENCIES.ResponseMappers.hierarchicalFilter and DEPENDENCIES.ResponseMappers.numberRangeFilter.

EX-2413 Remove filterDeepness and facetName from FilterValueMapperParams interface. Now the facet name can be got from the filter as facetId property.

EX-2413 Replace filterModelName prop by modelName in the FacetConfig interface. Now it has the FacetModelName type.

4.0.0

EX-1837 Change next query mapper facets to be an array instead of an object.

EX-1641 Change default search endpoint from api{env}.empathybroker.com/search/v1/query/{instance}/search to api{env}.empathybroker.com/search/v1/query/{instance}/searchX

EX-1693 Update to @empathy/search-types version to 5.0.0

EX-1693 Remove EmpathyQueryHighlightingMapper. This logic should now be handled by components if needed

EX-1693 Remove id mapping in EmpathyNextQueryMapper. Use the query property if you need an id

EX-1693 Rename resultsFacets to facets and numFound to totalResults mappings in EmpathyNextQueryMapper

EX-1693 Rename term to query and numFound to totalResults mappings in EmpathyPartialResultMapper

EX-1693 Remove identifier.html mapping from EmpathyResultMapper. This property should be calculated in the component

EX-1693 Remove html mapping from EmpathySuggestionMapper. This property should be calculated in the component

EX-1693 Rename term to query mapping in EmpathySuggestionMapper

EX-1693 Change modelName mapping value from Suggestion to QuerySuggestion or PopularSearch in EmpathySuggestionMapper depending if the request had query or not

3.0.0

EX-1355 Removed preselected property

Rename SearchAdapter#getRecommendations to SearchAdapter#getTopRecommendations