Skip to content

3.1.0

Choose a tag to compare

@ernestdefoe ernestdefoe released this 31 May 04:20

What's Changed

A code-audit release — the hero stats are now accurate, plus internal robustness and type-safety fixes.

Fixed

  • Accurate hero counts. The "Discussions" and "Posts" tiles previously fell back to counting only the discussions loaded on the current page — so every visitor saw a small, misleading number (e.g. "20 Discussions"). They're now backed by real, cached forum-wide totals computed server-side.
  • Dead "extra nav links" branch removed. A header-nav feature that was never wired to any setting or admin control has been removed.
  • Fallback category tiles now navigate. On a fresh install without flarum/tags, the six placeholder category tiles linked to # and did nothing; they now go to the discussion index.

Internal

  • The statistics service no longer depends on a low-level database connection interface, and the support-extension table probe is now resolved through Flarum's own model connection (the DB/Schema facades aren't usable in Flarum).
  • The shared translate() helper, previously copy-pasted into three components, is now a single utility.
  • Every frontend component is fully TypeScript type-checked — the @ts-nocheck escape hatches are gone, so attribute typos are caught at compile time.