Skip to content

Releases: the-draupnir-project/Draupnir

v1.86.0

16 Jan 00:40
Compare
Choose a tag to compare

The main points

  • The project is now licensed under AFL-3.0 which is an OSI approved license, previously Draupnir was licensed under the Cooperative Software License. Please see #176 for details and rationale. Organised by @Gnuxie.
  • Docker images are now built with node 20, contributed by @MTRNord in #129.
  • @Gnuxie says: You have probably noticed that it has been three months since the last release, and this is because I have been extracting and rearchitecting the core of Draupnir (and Mjolnir) into a TypeScript library which Draupnir will depend upon in an upcoming release. The decision to create the library was taken because it has always been very difficult to maintain protections or consider adding features which lay on a limiting and neglected foundation, and it is simpler to attempt to remedy that before addressing the bigger issues that Draupnir and Mjolnir have. Because by continuing to work with limiting structural problems, each change can (and often does) exacerbate or complicate existing issues. However I am going to remind you that these issues are mostly natural to software as it ages, especially for a project like Mjolnir/Draupnir, which has been a product of a complicated context and spontaneous solutions.
  • @Gnuxie says a special thank you to everyone who has been providing support for others using Draupnir in https://matrix.to/#/#draupnir:matrix.org and elsewhere.

Developments in Development

  • We have finally migrated away from tslint to eslint, contributed by @MTRNord in #88.

New Contributors

Miscellaneous

Full Changelog: v1.85.1...v1.86.0

v1.85.1

12 Sep 11:18
Compare
Choose a tag to compare
  • Fixed a nasty bug where any errors updating the room would crash the bot while trying to show the management room the error. Typically this would mean if you tried to add a room without giving the bot sufficient permissions, the bot would immediately crash. This was introduced in v1.85.0. by @Gnuxie in #123.
  • Upgrade matrix-appservice bridge to ^9.0.1 by @MTRNord in #102. Versions of node above 18 can now be used without upsetting matrix-appservice-bridge's engine requirements.

Miscellaneous

Full Changelog: v1.85.0...v1.85.1

v1.85.0

07 Sep 15:44
Compare
Choose a tag to compare

Changes of behaviour

  • Server ACL can be disabled with the config option disableServerACL. Requested by @mahdi1234, @bones-was-here and @JokerGermany. by @Gnuxie in #85.
  • config.verboseLogging has been deprecated and will be removed in a future version. by @Gnuxie in #98.
  • Unbanning a user in a room from a client will create a prompt in the management room to unban the user from all lists and rooms. by @Gnuxie in #93.
  • Errors from updating rooms now appear in collapsible <detail> elements. Requested by @Mikaela and @MTRNord . by @Gnuxie in #85.
  • Multiple errors from updating the same protected room will now show, rather than just the first. This comes at a cost if you have a persistent error from a protected room (such as incorrect permissions). these errors might get shown multiple times at startup. by @Gnuxie in #85.

Other changes

  • A bug has been fixed where the bot crashed when a list was selected in the ban propagation prompt that could not be written to. by @Gnuxie in #93.
  • A command has been added that allows to easily set the display name of a bot. Requested by @Mikaela. by @MTRNord in #91.
  • A bug has been fixed where Draupnir would stop processing member bans in a room when Draupnir was unable to ban just one member. Reported by @Mikaela. by @Gnuxie in #79.

Appservice specific changes

  • The help command for admins follows a similar format to Draupnir's with expandable boxes. Use the new help style on the appservice commands and add missing descriptions for the arguments by @MTRNord in #69.
  • A health endpoint has been added to the appservice and metrics via prometheus by @MTRNord in #70.
  • D4A: Make Provisioned User get PL for management room at creation of management room. by @FSG-Cat in #73.

Development and Miscellaneous changes

  • Bump semver from 5.7.1 to 5.7.2 by @dependabot in #66
  • Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #67
  • Update to typescript 5 by @MTRNord in #68
  • Add a missing dash to the docker command in the appservice documentation by @MTRNord in #61
  • Add pre-commit configuration by @Mikaela in #34
  • A simple script for testing room membership query. by @Gnuxie in #81
  • .editorconfig: fix invalid value s/off/unset/g by @Mikaela in #86
  • Bump matrix-appservice-bridge from 8.1.1 to 8.1.2 by @dependabot in #71
  • package.json: refer to https clone url by @Mikaela in #90
  • Revisit Mjolnir's ErrorCache. by @Gnuxie in #85
  • Bring various documentation up to date with current events. by @Gnuxie in #94
  • Use --forbid-only flag in integration test suite. by @Gnuxie in #97

Full Changelog: v1.84.0...v1.85.0

v1.84.0

04 Jul 16:49
Compare
Choose a tag to compare
  • Fixed an issue where unwatching a list did not immediately change the m.room.server_acl event in protected rooms. Thanks to @Mikaela for reporting. This issue affects ALL versions of Draupnir and Mjolnir since v1.60.0 (inclusive).
  • Add building and publishing arm images. Thanks to @MTRNord for contributing.
  • Fix an issue where protected rooms could not be removed, this affects only v1.83.0. Thanks to @itzzenxx for reporting.

New Contributors

Full Changelog: v1.83.0...v1.84.0

v1.83.0

31 May 17:48
Compare
Choose a tag to compare

Changes of Behavior

  • Support for node 16 dropped. Deployments running from source will need to upgrade to node 18.
  • "rooms", "rooms add" and "rooms remove" commands have been updated to use the new interface manager with better error reporting and validation.
  • matrix.to urls can be given as an argument to any "new" command (listed under help) that has a parameter requiring a room.

Special thanks to @JokerGermany and @verymilan for reporting poor UX with the "rooms add" command.

Full Changelog: v1.82.0...v1.83.0

v1.82.0

13 May 02:20
Compare
Choose a tag to compare

Changes of Behaviour

  • The sender is now shown when a policy has been changed (Added/Removed/Modified) in a watched list. image
    by @Gnuxie in #51
  • Incorporated from Mjolnir Mjolnir would stop redacting a user's events from all protected rooms if Mjolnir failed to redact events within one of the rooms. Thanks to @maranda in #50

Other things

  • Use matrix-appservice-bridge's PostgreSQL datastore for Draupnir appservice by @Gnuxie in #46
  • Bump yaml from 2.1.1 to 2.2.2 by @dependabot in #49
  • Detail about important Draupnir concepts and context. by @Gnuxie in #48
  • Appservice convenience. Allow users of the service to be managed from the admin room by @Gnuxie in #47

Full Changelog: v1.81.4...v1.82.0

v1.81.4

28 Mar 21:04
Compare
Choose a tag to compare
  • Fixed a bug introduced in v1.81.3 where watching a list via a room alias would cause the alias to be stored unresolved in the account data for org.matrix.mjolnir.watched_lists.

Thanks to @mahdi1234 for reporting

v1.81.3

28 Mar 19:04
Compare
Choose a tag to compare
  • Fixed an issue where some lists could not be watched when they were given to draupnir with an alias and the room was unknown to the homeserver.

Thanks to @mahdi1234 for reporting.

v1.81.2

28 Mar 13:06
Compare
Choose a tag to compare

What's Changed

  • The room ban propagation prompts no longer have a timeout of 10minutes, they can be reacted to indefinitely.
  • Fixed a bug where deactivating a user would try shutdown a room using the user's mxid instead.

Full Changelog: v1.81.1...v1.81.2

v1.81.1

16 Mar 20:38
Compare
Choose a tag to compare
  • fixed a bug where !draupnir status would show !draupnir joins instead
  • Hopefully fix dockerhub push otherwise there's going to be trouble.