nikoksr / notify

A dead simple Go library for sending notifications to various messaging services.
MIT License
2.77k stars 204 forks source link

fix(deps): update module maunium.net/go/mautrix to v0.18.1 #814

Open renovate[bot] opened 5 months ago

renovate[bot] commented 5 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
maunium.net/go/mautrix v0.16.2 -> v0.18.1 age adoption passing confidence

Release Notes

mautrix/go (maunium.net/go/mautrix) ### [`v0.18.1`](https://togithub.com/mautrix/go/blob/HEAD/CHANGELOG.md#v0181-2024-04-16) [Compare Source](https://togithub.com/mautrix/go/compare/v0.18.0...v0.18.1) - *(format)* Added a `context.Context` field to HTMLParser's Context struct. - *(bridge)* Added support for handling join rules, knocks, invites and bans (thanks to [@​maltee1] in [#​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 [@​maltee1]: https://togithub.com/maltee1 [#​193]: https://togithub.com/mautrix/go/pull/193 [#​204]: https://togithub.com/mautrix/go/pull/204 ### [`v0.18.0`](https://togithub.com/mautrix/go/blob/HEAD/CHANGELOG.md#v0180-2024-03-16) [Compare Source](https://togithub.com/mautrix/go/compare/v0.17.0...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-ht] in [#​181]). - *(crypto/verificationhelper)* Fixed bugs. - *(crypto)* Fixed key backup uploading doing too much base64. - *(crypto)* Changed `EncryptMegolmEvent` to 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 `GetOrRequestSecret` to use a callback instead of returning the value directly. This allows validating the value in order to ignore invalid secrets. - *(id)* Added `ParseCommonIdentifier` function to parse any Matrix identifier in the [Common Identifier Format]. - *(federation)* Added simple key server that passes the federation tester. [@​grvn-ht]: https://togithub.com/grvn-ht [#​181]: https://togithub.com/mautrix/go/pull/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. - *(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. `/transactions` instead of `/_matrix/app/v1/transactions`). - *(appservice)* Dropped support for legacy `access_token` authorization in appservice endpoints. - *(bridge)* Fixed `RawArgs` field in command events of command state callbacks. - *(appservice)* Added `CreateFull` helper function for creating an `AppService` instance with all the mandatory fields set. ### [`v0.17.0`](https://togithub.com/mautrix/go/blob/HEAD/CHANGELOG.md#v0170-2024-01-16) [Compare Source](https://togithub.com/mautrix/go/compare/v0.16.2...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 [@​recht] in [#​144]). - **Breaking change *(client)*** Moved event source from sync event handler function parameters to the `Mautrix.EventSource` field inside the event struct. - **Breaking change *(client)*** Moved `EventSource` to `event.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 [@​DerLukas15] in [#​106]). - You can use the `goolm` build 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 `ParseErrorHandler` function. - *(crypto)* Fixed some places using math/rand instead of crypto/rand. [@​DerLukas15]: https://togithub.com/DerLukas15 [@​recht]: https://togithub.com/recht [#​106]: https://togithub.com/mautrix/go/pull/106 [#​144]: https://togithub.com/mautrix/go/pull/144

Configuration

šŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

šŸš¦ Automerge: Enabled.

ā™» 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 Mend Renovate. View repository job log here.

renovate[bot] commented 1 month ago

ā„¹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

Details:

Package Change
go 1.19 -> 1.22.4
github.com/stretchr/testify v1.8.4 -> v1.9.0
golang.org/x/sync v0.6.0 -> v0.7.0
github.com/rs/zerolog v1.31.0 -> v1.32.0
go.mau.fi/util v0.2.1 -> v0.4.2
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa -> v0.0.0-20240409090435-93d18d7e34b8
github.com/stretchr/objx v0.5.0 -> v0.5.2
github.com/tidwall/gjson v1.17.0 -> v1.17.1
golang.org/x/crypto v0.18.0 -> v0.22.0
golang.org/x/net v0.20.0 -> v0.24.0
golang.org/x/sys v0.16.0 -> v0.19.0