This commit is contained in:
gnuxie
2026-05-07 13:07:24 +01:00
parent c0822ec957
commit 3bbca89bf0
22 changed files with 96 additions and 122 deletions
-5
View File
@@ -1,5 +0,0 @@
---
"draupnir": patch
---
Add set display name command to appservice main bot.
-5
View File
@@ -1,5 +0,0 @@
---
"draupnir": patch
---
Cleanup Configuration file wording.
-6
View File
@@ -1,6 +0,0 @@
---
"draupnir": patch
---
Fix Policy Notification Room invites only being issued to users with join
membership.
-5
View File
@@ -1,5 +0,0 @@
---
"draupnir": patch
---
Add Avatar customisation command for Draupnir
-7
View File
@@ -1,7 +0,0 @@
---
"draupnir": patch
---
Fixed an issue where sometimes Draupnir would log cryptic errors such as
`undefined: undefined`.
https://github.com/the-draupnir-project/Draupnir/issues/759.
-5
View File
@@ -1,5 +0,0 @@
---
"draupnir": patch
---
Add avatar customisation command for Appservice mode admin bot
-21
View File
@@ -1,21 +0,0 @@
---
"draupnir": minor
---
Add managed management/admin room support to bot mode / appservice mode.
\- Add managed management / admin room support
- Add new config options for zero touch provisioning of managed rooms:
\- initialManager for bot mode
\- initialManager for appservice mode
\- If managed modes are enabled while unmanaged rooms are defined the bot will
crash.
\- Fix TrustedReporters being broken by managed management rooms due to explicit
reliance on a management room in the config.
\- Add integration testing for Zero Touch Provisioning workflows.
-7
View File
@@ -1,7 +0,0 @@
---
"@the-draupnir-project/matrix-protection-suite": minor
---
The PowerLevelsMirror has split in two into a PowerLevelsEventMirror and accept
the createEvent in the PowerLevelsMirror. This makes it harder to forget
privileged creators.
-11
View File
@@ -1,11 +0,0 @@
---
"@the-draupnir-project/matrix-protection-suite": minor
---
Projections now produce the next node in a single step, which simplifies their
implementation.
Previously we thought that the two-step system had stronger guarantees for
correctness when persisting projection nodes, but we found in implementation
that the two approaches were almost identical, with two-step being needlessly
complicated https://github.com/the-draupnir-project/planning/issues/120
-5
View File
@@ -1,5 +0,0 @@
---
"draupnir": patch
---
Make appservice configure profile information for main bot and register it.
-8
View File
@@ -1,8 +0,0 @@
---
"@the-draupnir-project/matrix-protection-suite": minor
"draupnir": patch
---
Tighten ActionException to only accept `Error` instead of `unknown`, leading to
less mistakes. We now also offer and use a `ensureThrowableIsError` to use when
checking if third-party apis are throwing junk, such as the matrix-bot-sdk.
-5
View File
@@ -1,5 +0,0 @@
---
"@the-draupnir-project/matrix-basic-types": patch
---
Add MXC URI validation support.
+27 -1
View File
@@ -1,7 +1,7 @@
<!--
SPDX-FileCopyrightText: 2024 Gnuxie <Gnuxie@protonmail.com>
SPDX-License-Identifier: CC-BY-SA-4.0
SPDX-License-Identifier: 0BSD
-->
# Changelog
@@ -11,6 +11,32 @@ All notable changes to Draupnir will be kept in this file.
This project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [3.1.0] - 2026-05-07
### Minor Changes
- Draupnir can now create the management room in bot mode, and also the admin
room for managing appservice deployments. This is achieved by configuring an
`initialManager` when setting up the bot, who will be invited to a newly
created management room. This work was contributed by @FSG-Cat as part of his
work to further streamline deployment
https://github.com/the-draupnir-project/Draupnir/issues/1077.
### Patch Changes
- Add Avatar customisation command for Draupnir (`!draupnir avatar`) and the
appservice admin bot, by @FSG-Cat.
- Add a command to set the display name of the appservice admin bot, by
@FSG-Cat.
- Cleanup Configuration file wording around `protectAllJoinedRooms` by @FSG-Cat.
- Fix Policy Notification Room invites only being issued to users with join
membership, by @FSG-Cat.
- Fix an issue where sometimes Draupnir would log cryptic errors such as
`undefined: undefined` by @Gnuxie.
https://github.com/the-draupnir-project/Draupnir/issues/759.
- Fix an issue where the appservice would not configure profile information for
main bot and register it by @FSG-Cat.
## [v3.0.0] - 2026-04-02
Draupnir [v3.0.0] is focussed on changes to improve maintenance of the project,
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "draupnir",
"version": "3.0.0",
"version": "3.1.0",
"description": "A moderation tool for Matrix",
"main": "lib/index.js",
"repository": "https://github.com/the-draupnir-project/Draupnir.git",
@@ -45,7 +45,7 @@
"@sentry/node": "^7.17.2",
"@sinclair/typebox": "0.34.13",
"@the-draupnir-project/interface-manager": "4.2.6",
"@the-draupnir-project/matrix-basic-types": "1.5.0",
"@the-draupnir-project/matrix-basic-types": "1.5.1",
"@the-draupnir-project/mps-interface-adaptor": "0.6.0",
"@vector-im/matrix-bot-sdk": "^0.8.0-element.3",
"better-sqlite3": "^12.8.0",
@@ -56,8 +56,8 @@
"js-yaml": "^4.1.0",
"jsdom": "^24.0.0",
"matrix-appservice-bridge": "^11.2.0",
"matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.0.0",
"matrix-protection-suite-for-matrix-bot-sdk": "npm:@the-draupnir-project/matrix-protection-suite@5.0.0",
"matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.1.0",
"matrix-protection-suite-for-matrix-bot-sdk": "npm:@the-draupnir-project/matrix-protection-suite@5.0.1",
"pg": "^8.8.0",
"yaml": "^2.3.2"
},
+13 -13
View File
@@ -28,14 +28,14 @@
}
},
"apps/draupnir": {
"version": "3.0.0",
"version": "3.1.0",
"license": "Apache-2.0",
"dependencies": {
"@gnuxie/typescript-result": "^1.0.0",
"@sentry/node": "^7.17.2",
"@sinclair/typebox": "0.34.13",
"@the-draupnir-project/interface-manager": "4.2.6",
"@the-draupnir-project/matrix-basic-types": "1.5.0",
"@the-draupnir-project/matrix-basic-types": "1.5.1",
"@the-draupnir-project/mps-interface-adaptor": "0.6.0",
"@vector-im/matrix-bot-sdk": "^0.8.0-element.3",
"better-sqlite3": "^12.8.0",
@@ -46,8 +46,8 @@
"js-yaml": "^4.1.0",
"jsdom": "^24.0.0",
"matrix-appservice-bridge": "^11.2.0",
"matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.0.0",
"matrix-protection-suite-for-matrix-bot-sdk": "npm:@the-draupnir-project/matrix-protection-suite@5.0.0",
"matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.1.0",
"matrix-protection-suite-for-matrix-bot-sdk": "npm:@the-draupnir-project/matrix-protection-suite@5.0.1",
"pg": "^8.8.0",
"yaml": "^2.3.2"
},
@@ -14598,7 +14598,7 @@
},
"packages/matrix-basic-types": {
"name": "@the-draupnir-project/matrix-basic-types",
"version": "1.5.0",
"version": "1.5.1",
"license": "Apache-2.0",
"dependencies": {
"@gnuxie/typescript-result": "^1.0.0",
@@ -14628,7 +14628,7 @@
},
"packages/matrix-protection-suite": {
"name": "@the-draupnir-project/matrix-protection-suite",
"version": "7.0.0",
"version": "7.1.0",
"license": "Apache-2.0",
"dependencies": {
"@gnuxie/typescript-result": "^1.0.0",
@@ -14647,12 +14647,12 @@
},
"peerDependencies": {
"@sinclair/typebox": "0.34.13",
"@the-draupnir-project/matrix-basic-types": "^1.5.0"
"@the-draupnir-project/matrix-basic-types": "^1.5.1"
}
},
"packages/matrix-protection-suite-for-matrix-bot-sdk": {
"name": "@the-draupnir-project/matrix-protection-suite-for-matrix-bot-sdk",
"version": "5.0.0",
"version": "5.0.1",
"license": "Apache-2.0",
"dependencies": {
"@gnuxie/typescript-result": "^1.0.0",
@@ -14663,14 +14663,14 @@
"@types/glob-to-regexp": "^0.4.1",
"@types/node": "^24.12.0",
"@vector-im/matrix-bot-sdk": "0.8.0-element.3",
"matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.0.0",
"matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.1.0",
"typedoc": "^0.26.3"
},
"peerDependencies": {
"@sinclair/typebox": "0.34.13",
"@the-draupnir-project/matrix-basic-types": "1.5.0",
"@the-draupnir-project/matrix-basic-types": "1.5.1",
"@vector-im/matrix-bot-sdk": "^0.8.0-element.3",
"matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.0.0"
"matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.1.0"
}
},
"packages/matrix-protection-suite-for-matrix-bot-sdk/node_modules/@types/node": {
@@ -14790,13 +14790,13 @@
"license": "Apache-2.0",
"devDependencies": {
"@types/node": "^24.12.0",
"matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.0.0"
"matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.1.0"
},
"peerDependencies": {
"@gnuxie/typescript-result": "^1.0.0",
"@sinclair/typebox": "^0.34.13",
"@the-draupnir-project/interface-manager": "^4.2.3",
"matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.0.0"
"matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.1.0"
}
},
"packages/mps-interface-adaptor/node_modules/@types/node": {
+9 -3
View File
@@ -1,17 +1,23 @@
<!--
SPDX-FileCopyrightText: 2024 Gnuxie <Gnuxie@protonmail.com>
SPDX-License-Identifier: CC-BY-SA-4.0
SPDX-License-Identifier: 0BSD
-->
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to
This project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.5.1] - 2026-05-07
### Patch Changes
- Add `StringMediaURI` for parsing and validating Matrix media URIs, contributed
by @FSG-Cat.
## [1.5.0] - 2026-01-20
### Changed
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@the-draupnir-project/matrix-basic-types",
"version": "1.5.0",
"version": "1.5.1",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
@@ -1,7 +1,7 @@
<!--
SPDX-FileCopyrightText: 2024 Gnuxie <Gnuxie@protonmail.com>
SPDX-License-Identifier: CC-BY-SA-4.0
SPDX-License-Identifier: 0BSD
-->
# Changelog
@@ -11,6 +11,13 @@ All notable changes to this project will be documented in this file.
This project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [5.0.1] - 2026-05-07
### Patch Changes
- Updated dependencies [f3e29fb]
- @the-draupnir-project/matrix-basic-types@1.5.1
## [5.0.0] - 2026-04-02
### Major changes
@@ -1,6 +1,6 @@
{
"name": "@the-draupnir-project/matrix-protection-suite-for-matrix-bot-sdk",
"version": "5.0.0",
"version": "5.0.1",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
@@ -26,7 +26,7 @@
"@types/glob-to-regexp": "^0.4.1",
"@types/node": "^24.12.0",
"@vector-im/matrix-bot-sdk": "0.8.0-element.3",
"matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.0.0",
"matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.1.0",
"typedoc": "^0.26.3"
},
"dependencies": {
@@ -35,9 +35,9 @@
},
"peerDependencies": {
"@sinclair/typebox": "0.34.13",
"@the-draupnir-project/matrix-basic-types": "1.5.0",
"@the-draupnir-project/matrix-basic-types": "1.5.1",
"@vector-im/matrix-bot-sdk": "^0.8.0-element.3",
"matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.0.0"
"matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.1.0"
},
"publishConfig": {
"access": "public"
+26 -1
View File
@@ -1,7 +1,7 @@
<!--
SPDX-FileCopyrightText: 2024 Gnuxie <Gnuxie@protonmail.com>
SPDX-License-Identifier: CC-BY-SA-4.0
SPDX-License-Identifier: 0BSD
-->
# Changelog
@@ -11,6 +11,31 @@ All notable changes to this project will be documented in this file.
This project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [7.1.0] - 2026-05-07
### Minor Changes
- The `PowerLevelsMirror` has split in two into a `PowerLevelsEventMirror` and
accept the `m.room.create` event in the `PowerLevelsMirror`. This makes it
harder to forget privileged creators from v12 and above.
- Projections now produce the next node in a single step, which simplifies their
implementation. Previously we thought that the two-step system had stronger
guarantees for correctness when persisting projection nodes, but we found in
implementation that the two approaches were almost identical, with two-step
being needlessly complicated
https://github.com/the-draupnir-project/planning/issues/120
- Tightened `ActionException` to only accept `Error` instead of `unknown`,
leading to less mistakes. We now also offer and use a `ensureThrowableIsError`
to use when checking if third-party apis are throwing junk, such as the
matrix-bot-sdk.
### Patch Changes
- Updated dependencies [f3e29fb]
- @the-draupnir-project/matrix-basic-types@1.5.1
## [7.0.0] - 2026-04-02
### Major changes
@@ -1,6 +1,6 @@
{
"name": "@the-draupnir-project/matrix-protection-suite",
"version": "7.0.0",
"version": "7.1.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
@@ -40,7 +40,7 @@
},
"peerDependencies": {
"@sinclair/typebox": "0.34.13",
"@the-draupnir-project/matrix-basic-types": "^1.5.0"
"@the-draupnir-project/matrix-basic-types": "^1.5.1"
},
"publishConfig": {
"access": "public"
+2 -2
View File
@@ -23,13 +23,13 @@
"private": false,
"devDependencies": {
"@types/node": "^24.12.0",
"matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.0.0"
"matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.1.0"
},
"peerDependencies": {
"@gnuxie/typescript-result": "^1.0.0",
"@sinclair/typebox": "^0.34.13",
"@the-draupnir-project/interface-manager": "^4.2.3",
"matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.0.0"
"matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.1.0"
},
"publishConfig": {
"access": "public"