Skip to content

v0.1.0

Choose a tag to compare

@lmdanavanem lmdanavanem released this 18 Jun 17:41
· 25 commits to main since this release
Immutable release. Only release title and notes can be modified.

Initial release of @navanem/payload-comments, a comments & reactions plugin for Payload 3.x.

Added

  • commentsPlugin() for Payload 3.x: injects comments and comment-reactions collections plus public REST endpoints.
  • Anonymous comment submission with name, optional/required email and a mood emoji.
  • Reactions on comments with a configurable emoji set and toggle behavior.
  • Optional pre-publish moderation via requireApproval.
  • Up to 3 levels of nested replies, enforced server-side.
  • Built-in anti-spam: honeypot, per-IP rate limiting, length and link rules.
  • Salted hashing of IPs and fingerprints (no clear-text storage).
  • Ready-to-use <Comments /> React component and a documented REST API.

⚠️ Known issue: the public endpoints were registered under /comments/*, which collides with the comments collection's REST namespace in Payload 3.x (broken tree/submit routes). Use v0.1.1 or later, which moves them to /comments-api/*.