Comments Changelog

Comments 1.x is on version 1.0.4, released on Nov 06, 2018

  • theicons.co/svg/photo-09 Created with Sketch. 31 New features
  • theicons.co/svg/others-47 Created with Sketch. 28 Improvements
  • theicons.co/svg/home-36 Created with Sketch. 29 Bug fixes

1.0.4 - Latest Release

Released Nov 06, 2018

  • theicons.co/svg/home-36 Created with Sketch.

    Fix SQL error when trying to order by commentDate.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix error with multisite saving edit form (thanks @colinmeinke).

1.0.3

Released Oct 25, 2018

  • theicons.co/svg/home-36 Created with Sketch.

    Improve comments index to show each commented-on element.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix SQL bug in comments index.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix error on settings for Craft Solo.

  • theicons.co/svg/home-36 Created with Sketch.

    Properly minify in-built JS.

  • theicons.co/svg/home-36 Created with Sketch.

    Refactor and improve translations in front-end JS.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix not passing in siteId for front-end requests, meaning multisite wasn't working.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix author photo not working (thanks @stevenvandemoortele).

  • theicons.co/svg/home-36 Created with Sketch.

    Added try/catch block to prevent server error (thanks @skoften).

  • theicons.co/svg/home-36 Created with Sketch.

    Fix template bug (thanks @stevenvandemoortele).

1.0.2

Released Sep 17, 2018

  • theicons.co/svg/home-36 Created with Sketch.

    Fix missing element methods

  • theicons.co/svg/home-36 Created with Sketch.

    Fix missing elementId in query for render()

  • theicons.co/svg/home-36 Created with Sketch.

    Fix commentDate not being set after new comment is created (causing an error to be thrown)

  • theicons.co/svg/home-36 Created with Sketch.

    Add flag user feedback

  • theicons.co/svg/home-36 Created with Sketch.

    Fix migration for Craft 2 not renaming comments table

1.0.1

Released Aug 26, 2018

  • theicons.co/svg/others-47 Created with Sketch.

    Switch from dateCreated to commentDate

  • theicons.co/svg/others-47 Created with Sketch.

    Remove on-delete cascades for owner users and elements. If a user or owner element is deleted, their respective comments won't also be deleted.

  • theicons.co/svg/home-36 Created with Sketch.

    Ensure structure is cleaned up after uninstall

  • theicons.co/svg/home-36 Created with Sketch.

    Removed craft 2 plugin that stuck around (wha?)

1.0.0

Released Aug 25, 2018

  • theicons.co/svg/photo-09 Created with Sketch.

    Craft 3 release, major refactor and rewrite from the ground up.

  • theicons.co/svg/photo-09 Created with Sketch.

    Brand new, single-line include via craft.comments.render() which renders comments and form. Includes front-end CSS and Ajax-driven vanilla JS and is designed to be a drop-in solution to add comments to your site. You can of course still override or replace all aspects of the front end resources.

  • theicons.co/svg/others-47 Created with Sketch.

    craft.comments.all() has been deprecated. Use craft.comments.fetch() instead.

  • theicons.co/svg/others-47 Created with Sketch.

    craft.comments.form() has been deprecated. Use craft.comments.render() instead.

  • theicons.co/svg/others-47 Created with Sketch.

    Simplified templates - find them in comments/src/templates/_special.

  • theicons.co/svg/others-47 Created with Sketch.

    Countless bug fixes, and improvements!

0.4.9

Released Nov 04, 2017

  • theicons.co/svg/home-36 Created with Sketch.

    Minor fix for sidebar icon.

0.4.8

Released Oct 17, 2017

  • theicons.co/svg/photo-09 Created with Sketch.

    Verbb marketing (new plugin icon, readme, etc).

  • theicons.co/svg/photo-09 Created with Sketch.

    Add plugin settings variable.

  • theicons.co/svg/others-47 Created with Sketch.

    Improved onTrashComment and onBeforeTrashComment events.

  • theicons.co/svg/others-47 Created with Sketch.

    Swap comment output macro for native {% nav %} tag - better supports element queries such as level.

0.4.7

Released Oct 09, 2016

  • theicons.co/svg/home-36 Created with Sketch.

    Fixed template error for permissions settings for Craft Personal/Client versions.

  • theicons.co/svg/home-36 Created with Sketch.

    Fixed EntryModel.owner issue where checking for non-entry elements being commented on.

0.4.6

Released Sep 23, 2016

  • theicons.co/svg/photo-09 Created with Sketch.

    Added ability to disable spam checks.

  • theicons.co/svg/home-36 Created with Sketch.

    Fixed support for adding comments to non-entry elements.

  • theicons.co/svg/home-36 Created with Sketch.

    Fixed typo in edit comment controller action.

0.4.5

