Releases: Gnuxie/matrix-protection-suite
v2.10.0
[2.10.0] - 2025-02-12
Added
-
Introduced simulated capabilities. All of the Standard capabilities
now have a simulated version that have no effects. -
Capability renderers can now designate themselves as the default
renderer for a capability interface. -
Only one simulated capability and default renderer can be associated
with a capability interface.
v2.9.0
[2.9.0] - 2025-02-10
Added
-
Introduced a new
WatchedPolicyRooms
abstraction by factoring out
PolicyRoomRevision
issuer managemenent from
PolicyRoomsConfig
. This now replacesPolicyRoomsConfig
and the
issuerManager
property in the protected rooms set. -
Expose a way to get the
time
aRevision
was created.
Fixed
revisionID
is now exported onStateRevision
.
v2.8.0
v2.7.0
[2.7.0] - 2025-02-01
Added
- Generic item batching is now available for protections to use by
using theStandardBatcher
.
Changed
-
Task
has been improved to be more liberal in the closures it
accepts. AndTask
now has more options for logging how tasks have
failed. -
The
Protection
callbackhandleExternalInvite
has been renamed to
handleExternalMembership
.
Fixed
- An issue where adding rooms to the protected rooms set more than
once could sometimes cause duplicate events to be propagated.
v2.6.0
[2.6.0] - 2025-01-24
Changed
StandardRoomStateRevisionIssuer
now accepts theRoomStateGetter
capability rather than a callback for fetching room state.
Removed
RoomStateManager['getRoomState']
has been removed and the same
functionality is now provided by by theRoomStateGetter
capability
Added
RoomStateGetter
capability to fetch room state from a room.
v2.5.2
[2.5.2] - 2025-01-18
Fixed
- Fix SchemedMatrixData putting the wrong version number into data.
Sadly a complication of
the-draupnir-project/Draupnir#560.
v2.5.1
[2.5.1] - 2025-01-14
Fixed
- An issue with the
SetRoomMembershipRevisionIssuer
that would allow
duplicate listeners to be added to rooms that were already in the
set. This would cause lots of issues with downstream revision
listeners. We've hardened code downstream, e.g. with the
MembershipPolicyRevisionIssuer
, in case this happens again.
v2.5.0
v2.4.0
[2.4.0] - 2025-01-10
Fixed
-
StandardProtectionsConfig
now uses the provided
SchemedDataManager
to persist the config while disabling
protections. This was a bug, it was always supposed to use the
SchemedDataManager
to persist the version number alongside the
serialized data. Fixes
the-draupnir-project/Draupnir#560. -
The
SynapseAdminReport['name']
property is now appropriately
unioned withnull
.
Added
-
The
user_id
field is now present on theSynapseAdminReport
schema. -
Access to unique member count of
SetMembership
via
SetMembership['uniqueMemberCount']
.
v2.3.0
[2.3.0] - 2025-01-08
Added
SchemaMigration
now provides the schema version number to use
rather than relying on deltas to hand type the number and mess up.
Changed
-
Interface of
ServerConsequences['consequenceForServersInRoom']
has
changed so that it is possible to determine if any changes/effects
have been made after calling. Changed to support
the-draupnir-project/Draupnir#450. -
The
ServerACLEvent
Schema wrongly describedcontent
as optional.
Fixed
-
There was a bug where unwatching a list would cause only the list
you wanted to unwatch to become
watched. the-draupnir-project/Draupnir#647. -
Getting the name of the capability wrong for capability context glue
will now result in an error.