Skip to content

Commit 6963c22

Browse files
committed
Merge remote-tracking branch 'origin/main' into rav/history_sharing/upload_bundle
2 parents ef64653 + 1e938df commit 6963c22

File tree

39 files changed

+869
-639
lines changed

39 files changed

+869
-639
lines changed

Cargo.lock

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,17 @@ web-sys = "0.3.69"
101101
wiremock = "0.6.2"
102102
zeroize = "1.8.1"
103103

104-
matrix-sdk = { path = "crates/matrix-sdk", version = "0.10.0", default-features = false }
105-
matrix-sdk-base = { path = "crates/matrix-sdk-base", version = "0.10.0" }
106-
matrix-sdk-common = { path = "crates/matrix-sdk-common", version = "0.10.0" }
107-
matrix-sdk-crypto = { path = "crates/matrix-sdk-crypto", version = "0.10.0" }
104+
matrix-sdk = { path = "crates/matrix-sdk", version = "0.11.0", default-features = false }
105+
matrix-sdk-base = { path = "crates/matrix-sdk-base", version = "0.11.0" }
106+
matrix-sdk-common = { path = "crates/matrix-sdk-common", version = "0.11.0" }
107+
matrix-sdk-crypto = { path = "crates/matrix-sdk-crypto", version = "0.11.0" }
108108
matrix-sdk-ffi-macros = { path = "bindings/matrix-sdk-ffi-macros", version = "0.7.0" }
109-
matrix-sdk-indexeddb = { path = "crates/matrix-sdk-indexeddb", version = "0.10.0", default-features = false }
110-
matrix-sdk-qrcode = { path = "crates/matrix-sdk-qrcode", version = "0.10.0" }
111-
matrix-sdk-sqlite = { path = "crates/matrix-sdk-sqlite", version = "0.10.0", default-features = false }
112-
matrix-sdk-store-encryption = { path = "crates/matrix-sdk-store-encryption", version = "0.10.0" }
113-
matrix-sdk-test = { path = "testing/matrix-sdk-test", version = "0.10.0" }
114-
matrix-sdk-ui = { path = "crates/matrix-sdk-ui", version = "0.10.0", default-features = false }
109+
matrix-sdk-indexeddb = { path = "crates/matrix-sdk-indexeddb", version = "0.11.0", default-features = false }
110+
matrix-sdk-qrcode = { path = "crates/matrix-sdk-qrcode", version = "0.11.0" }
111+
matrix-sdk-sqlite = { path = "crates/matrix-sdk-sqlite", version = "0.11.0", default-features = false }
112+
matrix-sdk-store-encryption = { path = "crates/matrix-sdk-store-encryption", version = "0.11.0" }
113+
matrix-sdk-test = { path = "testing/matrix-sdk-test", version = "0.11.0" }
114+
matrix-sdk-ui = { path = "crates/matrix-sdk-ui", version = "0.11.0", default-features = false }
115115

116116
# Default development profile; default for most Cargo commands, otherwise
117117
# selected with `--debug`

RELEASING.md

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,35 +13,36 @@ The procedure is as follows:
1313

1414
1. Switch to a release branch:
1515

16-
```bash
17-
git switch -c release-x.y.z
18-
  ```
16+
```bash
17+
git switch -c release-x.y.z
18+
```
1919

2020
2. Prepare the release. This will update the `README.md`, set the versions in
2121
the `CHANGELOG.md` file, and bump the version in the `Cargo.toml` file.
2222

23-
```bash
24-
cargo xtask release prepare --execute minor|patch|rc
25-
```
23+
```bash
24+
cargo xtask release prepare --execute minor|patch|rc
25+
```
2626

2727
3. Double-check and edit the `CHANGELOG.md` and `README.md` if necessary. Once you are
2828
satisfied, push the branch and open a PR.
2929

30-
```bash
31-
git push --set-upstream origin/release-x.y.z
32-
```
30+
```bash
31+
git push --set-upstream origin/release-x.y.z
32+
```
3333

3434
4. Pass the review and merge the branch as you would with any other branch.
3535

3636
5. Create tags for your new release, publish the release on crates.io and push
3737
the tags:
3838

