Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump matrix-sdk-crypto-wasm to 4.0.1 #4025

Merged
merged 5 commits into from
Jan 24, 2024
Merged

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jan 23, 2024


This change is marked as an internal change (Task), so will not be included in the changelog.

@@ -997,7 +1003,7 @@ describe("RustCrypto", () => {
});

it("should wait for a keys/query before returning devices", async () => {
jest.useFakeTimers();
jest.useFakeTimers({ doNotFake: ["queueMicrotask"] });
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

matrix-sdk-crypto-wasm 4.0.1 includes an update to wasm-bindgen-futures, which includes this PR, which requires that we have a working queueMicrotask.

In retrospect, bumping the transitive dependencies of matrix-sdk-crypto-wasm in a patch release was a mistake.

Comment on lines +78 to +82
beforeAll(async () => {
// Load the WASM upfront, before any of the tests. This can take some time, and doing it here means that it gets
// a separate timeout.
await RustSdkCryptoJs.initAsync();
}, 15000);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not actually part of this fix, but I think it's a useful change anyway.

@richvdh richvdh added this pull request to the merge queue Jan 24, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 24, 2024
@richvdh richvdh added this pull request to the merge queue Jan 24, 2024
Merged via the queue into develop with commit c4d32a3 Jan 24, 2024
23 checks passed
@richvdh richvdh deleted the rav/element-r/rust_sdk_4_0_1 branch January 24, 2024 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants