v0.1.0
·
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: injectscommentsandcomment-reactionscollections 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 (brokentree/submitroutes). Use v0.1.1 or later, which moves them to/comments-api/*.