Skip to content

Commit

Permalink
v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnuxie committed Feb 2, 2025
1 parent 81cb3e5 commit bcfdfdf
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
25 changes: 24 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,45 @@ and this project adheres to

## [Unreleased] - None

## [v2.1.0] - 2025-02-02

### Fixed

- `config.protectAllJoinedRooms` was unimplemented in versions `v2.0.2` and
below. This went under the radar in the beta programme because it would have
only been detectable for first time testers migrating over. Reported by
@cremesk.
@cremesk and @HReflex.

- Draupnir will now automatically unprotect rooms when the bot is kicked, and
send an alert to the management room.

- `config.commands.allowNoPrefix` will include the full command arguments again.
Reported by @JacksonChen666 and @heftig in
https://github.com/the-draupnir-project/Draupnir/issues/707.

- Fixed an issue where the `ProtectedRoomsSet` would not be disposed on entering
safe mode via the `!draupnir safe mode` command. This would cause duplicate
protections to apply out of date policies to protected rooms. Reported by
@TheArcaneBrony in
https://github.com/the-draupnir-project/Draupnir/issues/687.

- An issue where sometimes Draupnir would crash if it were unable to fetch its
own profile from the homeserver. We just fallback to nothing if this was the
case https://github.com/the-draupnir-project/Draupnir/issues/703. Reported by
@JokerGermany i think.

### Added

- `RoomSetBehaviourProtection` to add the
`config.protectAllJoinedRoomsFunctionality`. This is also responsible for
unprotecting rooms as the bot is removed from them.

- The `!draupnir rooms` command will now distinguish between joined and
protected rooms, joined but unprotected rooms, and protected but parted rooms.

Thank you to everyone who has been promptly reporting bugs and making these
fixes possible <3

## [v2.0.2] 2025-01-24

### Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "draupnir",
"version": "2.0.2",
"version": "2.1.0",
"description": "A moderation tool for Matrix",
"main": "lib/index.js",
"repository": "https://github.com/the-draupnir-project/Draupnir.git",
Expand Down
2 changes: 1 addition & 1 deletion synapse_antispam/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name="mjolnir",
version="2.0.2", # version automated in package.json - Do not edit this line, use `yarn version`.
version="2.1.0", # version automated in package.json - Do not edit this line, use `yarn version`.
packages=find_packages(),
description="Mjolnir Antispam",
include_package_data=True,
Expand Down

0 comments on commit bcfdfdf

Please sign in to comment.