Version 5.0.1

August 5, 2024

Fixed

  • Ignore replica indeces with indexing (#304)

Version 5.0.0

July 18, 2024

Added

  • Finalized Craft 5 support
  • Added support for multiple element types in 1 index (docs)

Version 5.0.0-beta.1

March 23, 2024
  • Updated Fractal to 0.20. (#292)

Version 5.0.0-alpha.1

December 20, 2023

Added

  • Initial Craft 5 support

Version 4.0.0

March 18, 2024
  • Updated Fractal to 0.20. (#292)

Version 3.4.1

March 18, 2024

Added

  • Added version constraint to prevent installation with craftcms/element-api

Version 3.4.0

March 15, 2024

Added

  • Related element types are now configurable (#273)

Version 3.3.3

March 1, 2024

Fixed

  • Fixed an issues with updating and deleting split elements (#259 & #281)
  • Fixed an error in DeindexElementJob

Version 3.3.3-beta.2

February 13, 2024

Fixed

  • Fixed missing deletion of orphans of split elements (#259)

Version 3.3.3-beta.1

December 6, 2023

Fixed

  • This beta release is a first try at resolving an issue with deindexing of element not working properly. (#281)

Version 3.3.2

November 15, 2023

Fixed

  • Fixed an error on the Control Panel Utility page (#284)
  • Fixed an error when saving elements without a site property (#285)

Version 3.3.1

November 8, 2023

Added

  • Added AfterIndexImport event, which fires after the ImportIndex job has finished. (#283)

    Fixed

  • Deindexing now also takes the correct siteId into account (#281)

Version 3.3.0

October 23, 2023

Added

  • Added support for creating and configuring replica indexes (#275, thanks @johnnynotsolucky!)

    Fixed

  • Fixed an error on the utility page when an index included multiple sites (#276)
  • Fixed an issue where saving an element would not update it from the correct site (#266)

Version 3.2.1

September 22, 2023

Fixed

  • This fixes an issue where we default to the primary site when no site id is supplied through index settings.

Version 3.2.0

September 16, 2023

Added

  • This release adds lazy loading of the index's criteria function, to try and migigate "behaviour not found" errors (#268)

Version 3.1.3

September 10, 2023

Fixed

  • Indexing jobs now run for every site (#266)
  • Use priority & ttr settings for all queue jobs (#271)
  • Updated license to be MIT everywhere (#272)
  • Fixed tests (#263)

Version 3.1.2

June 9, 2023

Fixed

  • Fixed missing return types in IndexElement & DeIndexElement jobs

Version 3.1.1

June 8, 2023

Added

  • Futher improvements to prevent scout from being initialized before Craft is ready (#262)

Version 3.1.0

February 15, 2023

Added

  • Scout now requires craft 4.3.5 (see #249)

Fixed

  • Fixed an issue where Element querries would fire before Scout was loaded (#249)
  • Fixed a UI issue with button spacing on the utility screen (#245)

Version 3.0.0

May 3, 2022

Added

  • Craft 4 🚀

Version 3.0.0-beta.1

March 2, 2022

Added

  • Craft CMS 4 compatibility

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