diff --git a/CHANGELOG.md b/CHANGELOG.md index 77b0539..22d2dca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## 4.1.1 - 2024-07-15 +### Fixed +- Removed debug log that tripped some Sentry loggers ([#312](https://github.com/studioespresso/craft-scout/issues/312)) +- Fixed an issue when using a replica index ([#303](https://github.com/studioespresso/craft-scout/issues/303) & [#304](https://github.com/studioespresso/craft-scout/pull/304)) +- Fix for elements not being de-indexed when indexRelations config is false and queue is enabled ([#307](https://github.com/studioespresso/craft-scout/pull/307)) + ## 4.1.0 - 2024-05-26 ### Added - This release adds support for combining multiple element types into 1 index. Thanks to @andrewmenich for the PR! ([#267](https://github.com/studioespresso/craft-scout/pull/267) && [#69](https://github.com/studioespresso/craft-scout/issues/69), [docs](https://github.com/studioespresso/craft-scout/tree/develop?tab=readme-ov-file#-getelementscallable-queries)) diff --git a/composer.json b/composer.json index c68ae47..0786d51 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "studioespresso/craft-scout", "description": "Craft Scout provides a simple solution for adding full-text search to your entries. Scout will automatically keep your search indexes in sync with your entries.", "type": "craft-plugin", - "version": "4.1.0", + "version": "4.1.1", "keywords": [ "craft", "cms", diff --git a/src/Scout.php b/src/Scout.php index 755fe54..6da206c 100644 --- a/src/Scout.php +++ b/src/Scout.php @@ -183,8 +183,6 @@ function (ElementEvent $event) { function (ElementEvent $event) { if (!Scout::$plugin->getSettings()->indexRelations) { $this->beforeDeleteRelated = new Collection(); - - return; } /** @var SearchableBehavior $element */ diff --git a/src/jobs/MakeSearchable.php b/src/jobs/MakeSearchable.php index 5caac85..bb01101 100644 --- a/src/jobs/MakeSearchable.php +++ b/src/jobs/MakeSearchable.php @@ -63,7 +63,6 @@ protected function defaultDescription(): string if(is_array($element)) { $element = end($element); } - \Craft::error(json_encode($element, JSON_PRETTY_PRINT)); return sprintf( 'Indexing ā€œ%sā€ in ā€œ%sā€',