Skip to content

v1.6.0

Compare
Choose a tag to compare
@Gnuxie Gnuxie released this 22 Nov 11:30
· 136 commits to main since this release

Changelog

Bot:

Changes of behaviour:

  • Use stable prefixes for policy recommendations (m.ban instead of org.matrix.mjolnir.ban) by @deepbluev7 in #329
  • Always echo policy list changes. List changes are now always enabled, whereas before they where only shown with config.verboseLogging. Mjolnir now no longer hides changes made by the same mjolnir account, providing the user with feedback for changes they have made to policy lists after using the ban/unban commands. by @Gnuxie in #401
  • Replaced acceptInvitesFromGroup with acceptInvitesFromSpace. by @Gnuxie in #338
  • Policy lists created by mjolnir will now be done so with support for MSC3784. by @Gnuxie in #386

Everything else:

  • Fix the WordList protection which was matching every message. by @Gnuxie in #427
  • Rework the banning and unbanning of entities in PolicyLists by @Gnuxie in #345:
    • Unbanning no longer searches for rules by state_key but by entity.
    • Users with longer mxids can now be banned.
    • Mjolnir no longer waits for the next client sync before applying server ACL and member bans after using the ban command
  • Improve the clarity of the unban command. Users marked as banned by the Flooding and FirstMessageIsMedia protections can now be unbanned with the ban command. Using the unban command without true will now warn the user that room level bans will not be overridden. by @Gnuxie in #402
  • Fix config.protectAllJoinedRooms leaking into explicitly protected rooms and mjolnir trying to protect watched lists in some circumstances. You would only have been impacted by this if you ran latest. by @Gnuxie in #385
  • Add policy list shortcodes to status command output by @tanriol in #312
  • Fix typo in config set command response by @sharp-tailed in #382
  • Fixed a bug where Mjolnir would temporarily apply a stale m.room.server_acl event to rooms during batching by @Gnuxie in #33

Documentation:

  • Add section on Trusted Reporters to docs/moderators.md by @jesopo in #332
  • Fix example to have correct incantation by @erikjohnston in #358
  • Fixed typo in docs/moderators.md by @mahdi1234 in #389
  • Update docs/setup_selfbuild.md to explicitly provide a config and not rely on implicit behaviour from previous version. by @Gnuxie in #429

New Contributors

Full Changelog: v1.5.0...v1.6.0

Minor changes impacting development

  • Update tsconfig.json touse ES2021 by @Half-Shot in #337
  • Towards opinions in PolicyLists. by @Yoric in #336
  • Stop the config being global (in almost all contexts). by @Gnuxie in #334
  • change report polling to read oldest first, so we paginate to end and wait by @jesopo in #353
  • load config yaml manually, remove more references to static config by @jesopo in #347
  • use requested path to configs by @jesopo in #357
  • matrix.to urls for aliases don't need a via param by @jesopo in #348
  • Missing awaits on floating promises in tests. by @Gnuxie in #359
  • support compound consequences, switch WordList to consequences by @jesopo in #351
  • Refactor protected rooms. by @Gnuxie in #371
  • CI: Let's try and cache mx-tester installs by @Yoric in #383
  • Update tests and instructions to intercept reports also with v3 endpoint by @Yoric in #388
  • Access Control by @Gnuxie in #378
  • Unbitrotting ruleserver tests by @Yoric in #418