Releases: the-draupnir-project/Draupnir
Releases · the-draupnir-project/Draupnir
v1.86.0
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
New Contributors
- @julianfoad made their first contribution in #133
Miscellaneous
- Decrease dependency update check to weekly by @Mikaela in #124
- Fix link to our own copy of moderators.md by @julianfoad in #133
- Add an example gif for prompt to ban command. by @Gnuxie in #100
- Bump the github-actions group with 4 updates by @dependabot in #125
- pre-commit autoupdate by @Mikaela in #143
- Add support for bot-sdk crypto as an experimental flag by @MTRNord in #145
- Fix markdown trailing whitespace & exlude .svg from trailing-whitespace checks by @Mikaela in #148
- Bump crypto-js from 4.1.1 to 4.2.0 by @dependabot in #159
- Bump postcss from 8.4.16 to 8.4.31 by @dependabot in #140
- Bump follow-redirects from 1.15.1 to 1.15.4 by @dependabot in #203
- Bump the github-actions group with 1 update by @dependabot in #162
- Bump body-parser from 1.20.1 to 1.20.2 by @dependabot in #119
- Bump express and @types/express by @dependabot in #121
- Change self references from Gnuxie/Draupnir to the-draupnir-project/Draupnir by @FSG-Cat in #208
Full Changelog: v1.85.1...v1.86.0
v1.85.1
- 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
- .github/dependabot.yml: explicitly configure dependabot by @Mikaela in #103
- .github/dependabot.yml: attempt to group updates by @Mikaela in #114
- Bump the development-dependencies group with 9 updates by @dependabot in #116
- Bump the everything group with 4 updates by @dependabot in #115
- Bump yaml from 2.2.2 to 2.3.2 by @dependabot in #111
- dependabot.yml: rename everything to github-actions by @Mikaela in #120
- Bump config and @types/config by @dependabot in #118
Full Changelog: v1.85.0...v1.85.1
v1.85.0
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
- 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 sincev1.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
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
Changes of Behaviour
- The sender is now shown when a policy has been changed (Added/Removed/Modified) in a watched list.
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
- 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 fororg.matrix.mjolnir.watched_lists
.
Thanks to @mahdi1234 for reporting
v1.81.3
- 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
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