2.0.2
Hardening release from a code audit.
Changes
- Server-side enforcement of the "require a favorite team" setting: members without a team are now blocked from starting discussions and replying (previously only nudged by the modal). Reading and choosing a team stay open.
- Visible feedback in the team picker: an error alert if a save fails (your selection is kept for retry) and a "Team saved!" confirmation on success.
- The profile-card logo badge now attaches via the supported
profileItemshook instead of mutating core's render tree — more robust across Flarum updates. TeamRepositoryis bound as a container singleton, so the bundled team list is parsed at most once per request.
No database or settings migrations; safe to update.