Skip to content

2.0.0

Choose a tag to compare

@chrispenny chrispenny released this 06 Nov 00:24
· 14 commits to main since this release
1ebe7fc

What's Changed

  • Breaking: Interface changes for SearchService. New spelling suggestion feature by @chrispenny in #21

Breaking changes (summary)

  • Suggestions result object now returns an array of Field objects instead of an array of string
    • This will not affect you if you only use Suggestions in your Silverstripe templates (as Field already has a forTemplate() method available that should get used instead)
    • This will affect you if you have PHP logic that loops through the suggestions returned
  • Configuration name search-analytics has been renamed to discoverer-analytics
    • This will affect you if you have (for example) added custom yaml config that calls After: 'search-analytics'
  • SearchServiceAdaptor interface has been replaced by separate interfaces for each search function
    • This will affect you if you had implemented a bespoke adaptor to replace one that is being provided by a plugin module
    • This will affect you if you manage a plugin module for Discoverer

Full Changelog: 1.2.0...2.0.0