Skip to content

Commit a616b2b

Browse files
committed
Bump version to v0.28.0
1 parent c1f0359 commit a616b2b

4 files changed

Lines changed: 47 additions & 28 deletions

File tree

CHANGELOG.md

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,34 @@
1-
## v0.27.1 (unreleased)
1+
## v0.28.0 (2026-05-16)
22

3+
* **Breaking change *(federation)*** Changed `NewClient` to take HTTP client
4+
settings as an extra parameter.
35
* *(federation)* Changed client to block requests to private IPs by default.
46
* The `AllowIP` method can be changed to adjust the blocking behavior.
57
* *(federation)* Added `DownloadMedia` method.
68
* *(event)* Added `Extra` field to `FileInfo` to allow easily adding custom
79
fields.
810
* *(event)* Added sticker source info to events (both [MSC4459] and a custom
911
format for bridges).
12+
* *(client)* Added support for `server` parameter in `/publicRooms`
13+
(thanks to [@zluudg] in [#497]).
14+
* *(client)* Added `RequestRetryTrigger` event, which can be used to force all
15+
in-flight requests to be interrupted and retried (e.g. in case the network
16+
connection changed).
17+
* *(crypto)* Added support for bundled device keys in Olm messages introduced
18+
in Matrix v1.15.
19+
* *(crypto/canonicaljson)* Added jsonv2-based implementation, which replaces
20+
the old gjson/sjson-based implementation when jsonv2 is enabled.
1021
* *(bridgev2)* Added interface for importing image packs from remote networks.
1122
* *(bridgev2)* Added more detail to "not logged in" error messages.
1223
* *(bridgev2)* Expanded `bridge_matrix_leave` option to cover invite rejections
1324
in addition to actual leaves.
1425
* *(bridgev2)* Changed group creation error messages to be clearer when there
1526
aren't enough members to create a group.
27+
* *(bridgev2/matrix)* Changed message sending to never send unencrypted messages
28+
if `encryption.require` is set `true` even if the room is unencrypted.
29+
* *(crypto)* Changed trust resolution to not trust own cross-signing master key
30+
unless the private key is available or the public key is signed by the device
31+
key.
1632
* *(bridgev2)* Fixed event power levels being set incorrectly in some cases if
1733
`events_default` or `state_default` is changed in the same event.
1834
* *(bridgev2)* Fixed portal deletion always failing due to context cancellation.
@@ -21,17 +37,20 @@
2137
* *(bridgev2)* Fixed some cases where backfill would start from a non-latest
2238
message.
2339
* *(crypto)* Fixed dehydrated devices not passing device key validation.
24-
* *(federation/pdu)* Fixed canonical JSON sorting when keys include code points
25-
between `\uF000` and `\uFFFF`
40+
* *(federation/pdu)* Fixed canonicalizing JSON which contains keys with code
41+
points between `\uF000` and `\uFFFF` by switching to the crypto/canonicaljson
42+
package instead of jsonv2's standard RFC 8785 canonicalization.
2643
* *(federation/eventauth)* Fixed restricted join checks
2744
(thanks to [@timedoutuk] in [#491]).
2845
* *(federation/eventauth)* Fixed creator join check in v10 rooms
2946
(thanks to [@timedoutuk] in [#496]).
3047
* *(crypto/goolm)* Fixed various small issues.
3148

3249
[MSC445]: https://github.com/matrix-org/matrix-spec-proposals/pull/4459
33-
[#491]: github.com/mautrix/go/pull/491
34-
[#496]: github.com/mautrix/go/pull/496
50+
[#491]: https://github.com/mautrix/go/pull/491
51+
[#496]: https://github.com/mautrix/go/pull/496
52+
[#497]: https://github.com/mautrix/go/pull/497
53+
[@zluudg]: https://github.com/zluudg
3554

3655
## v0.27.0 (2026-04-16)
3756

go.mod

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module maunium.net/go/mautrix
22

33
go 1.25.0
44

5-
toolchain go1.26.2
5+
toolchain go1.26.3
66

77
require (
88
filippo.io/edwards25519 v1.2.0
@@ -14,14 +14,14 @@ require (
1414
github.com/rs/zerolog v1.35.1
1515
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
1616
github.com/stretchr/testify v1.11.1
17-
github.com/tidwall/gjson v1.18.0
17+
github.com/tidwall/gjson v1.19.0
1818
github.com/tidwall/sjson v1.2.5
1919
github.com/yuin/goldmark v1.8.2
20-
go.mau.fi/util v0.9.9-0.20260511124621-9241e81bdf25
20+
go.mau.fi/util v0.9.9
2121
go.mau.fi/zeroconfig v0.2.0
22-
golang.org/x/crypto v0.50.0
23-
golang.org/x/exp v0.0.0-20260410095643-746e56fc9e2f
24-
golang.org/x/net v0.53.0
22+
golang.org/x/crypto v0.51.0
23+
golang.org/x/exp v0.0.0-20260508232706-74f9aab9d74a
24+
golang.org/x/net v0.54.0
2525
golang.org/x/sync v0.20.0
2626
gopkg.in/yaml.v3 v3.0.1
2727
maunium.net/go/mauflag v1.0.0
@@ -36,7 +36,7 @@ require (
3636
github.com/pmezard/go-difflib v1.0.0 // indirect
3737
github.com/tidwall/match v1.1.1 // indirect
3838
github.com/tidwall/pretty v1.2.1 // indirect
39-
golang.org/x/sys v0.43.0 // indirect
40-
golang.org/x/text v0.36.0 // indirect
39+
golang.org/x/sys v0.44.0 // indirect
40+
golang.org/x/text v0.37.0 // indirect
4141
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
4242
)

go.sum

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e/go.mod h1:XV66xRDq
3535
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
3636
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
3737
github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
38-
github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY=
39-
github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
38+
github.com/tidwall/gjson v1.19.0 h1:xwxm7n691Uf3u5OFjzngavjGTh55KX5q/9w9xHW88JU=
39+
github.com/tidwall/gjson v1.19.0/go.mod h1:V37/opeE/JbLUOfH0QTXiNez2l0RUjYUhpT4szFQAfc=
4040
github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA=
4141
github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM=
4242
github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU=
@@ -46,24 +46,24 @@ github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY=
4646
github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28=
4747
github.com/yuin/goldmark v1.8.2 h1:kEGpgqJXdgbkhcOgBxkC0X0PmoPG1ZyoZ117rDVp4zE=
4848
github.com/yuin/goldmark v1.8.2/go.mod h1:ip/1k0VRfGynBgxOz0yCqHrbZXhcjxyuS66Brc7iBKg=
49-
go.mau.fi/util v0.9.9-0.20260511124621-9241e81bdf25 h1:YPEmc+li7TF6C9AdRTcSLMb6yCHdF27/wNT7kFLIVNg=
50-
go.mau.fi/util v0.9.9-0.20260511124621-9241e81bdf25/go.mod h1:jE9FfhbgEgAwxei6lomO9v8zdCIATcquONUu4vjRwSs=
49+
go.mau.fi/util v0.9.9 h1:ujDeXCo07HBor5oQLyO1tHklupmqVmPgasc53d7q/NE=
50+
go.mau.fi/util v0.9.9/go.mod h1:pqt4Vcrt+5gcH/CgrHZg11qSx+b34o6mknGzOEA6waY=
5151
go.mau.fi/zeroconfig v0.2.0 h1:e/OGEERqVRRKlgaro7E6bh8xXiKFSXB3eNNIud7FUjU=
5252
go.mau.fi/zeroconfig v0.2.0/go.mod h1:J0Vn0prHNOm493oZoQ84kq83ZaNCYZnq+noI1b1eN8w=
53-
golang.org/x/crypto v0.50.0 h1:zO47/JPrL6vsNkINmLoo/PH1gcxpls50DNogFvB5ZGI=
54-
golang.org/x/crypto v0.50.0/go.mod h1:3muZ7vA7PBCE6xgPX7nkzzjiUq87kRItoJQM1Yo8S+Q=
55-
golang.org/x/exp v0.0.0-20260410095643-746e56fc9e2f h1:W3F4c+6OLc6H2lb//N1q4WpJkhzJCK5J6kUi1NTVXfM=
56-
golang.org/x/exp v0.0.0-20260410095643-746e56fc9e2f/go.mod h1:J1xhfL/vlindoeF/aINzNzt2Bket5bjo9sdOYzOsU80=
57-
golang.org/x/net v0.53.0 h1:d+qAbo5L0orcWAr0a9JweQpjXF19LMXJE8Ey7hwOdUA=
58-
golang.org/x/net v0.53.0/go.mod h1:JvMuJH7rrdiCfbeHoo3fCQU24Lf5JJwT9W3sJFulfgs=
53+
golang.org/x/crypto v0.51.0 h1:IBPXwPfKxY7cWQZ38ZCIRPI50YLeevDLlLnyC5wRGTI=
54+
golang.org/x/crypto v0.51.0/go.mod h1:8AdwkbraGNABw2kOX6YFPs3WM22XqI4EXEd8g+x7Oc8=
55+
golang.org/x/exp v0.0.0-20260508232706-74f9aab9d74a h1:+3jdDGGB8NGb1Zktc737jlt3/A5f6UlwSzmvqUuufxw=
56+
golang.org/x/exp v0.0.0-20260508232706-74f9aab9d74a/go.mod h1:d2fgXJLVs4dYDHUk5lwMIfzRzSrWCfGZb0ZqeLa/Vcw=
57+
golang.org/x/net v0.54.0 h1:2zJIZAxAHV/OHCDTCOHAYehQzLfSXuf/5SoL/Dv6w/w=
58+
golang.org/x/net v0.54.0/go.mod h1:Sj4oj8jK6XmHpBZU/zWHw3BV3abl4Kvi+Ut7cQcY+cQ=
5959
golang.org/x/sync v0.20.0 h1:e0PTpb7pjO8GAtTs2dQ6jYa5BWYlMuX047Dco/pItO4=
6060
golang.org/x/sync v0.20.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
6161
golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
6262
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
63-
golang.org/x/sys v0.43.0 h1:Rlag2XtaFTxp19wS8MXlJwTvoh8ArU6ezoyFsMyCTNI=
64-
golang.org/x/sys v0.43.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
65-
golang.org/x/text v0.36.0 h1:JfKh3XmcRPqZPKevfXVpI1wXPTqbkE5f7JA92a55Yxg=
66-
golang.org/x/text v0.36.0/go.mod h1:NIdBknypM8iqVmPiuco0Dh6P5Jcdk8lJL0CUebqK164=
63+
golang.org/x/sys v0.44.0 h1:ildZl3J4uzeKP07r2F++Op7E9B29JRUy+a27EibtBTQ=
64+
golang.org/x/sys v0.44.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
65+
golang.org/x/text v0.37.0 h1:Cqjiwd9eSg8e0QAkyCaQTNHFIIzWtidPahFWR83rTrc=
66+
golang.org/x/text v0.37.0/go.mod h1:a5sjxXGs9hsn/AJVwuElvCAo9v8QYLzvavO5z2PiM38=
6767
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
6868
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
6969
gopkg.in/natefinch/lumberjack.v2 v2.2.1 h1:bBRl1b0OH9s/DuPhuXpNl+VtCaJXFZ5/uEFST95x9zc=

version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"strings"
99
)
1010

11-
const Version = "v0.27.0"
11+
const Version = "v0.28.0"
1212

1313
var GoModVersion = ""
1414
var Commit = ""

0 commit comments

Comments
 (0)