Skip to content

v0.41.0

Latest

Choose a tag to compare

@mattwoberts mattwoberts released this 25 Nov 15:40
6ed127b

TL;DR

Some big-ish-but-not-life-changing things in this - we've got threaded comments (at last!), nicer page reloads without a full refresh, better moderation notifications, and general tidy-ups all over. There's also some security fixes in this, so well worth the upgrade.

Security

  • GHSA-hcjh-mww6-vrm4 (high, Fider Cloud / multi-tenant only): a tenant could set an unverified custom domain and use it to steal another tenant's OAuth authorization code, leading to account takeover. The OAuth code is now exchanged at the callback, and a custom domain is only trusted for OAuth when its DNS points at Fider (#1772)
  • Sign-in codes: the 5-attempt limit is now enforced atomically, so concurrent guesses can no longer get past it. Each email can now be sent at most 10 sign-in codes an hour (#1770). Thanks to @kbehroz for reporting this responsibly.

New

  • Threaded comments (#1779): every comment has a Reply button. Replies sit under their comment, one level deep, oldest first. If a top-level comment is deleted, a placeholder stays and the thread is closed to new replies. The API takes parentId on comments, and webhooks include comment_parent_id.
  • Reply notifications (#1779): the author of a comment is notified when someone replies to it. The "Mentions" setting is now called Mentions and Replies. Each person gets at most one notification per channel for a comment: a reply beats a mention, which beats "new comment". You're no longer notified when you mention yourself.
  • Following: commenting on a post now follows it, but if you'd unfollowed the post it stays unfollowed. New Comments notifications are now on by default for visitors.
  • Moderation (#1779): collaborators can now approve and decline posts and comments. Publish & Trust and Delete & Block stay admin-only. While content is pending, staff get a "needs approval" notification, with its own Awaiting Approval setting. Everyone else is notified once the content is approved.
  • Faster navigation (#1773): moving between pages no longer reloads the whole page. The header stays put and only the page content changes. Most actions that used to reload the page now refresh in place.
  • External legal pages (#1776): set LEGAL_PRIVACY_URL and LEGAL_TERMS_URL to send /privacy and /terms to your own pages.

Fixes

  • Posting, editing or deleting a comment keeps your scroll position and the post overlay. Deleting a post from the Roadmap overlay keeps you on the Roadmap (#1777)
  • The submit button on the new post form is always shown, and explains when the title is too short (#1775)
  • Locale fixes: broken placeholders, Korean and Czech wiring, missing translations. Server-side rendering falls back to English for unmapped locales (#1769, #1774)
  • Less noise in production ERROR logs from client disconnects and invalid blob keys (#1768)

Plus CI housekeeping: govulncheck now runs in CI, and golang.org/x/image is bumped to v0.43.0 (#1771).

Upgrade notes

This release runs two small database migrations (202611161200, 202611181200).

Full Changelog: v0.40.0...v0.41.0