Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update module maunium.net/go/mautrix to v0.22.1 #255

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

CubicrootXYZ
Copy link
Owner

@CubicrootXYZ CubicrootXYZ commented May 19, 2024

This PR contains the following updates:

Package Type Update Change
maunium.net/go/mautrix require minor v0.13.0 -> v0.22.1

Release Notes

mautrix/go (maunium.net/go/mautrix)

v0.22.1

Compare Source

  • (crypto) Added automatic cleanup when there are too many olm sessions with
    a single device.
  • (crypto) Added helper for getting cached device list with cross-signing
    status.
  • (crypto/verificationhelper) Added interface for persisting the state of
    in-progress verifications.
  • (client) Added GetMutualRooms wrapper for MSC2666.
  • (client) Switched JoinRoom to use the via query param instead of
    server_name as per MSC4156.
  • (bridgev2/commands) Fixed pm command not actually starting the chat.
  • (bridgev2/interface) Added separate network API interface for starting
    chats with a Matrix ghost user. This allows treating internal user IDs
    differently than arbitrary user-input strings.
  • (bridgev2/crypto) Added support for MSC4190
    (thanks to [@​onestacked] in #​288).

v0.22.0

Compare Source

  • (hicli) Moved package into gomuks repo.
  • (bridgev2/commands) Fixed cookie unescaping in login commands.
  • (bridgev2/portal) Added special DefaultChatName constant to explicitly
    reset portal names to the default (based on members).
  • (bridgev2/config) Added options to disable room tag bridging.
  • (bridgev2/database) Fixed reaction queries not including portal receiver.
  • (appservice) Updated [MSC2409] stable registration field name from
    push_ephemeral to receive_ephemeral. Homeserver admins must update
    existing registrations manually.
  • (format) Added support for img tags.
  • (format/mdext) Added goldmark extensions for Matrix math and custom emojis.
  • (event/reply) Removed support for generating reply fallbacks (MSC2781).
  • (pushrules) Added support for sender_notification_permission condition
    kind (used for @room mentions).
  • (crypto) Added support for json.RawMessage in EncryptMegolmEvent.
  • (mediaproxy) Added GetMediaResponseCallback and GetMediaResponseFile
    to write proxied data directly to http response or temp file instead of
    having to use an io.Reader.
  • (mediaproxy) Dropped support for legacy media download endpoints.
  • (mediaproxy,bridgev2) Made interface pass through query parameters.

v0.21.1

Compare Source

  • (bridgev2) Added more features and fixed bugs.
  • (hicli) Added more features and fixed bugs.
  • (appservice) Removed TLS support. A reverse proxy should be used if TLS
    is needed.
  • (format/mdext) Added goldmark extension to fix indented paragraphs when
    disabling indented code block parser.
  • (event) Added Has method for Mentions.
  • (event) Added basic support for the unstable version of polls.

v0.21.0

Compare Source

  • Breaking change (client) Dropped support for unauthenticated media.
    Matrix v1.11 support is now required from the homeserver, although it's not
    enforced using /versions as some servers don't advertise it.
  • (bridgev2) Added more features and fixed bugs.
  • (appservice,crypto) Added support for using MSC3202 for appservice
    encryption.
  • (crypto/olm) Made everything into an interface to allow side-by-side
    testing of libolm and goolm, as well as potentially support vodozemac
    in the future.
  • (client) Fixed requests being retried even after context is canceled.
  • (client) Added option to move /sync request logs to trace level.
  • (error) Added Write and WithMessage helpers to RespError to make it
    easier to use on servers.
  • (event) Fixed org.matrix.msc1767.audio field allowing omitting the
    duration and waveform.
  • (id) Changed MatrixURI methods to not panic if the receiver is nil.
  • (federation) Added limit to response size when fetching .well-known files.

v0.20.0

Compare Source

  • Bumped minimum Go version to 1.22.
  • (bridgev2) Added more features and fixed bugs.
  • (event) Added types for MSC4144: Per-message profiles.
  • (federation) Added implementation of server name resolution and a basic
    client for making federation requests.
  • (crypto/ssss) Changed recovery key/passphrase verify functions to take the
    key ID as a parameter to ensure it's correctly set even if the key metadata
    wasn't fetched via GetKeyData.
  • (format/mdext) Added goldmark extensions for single-character bold, italic
    and strikethrough parsing (as in *foo* -> foo, _foo_ -> foo and
    ~foo~ -> foo)
  • (format) Changed RenderMarkdown et al to always include m.mentions in
    returned content. The mention list is filled with matrix.to URLs from the
    input by default.

v0.19.0

Compare Source

  • Renamed master branch to main.
  • (bridgev2) Added more features.
  • (crypto) Fixed bug with copying m.relates_to from wire content to
    decrypted content.
  • (mediaproxy) Added module for implementing simple media repos that proxy
    requests elsewhere.
  • (client) Changed Members() to automatically parse event content for all
    returned events.
  • (bridge) Added /register call if /versions fails with M_FORBIDDEN.
  • (crypto) Fixed DecryptMegolmEvent sometimes calling database without
    transaction by using the non-context version of ResolveTrust.
  • (crypto/attachment) Implemented io.Seeker in EncryptStream to allow
    using it in retriable HTTP requests.
  • (event) Added helper method to add user ID to a Mentions object.
  • (event) Fixed default power level for invites
    (thanks to @​rudis in #​250).
  • (client) Fixed incorrect warning log in State() when state store returns
    no error (thanks to @​rudis in #​249).
  • (crypto/verificationhelper) Fixed deadlock when ignoring unknown
    cancellation events (thanks to @​rudis in #​247).
beta.1 (2024-06-16)
  • (bridgev2) Added experimental high-level bridge framework.
  • (hicli) Added experimental high-level client framework.
  • Slightly breaking changes
    • (crypto) Added room ID and first known index parameters to
      SessionReceived callback.
    • (crypto) Changed ImportRoomKeyFromBackup to return the imported
      session.
    • (client) Added error parameter to ResponseHook.
    • (client) Changed Download to return entire response instead of just an
      io.Reader.
  • (crypto) Changed initial olm device sharing to save keys before sharing to
    ensure keys aren't accidentally regenerated in case the request fails.
  • (crypto) Changed EncryptMegolmEvent and ShareGroupSession to return
    more errors instead of only logging and ignoring them.
  • (crypto) Added option to completely disable megolm ratchet tracking.
    • The tracking is meant for bots and bridges which may want to delete old
      keys, but for normal clients it's just unnecessary overhead.
  • (crypto) Changed Megolm session storage methods in Store to not take
    sender key as parameter.
    • This causes a breaking change to the layout of the MemoryStore struct.
      Using MemoryStore in production is not recommended.
  • (crypto) Changed DecryptMegolmEvent to copy m.relates_to in the raw
    content too instead of only in the parsed struct.
  • (crypto) Exported function to parse megolm message index from raw
    ciphertext bytes.
  • (crypto/sqlstore) Fixed schema of crypto_secrets table to include
    account ID.
  • (crypto/verificationhelper) Fixed more bugs.
  • (client) Added UpdateRequestOnRetry hook which is called immediately
    before retrying a normal HTTP request.
  • (client) Added support for MSC3916 media download endpoint.
    • Support is automatically detected from spec versions. The SpecVersions
      property can either be filled manually, or Versions can be called to
      automatically populate the field with the response.
  • (event) Added constants for known room versions.

v0.18.1

Compare Source

  • (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

v0.18.0

Compare Source

  • 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.
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

Compare Source

  • 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.

v0.16.2

Compare Source

  • (event) Added Redacts field to RedactionEventContent for room v11+.
  • (event) Added ReverseTextToHTML which reverses the changes made by
    TextToHTML (i.e. unescapes HTML characters and replaces <br/> with \n).
  • (bridge) Added global zerologger to ensure all logs go through the bridge
    logger.
  • (bridge) Changed encryption error messages to be sent in a thread if the
    message that failed to decrypt was in a thread.

v0.16.1

Compare Source

  • Breaking change (id) Updated user ID localpart encoding to not encode
    + as per MSC4009.
  • (bridge) Added bridge utility to handle double puppeting logins.
    • The utility supports automatic logins with all three current methods
      (shared secret, legacy appservice, new appservice).
  • (appservice) Added warning logs and timeout on appservice event handling.
    • Defaults to warning after 30 seconds and timeout 15 minutes after that.
    • Timeouts can be adjusted or disabled by setting ExecSync variables in the
      EventProcessor.
  • (crypto/olm) Added PkDecryption wrapper.

v0.16.0

Compare Source

  • Bumped minimum Go version to 1.20.
  • Breaking change (util) Moved package to go.mau.fi/util
  • (event) Removed MSC2716 historical field in the m.room.power_levels
    event content struct.
  • (bridge) Added --version-json flag to print bridge version info as JSON.
  • (appservice) Added option to use custom transaction handler for websocket mode.

v0.15.4

Compare Source

  • (client) Deprecated MSC2716 methods and added new Beeper-specific batch
    send methods, as upstream MSC2716 support has been abandoned.
  • (client) Added proper error handling and automatic retries to media
    downloads.
  • (crypto, bridge) Added option to remove all keys that were received before
    the automatic ratcheting was implemented (in v0.15.1).
  • (dbutil) Added JSON utility for writing/reading arbitrary JSON objects to
    the db conveniently without manually de/serializing.

v0.15.3

Compare Source

  • (synapseadmin) Added wrappers for some Synapse admin API endpoints.
  • (pushrules) Implemented new event_property_is and event_property_contains
    push rule condition kinds as per MSC3758 and MSC3966.
  • (bridge) Moved websocket code from mautrix-imessage to enable all bridges
    to use appservice websockets easily.
  • (bridge) Added retrying for appservice pings.
  • (types) Removed unstable field for MSC3952 (intentional mentions).
  • (client) Deprecated OldEventIgnorer and added Client.DontProcessOldEvents
    to replace it.
  • (client) Added MoveInviteState sync handler for moving state events in
    the invite section of sync inside the invite event itself.
  • (crypto) Added option to not rotate keys when devices change.
  • (crypto) Added additional duplicate message index check if decryption fails
    because the keys had been ratcheted forward.
  • (client) Stabilized support for asynchronous uploads.
    • UnstableCreateMXC and UnstableUploadAsync were renamed to CreateMXC
      and UploadAsync respectively.
  • (util/dbutil) Added option to use a separate database connection pool for
    read-only transactions.
    • This is mostly meant for SQLite and it enables read-only transactions that
      don't lock the database, even when normal transactions are configured to
      acquire a write lock immediately.
  • (util/dbutil) Enabled caller info in zerolog by default.

v0.15.2

Compare Source

  • (client) Changed member-fetching methods to clear existing member info in
    state store.
  • (client) Added support for inserting mautrix-go commit hash into default
    user agent at compile time.
  • (bridge) Fixed bridge bot intent not having state store set.
  • (client) Fixed RespError marshaling mutating the ExtraData map and
    potentially causing panics.
  • (util/dbutil) Added DoTxn method for an easier way to manage database
    transactions.
  • (util) Added a zerolog CallerMarshalFunc implementation that includes the
    function name.
  • (bridge) Added error reply to encrypted messages if the bridge isn't
    configured to do encryption.

v0.15.1

Compare Source

  • (crypto, bridge) Added options to automatically ratchet/delete megolm
    sessions to minimize access to old messages.
  • (pushrules) Added method to get entire push rule that matched (instead of
    only the list of actions).
  • (pushrules) Deprecated NotifySpecified as there's no reason to read it.
  • (crypto) Changed max_age column in crypto_megolm_inbound_session table
    to be milliseconds instead of nanoseconds.
  • (util) Added method for iterating RingBuffer.
  • (crypto/cryptohelper) Changed decryption errors to request session from all
    own devices in addition to the sender, instead of only asking the sender.
  • (sqlstatestore) Fixed FindSharedRooms throwing an error when using from
    a non-bridge context.
  • (client) Optimized AccountDataSyncStore to not resend save requests if
    the sync token didn't change.
  • (types) Added Clone() method for PowerLevelEventContent.

v0.15.0

Compare Source

beta.3 (2023-03-15)
  • Breaking change (appservice) Removed Load() and AppService.Init()
    functions. The struct should just be created with Create() and the relevant
    fields should be filled manually.
  • Breaking change (appservice) Removed public HomeserverURL field and
    replaced it with a SetHomeserverURL method.
  • (appservice) Added support for unix sockets for homeserver URL and
    appservice HTTP server.
  • (client) Changed request logging to log durations as floats instead of
    strings (using zerolog's Dur(), so the exact output can be configured).
  • (bridge) Changed zerolog to use nanosecond precision timestamps.
  • (crypto) Added message index to log after encrypting/decrypting megolm
    events, and when failing to decrypt due to duplicate index.
  • (sqlstatestore) Fixed warning log for rooms that don't have encryption
    enabled.
beta.2 (2023-03-02)
  • (bridge) Fixed building with nocrypto tag.
  • (bridge) Fixed legacy logging config migration not disabling file writer
    when file_name_format was empty.
  • (bridge) Added option to require room power level to run commands.
  • (event) Added structs for MSC3952: Intentional Mentions.
  • (util/variationselector) Added FullyQualify method to add necessary emoji
    variation selectors without adding all possible ones.
beta.1 (2023-02-24)
  • Bumped minimum Go version to 1.19.
  • Breaking changes
    • (all) Switched to zerolog for logging.
      • The Client and Bridge structs still include a legacy logger for
        backwards compatibility.
    • (client, appservice) Moved SQLStateStore from appservice module to the
      top-level (client) module.
    • (client, appservice) Removed unused Typing map in SQLStateStore.
    • (client) Removed unused SaveRoom and LoadRoom methods in Storer.
    • (client, appservice) Removed deprecated SendVideo and SendImage methods.
    • (client) Replaced AppServiceUserID field with SetAppServiceUserID boolean.
      The UserID field is used as the value for the query param.
    • (crypto) Renamed GobStore to MemoryStore and removed the file saving
      features. The data can still be persisted, but the persistence part must be
      implemented separately.
    • (crypto) Removed deprecated DeviceIdentity alias
      (renamed to id.Device long ago).
    • (client) Removed Stringifable interface as it's the same as fmt.Stringer.
  • (client) Renamed Storer interface to SyncStore. A type alias exists for
    backwards-compatibility.
  • (crypto/cryptohelper) Added package for a simplified crypto interface for clients.
  • (example) Added e2ee support to example using crypto helper.
  • (client) Changed default syncer to stop syncing on M_UNKNOWN_TOKEN errors.

v0.14.0

Compare Source

  • Breaking change (format) Refactored the HTML parser Context to have
    more data.
  • (id) Fixed escaping path components when forming matrix.to URLs
    or matrix: URIs.
  • (bridge) Bumped default timeouts for decrypting incoming messages.
  • (bridge) Added RawArgs to commands to allow accessing non-split input.
  • (bridge) Added ReplyAdvanced to commands to allow setting markdown
    settings.
  • (event) Added notifications key to PowerLevelEventContent.
  • (event) Changed SetEdit to cut off edit fallback if the message is long.
  • (util) Added SyncMap as a simple generic wrapper for a map with a mutex.
  • (util) Added ReturnableOnce as a wrapper for sync.Once with a return
    value.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@CubicrootXYZ CubicrootXYZ force-pushed the renovate/maunium.net-go-mautrix-0.x branch from a823900 to b3a54c8 Compare July 17, 2024 08:15
@CubicrootXYZ CubicrootXYZ changed the title chore(deps): update module maunium.net/go/mautrix to v0.18.1 chore(deps): update module maunium.net/go/mautrix to v0.19.0 Jul 17, 2024
@CubicrootXYZ CubicrootXYZ force-pushed the renovate/maunium.net-go-mautrix-0.x branch 3 times, most recently from 26ae7d1 to 9f49795 Compare August 17, 2024 08:14
@CubicrootXYZ CubicrootXYZ changed the title chore(deps): update module maunium.net/go/mautrix to v0.19.0 chore(deps): update module maunium.net/go/mautrix to v0.20.0 Aug 17, 2024
@CubicrootXYZ CubicrootXYZ force-pushed the renovate/maunium.net-go-mautrix-0.x branch 2 times, most recently from c8f1ade to 22e3bfc Compare September 17, 2024 08:17
@CubicrootXYZ CubicrootXYZ changed the title chore(deps): update module maunium.net/go/mautrix to v0.20.0 chore(deps): update module maunium.net/go/mautrix to v0.21.0 Sep 17, 2024
@CubicrootXYZ CubicrootXYZ force-pushed the renovate/maunium.net-go-mautrix-0.x branch 2 times, most recently from dcb421d to 4c74c85 Compare October 6, 2024 08:15
@CubicrootXYZ CubicrootXYZ force-pushed the renovate/maunium.net-go-mautrix-0.x branch from 4c74c85 to 1d69e32 Compare October 16, 2024 08:17
@CubicrootXYZ CubicrootXYZ changed the title chore(deps): update module maunium.net/go/mautrix to v0.21.0 chore(deps): update module maunium.net/go/mautrix to v0.21.1 Oct 16, 2024
@CubicrootXYZ CubicrootXYZ force-pushed the renovate/maunium.net-go-mautrix-0.x branch from 1d69e32 to 1a6aca5 Compare October 24, 2024 17:46
@CubicrootXYZ CubicrootXYZ force-pushed the renovate/maunium.net-go-mautrix-0.x branch from 1a6aca5 to 192e807 Compare November 10, 2024 08:22
@CubicrootXYZ CubicrootXYZ force-pushed the renovate/maunium.net-go-mautrix-0.x branch from 192e807 to cdfccca Compare November 17, 2024 08:23
@CubicrootXYZ CubicrootXYZ changed the title chore(deps): update module maunium.net/go/mautrix to v0.21.1 chore(deps): update module maunium.net/go/mautrix to v0.22.0 Nov 17, 2024
@CubicrootXYZ CubicrootXYZ force-pushed the renovate/maunium.net-go-mautrix-0.x branch from cdfccca to 287dab7 Compare November 24, 2024 08:25
@CubicrootXYZ CubicrootXYZ force-pushed the renovate/maunium.net-go-mautrix-0.x branch 2 times, most recently from e8ae69a to 13a9c52 Compare December 13, 2024 08:28
@CubicrootXYZ CubicrootXYZ force-pushed the renovate/maunium.net-go-mautrix-0.x branch from 13a9c52 to 000a354 Compare December 17, 2024 08:29
@CubicrootXYZ CubicrootXYZ changed the title chore(deps): update module maunium.net/go/mautrix to v0.22.0 chore(deps): update module maunium.net/go/mautrix to v0.22.1 Dec 17, 2024
@CubicrootXYZ CubicrootXYZ force-pushed the renovate/maunium.net-go-mautrix-0.x branch from 000a354 to 8dbebbb Compare December 20, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant