Skip to content

Commit 0b16d48

Browse files
poljarHywan
andauthored
chore: Release matrix-sdk version 0.8.0 (#4291)
Co-authored-by: Ivan Enderlin <[email protected]>
1 parent d40aac8 commit 0b16d48

File tree

20 files changed

+417
-194
lines changed

20 files changed

+417
-194
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,17 @@ vodozemac = { version = "0.8.0", features = ["insecure-pk-encryption"] }
7979
wiremock = "0.6.0"
8080
zeroize = "1.6.0"
8181

82-
matrix-sdk = { path = "crates/matrix-sdk", version = "0.7.0", default-features = false }
83-
matrix-sdk-base = { path = "crates/matrix-sdk-base", version = "0.7.0" }
84-
matrix-sdk-common = { path = "crates/matrix-sdk-common", version = "0.7.0" }
85-
matrix-sdk-crypto = { path = "crates/matrix-sdk-crypto", version = "0.7.0" }
82+
matrix-sdk = { path = "crates/matrix-sdk", version = "0.8.0", default-features = false }
83+
matrix-sdk-base = { path = "crates/matrix-sdk-base", version = "0.8.0" }
84+
matrix-sdk-common = { path = "crates/matrix-sdk-common", version = "0.8.0" }
85+
matrix-sdk-crypto = { path = "crates/matrix-sdk-crypto", version = "0.8.0" }
8686
matrix-sdk-ffi-macros = { path = "bindings/matrix-sdk-ffi-macros", version = "0.7.0" }
87-
matrix-sdk-indexeddb = { path = "crates/matrix-sdk-indexeddb", version = "0.7.0", default-features = false }
88-
matrix-sdk-qrcode = { path = "crates/matrix-sdk-qrcode", version = "0.7.0" }
89-
matrix-sdk-sqlite = { path = "crates/matrix-sdk-sqlite", version = "0.7.0", default-features = false }
90-
matrix-sdk-store-encryption = { path = "crates/matrix-sdk-store-encryption", version = "0.7.0" }
87+
matrix-sdk-indexeddb = { path = "crates/matrix-sdk-indexeddb", version = "0.8.0", default-features = false }
88+
matrix-sdk-qrcode = { path = "crates/matrix-sdk-qrcode", version = "0.8.0" }
89+
matrix-sdk-sqlite = { path = "crates/matrix-sdk-sqlite", version = "0.8.0", default-features = false }
90+
matrix-sdk-store-encryption = { path = "crates/matrix-sdk-store-encryption", version = "0.8.0" }
9191
matrix-sdk-test = { path = "testing/matrix-sdk-test", version = "0.7.0" }
92-
matrix-sdk-ui = { path = "crates/matrix-sdk-ui", version = "0.7.0", default-features = false }
92+
matrix-sdk-ui = { path = "crates/matrix-sdk-ui", version = "0.8.0", default-features = false }
9393

9494
# Default release profile, select with `--release`
9595
[profile.release]

crates/matrix-sdk-base/CHANGELOG.md

Lines changed: 67 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,80 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
# unreleased
5+
## [0.8.0] - 2024-11-19
66

7+
### Bug Fixes
8+
9+
- Add more invalid characters for room aliases.
10+
11+
- Use the `DisplayName` struct to protect against homoglyph attacks.
12+
13+
14+
### Features
715
- Add `BaseClient::room_key_recipient_strategy` field
8-
- Replace the `Notification` type from Ruma in `SyncResponse` and `StateChanges` by a custom one
9-
- The ambiguity maps in `SyncResponse` are moved to `JoinedRoom` and `LeftRoom`
10-
- `AmbiguityCache` contains the room member's user ID
16+
17+
- `AmbiguityCache` contains the room member's user ID.
18+
19+
- [**breaking**] `Media::get_thumbnail` and `MediaFormat::Thumbnail` allow to
20+
request an animated thumbnail They both take a `MediaThumbnailSettings`
21+
instead of `MediaThumbnailSize`.
22+
23+
- Consider knocked members to be part of the room for display name
24+
disambiguation.
25+
26+
- `Client::cross_process_store_locks_holder_name` is used everywhere:
27+
- `StoreConfig::new()` now takes a
28+
`cross_process_store_locks_holder_name` argument.
29+
- `StoreConfig` no longer implements `Default`.
30+
- `BaseClient::new()` has been removed.
31+
- `BaseClient::clone_with_in_memory_state_store()` now takes a
32+
`cross_process_store_locks_holder_name` argument.
33+
- `BaseClient` no longer implements `Default`.
34+
- `EventCacheStoreLock::new()` no longer takes a `key` argument.
35+
- `BuilderStoreConfig` no longer has
36+
`cross_process_store_locks_holder_name` field for `Sqlite` and
37+
`IndexedDb`.
38+
39+
- Make `ObservableMap::stream` works on `wasm32-unknown-unknown`.
40+
41+
- Allow aborting media uploads.
42+
43+
- Replace the `Notification` type from Ruma in `SyncResponse` and `StateChanges`
44+
by a custom one.
45+
46+
- Introduce a `DisplayName` struct which normalizes and sanitizes
47+
display names.
48+
49+
50+
### Refactor
51+
52+
- [**breaking**] Rename `DisplayName` to `RoomDisplayName`.
53+
54+
- Rename `AmbiguityMap` to `DisplayNameUsers`.
55+
56+
- Move `event_cache_store/` to `event_cache/store/` in `matrix-sdk-base`.
57+
58+
- Move `linked_chunk` from `matrix-sdk` to `matrix-sdk-common`.
59+
60+
- Move `Event` and `Gap` into `matrix_sdk_base::event_cache`.
61+
62+
- The ambiguity maps in `SyncResponse` are moved to `JoinedRoom` and `LeftRoom`.
63+
1164
- `Store::get_rooms` and `Store::get_rooms_filtered` are way faster because they
1265
don't acquire the lock for every room they read.
66+
1367
- `Store::get_rooms`, `Store::get_rooms_filtered` and `Store::get_room` are
1468
renamed `Store::rooms`, `Store::rooms_filtered` and `Store::room`.
15-
- `Client::get_rooms` and `Client::get_rooms_filtered` are renamed
69+
70+
- [**breaking**] `Client::get_rooms` and `Client::get_rooms_filtered` are renamed
1671
`Client::rooms` and `Client::rooms_filtered`.
17-
- `Client::get_stripped_rooms` has finally been removed.
18-
- `Media::get_thumbnail` and `MediaFormat::Thumbnail` allow to request an animated thumbnail
19-
- They both take a `MediaThumbnailSettings` instead of `MediaThumbnailSize`.
20-
- The `StateStore` methods to access data in the media cache where moved to a separate
21-
`EventCacheStore` trait.
22-
- The `instant` module was removed, use the `ruma::time` module instead.
72+
73+
- [**breaking**] `Client::get_stripped_rooms` has finally been removed.
74+
75+
- [**breaking**] The `StateStore` methods to access data in the media cache
76+
where moved to a separate `EventCacheStore` trait.
77+
78+
- [**breaking**] The `instant` module was removed, use the `ruma::time` module instead.
2379

2480
# 0.7.0
2581

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.7.0"
12+
version = "0.8.0"
1313

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

crates/matrix-sdk-common/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.8.0] - 2024-11-19
6+
7+
### Refactor
8+
9+
- Move `linked_chunk` from `matrix-sdk` to `matrix-sdk-common`.
10+
11+

crates/matrix-sdk-common/Cargo.toml

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

1414
[package.metadata.docs.rs]
1515
default-target = "x86_64-unknown-linux-gnu"

0 commit comments

Comments
 (0)