Released Sep 02, 2016

  • theicons.co/svg/photo-09 Created with Sketch.

    Added support to permanently delete comment from within the CP.

  • theicons.co/svg/photo-09 Created with Sketch.

    Added user permissions to allow edit or trash of comments for other users.

  • theicons.co/svg/photo-09 Created with Sketch.

    Added canEdit() and canTrash() method to Comment Model.

  • theicons.co/svg/others-47 Created with Sketch.

    Changed current 'delete' terminology to 'trashed', which is technically more correct.

  • theicons.co/svg/others-47 Created with Sketch.

    onBeforeDeleteComment event changed to onBeforeTrashComment.

  • theicons.co/svg/others-47 Created with Sketch.

    onDeleteComment event changed to onTrashComment.

  • theicons.co/svg/others-47 Created with Sketch.

    deleteActionUrl template action is now trashActionUrl.

  • theicons.co/svg/others-47 Created with Sketch.

    comments/delete controller action is now comments/trash. Raises a deprecation notice.

  • theicons.co/svg/others-47 Created with Sketch.

    Commenting permissions now only support native Craft elements.

  • theicons.co/svg/home-36 Created with Sketch.

    Fixed case where another logged in user could edit/save/delete comments from another user.

  • theicons.co/svg/home-36 Created with Sketch.

    Fixed permissions errors when checking for elements.

0.4.4

Released Jun 24, 2016

  • theicons.co/svg/home-36 Created with Sketch.

    Fixed issue with comments index showing comment id, not user name.

  • theicons.co/svg/home-36 Created with Sketch.

    Move Save Comment button above content on edit comment page (for consistent Craft behaviour).

0.4.3

Released Jun 23, 2016

  • theicons.co/svg/photo-09 Created with Sketch.

    Permissions to control when elements are comment-able.

  • theicons.co/svg/photo-09 Created with Sketch.

    New fieldtype to provide element-specific control on commenting.

  • theicons.co/svg/photo-09 Created with Sketch.

    Added support for craft.spamguard.

  • theicons.co/svg/home-36 Created with Sketch.

    Fixed error in comments element index - introduced in 0.4.2.

0.4.2

Released Apr 02, 2016

  • theicons.co/svg/photo-09 Created with Sketch.

    Added element attribute to CommentModel.

  • theicons.co/svg/photo-09 Created with Sketch.

    Added parent attribute to CommentModel.

  • theicons.co/svg/photo-09 Created with Sketch.

    Added comment attribute to FlagModel.

  • theicons.co/svg/photo-09 Created with Sketch.

    Added user attribute to FlagModel.

  • theicons.co/svg/photo-09 Created with Sketch.

    Added comment attribute to VoteModel.

  • theicons.co/svg/photo-09 Created with Sketch.

    Added user attribute to VoteModel.

  • theicons.co/svg/others-47 Created with Sketch.

    Code formatting.

0.4.1

Released Apr 02, 2016

  • theicons.co/svg/photo-09 Created with Sketch.

    Added author attribute to CommentModel.

  • theicons.co/svg/photo-09 Created with Sketch.

    Added isGuest() method to CommentModel.

  • theicons.co/svg/photo-09 Created with Sketch.

    Added email notifications for element authors and for other commenters when replying.

  • theicons.co/svg/others-47 Created with Sketch.

    Comments are now a little tidier in the element index table.

  • theicons.co/svg/others-47 Created with Sketch.

    Filter via Status in control panel.

0.4.0

Released Mar 16, 2016

  • theicons.co/svg/photo-09 Created with Sketch.

    Craft 2.5+ support, including release feed and icons.

  • theicons.co/svg/photo-09 Created with Sketch.

    Comments can now be edited through the front-end.

  • theicons.co/svg/photo-09 Created with Sketch.

    Added support for querying comments via votes

  • theicons.co/svg/photo-09 Created with Sketch.

    Added onBeforeSaveComment hook.

  • theicons.co/svg/photo-09 Created with Sketch.

    Added onSaveComment hook.

  • theicons.co/svg/photo-09 Created with Sketch.

    Added onBeforeDeleteComment hook.

  • theicons.co/svg/photo-09 Created with Sketch.

    Added onDeleteComment hook.

  • theicons.co/svg/photo-09 Created with Sketch.

    Added onBeforeFlagComment hook.

  • theicons.co/svg/photo-09 Created with Sketch.

    Added onFlagComment hook.

  • theicons.co/svg/photo-09 Created with Sketch.

    Added onBeforeVoteComment hook.

  • theicons.co/svg/photo-09 Created with Sketch.

    Added onVoteComment hook.

  • theicons.co/svg/others-47 Created with Sketch.

    Reorganise settings pages - separate flag/voting.

  • theicons.co/svg/others-47 Created with Sketch.

    Flagging comments and voting can be enabled/disabled altogether.

  • theicons.co/svg/others-47 Created with Sketch.

    Comments now require moderation by default.

  • theicons.co/svg/others-47 Created with Sketch.

    Lots of refactoring and reorganising.

  • theicons.co/svg/others-47 Created with Sketch.

    Removed Comments fieldtype.

  • theicons.co/svg/others-47 Created with Sketch.

    Comments are shown in hierarchical structure when in control panel.

  • theicons.co/svg/others-47 Created with Sketch.

    Full ajax and non ajax support for endpoints.

  • theicons.co/svg/others-47 Created with Sketch.

    Renamed comments/add to comments/save.

  • theicons.co/svg/others-47 Created with Sketch.

    Simplified and improved templates for single template tag.

  • theicons.co/svg/others-47 Created with Sketch.

    Simplified example code for ajax and non ajax handling.

  • theicons.co/svg/others-47 Created with Sketch.

    Comment forms handle validation properly, actual error messages and remembers text on validation.

  • theicons.co/svg/home-36 Created with Sketch.

    Fixed comments/edit endpoint to include validation/security.

Get started with Comments

Available for Craft 2 & Craft 3.