Version 2.8.1

December 27, 2023

Fixed

  • This release takes the site's ID into account when updating and removing items from an index (#288)

Version 2.8.0

September 16, 2023
  • This release includes a bunch of performance improvements from PR's by @EpocSquadron (#171) and @aaronbushnell (#248)
  • Better checks to prevent crashes when "searchable" isn't defined (#262)
  • "lazy load" the index criteria (#269)

Version 2.8.0-beta.3

August 27, 2023
null

Version 2.8.0-beta.2

November 15, 2022
null

Version 2.8.0-beta.1

October 27, 2022
null

Version 2.7.2

March 22, 2022
null

Version 2.7.1

March 21, 2022

Added

  • `scout/index/import now optionally takes a --queue=1` parameter to run the import(s) through the queue instead running them straigt away.

Version 2.7.0

March 13, 2022

Added

  • Added a config setting to keep using the orginal object in case `splittedObjects` only contains 1 item. (#193 & #219, thanks @gregkohn)

Version 2.6.1

December 21, 2021

Fixed

  • MakeSearchable job now uses the index criteria (#177)
  • Disable relations on delete if so configured, should improve performance on larger installs (#227)

Version 2.6.0

December 6, 2021

Added

  • Added support for PHP 8.x
  • Added support for algolia/algoliasearch-client-php 3.x

Version 2.5.0

October 7, 2021

Added

  • Added `indexRelations` config setting (true by default) (#175 & #205)
  • Exposed options to update and dump index settings from the CP utility (#209)

Version 2.4.2

September 2, 2021

Added

  • Added ShouldBeSearchableEvent event, docs here (#205)

Version 2.4.1

August 13, 2021

Fixed

  • CP Utility now works for indexes using the wildcard selector for siteId (#163)
  • CP Utility labels are now translatable
  • Fixed compatibility with Craft Commerce (#178)

Version 2.3.1

June 16, 2020
  • Don't include indices in Settings::toArray() by default

Version 2.3.0

April 9, 2020
  • Remove pro requirement for Utility

Version 2.2.2

March 9, 2020
  • Allow tightenco/collect ^7.0

Version 2.2.1

March 1, 2020
  • Fix Fractal dependency to stay compatible with element-api

Version 2.2.0

March 1, 2020
  • Fix dependencies, now requires PHP >= 7.1

Version 2.1.4

January 3, 2020
  • Fix an issue where engine could be null - #121

Version 2.1.3

November 21, 2019
  • Fix queued indexing error

Version 2.1.2

November 20, 2019
  • Fix Index settings not being forwarded to replicas

Version 2.1.1

November 19, 2019
  • Don't use element as a prop, as it will get serialized with the whole class int the job queue.
  • Defer related element propagation to queue

Version 2.1.0

September 20, 2019
  • Use a custom Serializer for Fractal (thanks @santi6291)

Version 2.0.2

September 19, 2019
  • Fixed a type hinting issue

Version 2.0.1

September 17, 2019
  • Fixed a bug when using ->site('*') in your criteria, thanks @timkelty

Version 2.0.0

September 13, 2019

This is a major release, the way you configure Scout has been changed, please read the docs on how to upgrade.

  • Rewrite of the full plugin
  • Added tests for all functionality
  • Added a comprehensive syntax to configure the Indices
  • Added a settings page for all settings except Indices

Version 1.3.2

September 5, 2019
  • Resolve fractal conflict

Version 1.3.1

August 9, 2019
  • Fixed a bug when skipping elements when splitElementIndex is also set (#81)

Version 1.3.0

July 12, 2019
  • Now requires Craft 3.2
  • Added a fix for Element drafts & revisions in Craft 3.2

Version 1.2.3

June 14, 2019
  • Revert untested change

Version 1.2.2

June 14, 2019
  • Fixed an issue with settings call

Version 1.2.1

May 17, 2019

Added

  • Scout can now skip elements if you return an empty array from the transformer
  • Documented the --force option

Version 1.2.0

May 1, 2019

Changed

  • Scout now uses v2 of the Algolia API in the background. Nothing has changed in Scout usage.

Version 1.1.4

April 10, 2019

Added

  • search_api_key setting to model
  • Twig variables for accessing Algolia settings in front end templates

Changed

  • Normalised the mixture of quotes in the config example documentation

Version 1.1.3

February 27, 2019
  • Fixed a regression by the previous release when deleting elements would not deIndex them.

Version 1.1.2

February 13, 2019
  • Fixed an issue with deindexing elements, thanks @chrislam

Version 1.1.1

January 21, 2019
  • Fixes issue with console commands on Folder capitalization, thanks @philipzaengle

Version 1.1.0

December 3, 2018
  • Added an indexSettings option to mappings that allows for code-based index settings. Thanks to @timkelty
  • Added ./craft scout/settings/update and ./craft scout/settings/dump commands.

Version 1.0.2

November 23, 2018
  • Fixed validator int --> integer
  • Added siteId to splitElementIndex

Version 1.0.1

October 29, 2018

Fixed

  • cast site ids to int as craft/yii returns int as string (#39) @larsboldt
  • add connect timeout option (#38) @larsboldt
  • Replace call to deIndexElements with indexElements (#37)

Version 1.0.0

October 7, 2018

Fixed

  • Fixed an issue where objects weren't being deleted from the index
  • Fixed an issue where splitting indices on site or siteId wouldn't work

Added

  • Added a "refresh" command, thanks to @JorgeAnzola

Version 0.4.2

July 9, 2018

Fixed

  • Object IDs are now unique for multisites

Version 0.4.1

May 1, 2018

Added

  • Added a sync setting to enable/disable automatic indexing of elements.

Version 0.4.0

April 17, 2018

Version 0.3.0

March 12, 2018

Changed

  • Changed how the queueing of indexing works to prevent errors and inconsistencies

Version 0.2.8

February 28, 2018

Fixed

  • Fixed an error when trying to serialize an Entry that cannot be serialized

Version 0.2.7

February 27, 2017

Changed

  • Updated the League/Fractal requirement to match that of Element API to avoid conflicts

Version 0.2.4

December 12, 2017

Added

  • Craft Scout now listens to Category events to determine if it needs to reindex elements

Version 0.2.1

December 12, 2017

Added

  • A new icon!

Version 0.2.0

December 12, 2017

Added

  • Console commands to flush & import indexes

    Changed

  • Index filtering is now based on criteria instead of a function

Version 0.1.1

December 12, 2017

Added

  • Move indexing to jobs

Version 0.1.0

December 11, 2017

Added

  • Initial release