Skip to content

v1.17.0

Choose a tag to compare

@github-actions github-actions released this 25 Jun 03:39
c3a5adf

Moderation, thread lifecycle & community tools. All new behavior is optional and defaults off.

Highlights

  • Reader reporting — readers can flag a comment from the widget (anon-allowed, no Turnstile). New admin Reported queue tab with an open-count badge and one-click Dismiss. Fires a new comment.reported webhook.
  • Per-post close + auto-close — freeze a thread from the queue, or auto-close by instance sunset date or comment age. Closing blocks new comments/replies only; existing comments, reactions and votes stay live. Evaluated lazily at read/write — no cron.
  • One-click ban-author — ban a comment's author from the queue (admin-only; records the originating comment in audit meta, with a CGNAT caveat for anon authors).
  • Comment draft autosave — client-side localStorage, restored into an empty field, cleared on submit/cancel.
  • Community auto-collapse — reversible, client-side fold of low-scored comments once a vote floor is met. Purely cosmetic; content stays in the payload.

Operator notes

  • Migration required: run npm run migrate. 0013 adds posts.closed, posts.published_at and the reports table. Forward-only, no renderer bump.
  • New optional env vars (default off): AUTO_CLOSE_DAYS, AUTO_CLOSE_AT, COMMUNITY_MIN_VOTES, COMMUNITY_COLLAPSE_RATIO — overridable at runtime from admin Settings. See wrangler.example.toml + AGENTS-OPERATE.md §5.
  • New host attribute data-published anchors age-based auto-close (AGENTS.md).
  • New webhook event comment.reported — selectable per-endpoint in admin Webhooks; all-events endpoints receive it automatically.

Full Changelog: v1.16.1...v1.17.0