Skip to content

v2.0.0

Compare
Choose a tag to compare
@yen-tt yen-tt released this 08 Sep 21:08
· 41 commits to main since this release
addb3a7

Version 2.0.0

Breaking Changes

  • Upgraded search-headless dependency to V2. This means re-exported interfaces related to static filters and direct answers stems from search-headless V1 have been changed or removed in headless-react V2.
  • SearchHeadlessProvider now takes in a SearchHeadless instance instead of a SearchConfig object. SearchHeadlessProvider will also no longer set vertical key, session tracking, and session id for the SearchHeadless instance. Users will need to create and initialize a Headless instance themselves. For more context, this change is made to prevent potential memory leaks, per Redux's recommendation that redux store (i.e. SearchHeadless instance) should not be instantiated within a render function. (#156)
  • All exports marked as @deprecated in previous publish as part of the rebranding process, as well as subscribeToStateUpdates, is now removed in V2 (#153 )