39-
```bash
40-
# Switch to main first.
41-
git switch main
42-
# Pull in the now-merged release commit(s).
43-
git pull
44-
# Create tags, publish the release on crates.io, and push the tags.
45-
cargo xtask release publish --execute
46-
```
47-
For more information on cargo-release: https://github.com/crate-ci/cargo-release
39+
```bash
40+
# Switch to main first.
41+
git switch main
42+
# Pull in the now-merged release commit(s).
43+
git pull
44+
# Create tags, publish the release on crates.io, and push the tags.
45+
cargo xtask release publish --execute
46+
```
47+
48+
For more information on cargo-release: https://github.com/crate-ci/cargo-release

bindings/matrix-sdk-ffi/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ All notable changes to this project will be documented in this file.
66

77
## [Unreleased] - ReleaseDate
88

9+
## [0.11.0] - 2025-04-11
10+
911
Breaking changes:
1012

1113
- `TracingConfiguration` now includes a new field `trace_log_packs`, which gives a convenient way

bindings/matrix-sdk-ffi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "matrix-sdk-ffi"
3-
version = "0.2.0"
3+
version = "0.11.0"
44
edition = "2021"
55
homepage = "https://github.com/matrix-org/matrix-rust-sdk"
66
keywords = ["matrix", "chat", "messaging", "ffi"]

bindings/matrix-sdk-ffi/src/notification.rs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ use matrix_sdk_ui::notification_client::{
55
};
66
use ruma::{EventId, RoomId};
77

8-
use crate::{client::Client, error::ClientError, event::TimelineEvent};
8+
use crate::{
9+
client::{Client, JoinRule},
10+
error::ClientError,
11+
event::TimelineEvent,
12+
};
913

1014
#[derive(uniffi::Enum)]
1115
pub enum NotificationEvent {
@@ -25,9 +29,11 @@ pub struct NotificationRoomInfo {
2529
pub display_name: String,
2630
pub avatar_url: Option<String>,
2731
pub canonical_alias: Option<String>,
32+
pub join_rule: Option<JoinRule>,
2833
pub joined_members_count: u64,
2934
pub is_encrypted: Option<bool>,
3035
pub is_direct: bool,
36+
pub is_public: bool,
3137
}
3238

3339
#[derive(uniffi::Record)]
@@ -66,9 +72,11 @@ impl NotificationItem {
6672
display_name: item.room_computed_display_name,
6773
avatar_url: item.room_avatar_url,
6874
canonical_alias: item.room_canonical_alias,
75+
join_rule: item.room_join_rule.try_into().ok(),
6976
joined_members_count: item.joined_members_count,
7077
is_encrypted: item.is_room_encrypted,
7178
is_direct: item.is_direct_message_room,
79+
is_public: item.is_room_public,
7280
},
7381
is_noisy: item.is_noisy,
7482
has_mention: item.has_mention,

crates/matrix-sdk-base/CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ All notable changes to this project will be documented in this file.
66

77
## [Unreleased] - ReleaseDate
88

9+
## [0.11.0] - 2025-04-11
10+
911
### Features
1012

11-
- [**breaking**] The `Client::subscribe_to_ignore_user_list_changes()` method will now only trigger
12-
whenever the ignored user list has changed from what was previously known, instead of triggering
13+
- [**breaking**] The `Client::subscribe_to_ignore_user_list_changes()`
14+
method will now only trigger whenever the ignored user list has
15+
changed from what was previously known, instead of triggering
1316
every time an ignore-user-list event has been received from sync.
1417
([#4779](https://github.com/matrix-org/matrix-rust-sdk/pull/4779))
1518
- [**breaking**] The `MediaRetentionPolicy` can now trigger regular cleanups

crates/matrix-sdk-base/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "matrix-sdk-base"
99
readme = "README.md"
1010
repository = "https://github.com/matrix-org/matrix-rust-sdk"
1111
rust-version = { workspace = true }
12-
version = "0.10.0"
12+
version = "0.11.0"
1313

1414
[package.metadata.docs.rs]
1515
all-features = true

0 commit comments

Comments
 (0)