Version 5.1.4

February 22, 2026

Added

  • EVENT_AFTER_FOLLOW and EVENT_AFTER_UNFOLLOW events on ElementService for custom integrations like notifications. (#11)

Version 5.1.3

February 22, 2026

Fixed

  • Trashed and deleted elements/users no longer counted in following and followers lists and totals. (#8)
  • check() now accepts an element ID directly in templates, e.g. craft.follow.check(entry.id). (#9)

Version 5.1.2

February 22, 2026

Removed

  • Unused imports and dead code across plugin files.

Version 5.1.1

February 22, 2026

Fixed

  • Follow requests service not accepting element IDs.
  • Query performance for totals, checks, following and followers.
  • Settings validation rules.

Added

  • Database indexes on the follow_elements table.

Version 5.1.0

February 22, 2026
Critical

Fixed

  • Open redirect vulnerability in follow/unfollow actions. Redirect parameter is now validated via redirectToPostedUrl(). Could cause a potential phishing attack.
  • Follow and unfollow actions now require authentication and POST requests to prevent CSRF attacks.
  • toggle() method having inverted logic (follow when already following, unfollow when not following).
  • createFollow() returning true even when the database save failed, and leaving transactions uncommitted.
  • deleteFollow() throwing a fatal error on race conditions when the record is already deleted.

Removed

  • Unused FollowService import and stale composer.json component reference.

Version 5.0.1

May 30, 2024

Changed

  • Icon to a new shiny (literally) icon

Version 5.0.0

May 30, 2024

Changed

  • Craft 5 compatibility

Version 2.0.0

June 17, 2022

Changed

  • Now requires PHP ^8.0.0.
  • Now requires Craft CMS ^4.0.0

Version 1.0.5

July 30, 2020

Added

  • craft\elements\Entry is now enabled by default for allowedElementClasses

Version 1.0.4

June 22, 2020

Removed

  • Settings page is no longer available through the CP. Use config/follow.php to set settings per environment

Version 1.0.3

June 19, 2020

Added

  • followingTotal and followersTotal method

Version 1.0.2

June 19, 2020

Changed

  • Updated documentation URL
  • check method now requires parameters. See documentation.

Added

  • following method can now be output as a string or array. This works well when trying to get a count for amount of followers & following.

Version 1.0.1

March 27, 2019

Changed

  • Updated Icon
  • Minor tidy up of files

Version 1.0.0

March 27, 2019

Added

  • Initial release