Skip to content

Version 1.5.3

Compare
Choose a tag to compare
@creotutar creotutar released this 18 Aug 18:37
· 584 commits to master since this release
55802a5

Changes

  • facets/filteroptions: replace state for facets on page load (#1020). When loading a page with facets, a browser history state is no longer pushed for every facet. A history state is only pushed on a change to the facets. This solved a bug where users would get "stuck" after entering a page with facets.
  • search: respect back navigation with empty search (#1022). When a user navigates back in browser history to a page without a query, the original state is preserved. That is, the results are hidden and no query is conducted.
  • alternativeverticals: update universal URL on context change (#1025). When a user calls ANSWERS.setContext, the universal results link in the AlternativeVerticals component (No Results) is updated to reflected the new context.
  • persistentstorage: Add replaceHistory as onStateChange param (#1027). To support implementations hoping to recreate SDK query param behavior, we add replaceHistory information to the onStateChange listener params.