Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.

2.0.0

Compare
Choose a tag to compare
@spinach spinach released this 17 Jul 13:31
· 643 commits to master since this release

This new major release has been made to adapt this core library to the needs of the InstantSearch iOS library.

New Features

  • Add more extensibility to the Searcher result handler methods. This brings changes in the signature of the SearcherDelegate method and the searcher.resultHandlers:
    • For the SearcherDelegate: From searcher(_:didReceive:error:params:) to searcher(_:didReceive:error:userInfo:)
    • For the searcher.resultHandlers: From (results:error:) to (results:error:userInfo:)
  • Notifications sent when refinement changes through the RefinementChangeNotification notification name. You can use the userInfoNumericRefinementChangeKey and userInfoFacetRefinementChangeKey to listen to numeric and facet refinement changes.
  • FacetResults class added that can be used for searchForFacetValues
  • The Searcher now keeps the latest hits and results in its state
  • Add helper to reverse highlights in a text
  • Library's deployment iOS target moved from 9.3 to 8.0.