dependabot[bot]
55d2e6a740
chore(deps): bump CodSpeedHQ/action from 4.11.1 to 4.12.1
...
Bumps [CodSpeedHQ/action](https://github.com/codspeedhq/action ) from 4.11.1 to 4.12.1.
- [Release notes](https://github.com/codspeedhq/action/releases )
- [Changelog](https://github.com/CodSpeedHQ/action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codspeedhq/action/compare/281164b0f014a4e7badd2c02cecad9b595b70537...1c8ae4843586d3ba879736b7f6b7b0c990757fab )
---
updated-dependencies:
- dependency-name: CodSpeedHQ/action
dependency-version: 4.12.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-30 21:42:01 +02:00
dependabot[bot]
ee2ed6033e
chore(deps): bump moonrepo/setup-rust from 1.2.2 to 1.3.0
...
Bumps [moonrepo/setup-rust](https://github.com/moonrepo/setup-rust ) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/moonrepo/setup-rust/releases )
- [Changelog](https://github.com/moonrepo/setup-rust/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moonrepo/setup-rust/compare/ede6de059f8046a5e236c94046823e2af11ca670...abb2d32350334249b178c401e5ec5836e0cd88d3 )
---
updated-dependencies:
- dependency-name: moonrepo/setup-rust
dependency-version: 1.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-30 21:41:36 +02:00
Damir Jelić
fb97922a1c
Revert "feat(sdk): Use stable OAuth 2.0 login scopes"
...
This reverts commit 14b21e2a9a .
2026-03-30 21:40:31 +02:00
dependabot[bot]
85b8c83d51
chore(deps): bump bnjbvr/cargo-machete from bf9b52599f213cb8a6d6cee568fc61a413c79975 to b81ce1560c5fbd0210cb66d88bf210329ff04266 ( #6375 )
...
Bumps [bnjbvr/cargo-machete](https://github.com/bnjbvr/cargo-machete )
from bf9b52599f213cb8a6d6cee568fc61a413c79975 to
b81ce1560c5fbd0210cb66d88bf210329ff04266.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/bnjbvr/cargo-machete/blob/main/CHANGELOG.md ">bnjbvr/cargo-machete's
changelog</a>.</em></p>
<blockquote>
<h1>unreleased</h1>
<ul>
<li>Improved: add <code>renamed</code> table to track renamed crates (<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/152 ">#152</a>
<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/153 ">#153</a>).</li>
</ul>
<h1>0.7.0 (released on 2024-09-25)</h1>
<ul>
<li>Breaking change: Don't search in ignored files (those specified in
.ignore/.gitignore) by default. It's possible to use
<code>--no-ignore</code> to search in these directories by default (<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/137 ">#137</a>).</li>
<li>Improved: fix false positives for multi dependencies single use
statements (<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/120 ">#120</a>).
This improves precision at the cost of a small performance hit.</li>
<li>Improved: make usage of <code>--with-metadata</code> more accurate
(<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/122 ">#122</a>,
<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/132 ">#132</a>).</li>
<li>Improved: instead of displaying <code>.</code> for the current
directory, <code>cargo-machete</code> will now display <code>this
directory</code> (<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/109 ">#109</a>).</li>
<li>Added: There's now an automated docker image build that publishes to
the <a
href="https://github.com/bnjbvr/cargo-machete/pkgs/container/cargo-machete ">github
repository</a> (<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/121 ">#121</a>).</li>
<li>Added: <code>--ignore</code> flag which make cargo-machete respect
.ignore and .gitignore files when searching for files (<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/95 ">#95</a>).</li>
</ul>
<h1>0.6.2 (released on 2024-03-24)</h1>
<ul>
<li>Added: shorter display when scanning the current directory (<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/109 ">#109</a>).</li>
<li>Fix: adapt to latest pkgid specification, so as not to crash with
<code>--with-metadata</code> (<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/106 ">#106</a>).</li>
</ul>
<h1>0.6.1 (released on 2024-02-21)</h1>
<ul>
<li>Chore: bump major dependencies, to fix parsing issues of Cargo.toml
files (<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/101 ">#101</a>,
<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/105 ">#105</a>).</li>
</ul>
<h1>0.6.0 (released on 2023-09-23)</h1>
<ul>
<li><em>Breaking</em>/improved: match against crate name
case-insensitive (<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/69 ">#69</a>).</li>
<li>Added: Github action (<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/85 ">#85</a>).
See README for documentation.</li>
<li>Added: support for ignored workspace dependencies (<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/57 ">#57</a>,
<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/86 ">#86</a>).
See README for documentation.</li>
<li>Added: <code>--version</code> switch to print the version (<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/66 ">#66</a>).</li>
<li>Fix: avoid searching for workspace Cargo.toml longer than needed (<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/84 ">#84</a>).</li>
<li>Chore: better documentation and reporting (<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/63 ">#63</a>,
<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/72 ">#72</a>,
<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/80 ">#80</a>).</li>
</ul>
<h1>0.5.0 (released on 2022-11-15)</h1>
<ul>
<li><em>Breaking</em>: Use <code>argh</code> for parsing. Now, paths of
directories to scan must be passed in the last
position, when running from the command line (<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/51 ">#51</a>).</li>
<li>Fix rare false positive and speed up most common case (<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/53 ">#53</a>).</li>
<li>Fix loading properties from workspace (<a
href="https://redirect.github.com/bnjbvr/cargo-machete/issues/54 ">#54</a>).</li>
</ul>
<h1>0.4.0 (released on 2022-10-16)</h1>
<ul>
<li>Added <code>--skip-target-dir</code> to not analyze
<code>target/</code> directories.</li>
<li>Added a message indicating of any unused dependencies were found or
not.</li>
<li>Support for workspace properties</li>
</ul>
<h1>0.3.1 (released on 2022-06-12)</h1>
<ul>
<li>Support empty global prefix, e.g. <code>use ::log;</code>.</li>
</ul>
<h1>0.3.0 (released on 2022-05-09)</h1>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/bnjbvr/cargo-machete/commit/b81ce1560c5fbd0210cb66d88bf210329ff04266 "><code>b81ce15</code></a>
build(deps): bump argh from 0.1.18 to 0.1.19</li>
<li><a
href="https://github.com/bnjbvr/cargo-machete/commit/5675104e9dc2192adf3acec0535353003045d586 "><code>5675104</code></a>
build(deps): bump toml_edit from 0.25.4+spec-1.1.0 to
0.25.5+spec-1.1.0</li>
<li>See full diff in <a
href="https://github.com/bnjbvr/cargo-machete/compare/bf9b52599f213cb8a6d6cee568fc61a413c79975...b81ce1560c5fbd0210cb66d88bf210329ff04266 ">compare
view</a></li>
</ul>
</details>
<br />
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-30 16:26:07 +00:00
Michael Goldenberg
179f38b252
refactor(sdk): use default crypto provider in rustls
...
Signed-off-by: Michael Goldenberg <m@mgoldenberg.net >
2026-03-30 16:40:51 +02:00
Damir Jelić
2c6409cb86
Merge pull request #6235 from Hywan/feat-sdk-event-cache-log-error-to-sentry
...
chore(sdk): Log errors from `EventLinkedChunk`
2026-03-30 14:03:39 +02:00
JoFrost
4d2f8bb82c
feat(base): improve profile updates for left/banned users ( #6097 )
...
This avoids profile updates when a user decides to leave on their own (in which case their profile is kept as is), and when a user is banned (in which case their profile is removed).
Signed-off-by: JoFrost <20685007+JoFrost@users.noreply.github.com >
2026-03-30 11:59:43 +02:00
Benjamin Bouvier
c0b26b6f25
refactor(event cache): move the thread subscriber and search indexing tasks to the EventCacheDropHandles struct
...
This means that when some caller is subscribing to the `EventCache`,
even if the event cache drops in the background, the task will remain
active until the end of the subscriber.
2026-03-30 11:49:16 +02:00
Benjamin Bouvier
8f96c32d56
refactor(event cache): use abort_on_drop for the background task handle in EventCacheDropHandles
...
This avoids a few manual `abort()` call in a manual `Drop` impl.
2026-03-30 11:49:16 +02:00
Jorge Martín
e65d4c44b4
fix(ffi): Replace libloading with jvm-getter for getting a JVM
...
The `libloading` approach only works on Android 12+
2026-03-30 11:17:58 +02:00
Andrew Ferrazzutti
83c6a7fdf4
Fix location & name of the built shared object
2026-03-30 10:31:07 +02:00
Andrew Ferrazzutti
67fbba1e87
Tweak suggested ANDROID_NDK path
...
- Remove redundant trailing slash
- Clarify what the version component may be
2026-03-30 10:31:07 +02:00
Andrew Ferrazzutti
9c66221830
Fix crypto-ffi build instructions in README
...
- Change the example config file to not make it appear as though it
processes environment variables
- Remove the `ar` setting from the example config file, as that setting
is deprecated and unused (see
https://doc.rust-lang.org/cargo/reference/config.html#targettriplear )
- Replace references of `.cargo/config` to `.cargo/config.toml`, as the
former is deprecated
- Add example of how to set the linker through an environment variable
- Add instruction to include the NDK binary tools directory to PATH,
because builds may fail without it
(see https://github.com/matrix-org/matrix-rust-sdk/issues/4042 )
2026-03-30 10:31:07 +02:00
Philippe Bertin
f00d09597c
feat(ffi): expose Room.send_state_event_raw() for sending arbitrary state events
...
Closes #6349
Signed-off-by: Philippe Bertin <pbertin@teladochealth.com >
2026-03-30 10:27:00 +02:00
dependabot[bot]
339f4be49c
chore(deps): bump bnjbvr/cargo-machete
...
Bumps [bnjbvr/cargo-machete](https://github.com/bnjbvr/cargo-machete ) from 2e2703d664c176156a22936b9203c38cc7a273dd to bf9b52599f213cb8a6d6cee568fc61a413c79975.
- [Release notes](https://github.com/bnjbvr/cargo-machete/releases )
- [Changelog](https://github.com/bnjbvr/cargo-machete/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bnjbvr/cargo-machete/compare/2e2703d664c176156a22936b9203c38cc7a273dd...bf9b52599f213cb8a6d6cee568fc61a413c79975 )
---
updated-dependencies:
- dependency-name: bnjbvr/cargo-machete
dependency-version: bf9b52599f213cb8a6d6cee568fc61a413c79975
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-30 10:54:13 +03:00
dependabot[bot]
f5e3e7db83
chore(deps): bump Swatinem/rust-cache from 2.9.0 to 2.9.1
...
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache ) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/swatinem/rust-cache/compare/c676846f29d98ff6b0106d3608c7ffd4048af17b...c19371144df3bb44fab255c43d04cbc2ab54d1c4 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
dependency-version: 2.9.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-30 09:48:48 +02:00
Stefan Ceriu
c3a0ce15cc
change(project): set the IPHONEOS_DEPLOYMENT_TARGET to 16.0
...
This is mainly to avoid compilation errors coming out of `aws-lc-sys` on `aarch64-apple-ios`
2026-03-30 10:39:20 +03:00
Daniel Salinas
c708ed18c0
No reqwest::Certificate on wasm platforms
2026-03-27 09:06:43 +01:00
Stefan Ceriu
3db4767523
change(thread_list_service): reuse the same event construction logic for both the root and the latest thread events
2026-03-25 16:46:42 +02:00
Stefan Ceriu
050fc3d845
change(latest_events): use TimelineEvent fields instead of deserialised ones for security reasons
2026-03-25 16:46:42 +02:00
Stefan Ceriu
fd572d9b33
fix(ffi): manually enter the runtime on background tasks spawning paths instead of forcing async constructors
2026-03-25 16:46:42 +02:00
Stefan Ceriu
1dd413e4bc
feat(ui): subscribe to room event cache for live thread updates
...
When ThreadListService is created it now immediately spawns a background
task (via the client's TaskMonitor) that subscribes to the room event
cache and listens for RoomEventCacheUpdate::UpdateTimelineEvents.
For every incoming event that carries an m.thread relation pointing to a
root we are already tracking, the service rebuilds a ThreadListItemEvent via the
existing build_latest_event helper and replaces latest_event on the matching
ThreadListItem and increments num_replies by 1
2026-03-25 16:46:42 +02:00
Stefan Ceriu
fe45ba5cc2
feat(ui): enrich ThreadListItem with root_event, latest_event and num_replies
...
Introduce ThreadListItemEvent as a shared struct for both the thread
root and the latest reply, replacing the previous flat fields on
ThreadListItem
The `latest_event` is populated from the bundled thread summary returned by the
server alongside the root event, as is the number of replies.
2026-03-25 16:46:42 +02:00
Skye Elliot
46a2ba29a0
Merge pull request #6339 from matrix-org/kaylendog/history-sharing/sync-rotate
...
feat(base): Discard room key on full member list update
2026-03-25 13:12:02 +00:00
Skye Elliot
e877466fdc
docs(base): Update CHANGELOG.md
...
Signed-off-by: Skye Elliot <actuallyori@gmail.com >
2026-03-25 12:57:53 +00:00
Skye Elliot
be47a6435b
tests: Add extra sync to history sharing session merge test
...
Signed-off-by: Skye Elliot <actuallyori@gmail.com >
2026-03-25 12:57:53 +00:00
Skye Elliot
3bad26e39f
test(sdk): Assert room key rotated under a gappy sync v3
...
Signed-off-by: Skye Elliot <actuallyori@gmail.com >
2026-03-25 12:57:53 +00:00
Skye Elliot
0c3392d1d2
feat(base): Discard room key on full member list update
...
Signed-off-by: Skye Elliot <actuallyori@gmail.com >
2026-03-25 12:57:49 +00:00
Kévin Commaille
8dcbac3b16
Upgrade Ruma after EncryptedFile breaking changes
...
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2026-03-25 10:34:22 +01:00
Jonas Platte
ec3657d707
Upgrade const_panic
...
I rebased my branch from 2023. Diff still applied cleanly.
2026-03-24 23:01:19 +01:00
Benjamin Bouvier
1bf831fbb7
refactor(event cache): avoid cloning the whole RoomInfo to throw it away immediately
2026-03-24 18:07:31 +01:00
Benjamin Bouvier
708ee63ffd
fix(event cache): make sure the room info is as up to date as it can be before updating read receipts
...
We think this might be a cause for intermittent failures of the
`room_unread_count` test on CI, as the `room_info` might be outdated
after we decided to process it.
More generally, the room info is a critical resources that should be
protected in better ways, as it's inner mutable state that can be
modified by all code claling `set_room_info` in any place, but that'll
be a problem for later.
2026-03-24 18:07:31 +01:00
Michael Goldenberg
f6ff8621dc
chore(deps): update sentry
...
Signed-off-by: Michael Goldenberg <m@mgoldenberg.net >
2026-03-24 13:41:25 +00:00
Stefan Ceriu
96b82a4f5d
chore(docs): add ThreadListService UI and FFI changelog entries.
2026-03-24 14:51:59 +02:00
Stefan Ceriu
84bdf604e5
change(ui): remove the Room::load_thread_list method in favor of the new ThreadListService
2026-03-24 14:51:59 +02:00
Stefan Ceriu
56b13806bd
feat(ffi): expose the newly introduced ThreadListService
2026-03-24 14:51:59 +02:00
Stefan Ceriu
b6edf826b0
feat(ui): introduce a new ThreadListService
...
`ThreadListService` is the FFI-facing wrapper around
[`matrix_sdk_ui::timeline::thread_list_service::ThreadListService`]. It
maintains an observable list of [`ThreadListItem`]s and exposes a
pagination state publisher, making it straightforward to build reactive UIs
on top of the thread list.
2026-03-24 14:51:59 +02:00
ganfra
e335cac8f7
fix(timeline): validate beacon_info content for session matching
matrix-sdk-ffi/20260324
2026-03-24 10:34:47 +01:00
ganfra
cad9c42a7a
fix(timeline): check live field directly for beacon_info item creation
2026-03-24 10:34:47 +01:00
Bryant Mairs
907a23f252
feat: add Room:is_call to check for Call rooms (MSC3417)
...
Signed-off-by: Bryant Mairs <bryant@mai.rs >
2026-03-24 10:32:31 +01:00
Bryant Mairs
0505edc380
Upgrade Ruma
...
Signed-off-by: Bryant Mairs <bryant@mai.rs >
2026-03-24 10:32:31 +01:00
Richard van der Hoff
47c7a205c7
Merge pull request #6342 from matrix-org/rav/trust_requirement_docs
...
Add some more docs to `CollectStrategy` and `TrustRequirement`
2026-03-23 15:29:24 +00:00
Richard van der Hoff
7986a6627e
Add some more docs to CollectStrategy and TrustRequirement
...
Some notes to help us/me remember how these relate to MSC4153.
2026-03-23 15:14:01 +00:00
Ivan Enderlin
0358552086
feat(ui): Disable smart case for the Room List fuzzy filter.
...
This patch updates the fuzzy filter from using _smart case_ to _ignore
case_. Most of the time, the keyboard might activate an upper case for
the first character pressed in the search bar. Some users aren't used
to smart case and will believe there is a bug. Let's disable smart case
here.
2026-03-23 14:13:52 +01:00
Jorge Martín
46462599c0
fix(sdk): Custom certificates on Android after the rustls upgrade
...
Add separate methods and field to temporarily apply these custom certs using the webkpi approach.
2026-03-23 14:05:22 +01:00
Jorge Martín
98a5b05c4b
fix(sdk): Allow disabling SSL verification again on Android
...
This will skip using the custom workaround for Android and the latest rustls, but since that was to fix an issue with the verifier and the verifier is not used anymore, it should be fine
2026-03-23 14:05:22 +01:00
Benjamin Bouvier
727af9e654
chore(event cache): remove the non-decreasing hack when computing unread counts
...
There was a hack added that the unread count of a room shouldn't
decrease, if the room's latest active receipt hasn't changed.
Unfortunately, this heuristic doesn't hold: if an event was counted
because it was encrypted, and it turns out that after decrypting it as a
UTD, it should now be uncounted, then the read count would in fact
legitimately decrease.
Let's remove this hack, and in the meantime keep on working on automatic
backpagination, which should help fix this kind of issues.
2026-03-23 12:30:11 +01:00
dependabot[bot]
0d59b43dfd
chore(deps): bump rustls-webpki from 0.103.9 to 0.103.10
...
Bumps [rustls-webpki](https://github.com/rustls/webpki ) from 0.103.9 to 0.103.10.
- [Release notes](https://github.com/rustls/webpki/releases )
- [Commits](https://github.com/rustls/webpki/compare/v/0.103.9...v/0.103.10 )
---
updated-dependencies:
- dependency-name: rustls-webpki
dependency-version: 0.103.10
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-23 10:46:47 +01:00
Mauro Romito
d2a019a25f
change: updated tests to include also the encrypted beacon case
2026-03-23 10:46:31 +01:00
Mauro Romito
cc4c296f74
change: security improvement
2026-03-23 10:46:31 +01:00