Skip to content

Commit b6f54f1

Browse files
authored
Merge branch 'develop' into justjanne/feat/thread-list-api-proof-of-concept
2 parents 8c322ea + 0403e4b commit b6f54f1

36 files changed

+1491
-86
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
Changes in [19.7.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v19.7.0) (2022-09-28)
2+
==================================================================================================
3+
4+
## 🔒 Security
5+
* Fix for [CVE-2022-39249](https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=CVE%2D2022%2D39249)
6+
* Fix for [CVE-2022-39250](https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=CVE%2D2022%2D39250)
7+
* Fix for [CVE-2022-39251](https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=CVE%2D2022%2D39251)
8+
* Fix for [CVE-2022-39236](https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=CVE%2D2022%2D39236)
9+
10+
Changes in [19.6.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v19.6.0) (2022-09-27)
11+
==================================================================================================
12+
13+
## ✨ Features
14+
* Add a property aggregating all names of a NamespacedValue ([\#2656](https://github.com/matrix-org/matrix-js-sdk/pull/2656)).
15+
* Implementation of MSC3824 to add action= param on SSO login ([\#2398](https://github.com/matrix-org/matrix-js-sdk/pull/2398)). Contributed by @hughns.
16+
* Add invited_count and joined_count to sliding sync room responses. ([\#2628](https://github.com/matrix-org/matrix-js-sdk/pull/2628)).
17+
* Base support for MSC3847: Ignore invites with policy rooms ([\#2626](https://github.com/matrix-org/matrix-js-sdk/pull/2626)). Contributed by @Yoric.
18+
19+
## 🐛 Bug Fixes
20+
* Fix handling of remote echoes doubling up ([\#2639](https://github.com/matrix-org/matrix-js-sdk/pull/2639)). Fixes #2618.
21+
122
Changes in [19.5.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v19.5.0) (2022-09-13)
223
==================================================================================================
324

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "matrix-js-sdk",
3-
"version": "19.5.0",
3+
"version": "19.7.0",
44
"description": "Matrix Client-Server SDK for Javascript",
55
"engines": {
66
"node": ">=12.9.0"

spec/integ/matrix-client-crypto.spec.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,7 @@ describe("MatrixClient crypto", () => {
494494
aliTestClient.expectKeyQuery({ device_keys: { [aliUserId]: {} }, failures: {} });
495495
await aliTestClient.start();
496496
await bobTestClient.start();
497+
bobTestClient.client.crypto.deviceList.downloadKeys = () => Promise.resolve({});
497498
await firstSync(aliTestClient);
498499
await aliEnablesEncryption();
499500
await aliSendsFirstMessage();
@@ -504,6 +505,7 @@ describe("MatrixClient crypto", () => {
504505
aliTestClient.expectKeyQuery({ device_keys: { [aliUserId]: {} }, failures: {} });
505506
await aliTestClient.start();
506507
await bobTestClient.start();
508+
bobTestClient.client.crypto.deviceList.downloadKeys = () => Promise.resolve({});
507509
await firstSync(aliTestClient);
508510
await aliEnablesEncryption();
509511
await aliSendsFirstMessage();
@@ -567,6 +569,7 @@ describe("MatrixClient crypto", () => {
567569
aliTestClient.expectKeyQuery({ device_keys: { [aliUserId]: {} }, failures: {} });
568570
await aliTestClient.start();
569571
await bobTestClient.start();
572+
bobTestClient.client.crypto.deviceList.downloadKeys = () => Promise.resolve({});
570573
await firstSync(aliTestClient);
571574
await aliEnablesEncryption();
572575
await aliSendsFirstMessage();
@@ -584,6 +587,9 @@ describe("MatrixClient crypto", () => {
584587
await firstSync(bobTestClient);
585588
await aliEnablesEncryption();
586589
await aliSendsFirstMessage();
590+
bobTestClient.httpBackend.when('POST', '/keys/query').respond(
591+
200, {},
592+
);
587593
await bobRecvMessage();
588594
await bobEnablesEncryption();
589595
const ciphertext = await bobSendsReplyMessage();

spec/integ/matrix-client-syncing.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ describe("MatrixClient syncing", () => {
8787
});
8888

8989
it("should emit RoomEvent.MyMembership for invite->leave->invite cycles", async () => {
90+
await client.initCrypto();
91+
9092
const roomId = "!cycles:example.org";
9193

9294
// First sync: an invite

0 commit comments

Comments
 (0)