diff --git a/CHANGELOG.md b/CHANGELOG.md index 12a269b..49a46ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Similar Changelog +## 4.0.2 - 2024.06.20 +### Fixed +* Fixed an issue where `toArray()` was done recursively on the passed in `$critera`, which turned objects into sub-arrays in `orderBy` and other properties, causing a DB error ([#51](https://github.com/nystudio107/craft-similar/issues/51)) ([#50](https://github.com/nystudio107/craft-similar/issues/50)) + ## 4.0.1 - 2024.04.28 ### Added * Added `ServicesTrait` for the plugin service component registration diff --git a/composer.json b/composer.json index 2925396..386ca69 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "nystudio107/craft-similar", "description": "Similar for Craft lets you find elements, Entries, Categories, Commerce Products, etc, that are similar, based on... other related elements.", "type": "craft-plugin", - "version": "4.0.1", + "version": "4.0.2", "keywords": [ "craft", "cms",