v0.3.0
·
15 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Minor release: Markdown comment bodies and a runtime moderation toggle.
Added
- Markdown comments — comment bodies render a safe subset of Markdown (bold, italic, strikethrough, inline/block code, links, lists, blockquotes) via
react-markdown+remark-gfm. Raw HTML is never rendered (no XSS); links are hardened withrel="noopener noreferrer nofollow ugc"and open in a new tab. - Moderation toggle in Settings — the Comments Settings global gained a
requireApprovalcheckbox to turn mandatory approval on/off at runtime. The submit flow reads it live, falling back to therequireApprovaloption.
Notes
- Adds
react-markdownandremark-gfmas runtime dependencies. - Service tests updated to drive
requireApprovalthrough the settings global (its new source of truth); README and docs updated for both features.
Full changelog: https://github.com/navanem/navanem_payload_comments/blob/main/CHANGELOG.md