Changelog

2.0.21 2026-04-29

Fixed

  • Fix an error when saving plugin settings and structure information not persisting.

2.0.20 2026-02-07

Fixed

  • Fix return types for hasDownVoted and hasUpVoted functions.

2.0.19 2025-07-18

Fixed

  • Fix lack of handling for database column type for field.
  • Fix an error when editing another users’ comment in some instances.

2.0.18 2025-04-17

Changed

  • Improve performance of sidebar list of owner elements for large sites when viewing comments in the control panel.

Fixed

  • Fix an error when eager loading owner and user for comments.

2.0.17 2025-03-05

Added

  • Add support for notificationAdmins to be a Closure.

Fixed

  • Fix an issue creating comments for long URLs.
  • Fix incorrect Unauthorized error caused by checking against random user.

2.0.16 2025-02-03

Fixed

  • Fix the isFlagged element query not working correctly.

2.0.15 2024-10-20

Fixed

  • Fix an error when calling craft.comments.renderJs().

2.0.14 2024-10-03

Changed

  • Change JSON payload for comment when creating a comment from the front-end.

Fixed

  • Fix an error where it was possible to change the commenter email/name to an invalid value.

2.0.13 2024-07-21

Added

  • Add author email to sidebar when editing a comment in the control panel.
  • Add “Comments Order By” plugin setting to control the direction of comments.

Changed

  • Update English translations.
  • Update non-English translations.

2.0.12 2024-04-10

Fixed

  • Fix an error when selecting a “Placeholder Avatar” asset.

2.0.11 2024-03-04

Fixed

  • Fix some email message translation keys.
  • Fix order of operations when uninstalling the plugin.
  • Fix Emoji support and stripping out some valid special characters for comments.

2.0.10 2024-01-06

Added

  • Add “Exclude Moderator Comments” plugin setting to allow moderator comments to be excluded from moderation.
  • Add “Moderator Edited Notifications” plugin setting to notify moderators when a comment is edited.

Fixed

  • Fix element index not dislaying some characters correctly for comments.
  • Fix manually rendering JS not firing correctly in some instances.
  • Fix max comments for user check for multi-site installs.
  • Fix JS errors when no comment form is available (due to permissions).

2.0.9 2023-12-03

Added

  • Add action for Comments to determine state of saving or deleting.
  • Add inline option for reCAPTCHA JS loading.

Fixed

  • Fix an error where trashed comments weren’t validated correctly.
  • Fix custom email templates not working for notifications.
  • Fix an error with ownerSiteId for multi-site installs.
  • Fix lack of typecast for siteId when submitting comments.

2.0.8 2023-10-25

Added

  • Add support for Votes to Feed Me itegration. (thanks @JeroenOnstuimig).
  • Add extra error-handling for some email notifications.

Fixed

  • Implement Element::trackChanges() for Blitz compatibility.
  • Fix returning Vote user when both querying users and comments is allowed for GraphQL. (thanks @JeroenOnstuimig).

2.0.7 2023-03-09

Changed

  • Update system message headings for some email notifications.

Fixed

  • Fix an issue when installing the plugin, and automatically disabled.
  • Fix an incompatibility with Emails (opens new window) plugin.
  • Fix incorrect return types for voting and flagging comments with GraphQL mutations.

2.0.6 2023-02-22

Added

  • Add name and email to available index columns for the control panel.

Changed

  • Update English translations.
  • Only admins are now allowed to access plugin settings.
  • Improve dutch translations. (thanks @jeroenlammerts).

Fixed

  • Fix a 404 error when trying to edit a non-primary site comment for a multi-site install.
  • Fix HTML encoding for name, email and comment columns in the control panel element index.
  • Fix compatibility with Craft 4 and guest names showing User.
  • Fix an error when importing nested commerce with Feed Me.
  • Fix email notifications not sending via the queue when comments are made from a non-primary site
  • Fix custom sources not filtering by $ownerSectionId. (thanks @jeroenlammerts).

2.0.5 2022-12-30

Fixed

  • Fix an error when sending email notifications.

2.0.4 2022-12-25

Changed

  • Improve dutch translations. (thanks @jeroenlammerts).

Fixed

  • Fixed PHP errors that could occur when executing GraphQL queries.

2.0.3 2022-10-12

Fixed

  • Fix an error when upvoting immediately after downvoting.
  • Fix avatars not working for logged-in users.

2.0.2.1 2022-09-17

Fixed

  • Fix a fatal PHP error introduced in 2.0.2.

2.0.2 2022-09-17

Added

  • Add support for setting ReCAPTCHA API keys via .env variables.

Fixed

  • Fix template path not resetting when calling commentsInclude().
  • Fix an error when trying to edit a comment from the element index.
  • Fix element index arrow for comment elements.
  • Fix element action for setting status.
  • Fix lack of permission support for managing other user’s comments.
  • Fix being unable to set id, uid or userId for GraphQL mutations.
  • Fix an error running resave console commands.

2.0.1 2022-08-27

Added

  • Added missing English Translations.

Fixed

  • Fix an error when viewing comments with an avatar image.
  • Fix formatting for comments element index.
  • Fix lack of proper error when trying to edit an invalid comment in the control panel.
  • Fix the CP edit URL for comments to now no longer include the site ID.
  • Fix an error when importing comments via Feed Me in some instances.
  • Fix an error when uninstalling.
  • Fix being unable to view comments in the control panel.

2.0.0 2022-06-02

Added

  • Add resave console command for elements.
  • Add checks for registering events for performance.
  • Add archiveTableIfExists() to install migration.

Changed

  • Now requires PHP 8.0.2+.
  • Now requires Craft 4.0.0+.
  • Now requires Comments 1.9.2 in order to update from Craft 3.
  • Rename service classes.
  • Rename base plugin methods.

Fixed

  • Fix an error with GraphQL.
  • Fix typing for placeholderAvatar plugin setting.
  • Un-bold title for comments in comments index.
  • Fix an error when permissions exist for a no-longer-available element group.
  • Fix setting a parent comment not working for Feed Me, due to setParent() changes.

Removed

  • Removed craft.comments.all() and craft.comments.form().
  • Removed Comment::trashUrl, Comment::flagUrl, Comment::downvoteUrl, Comment::upvoteUrl.