github getfider/fider v0.42.0

one hour ago

TL;DR

A smaller one: two new webhook template functions for cleaner Slack/Discord/Teams messages, admin pages that work properly on mobile, and a handful of fixes. Signing out now properly ends your session too, so worth the upgrade.

Security

  • Signing out now revokes your sign-in tokens. Before, sign out only deleted the cookie in the browser, so a copied cookie stayed valid until it expired. Side effect: signing out now signs you out on all your devices (#1786)

New

  • Webhook template functions (#1787): plaintext turns Markdown into plain text, for Discord, Teams and generic JSON receivers, e.g. {{ quote (plaintext .post_description) }}. slack escapes &, < and > so user text such as <!channel> isn't read as a Slack mention or link, e.g. {{ escape (slack (plaintext .post_description)) }}. Existing templates are unchanged. Thanks @jjohnnystwsss!
  • Admin on mobile (#1792): the members, tags, webhooks and authentication admin pages now lay out properly on small screens.
  • Fider Cloud only (#1793): admins of a free-plan site with 250+ posts see an upgrade banner on the home page. Self-hosted sites never see it.

Fixes

  • Search now finds Chinese, Japanese and Korean words inside post titles and descriptions, not just at the start (#1767). Thanks @jayhemnani9910!
  • Clicking a tag in the post list filters by that tag again, instead of opening the post (#1783). Thanks @cuong09m!
  • Dropdown menus close when you navigate to another page (#1784)
  • "Powered by Fider" no longer appears twice on the post page (#1785)
  • The truncate template function no longer fails with lengths below 3 (#1791)

Plus dependency updates: tiptap and other frontend packages (#1790), golang.org/x/crypto, net, oauth2 and vuln (#1788).

Upgrade notes

No database migrations in this release.

Full Changelog: v0.41.0...v0.42.0

Don't miss a new fider release

NewReleases is sending notifications on new releases.