Minor Changes
-
minor
@sitecore-content-sdk/reactdependency update:-
Add locale and facet support to search package and React hooks
-
SearchParametersnow accepts an optionallocalefield for multi-locale index configurations -
SearchParametersnow accepts an optionalfacetfield (FacetRequest) to request facet counts and filter by facet values -
SearchResponsenow includes an optionalfacetsfield (FacetResult[]) with facet data when requested -
Six new public types exported from
@sitecore-content-sdk/search:FacetRequest,FacetField,FacetFilter,FacetFilterOperator,FacetValue,FacetResult -
useSearchanduseInfiniteSearchhooks in@sitecore-content-sdk/reactupdated to support the newlocaleandfacetoptions and exposefacetsin the returned state (ce89722)
-
-
minor
@sitecore-content-sdk/searchdependency update:-
Add locale and facet support to search package and React hooks
-
SearchParametersnow accepts an optionallocalefield for multi-locale index configurations -
SearchParametersnow accepts an optionalfacetfield (FacetRequest) to request facet counts and filter by facet values -
SearchResponsenow includes an optionalfacetsfield (FacetResult[]) with facet data when requested -
Six new public types exported from
@sitecore-content-sdk/search:FacetRequest,FacetField,FacetFilter,FacetFilterOperator,FacetValue,FacetResult -
useSearchanduseInfiniteSearchhooks in@sitecore-content-sdk/reactupdated to support the newlocaleandfacetoptions and exposefacetsin the returned state (ce89722)
-
Patch Changes
- [SXA Redirects] Refactor redirects logic to be reusable across frameworks (6f8e423)
- [SXA Redirects] Ensure locales are compared case-insensitively (6f8e423)
- [App router] Locale always attached on redirect when
isLanguagePreservedis true, request URL does not have locale prefix and redirect does not change locale. Adds new behavior controlled byappLocalePrefixsetting values passed into redirect proxy: (6563736)always: prefix every locale, including the site default.as-needed: prefix only non-default locales; the site default stays bare. This holds even forisLanguagePreservedrules.never: never include locale prefix- unset: behave as
as-needed, EXCEPT thatisLanguagePreservedfrom redirect map's checkbox would always ensure locale prefix, when set (Sitecore logic takes precedence).
- Redirect Proxy not matching encoded URLs with unicode characters in Redirect Map (6563736)