Added SendReceipt to support private read receipts and thread receipts in the same function. MarkReadWithContent is now deprecated.
Changed media download methods to return errors if the server returns a non-2xx status code.
Removed legacy sql_store_upgrade.Upgrade method. Using store.DB.Upgrade() after NewSQLCryptoStore(...) is recommended instead (the bridge module does this automatically).
Added missing suggested field to m.space.child content struct.
Added device_unused_fallback_key_types to /sync response and appservice transaction structs.
Changed ReqSetReadMarkers to omit empty fields.
Changed bridge configs to force sqlite3-fk-wal instead of sqlite3.
Updated bridge helper to close database connection when stopping.
Fixed read receipt and account data endpoints sending null instead of an empty object as the body when content isn't provided.
v0.12.3
Breaking change: Added logging for row iteration in the dbutil package. This changes the return type of Query methods from *sql.Rows to a new dbutil.Rows interface.
Added flag to disable wrapping database upgrades in a transaction (e.g. to allow setting PRAGMAs for advanced table mutations on SQLite).
Deprecated MessageEventContent.GetReplyTo in favor of directly using RelatesTo.GetReplyTo. RelatesTo methods are nil-safe, so checking if RelatesTo is nil is not necessary for using those methods.
Added wrapper for space hierarchyendpoint (thanks to @mgcm in #100).
Added bridge config option to handle transactions asynchronously.
Added separate channels for to-device events in appservice transaction handler to avoid blocking to-device events behind normal events.
Added RelatesTo.GetNonFallbackReplyTo utility method to get the reply event ID, unless the reply is a thread fallback.
Added event.TextToHTML as an utility method to HTML-escape a string and replace newlines with <br/>.
Added check to bridge encryption helper to make sure the e2ee keys are still on the server. Synapse is known to sometimes lose keys randomly.
Changed bridge crypto syncer to crash on M_UNKNOWN_TOKEN errors instead of retrying forever pointlessly.
Fixed verifying signatures of fallback one-time keys.
v0.12.2
Added utility method to redact bridge commands.
Added thread ID field to read receipts to match Matrix v1.4 changes.
Added automatic fetching of media repo config at bridge startup to make it easier for bridges to check homeserver media size limits.
Added wrapper for the /register/available endpoint.
Added custom user agent to all requests mautrix-go makes. The value can be customized by changing the DefaultUserAgent variable.
Added SendReceipt to support private read receipts and thread receipts in
the same function. MarkReadWithContent is now deprecated.
Changed media download methods to return errors if the server returns a
non-2xx status code.
Removed legacy sql_store_upgrade.Upgrade method. Using store.DB.Upgrade()
after NewSQLCryptoStore(...) is recommended instead (the bridge module does
this automatically).
Added missing suggested field to m.space.child content struct.
Added device_unused_fallback_key_types to /sync response and appservice
transaction structs.
Changed ReqSetReadMarkers to omit empty fields.
Changed bridge configs to force sqlite3-fk-wal instead of sqlite3.
Updated bridge helper to close database connection when stopping.
Fixed read receipt and account data endpoints sending null instead of an
empty object as the body when content isn't provided.
v0.12.3 (2022-11-16)
Breaking change: Added logging for row iteration in the dbutil package.
This changes the return type of Query methods from *sql.Rows to a new
dbutil.Rows interface.
Added flag to disable wrapping database upgrades in a transaction (e.g. to
allow setting PRAGMAs for advanced table mutations on SQLite).
Deprecated MessageEventContent.GetReplyTo in favor of directly using
RelatesTo.GetReplyTo. RelatesTo methods are nil-safe, so checking if
RelatesTo is nil is not necessary for using those methods.
Added wrapper for space hierarchyendpoint (thanks to @mgcm in #100).
Added bridge config option to handle transactions asynchronously.
Added separate channels for to-device events in appservice transaction
handler to avoid blocking to-device events behind normal events.
Added RelatesTo.GetNonFallbackReplyTo utility method to get the reply event
ID, unless the reply is a thread fallback.
Added event.TextToHTML as an utility method to HTML-escape a string and
replace newlines with <br/>.
Added check to bridge encryption helper to make sure the e2ee keys are still
on the server. Synapse is known to sometimes lose keys randomly.
Changed bridge crypto syncer to crash on M_UNKNOWN_TOKEN errors instead of
retrying forever pointlessly.
Fixed verifying signatures of fallback one-time keys.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps maunium.net/go/mautrix from 0.11.0 to 0.12.4.
Release notes
Sourced from maunium.net/go/mautrix's releases.
... (truncated)
Changelog
Sourced from maunium.net/go/mautrix's changelog.
... (truncated)
Commits
a1c4466
Bump version to v0.12.4e6cd659
Update changelog4f0826a
Re-add MarkReadWithContent as a deprecated functiona79f926
Fix some double pointers813acb3
Fail noisily if media download fails181c7c0
Add hacky stateEvent field when pushing BRIDGE_UNREACHABLE stated39599f
Use errors.Is instead of string comparison13ebd4d
Don't start AS HTTP server if port is not set94ae1f6
Omit empty fields in /read_markers request9ef4f79
Use global profile when filling member eventsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)