Skip to content

Releases: nystudio107/craft-similar

5.0.2

20 Jun 20:44
Compare
Choose a tag to compare

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) (#50)

4.0.2

20 Jun 20:43
Compare
Choose a tag to compare

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) (#50)

1.1.7

20 Jun 20:42
Compare
Choose a tag to compare

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) (#50)

5.0.1

19 Jun 16:56
Compare
Choose a tag to compare

Fixed

  • Filter out OrderByPlaceholderExpression expressions from the orderBy clause in the ElementQuery to prevent invalid SQL from being generated (#51) (#52)
  • Fixed a SQLSTATE[42S22]: Column not found: 1054 Unknown column 'content.id' in 'group statement' error on Craft 5 (#51)

5.0.0

28 Apr 21:20
Compare
Choose a tag to compare

Added

  • Stable release for Craft CMS 5

4.0.1

28 Apr 21:19
Compare
Choose a tag to compare

Added

  • Added ServicesTrait for the plugin service component registration
  • Add phpstan and ecs code linting
  • Add code-analysis.yaml GitHub action

Changed

  • Updated docs to use node 20 & a new sitemap plugin
  • PHPstan code cleanup
  • ECS code cleanup

Fixed

  • Fixed an issue where an exception would be thrown if orderBy was null (#49)

1.1.6

28 Apr 21:18
Compare
Choose a tag to compare

Added

  • Added ServicesTrait for the plugin service component registration
  • Add phpstan and ecs code linting
  • Add code-analysis.yaml GitHub action

Changed

  • Updated docs to use node 20 & a new sitemap plugin
  • PHPstan code cleanup
  • ECS code cleanup

Fixed

  • Fixed an issue where an exception would be thrown if orderBy was null (#49)

Version 4.0.0

09 May 17:39
Compare
Choose a tag to compare

Added

  • Initial Craft CMS 4 release

Fixed

  • Fixed an issue where passing an ElementQuery into criteria would cause it to throw a type error (#44)

Version 4.0.0-beta.1

16 Mar 02:37
Compare
Choose a tag to compare

Added

  • Initial Craft CMS 4 compatibility

Version 1.1.5

03 Jun 13:36
Compare
Choose a tag to compare

Changed

  • If orderBy criteria is omitted, entries are now sorted by the number of relations in common. (#35)
  • Switch to VitePress for documentation
  • Updated Makefile to use node-14-alpine