Skip to content

Commit

Permalink
Merge branch 'release/4.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
janhenckens committed Jul 15, 2024
2 parents 2da479a + 05af7f6 commit db9e31a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 0 additions & 2 deletions src/Scout.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,6 @@ function (ElementEvent $event) {
function (ElementEvent $event) {
if (!Scout::$plugin->getSettings()->indexRelations) {
$this->beforeDeleteRelated = new Collection();

return;
}

/** @var SearchableBehavior $element */
Expand Down
1 change: 0 additions & 1 deletion src/jobs/MakeSearchable.php
Original file line number Diff line number Diff line change
Expand Up @@ -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”',
Expand Down

0 comments on commit db9e31a

Please sign in to comment.