Skip to content

Commit 8ee2f12

Browse files
committed
Bump to SDK cef1f8c5c
... which includes matrix-org/matrix-rust-sdk#5276, which bumps the indexeddb schema version
1 parent 5a8aef8 commit 8ee2f12

File tree

4 files changed

+21
-26
lines changed

4 files changed

+21
-26
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# UNRELEASED
22

3-
- Update matrix-rust-sdk to `7126fc8a2`.
3+
- Update matrix-rust-sdk to `cef1f8c5`, which includes:
4+
5+
- Add support for received room key bundle data, as required by encrypted history sharing ((MSC4268)[https://github.com/matrix-org/matrix-spec-proposals/pull/4268)). ([#5276](https://github.com/matrix-org/matrix-rust-sdk/pull/5276))
46

57
- Add a new error code for `MegolmDecryptionError`, `DecryptionErrorCode::MismatchedSender`, indicating that the sender of the event does not match the owner of the device that established the Megolm session. ([#248](https://github.com/matrix-org/matrix-rust-sdk-crypto-wasm/pull/248))
68

Cargo.lock

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

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ futures-util = "0.3.27"
6464
getrandom = { version = "0.3.0", features = ["wasm_js"] }
6565
http = "1.1.0"
6666
js-sys = "0.3.49"
67-
matrix-sdk-common = { git = "https://github.com/matrix-org/matrix-rust-sdk", rev = "7126fc8a2", features = ["js"] }
68-
matrix-sdk-indexeddb = { git = "https://github.com/matrix-org/matrix-rust-sdk", rev = "7126fc8a2", default-features = false, features = ["e2e-encryption"] }
69-
matrix-sdk-qrcode = { git = "https://github.com/matrix-org/matrix-rust-sdk", rev = "7126fc8a2", optional = true }
67+
matrix-sdk-common = { git = "https://github.com/matrix-org/matrix-rust-sdk", branch = "main", features = ["js"] }
68+
matrix-sdk-indexeddb = { git = "https://github.com/matrix-org/matrix-rust-sdk", branch = "main", default-features = false, features = ["e2e-encryption"] }
69+
matrix-sdk-qrcode = { git = "https://github.com/matrix-org/matrix-rust-sdk", branch = "main", optional = true }
7070
serde = "1.0.91"
7171
serde_json = "1.0.91"
7272
serde-wasm-bindgen = "0.6.5"
@@ -84,7 +84,7 @@ vergen-gitcl = { version = "1.0.0", features = ["build"] }
8484

8585
[dependencies.matrix-sdk-crypto]
8686
git = "https://github.com/matrix-org/matrix-rust-sdk"
87-
rev = "7126fc8a2"
87+
branch = "main"
8888
default-features = false
8989
features = ["js", "automatic-room-key-forwarding"]
9090

tests/machine.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ describe(OlmMachine.name, () => {
111111
expect(databases).toHaveLength(2);
112112
expect(databases).toStrictEqual([
113113
{ name: `${storeName}::matrix-sdk-crypto-meta`, version: 1 },
114-
{ name: `${storeName}::matrix-sdk-crypto`, version: 12 },
114+
{ name: `${storeName}::matrix-sdk-crypto`, version: 13 },
115115
]);
116116

117117
// Creating a new Olm machine, with the stored state.
@@ -230,7 +230,7 @@ describe(OlmMachine.name, () => {
230230
expect(databases).toHaveLength(2);
231231
expect(databases).toStrictEqual([
232232
{ name: `${storeName}::matrix-sdk-crypto-meta`, version: 1 },
233-
{ name: `${storeName}::matrix-sdk-crypto`, version: 12 },
233+
{ name: `${storeName}::matrix-sdk-crypto`, version: 13 },
234234
]);
235235

236236
// Let's force to close the `OlmMachine`.

0 commit comments

Comments
 (0)