wayback
wayback copied to clipboard
Bump maunium.net/go/mautrix from 0.12.0 to 0.18.1
Bumps maunium.net/go/mautrix from 0.12.0 to 0.18.1.
Release notes
Sourced from maunium.net/go/mautrix's releases.
v0.18.1
- (format) Added a
context.Contextfield to HTMLParser's Context struct.- (bridge) Added support for handling join rules, knocks, invites and bans (thanks to
@maltee1in #193 and #204).- (crypto) Changed forwarded room key handling to only accept keys with a lower first known index than the existing session if there is one.
- (crypto) Changed key backup restore to assume own device list is up to date to avoid re-requesting device list for every deleted device that has signed key backup.
- (crypto) Fixed memory cache not being invalidated when storing own cross-signing keys
v0.18.0
- Breaking change (client, bridge, appservice) Dropped support for maulogger. Only zerolog loggers are now provided by default.
- (bridge) Fixed upload size limit not having a default if the server returned no value.
- (synapseadmin) Added wrappers for some room and user admin APIs. (thanks to
@grvn-htin #181).- (crypto/verificationhelper) Fixed bugs.
- (crypto) Fixed key backup uploading doing too much base64.
- (crypto) Changed
EncryptMegolmEventto return an error if persisting the megolm session fails. This ensures that database errors won't cause messages to be sent with duplicate indexes.- (crypto) Changed
GetOrRequestSecretto use a callback instead of returning the value directly. This allows validating the value in order to ignore invalid secrets.- (id) Added
ParseCommonIdentifierfunction to parse any Matrix identifier in the Common Identifier Format.- (federation) Added simple key server that passes the federation tester.
v0.18.0-beta.1
- Bumped minimum Go version to 1.21.
- (bridge) Bumped minimum Matrix spec version to v1.4.
- Breaking change (crypto) Deleted old half-broken interactive verification code and replaced it with a new
verificationhelper.
- The new verification helper is still experimental.
- Both QR and emoji verification are supported (in theory).
- (crypto) Added support for server-side key backup.
- (crypto) Added support for receiving and sending secrets like cross-signing private keys via secret sharing.
- (crypto) Added support for tracking which devices megolm sessions were initially shared to, and allowing re-sharing the keys to those sessions.
- (client) Changed cross-signing key upload method to accept a callback for user-interactive auth instead of only hardcoding password support.
- (appservice) Dropped support for legacy non-prefixed appservice paths (e.g.
/transactionsinstead of/_matrix/app/v1/transactions).- (appservice) Dropped support for legacy
access_tokenauthorization in appservice endpoints.- (bridge) Fixed
RawArgsfield in command events of command state callbacks.- (appservice) Added
CreateFullhelper function for creating anAppServiceinstance with all the mandatory fields set.v0.17.0
- Breaking change (bridge) Added raw event to portal membership handling functions.
- Breaking change (everything) Added context parameters to all functions (started by
@rechtin #144).- Breaking change (client) Moved event source from sync event handler function parameters to the
Mautrix.EventSourcefield inside the event struct.- Breaking change (client) Moved
EventSourcetoevent.Source.- (client) Removed deprecated
OldEventIgnorer. The non-deprecated version (Client.DontProcessOldEvents) is still available.- (crypto) Added experimental pure Go Olm implementation to replace libolm (thanks to
@DerLukas15in #106).
- You can use the
goolmbuild tag to the new implementation.- (bridge) Added context parameter for bridge command events.
- (bridge) Added method to allow custom validation for the entire config.
- (client) Changed default syncer to not drop unknown events.
- The syncer will still drop known events if parsing the content fails.
- The behavior can be changed by changing the
ParseErrorHandlerfunction.- (crypto) Fixed some places using math/rand instead of crypto/rand.
... (truncated)
Changelog
Sourced from maunium.net/go/mautrix's changelog.
v0.18.1 (2024-04-16)
- (format) Added a
context.Contextfield to HTMLParser's Context struct.- (bridge) Added support for handling join rules, knocks, invites and bans (thanks to
@maltee1in #193 and #204).- (crypto) Changed forwarded room key handling to only accept keys with a lower first known index than the existing session if there is one.
- (crypto) Changed key backup restore to assume own device list is up to date to avoid re-requesting device list for every deleted device that has signed key backup.
- (crypto) Fixed memory cache not being invalidated when storing own cross-signing keys
#193: mautrix/go#193 #204: mautrix/go#204
v0.18.0 (2024-03-16)
- Breaking change (client, bridge, appservice) Dropped support for maulogger. Only zerolog loggers are now provided by default.
- (bridge) Fixed upload size limit not having a default if the server returned no value.
- (synapseadmin) Added wrappers for some room and user admin APIs. (thanks to
@grvn-htin #181).- (crypto/verificationhelper) Fixed bugs.
- (crypto) Fixed key backup uploading doing too much base64.
- (crypto) Changed
EncryptMegolmEventto return an error if persisting the megolm session fails. This ensures that database errors won't cause messages to be sent with duplicate indexes.- (crypto) Changed
GetOrRequestSecretto use a callback instead of returning the value directly. This allows validating the value in order to ignore invalid secrets.- (id) Added
ParseCommonIdentifierfunction to parse any Matrix identifier in the [Common Identifier Format].- (federation) Added simple key server that passes the federation tester.
#181: mautrix/go#181 [Common Identifier Format]: https://spec.matrix.org/v1.9/appendices/#common-identifier-format
beta.1 (2024-02-16)
- Bumped minimum Go version to 1.21.
- (bridge) Bumped minimum Matrix spec version to v1.4.
- Breaking change (crypto) Deleted old half-broken interactive verification code and replaced it with a new
verificationhelper.
- The new verification helper is still experimental.
- Both QR and emoji verification are supported (in theory).
- (crypto) Added support for server-side key backup.
... (truncated)
Commits
a19dab1Bump version to v0.18.1423d32dAdd real context to HTML parser context struct640086dFix default prevContent in bridge membership event handler (#204)898b235Allow overriding http.Client with FullRequest64cc843Invalidate memory cache when storing own cross-signing keys0095e1fAssume the device list is up-to-date on key backup restoreade00e8Merge pull request #193 from maltee1/join_rule9fe6658Check that shared IGS has higher index than stored4dd7adcMerge pull request #200 from beeper/adam/hsorder8ba307bFix Unsigned.IsEmpty() when all we have is HSOrder- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.