Skip to content

v0.3.0

Choose a tag to compare

@lmdanavanem lmdanavanem released this 19 Jun 19:37
· 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 with rel="noopener noreferrer nofollow ugc" and open in a new tab.
  • Moderation toggle in Settings — the Comments Settings global gained a requireApproval checkbox to turn mandatory approval on/off at runtime. The submit flow reads it live, falling back to the requireApproval option.

Notes

  • Adds react-markdown and remark-gfm as runtime dependencies.
  • Service tests updated to drive requireApproval through 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