fix(deps): update module maunium.net/go/mautrix to v0.27.0#255
Open
CubicrootXYZ wants to merge 1 commit intomainfrom
Open
fix(deps): update module maunium.net/go/mautrix to v0.27.0#255CubicrootXYZ wants to merge 1 commit intomainfrom
CubicrootXYZ wants to merge 1 commit intomainfrom
Conversation
a823900 to
b3a54c8
Compare
26ae7d1 to
9f49795
Compare
c8f1ade to
22e3bfc
Compare
dcb421d to
4c74c85
Compare
4c74c85 to
1d69e32
Compare
1d69e32 to
1a6aca5
Compare
1a6aca5 to
192e807
Compare
192e807 to
cdfccca
Compare
cdfccca to
287dab7
Compare
e8ae69a to
13a9c52
Compare
13a9c52 to
000a354
Compare
000a354 to
8dbebbb
Compare
8dbebbb to
c272af0
Compare
c272af0 to
b5903fb
Compare
b5903fb to
ed76deb
Compare
64d322d to
06cecbd
Compare
3db2892 to
ccfd308
Compare
ccfd308 to
ba040f3
Compare
ba040f3 to
f07579b
Compare
f07579b to
28a7022
Compare
28a7022 to
05ce824
Compare
811904e to
92445c0
Compare
3dabfc9 to
0c1cc7e
Compare
0c1cc7e to
53b7ed6
Compare
9dc3d64 to
f405b75
Compare
f405b75 to
2df5aea
Compare
2df5aea to
f869d51
Compare
f869d51 to
97d2d8e
Compare
97d2d8e to
2b54dbd
Compare
4e2728c to
1a84f88
Compare
1a84f88 to
e9f6263
Compare
e9f6263 to
512cd62
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.13.0→v0.27.0Release Notes
mautrix/go (maunium.net/go/mautrix)
v0.27.0Compare Source
Slightly breaking changes
GetOwnCrossSigningPublicKeysto return errors instead ofonly logging them and returning nil.
If you use mautrix types with gob, you'll have to register the structs yourself.
New features and non-breaking changes
m.fully_readbackwards.(thanks to [@nexy7574] in #466).
chats and/or users.
to create new portal rooms for existing groups.
bridgeand
set-relaycommands.ASIntentto get statewhile respecting room membership.
the portal event buffer size.
EnsureHasHTMLto also ensure the body is treated as acaption for media messages.
of calling
os.Exitdirectly.omitzeroinstead of customJSON marshaling functions.
Bug fixes
successfully decrypting a message.
ResolveTrustnot checking trust status of cross-signingkeys correctly.
m.relates_tocopying not working for some inputs with goolm.Content.UnmarshalJSONincorrectly keeping a reference to theinput data.
duplicate room being created.
environment variables.
mx_registrationsdatabase query on everyrequest.
v0.26.4Compare Source
(register, upload cross-signing keys, delete devices) to take the auth data
as a type parameter.
message as untrusted instead of failing entirely.
m.tz)for ghosts.
delete-chatcommand to delete chats on theremote network.
with room creation.
incorrectly on networks that only allow one reaction per message.
contains messages with a lower timestamp than the root message.
display step.
backticks.
(thanks to [@nexy7574] in #464).
v0.26.3Compare Source
metadata.
sessions that already exist in the database.
separators instead of always
/.sender_claimed_keysfield.parser used for debugging.
up properly.
v0.26.2Compare Source
deleting large portals.
as per MSC4392.
default_valuefor user input fields.HTTP client settings and to reset active connections of the network connector.
API HTTP router and add new endpoints.
MXC URI is empty.
GetEventpanicking when trying to decrypt events.a portal re-ID call.
v0.26.1Compare Source
GetMediaResponseFileto returnthe mime type from the callback rather than in the return get media return
value. The callback can now also redirect the caller to a different file.
(thanks to [@nexy7574] in #422).
(with MSC3870).
environment variables.
user ID when handling an invite from Matrix.
CanBackfillflagis set in chat info.
bridging the new one is successful.
pre-megabridge database when no database migration exists.
portals.
portal rooms.
server capabilities to determine appropriate
/createRoomparameters.v0.26.0Compare Source
SendMassagedStateEventasSendStateEventhas been able to do the same for a while now.
requests to untrusted servers.
/admin/whoisclient API(thanks to [@nexy7574] in #411).
force_purgeoption to DeleteRoom(thanks to [@nexy7574] in #420).
change to the remote network fails.
doesn't resolve within 3 minutes.
invited when creating a group.
selecttype for user input fields in login.filtering space.
other bots.
possible.
and encrypted files.
is public.
disappearing timers for messages up to the read message (note: may not work in
all cases if the read receipt points at an unknown event).
an HTML reply fallback is removed successfully.
(thanks to [@nexy7574] in #426).
DontReadBodyparameter.
v0.25.2Compare Source
UserID.ParseAndValidateintoParseAndValidateRelaxedandParseAndValidateStrict. Strict is the oldbehavior, but most users likely want the relaxed version, as there are real
users whose user IDs aren't valid under the strict rules.
keys.
key for the bridge bot and self-sign the bridge's device.
for encryption with standard servers like Synapse.
decryption keys. On initial sync, keys won't be requested at all by default.
m.relates_to.RespUserProfilelosing standard fields when re-marshaling.v0.25.1Compare Source
(thanks to @fmseals in #393).
(thanks to [@nexy7574] in #407).
state_afterin sync.m.relates_tois always copied even ifthe content struct doesn't implement
Relatable.haven't been used successfully in either direction.
authorizing PDUs.
GOEXPERIMENT=jsonv2is_animatedflag from MSC4230 to file info.for homeserver connections.
and provisioning API.
get an old event. The method is best effort only, as some configurations don't
allow fetching old events.
API, commands and other sources.
caption and media are merged.
had already broken in the previous release.
v0.25.0Compare Source
with standard library ServeMux.
User-Agentheader for improved Wasmcompatibility.
use too many resources even if there are a large number of messages.
cancelcommand.
resolution.
private keys.
state event to hide them from the room name calculation.
if there are multiple Matrix users in the room.
one when outside
pre/codetags.is only missing protocol part of href.
<a href="https://example.com">example.com</a>will turn intoexample.comrather thanexample.com (https://example.com)coder/websocket.
AlreadySharederror inShareGroupSession.The function will now act as if it was successful instead.
v0.24.2Compare Source
that the return value will always be "queued" unless the event buffer is
disabled.
relay mode.
they hit an
UNKNOWN_ERRORstate.being created before proper support for them can be added.
buffer is full.
(thanks to @krombel in #392).
v0.24.1Compare Source
command handlers.
/relationsendpoints.entityfield when sending hashed moderationpolicy events.
MarkdownLinkandMarkdownMentionutility functions forgenerating properly escaped markdown.
Clientstruct to not embed themautrix.Client.This is a breaking change if you were relying on accessing non-admin functions
from the admin client.
/display_and_waitnot passing through errorsfrom the network connector properly.
prefix as the bridge ghosts (e.g.
@whatsappbridgeuser:example.comwith a@whatsapp_prefix).Matrix DM invite.
should be bridged.
EnsureRegisterednot being called when sending a custommember event for the controlled user.
v0.24.0Compare Source
a context value instead of having to call
MakeFullRequestmanually.to allow the client more control over the process.
a given chat.
sending messages to remote network.
unwedging Olm sessions.
forwarding_curve25519_key_chainnot being set consistentlywhen backing up keys.
portal is deleted.
and causing unnecessary error logs.
v0.23.3Compare Source
allowed_room_idsfield to room summary responses(thanks to [@nexy7574] in #367).
to wait for a remote echo.
typing event before a message.
room, allowing the next DM to be automatically marked as a management room.
The status package is now only available under bridgev2.
v0.23.2Compare Source
m.federatefield in room create eventcontent to a pointer to allow detecting omitted values.
set-management-roomcommand to set a newmanagement room.
original sender on Matrix can't be puppeted.
m.noticemessages.comparisons.
MSC4205.
MSC2815.
sqlite3-fk-walinstead of plainsqlite3by default.as outdated on SQLite.
v0.23.1Compare Source
FullStateEventmethod to get a state event includingmetadata (using the
?format=eventquery parameter).case-sensitive.
ResolveTrustin favor ofResolveTrustContext.GetAndVerifyLatestKeyBackupVersionto take an optional private key parameter. The method will now trust the
public key if it matches the provided private key even if there are no valid
signatures.
IsDeviceTrusted.v0.23.0Compare Source
JoinRoomparameters to allow multiplevias.NetworkAPI.GetCapabilitiesis now different.com.beeper.room_featuresstate event.GetRoomSummaryto implement MSC3266.(thanks to @nexy7574 in #337).
if messages are repeated (e.g. if the app crashes right after decrypting).
created instead of only relying on an in-memory map.
properly after a successful verification.
appservicetoencryption.call was made with a temporary context.
helpcommand to hide commands which requireinterfaces that aren't implemented by the network connector.
connector.
creating a DM by inviting a ghost user.
RemoteReactionSyncevents replacing all reactions everytime instead of only changed ones.
v0.22.1Compare Source
a single device.
status.
in-progress verifications.
GetMutualRoomswrapper for MSC2666.JoinRoomto use theviaquery param instead ofserver_nameas per MSC4156.pmcommand not actually starting the chat.chats with a Matrix ghost user. This allows treating internal user IDs
differently than arbitrary user-input strings.
(thanks to @onestacked in #288).
v0.22.0Compare Source
DefaultChatNameconstant to explicitlyreset portal names to the default (based on members).
push_ephemeraltoreceive_ephemeral. Homeserver admins must updateexisting registrations manually.
imgtags.sender_notification_permissionconditionkind (used for
@roommentions).json.RawMessageinEncryptMegolmEvent.GetMediaResponseCallbackandGetMediaResponseFileto write proxied data directly to http response or temp file instead of
having to use an
io.Reader.v0.21.1Compare Source
is needed.
disabling indented code block parser.
Hasmethod forMentions.v0.21.0Compare Source
Matrix v1.11 support is now required from the homeserver, although it's not
enforced using
/versionsas some servers don't advertise it.encryption.
testing of libolm and goolm, as well as potentially support vodozemac
in the future.
/syncrequest logs to trace level.WriteandWithMessagehelpers toRespErrorto make iteasier to use on servers.
org.matrix.msc1767.audiofield allowing omitting theduration and waveform.
MatrixURImethods to not panic if the receiver is nil..well-knownfiles.v0.20.0Compare Source
client for making federation requests.
key ID as a parameter to ensure it's correctly set even if the key metadata
wasn't fetched via
GetKeyData.and strikethrough parsing (as in
*foo*-> foo,_foo_-> foo and~foo~->foo)RenderMarkdownet al to always includem.mentionsinreturned content. The mention list is filled with matrix.to URLs from the
input by default.
v0.19.0Compare Source
masterbranch tomain.m.relates_tofrom wire content todecrypted content.
requests elsewhere.
Members()to automatically parse event content for allreturned events.
/registercall if/versionsfails withM_FORBIDDEN.DecryptMegolmEventsometimes calling database withouttransaction by using the non-context version of
ResolveTrust.io.SeekerinEncryptStreamto allowusing it in retriable HTTP requests.
Mentionsobject.(thanks to @rudis in #250).
State()when state store returnsno error (thanks to @rudis in #249).
cancellation events (thanks to @rudis in #247).
beta.1 (2024-06-16)
SessionReceivedcallback.ImportRoomKeyFromBackupto return the importedsession.
errorparameter toResponseHook.Downloadto return entire response instead of just anio.Reader.ensure keys aren't accidentally regenerated in case the request fails.
EncryptMegolmEventandShareGroupSessionto returnmore errors instead of only logging and ignoring them.
keys, but for normal clients it's just unnecessary overhead.
Storeto not takesender key as parameter.
MemoryStorestruct.Using MemoryStore in production is not recommended.
DecryptMegolmEventto copym.relates_toin the rawcontent too instead of only in the parsed struct.
ciphertext bytes.
crypto_secretstable to includeaccount ID.
UpdateRequestOnRetryhook which is called immediatelybefore retrying a normal HTTP request.
SpecVersionsproperty can either be filled manually, or
Versionscan be called toautomatically populate the field with the response.
v0.18.1Compare Source
context.Contextfield to HTMLParser's Context struct.(thanks to @maltee1 in #193 and #204).
lower first known index than the existing session if there is one.
to avoid re-requesting device list for every deleted device that has signed
key backup.
cross-signing keys
v0.18.0Compare Source
maulogger. Only zerolog loggers are now provided by default.
returned no value.
(thanks to @grvn-ht in #181).
EncryptMegolmEventto return an error if persisting themegolm session fails. This ensures that database errors won't cause messages
to be sent with duplicate indexes.
GetOrRequestSecretto use a callback instead of returningthe value directly. This allows validating the value in order to ignore
invalid secrets.
ParseCommonIdentifierfunction to parse any Matrix identifierin the Common Identifier Format.
beta.1 (2024-02-16)
verification code and replaced it with a new
verificationhelper.private keys via secret sharing.
initially shared to, and allowing re-sharing the keys to those sessions.
user-interactive auth instead of only hardcoding password support.
(e.g.
/transactionsinstead of/_matrix/app/v1/transactions).access_tokenauthorization inappservice endpoints.
RawArgsfield in command events of command state callbacks.CreateFullhelper function for creating anAppServiceinstance with all the mandatory fields set.
v0.17.0Compare Source
functions.
(started by @recht in #144).
function parameters to the
Mautrix.EventSourcefield inside the eventstruct.
EventSourcetoevent.Source.OldEventIgnorer. The non-deprecated version(
Client.DontProcessOldEvents) is still available.(thanks to @DerLukas15 in #106).
goolmbuild tag to the new implementation.ParseErrorHandlerfunction.v0.16.2Compare Source
Redactsfield toRedactionEventContentfor room v11+.ReverseTextToHTMLwhich reverses the changes made byTextToHTML(i.e. unescapes HTML characters and replaces<br/>with\n).logger.
message that failed to decrypt was in a thread.
v0.16.1Compare Source
+as per MSC4009.(shared secret, legacy appservice, new appservice).
ExecSyncvariables in theEventProcessor.PkDecryptionwrapper.v0.16.0Compare Source
historicalfield in them.room.power_levelsevent content struct.
--version-jsonflag to print bridge version info as JSON.v0.15.4Compare Source
send methods, as upstream MSC2716 support has been abandoned.
downloads.
the automatic ratcheting was implemented (in v0.15.1).
JSONutility for writing/reading arbitrary JSON objects tothe db conveniently without manually de/serializing.
v0.15.3Compare Source
event_property_isandevent_property_containspush rule condition kinds as per MSC3758 and MSC3966.
to use appservice websockets easily.
OldEventIgnorerand addedClient.DontProcessOldEventsto replace it.
MoveInviteStatesync handler for moving state events inthe invite section of sync inside the invite event itself.
because the keys had been ratcheted forward.
UnstableCreateMXCandUnstableUploadAsyncwere renamed toCreateMXCand
UploadAsyncrespectively.read-only transactions.
don't lock the database, even when normal transactions are configured to
acquire a write lock immediately.
v0.15.2Compare Source
state store.
user agent at compile time.
RespErrormarshaling mutating theExtraDatamap andpotentially causing panics.
DoTxnmethod for an easier way to manage databasetransactions.
CallerMarshalFuncimplementation that includes thefunction name.
configured to do encryption.
v0.15.1Compare Source
sessions to minimize access to old messages.
only the list of actions).
NotifySpecifiedas there's no reason to read it.max_agecolumn incrypto_megolm_inbound_sessiontableto be milliseconds instead of nanoseconds.
RingBuffer.own devices in addition to the sender, instead of only asking the sender.
FindSharedRoomsthrowing an error when using froma non-bridge context.
AccountDataSyncStoreto not resend save requests ifthe sync token didn't change.
Clone()method forPowerLevelEventContent.v0.15.0Compare Source
beta.3 (2023-03-15)
Load()andAppService.Init()functions. The struct should just be created with
Create()and the relevantfields should be filled manually.
HomeserverURLfield andreplaced it with a
SetHomeserverURLmethod.appservice HTTP server.
strings (using zerolog's
Dur(), so the exact output can be configured).events, and when failing to decrypt due to duplicate index.
enabled.
beta.2 (2023-03-02)
nocryptotag.when
file_name_formatwas empty.FullyQualifymethod to add necessary emojivariation selectors without adding all possible ones.
beta.1 (2023-02-24)
ClientandBridgestructs still include a legacy logger forbackwards compatibility.
SQLStateStorefrom appservice module to thetop-level (client) module.
Typingmap inSQLStateStore.SaveRoomandLoadRoommethods inStorer.SendVideoandSendImagemethods.AppServiceUserIDfield withSetAppServiceUserIDboolean.The
UserIDfield is used as the value for the query param.GobStoretoMemoryStoreand removed the file savingfeatures. The data can still be persisted, but the persistence part must be
implemented separately.
DeviceIdentityalias(renamed to
id.Devicelong ago).Stringifableinterface as it's the same asfmt.Stringer.Storerinterface toSyncStore. A type alias exists forbackwards-compatibility.
M_UNKNOWN_TOKENerrors.v0.14.0Compare Source
Contextto havemore data.
or
matrix:URIs.RawArgsto commands to allow accessing non-split input.ReplyAdvancedto commands to allow setting markdownsettings.
notificationskey toPowerLevelEventContent.SetEditto cut off edit fallback if the message is long.SyncMapas a simple generic wrapper for a map with a mutex.ReturnableOnceas a wrapper forsync.Oncewith a returnvalue.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.