UNPKG

matrix-js-sdk

Version:
896 lines (792 loc) 189 kB
Changes in [8.5.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v8.5.0-rc.1) (2020-10-07) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v8.4.1...v8.5.0-rc.1) * Add support for olm fallback keys [\#1467](https://github.com/matrix-org/matrix-js-sdk/pull/1467) * Fix editing local echoes not updating them in real time [\#1492](https://github.com/matrix-org/matrix-js-sdk/pull/1492) * Fix re-emit of Event.replaced to be on client and not room [\#1491](https://github.com/matrix-org/matrix-js-sdk/pull/1491) * Add space to log line [\#1496](https://github.com/matrix-org/matrix-js-sdk/pull/1496) * Revert "Convert call.js to Typescript & update WebRTC APIs" [\#1493](https://github.com/matrix-org/matrix-js-sdk/pull/1493) * Convert call.js to Typescript & update WebRTC APIs [\#1487](https://github.com/matrix-org/matrix-js-sdk/pull/1487) * Dehydrate and rehydrate devices [\#1436](https://github.com/matrix-org/matrix-js-sdk/pull/1436) * Keep local device after processing device list sync [\#1490](https://github.com/matrix-org/matrix-js-sdk/pull/1490) * Enforce logger module via lint rules [\#1489](https://github.com/matrix-org/matrix-js-sdk/pull/1489) * Extend method redactEvent with reason [\#1462](https://github.com/matrix-org/matrix-js-sdk/pull/1462) * Catch exception from call event handler [\#1484](https://github.com/matrix-org/matrix-js-sdk/pull/1484) * Ignore invalid candidates [\#1483](https://github.com/matrix-org/matrix-js-sdk/pull/1483) * Always push docs if they are generated [\#1478](https://github.com/matrix-org/matrix-js-sdk/pull/1478) * Only sign key backup with cross-signing keys when available [\#1481](https://github.com/matrix-org/matrix-js-sdk/pull/1481) * Upgrade dependencies [\#1479](https://github.com/matrix-org/matrix-js-sdk/pull/1479) Changes in [8.4.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v8.4.1) (2020-09-28) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v8.4.0...v8.4.1) * Catch exception from call event handler [\#1486](https://github.com/matrix-org/matrix-js-sdk/pull/1486) * Ignore invalid candidates [\#1485](https://github.com/matrix-org/matrix-js-sdk/pull/1485) Changes in [8.4.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v8.4.0) (2020-09-28) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v8.4.0-rc.1...v8.4.0) * Only sign key backup with cross-signing keys when available [\#1482](https://github.com/matrix-org/matrix-js-sdk/pull/1482) Changes in [8.4.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v8.4.0-rc.1) (2020-09-23) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v8.3.0...v8.4.0-rc.1) * If there are extraParams set, ensure that queryParams is defined [\#1477](https://github.com/matrix-org/matrix-js-sdk/pull/1477) * Add diagnostics to security bootstrap paths [\#1475](https://github.com/matrix-org/matrix-js-sdk/pull/1475) * Switch to a combination of better-docs and docdash [\#1459](https://github.com/matrix-org/matrix-js-sdk/pull/1459) * Undo attempts to cache private keys aggressively [\#1474](https://github.com/matrix-org/matrix-js-sdk/pull/1474) * Repair secret storage reset, cache keys when missing [\#1472](https://github.com/matrix-org/matrix-js-sdk/pull/1472) * Prevent parallel getVersions calls [\#1471](https://github.com/matrix-org/matrix-js-sdk/pull/1471) * Send end-of-candidates [\#1473](https://github.com/matrix-org/matrix-js-sdk/pull/1473) * Add a function for checking the /versions flag for forced e2ee [\#1470](https://github.com/matrix-org/matrix-js-sdk/pull/1470) * Add option to allow users of pantialaimon to use the SDK [\#1469](https://github.com/matrix-org/matrix-js-sdk/pull/1469) * Fixed Yarn broken link [\#1468](https://github.com/matrix-org/matrix-js-sdk/pull/1468) * some TypeScript and doc fixes [\#1466](https://github.com/matrix-org/matrix-js-sdk/pull/1466) * Remove Travis CI reference [\#1464](https://github.com/matrix-org/matrix-js-sdk/pull/1464) * Inject identity server token for 3pid invites on createRoom [\#1463](https://github.com/matrix-org/matrix-js-sdk/pull/1463) Changes in [8.3.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v8.3.0) (2020-09-14) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v8.3.0-rc.1...v8.3.0) * No changes since rc.1 Changes in [8.3.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v8.3.0-rc.1) (2020-09-09) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v8.2.0...v8.3.0-rc.1) * Add missing options in ICreateClientOpts [\#1452](https://github.com/matrix-org/matrix-js-sdk/pull/1452) * Ensure ready functions return boolean values [\#1457](https://github.com/matrix-org/matrix-js-sdk/pull/1457) * Handle missing cross-signing keys gracefully [\#1456](https://github.com/matrix-org/matrix-js-sdk/pull/1456) * Fix eslint ts override tsx matching [\#1451](https://github.com/matrix-org/matrix-js-sdk/pull/1451) * Untangle cross-signing and secret storage [\#1450](https://github.com/matrix-org/matrix-js-sdk/pull/1450) Changes in [8.2.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v8.2.0) (2020-09-01) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v8.2.0-rc.1...v8.2.0) ## Security notice JS SDK 8.2.0 fixes an issue where encrypted state events could break incoming call handling. Thanks to @awesome-michael from Awesome Technologies for responsibly disclosing this via Matrix's Security Disclosure Policy. ## All changes * No changes since rc.1 Changes in [8.2.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v8.2.0-rc.1) (2020-08-26) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v8.1.0...v8.2.0-rc.1) * Add state event check [\#1449](https://github.com/matrix-org/matrix-js-sdk/pull/1449) * Add method to check whether client .well-known has been fetched [\#1444](https://github.com/matrix-org/matrix-js-sdk/pull/1444) * Handle auth errors during cross-signing key upload [\#1443](https://github.com/matrix-org/matrix-js-sdk/pull/1443) * Don't fail if the requested audio output isn't available [\#1448](https://github.com/matrix-org/matrix-js-sdk/pull/1448) * Fix logging failures [\#1447](https://github.com/matrix-org/matrix-js-sdk/pull/1447) * Log the constraints we pass to getUserMedia [\#1446](https://github.com/matrix-org/matrix-js-sdk/pull/1446) * Use SAS emoji data from matrix-doc [\#1440](https://github.com/matrix-org/matrix-js-sdk/pull/1440) Changes in [8.1.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v8.1.0) (2020-08-17) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v8.1.0-rc.1...v8.1.0) * No changes since rc.1 Changes in [8.1.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v8.1.0-rc.1) (2020-08-13) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v8.0.1...v8.1.0-rc.1) * Update on Promises [\#1438](https://github.com/matrix-org/matrix-js-sdk/pull/1438) * Store and request master cross-signing key [\#1437](https://github.com/matrix-org/matrix-js-sdk/pull/1437) * Filter out non-string display names [\#1433](https://github.com/matrix-org/matrix-js-sdk/pull/1433) * Bump elliptic from 6.5.2 to 6.5.3 [\#1427](https://github.com/matrix-org/matrix-js-sdk/pull/1427) * Replace Riot with Element in docs and comments [\#1431](https://github.com/matrix-org/matrix-js-sdk/pull/1431) * Remove leftover bits of TSLint [\#1430](https://github.com/matrix-org/matrix-js-sdk/pull/1430) Changes in [8.0.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v8.0.1) (2020-08-05) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v8.0.1-rc.1...v8.0.1) * Filter out non-string display names [\#1434](https://github.com/matrix-org/matrix-js-sdk/pull/1434) Changes in [8.0.1-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v8.0.1-rc.1) (2020-07-31) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v8.0.0...v8.0.1-rc.1) * Remove redundant lint dependencies [\#1426](https://github.com/matrix-org/matrix-js-sdk/pull/1426) * Upload all keys when we start using a new key backup version [\#1428](https://github.com/matrix-org/matrix-js-sdk/pull/1428) * Expose countSessionsNeedingBackup [\#1429](https://github.com/matrix-org/matrix-js-sdk/pull/1429) * Configure and use new eslint package [\#1422](https://github.com/matrix-org/matrix-js-sdk/pull/1422) Changes in [8.0.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v8.0.0) (2020-07-27) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v7.1.0...v8.0.0) BREAKING CHANGES --- * `RoomState` events changed to use a Map instead of an object, which changes the collection APIs available to access them. All Changes --- * Properly support txnId [\#1424](https://github.com/matrix-org/matrix-js-sdk/pull/1424) * [BREAKING] Remove deprecated getIdenticonUri [\#1423](https://github.com/matrix-org/matrix-js-sdk/pull/1423) * Bump lodash from 4.17.15 to 4.17.19 [\#1421](https://github.com/matrix-org/matrix-js-sdk/pull/1421) * [BREAKING] Convert RoomState's stored state map to a real map [\#1419](https://github.com/matrix-org/matrix-js-sdk/pull/1419) Changes in [7.1.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v7.1.0) (2020-07-03) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v7.1.0-rc.1...v7.1.0) * No changes since rc.1 Changes in [7.1.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v7.1.0-rc.1) (2020-07-01) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v7.0.0...v7.1.0-rc.1) * Ask general crypto callbacks for 4S privkey if operation adapter doesn't have it yet [\#1414](https://github.com/matrix-org/matrix-js-sdk/pull/1414) * Fix ICreateClientOpts missing idBaseUrl [\#1413](https://github.com/matrix-org/matrix-js-sdk/pull/1413) * Increase max event listeners for rooms [\#1411](https://github.com/matrix-org/matrix-js-sdk/pull/1411) * Don't trust keys megolm received from backup for verifying the sender [\#1406](https://github.com/matrix-org/matrix-js-sdk/pull/1406) * Raise the last known account data / state event for an update [\#1410](https://github.com/matrix-org/matrix-js-sdk/pull/1410) * Isolate encryption bootstrap side-effects [\#1380](https://github.com/matrix-org/matrix-js-sdk/pull/1380) * Add method to get current in-flight to-device requests [\#1405](https://github.com/matrix-org/matrix-js-sdk/pull/1405) Changes in [7.0.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v7.0.0) (2020-06-23) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v7.0.0-rc.1...v7.0.0) * No changes since rc.1 Changes in [7.0.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v7.0.0-rc.1) (2020-06-17) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v6.2.2...v7.0.0-rc.1) BREAKING CHANGES --- * Presence lists were removed from the spec in r0.5.0, and the corresponding methods have now been removed here as well: * `getPresenceList` * `inviteToPresenceList` * `dropFromPresenceList` All changes --- * Remove support for unspecced device-specific push rules [\#1404](https://github.com/matrix-org/matrix-js-sdk/pull/1404) * Use existing session id for fetching flows as to not get a new session [\#1403](https://github.com/matrix-org/matrix-js-sdk/pull/1403) * Upgrade deps [\#1400](https://github.com/matrix-org/matrix-js-sdk/pull/1400) * Bring back backup key format migration [\#1398](https://github.com/matrix-org/matrix-js-sdk/pull/1398) * Fix: more informative error message when we cant find a key to decrypt with [\#1313](https://github.com/matrix-org/matrix-js-sdk/pull/1313) * Add js-sdk mechanism for polling client well-known for config [\#1394](https://github.com/matrix-org/matrix-js-sdk/pull/1394) * Fix verification request timeouts to match spec [\#1388](https://github.com/matrix-org/matrix-js-sdk/pull/1388) * Drop presence list methods [\#1391](https://github.com/matrix-org/matrix-js-sdk/pull/1391) * Batch up URL previews to prevent excessive requests [\#1395](https://github.com/matrix-org/matrix-js-sdk/pull/1395) Changes in [6.2.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v6.2.2) (2020-06-16) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v6.2.1...v6.2.2) * Use existing session id for fetching flows as to not get a new session [\#1407](https://github.com/matrix-org/matrix-js-sdk/pull/1407) Changes in [6.2.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v6.2.1) (2020-06-05) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v6.2.0...v6.2.1) * Bring back backup key format migration [\#1399](https://github.com/matrix-org/matrix-js-sdk/pull/1399) Changes in [6.2.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v6.2.0) (2020-06-04) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v6.2.0-rc.1...v6.2.0) * No changes since rc.1 Changes in [6.2.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v6.2.0-rc.1) (2020-06-02) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v6.1.0...v6.2.0-rc.1) * Make auth argument in the register request compliant with r0.6.0 [\#1304](https://github.com/matrix-org/matrix-js-sdk/pull/1304) * Send the wrong auth params with the right auth params [\#1393](https://github.com/matrix-org/matrix-js-sdk/pull/1393) * encrypt cached keys with pickle key [\#1387](https://github.com/matrix-org/matrix-js-sdk/pull/1387) * Fix replying to key share requests [\#1385](https://github.com/matrix-org/matrix-js-sdk/pull/1385) * Add dist to package.json files so CDNs can serve it [\#1384](https://github.com/matrix-org/matrix-js-sdk/pull/1384) * Fix getVersion warning saying undefined room [\#1382](https://github.com/matrix-org/matrix-js-sdk/pull/1382) * Combine the two places we processed client-level default push rules [\#1379](https://github.com/matrix-org/matrix-js-sdk/pull/1379) * make MAC check robust against unpadded vs padded base64 differences [\#1378](https://github.com/matrix-org/matrix-js-sdk/pull/1378) * Remove key backup format migration [\#1375](https://github.com/matrix-org/matrix-js-sdk/pull/1375) * Add simple browserify browser-matrix.js tests [\#1241](https://github.com/matrix-org/matrix-js-sdk/pull/1241) * support new key agreement method for SAS [\#1376](https://github.com/matrix-org/matrix-js-sdk/pull/1376) Changes in [6.1.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v6.1.0) (2020-05-19) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v6.1.0-rc.1...v6.1.0) * No changes since rc.1 Changes in [6.1.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v6.1.0-rc.1) (2020-05-14) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v6.0.0...v6.1.0-rc.1) * Remove support for asymmetric 4S encryption [\#1373](https://github.com/matrix-org/matrix-js-sdk/pull/1373) * Increase timeout for 2nd phase of Olm session creation [\#1367](https://github.com/matrix-org/matrix-js-sdk/pull/1367) * Add logging on decryption retries [\#1366](https://github.com/matrix-org/matrix-js-sdk/pull/1366) * Emit event when a trusted self-key is stored [\#1364](https://github.com/matrix-org/matrix-js-sdk/pull/1364) * Customize error payload for oversized messages [\#1352](https://github.com/matrix-org/matrix-js-sdk/pull/1352) * Return null for key backup state when we haven't checked yet [\#1363](https://github.com/matrix-org/matrix-js-sdk/pull/1363) * Added a progressCallback for backup key loading [\#1351](https://github.com/matrix-org/matrix-js-sdk/pull/1351) * Add initialFetch param to willUpdateDevices / devicesUpdated [\#1360](https://github.com/matrix-org/matrix-js-sdk/pull/1360) * Fix race between sending .request and receiving .ready over to_device [\#1359](https://github.com/matrix-org/matrix-js-sdk/pull/1359) * Handle race between sending and await next event from other party [\#1357](https://github.com/matrix-org/matrix-js-sdk/pull/1357) * Add crypto.willUpdateDevices event and make getStoredDevices/getStoredDevicesForUser synchronous [\#1354](https://github.com/matrix-org/matrix-js-sdk/pull/1354) * Fix sender of local echo events in unsigned redactions [\#1350](https://github.com/matrix-org/matrix-js-sdk/pull/1350) * Remove redundant key backup setup path [\#1353](https://github.com/matrix-org/matrix-js-sdk/pull/1353) * Remove some dead code from _retryDecryption [\#1349](https://github.com/matrix-org/matrix-js-sdk/pull/1349) * Don't send key requests until after sync processing is finished [\#1348](https://github.com/matrix-org/matrix-js-sdk/pull/1348) * Prevent attempts to send olm messages to ourselves [\#1346](https://github.com/matrix-org/matrix-js-sdk/pull/1346) * Retry account data upload requests [\#1345](https://github.com/matrix-org/matrix-js-sdk/pull/1345) * Log first known index with megolm session updates [\#1344](https://github.com/matrix-org/matrix-js-sdk/pull/1344) * Prune to_device messages to avoid sending empty messages [\#1343](https://github.com/matrix-org/matrix-js-sdk/pull/1343) * Convert bunch of things to TypeScript [\#1335](https://github.com/matrix-org/matrix-js-sdk/pull/1335) * Add logging when making new Olm sessions [\#1342](https://github.com/matrix-org/matrix-js-sdk/pull/1342) * Fix: handle filter not found [\#1340](https://github.com/matrix-org/matrix-js-sdk/pull/1340) * Make getAccountDataFromServer return null if not found [\#1338](https://github.com/matrix-org/matrix-js-sdk/pull/1338) * Fix setDefaultKeyId to fail if the request fails [\#1336](https://github.com/matrix-org/matrix-js-sdk/pull/1336) * Document setRoomEncryption not modifying room state [\#1328](https://github.com/matrix-org/matrix-js-sdk/pull/1328) * Fix: don't do extra /filter request when enabling lazy loading of members [\#1332](https://github.com/matrix-org/matrix-js-sdk/pull/1332) * Reject attemptAuth promise if no auth flow found [\#1329](https://github.com/matrix-org/matrix-js-sdk/pull/1329) * Fix FilterComponent allowed_values check [\#1327](https://github.com/matrix-org/matrix-js-sdk/pull/1327) * Serialise Olm prekey decryptions [\#1326](https://github.com/matrix-org/matrix-js-sdk/pull/1326) * Fix: crash when backup key needs fixing from corruption issue [\#1324](https://github.com/matrix-org/matrix-js-sdk/pull/1324) * Fix cross-signing/SSSS reset [\#1322](https://github.com/matrix-org/matrix-js-sdk/pull/1322) * Implement QR code reciprocate for self-verification with untrusted MSK [\#1320](https://github.com/matrix-org/matrix-js-sdk/pull/1320) Changes in [6.0.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v6.0.0) (2020-05-05) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v6.0.0-rc.2...v6.0.0) * Add progress callback for key backups [\#1368](https://github.com/matrix-org/matrix-js-sdk/pull/1368) Changes in [6.0.0-rc.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v6.0.0-rc.2) (2020-05-01) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v6.0.0-rc.1...v6.0.0-rc.2) * Emit event when a trusted self-key is stored [\#1365](https://github.com/matrix-org/matrix-js-sdk/pull/1365) Changes in [6.0.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v6.0.0-rc.1) (2020-04-30) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.3.1-rc.4...v6.0.0-rc.1) BREAKING CHANGES --- * client.getStoredDevicesForUser and client.getStoredDevices are no longer async All Changes --- * Add initialFetch param to willUpdateDevices / devicesUpdated [\#1362](https://github.com/matrix-org/matrix-js-sdk/pull/1362) * Fix race between sending .request and receiving .ready over to_device [\#1361](https://github.com/matrix-org/matrix-js-sdk/pull/1361) * Handle race between sending and await next event from other party [\#1358](https://github.com/matrix-org/matrix-js-sdk/pull/1358) * Add crypto.willUpdateDevices event and make getStoredDevices/getStoredDevicesForUser synchronous [\#1356](https://github.com/matrix-org/matrix-js-sdk/pull/1356) * Remove redundant key backup setup path [\#1355](https://github.com/matrix-org/matrix-js-sdk/pull/1355) Changes in [5.3.1-rc.4](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.3.1-rc.4) (2020-04-23) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.3.1-rc.3...v5.3.1-rc.4) * Retry account data upload requests [\#1347](https://github.com/matrix-org/matrix-js-sdk/pull/1347) * Fix: handle filter not found [\#1341](https://github.com/matrix-org/matrix-js-sdk/pull/1341) * Make getAccountDataFromServer return null if not found [\#1339](https://github.com/matrix-org/matrix-js-sdk/pull/1339) * Fix setDefaultKeyId to fail if the request fails [\#1337](https://github.com/matrix-org/matrix-js-sdk/pull/1337) * Fix: don't do extra /filter request when enabling lazy loading of members [\#1333](https://github.com/matrix-org/matrix-js-sdk/pull/1333) * Reject attemptAuth promise if no auth flow found [\#1331](https://github.com/matrix-org/matrix-js-sdk/pull/1331) * Serialise Olm prekey decryptions [\#1330](https://github.com/matrix-org/matrix-js-sdk/pull/1330) Changes in [5.3.1-rc.3](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.3.1-rc.3) (2020-04-17) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.3.1-rc.2...v5.3.1-rc.3) * Fix cross-signing/SSSS reset [\#1323](https://github.com/matrix-org/matrix-js-sdk/pull/1323) * Fix: crash when backup key needs fixing from corruption issue [\#1325](https://github.com/matrix-org/matrix-js-sdk/pull/1325) Changes in [5.3.1-rc.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.3.1-rc.2) (2020-04-16) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.3.1-rc.1...v5.3.1-rc.2) * Implement QR code reciprocate for self-verification with untrusted MSK [\#1321](https://github.com/matrix-org/matrix-js-sdk/pull/1321) Changes in [5.3.1-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.3.1-rc.1) (2020-04-15) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.3.0-rc.1...v5.3.1-rc.1) * Adapt release script for riot-desktop [\#1319](https://github.com/matrix-org/matrix-js-sdk/pull/1319) * Fix: prevent spurious notifications from indexer [\#1318](https://github.com/matrix-org/matrix-js-sdk/pull/1318) * Always create our own user object [\#1317](https://github.com/matrix-org/matrix-js-sdk/pull/1317) * Fix incorrect backup key format in SSSS [\#1311](https://github.com/matrix-org/matrix-js-sdk/pull/1311) * Fix e2ee crash after refreshing after having received a cross-singing key reset [\#1315](https://github.com/matrix-org/matrix-js-sdk/pull/1315) * Fix: catch send errors in SAS verifier [\#1314](https://github.com/matrix-org/matrix-js-sdk/pull/1314) * Clear cross-signing keys when detecting the keys have changed [\#1312](https://github.com/matrix-org/matrix-js-sdk/pull/1312) * Upgrade deps [\#1310](https://github.com/matrix-org/matrix-js-sdk/pull/1310) Changes in [5.3.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.3.0-rc.1) (2020-04-08) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.2.0...v5.3.0-rc.1) * Store key backup key in cache as Uint8Array [\#1308](https://github.com/matrix-org/matrix-js-sdk/pull/1308) * Use the correct request body for the /keys/query endpoint. [\#1307](https://github.com/matrix-org/matrix-js-sdk/pull/1307) * Avoid creating two devices on registration [\#1305](https://github.com/matrix-org/matrix-js-sdk/pull/1305) * Lower max-warnings to 81 [\#1306](https://github.com/matrix-org/matrix-js-sdk/pull/1306) * Move key backup key creation before caching [\#1303](https://github.com/matrix-org/matrix-js-sdk/pull/1303) * Expose function to force-reset outgoing room key requests [\#1298](https://github.com/matrix-org/matrix-js-sdk/pull/1298) * Add isSelfVerification property to VerificationRequest [\#1302](https://github.com/matrix-org/matrix-js-sdk/pull/1302) * QR code reciprocation [\#1297](https://github.com/matrix-org/matrix-js-sdk/pull/1297) * Add ability to check symmetric SSSS key before we try to use it [\#1294](https://github.com/matrix-org/matrix-js-sdk/pull/1294) * Add some debug logging for events stuck to bottom of timeline [\#1296](https://github.com/matrix-org/matrix-js-sdk/pull/1296) * Fix: spontanous verification request cancellation under some circumstances [\#1295](https://github.com/matrix-org/matrix-js-sdk/pull/1295) * Receive private key for caching from the app layer [\#1293](https://github.com/matrix-org/matrix-js-sdk/pull/1293) * Track whether we have verified a user before [\#1292](https://github.com/matrix-org/matrix-js-sdk/pull/1292) * Fix: error during tests [\#1222](https://github.com/matrix-org/matrix-js-sdk/pull/1222) * Send .done event for to_device verification [\#1288](https://github.com/matrix-org/matrix-js-sdk/pull/1288) * Request the key backup key & restore backup [\#1291](https://github.com/matrix-org/matrix-js-sdk/pull/1291) * Make screen sharing works on Chrome using getDisplayMedia() [\#1276](https://github.com/matrix-org/matrix-js-sdk/pull/1276) * Fix isVerified returning false [\#1289](https://github.com/matrix-org/matrix-js-sdk/pull/1289) * Fix: verification gets cancelled when event gets duplicated [\#1286](https://github.com/matrix-org/matrix-js-sdk/pull/1286) * Use requestSecret on the client to request secrets [\#1287](https://github.com/matrix-org/matrix-js-sdk/pull/1287) * Allow guests to fetch TURN servers [\#1277](https://github.com/matrix-org/matrix-js-sdk/pull/1277) Changes in [5.2.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.2.0) (2020-03-30) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.2.0-rc.1...v5.2.0) * Fix isVerified returning false [\#1290](https://github.com/matrix-org/matrix-js-sdk/pull/1290) Changes in [5.2.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.2.0-rc.1) (2020-03-26) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.1.1...v5.2.0-rc.1) * Add a flag for whether cross signing signatures are trusted [\#1285](https://github.com/matrix-org/matrix-js-sdk/pull/1285) * Cache user and self signing keys during bootstrap [\#1282](https://github.com/matrix-org/matrix-js-sdk/pull/1282) * remove unnecessary promise [\#1283](https://github.com/matrix-org/matrix-js-sdk/pull/1283) * Functions to cache session backups key automatically [\#1281](https://github.com/matrix-org/matrix-js-sdk/pull/1281) * Add function for checking cross-signing is ready [\#1279](https://github.com/matrix-org/matrix-js-sdk/pull/1279) * Use symmetric encryption for SSSS [\#1228](https://github.com/matrix-org/matrix-js-sdk/pull/1228) * Migrate SSSS to use symmetric algorithm [\#1238](https://github.com/matrix-org/matrix-js-sdk/pull/1238) * Migration to symmetric SSSS [\#1272](https://github.com/matrix-org/matrix-js-sdk/pull/1272) * Reduce number of one-time-key requests [\#1280](https://github.com/matrix-org/matrix-js-sdk/pull/1280) * Fix: assume the requested method is supported by other party with to_device [\#1275](https://github.com/matrix-org/matrix-js-sdk/pull/1275) * Use checkDeviceTrust when computing untrusted devices [\#1278](https://github.com/matrix-org/matrix-js-sdk/pull/1278) * Add a store for backup keys [\#1271](https://github.com/matrix-org/matrix-js-sdk/pull/1271) * Upload only new device signature of master key [\#1268](https://github.com/matrix-org/matrix-js-sdk/pull/1268) * Expose prepareToEncrypt in the client API [\#1270](https://github.com/matrix-org/matrix-js-sdk/pull/1270) * Don't kill the whole device download if one device gives an error [\#1269](https://github.com/matrix-org/matrix-js-sdk/pull/1269) * Handle racing .start event during self verification [\#1267](https://github.com/matrix-org/matrix-js-sdk/pull/1267) * A crypto.keySignatureUploadFailure event reported the wrong source [\#1266](https://github.com/matrix-org/matrix-js-sdk/pull/1266) * Fix editing of unsent messages by waiting for actual event id [\#1263](https://github.com/matrix-org/matrix-js-sdk/pull/1263) * Fix: ensureOlmSessionsForDevices parameter format [\#1264](https://github.com/matrix-org/matrix-js-sdk/pull/1264) * Remove stuff that yarn install doesn't think we need [\#1261](https://github.com/matrix-org/matrix-js-sdk/pull/1261) * Fix: prevent error being thrown during sync in some cases [\#1258](https://github.com/matrix-org/matrix-js-sdk/pull/1258) * Force `is_verified` for key backups to bool and fix computation [\#1259](https://github.com/matrix-org/matrix-js-sdk/pull/1259) * Add a method for legacy single device verification, returning a verification request [\#1257](https://github.com/matrix-org/matrix-js-sdk/pull/1257) * yarn upgrade [\#1256](https://github.com/matrix-org/matrix-js-sdk/pull/1256) Changes in [5.1.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.1.1) (2020-03-17) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.1.1-rc.1...v5.1.1) * Fix: ensureOlmSessionsForDevices parameter format [\#1265](https://github.com/matrix-org/matrix-js-sdk/pull/1265) * Fix: prevent error being thrown during sync in some cases [\#1262](https://github.com/matrix-org/matrix-js-sdk/pull/1262) * Force `is_verified` for key backups to bool and fix computation [\#1260](https://github.com/matrix-org/matrix-js-sdk/pull/1260) Changes in [5.1.1-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.1.1-rc.1) (2020-03-11) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.1.0...v5.1.1-rc.1) * refactor megolm encryption to improve perceived speed [\#1252](https://github.com/matrix-org/matrix-js-sdk/pull/1252) * Remove v1 identity server fallbacks [\#1253](https://github.com/matrix-org/matrix-js-sdk/pull/1253) * Use alt_aliases instead of local ones for room names [\#1251](https://github.com/matrix-org/matrix-js-sdk/pull/1251) * Upload cross-signing key signatures in the background [\#1250](https://github.com/matrix-org/matrix-js-sdk/pull/1250) * Fix secret sharing names to match spec [\#1249](https://github.com/matrix-org/matrix-js-sdk/pull/1249) * Cleanup: remove crypto.verification.start event [\#1248](https://github.com/matrix-org/matrix-js-sdk/pull/1248) * Fix regression in key backup request params [\#1246](https://github.com/matrix-org/matrix-js-sdk/pull/1246) * Use cross-signing trust to mark backups verified [\#1244](https://github.com/matrix-org/matrix-js-sdk/pull/1244) * Check both cross-signing and local trust for key sharing [\#1243](https://github.com/matrix-org/matrix-js-sdk/pull/1243) * Fixed up tests to match new way that crypto stores are created [\#1242](https://github.com/matrix-org/matrix-js-sdk/pull/1242) * Store USK and SSK locally [\#1235](https://github.com/matrix-org/matrix-js-sdk/pull/1235) * Use unpadded base64 for QR code secrets [\#1236](https://github.com/matrix-org/matrix-js-sdk/pull/1236) * Don't require .done event for finishing self-verification [\#1239](https://github.com/matrix-org/matrix-js-sdk/pull/1239) * Don't cancel as 3rd party in verification request [\#1237](https://github.com/matrix-org/matrix-js-sdk/pull/1237) * Verification: log when switching start event [\#1234](https://github.com/matrix-org/matrix-js-sdk/pull/1234) * Perform crypto store operations directly after transaction [\#1233](https://github.com/matrix-org/matrix-js-sdk/pull/1233) * More verification request logging [\#1232](https://github.com/matrix-org/matrix-js-sdk/pull/1232) * Upgrade deps [\#1231](https://github.com/matrix-org/matrix-js-sdk/pull/1231) Changes in [5.1.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.1.0) (2020-03-02) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.1.0-rc.1...v5.1.0) * No changes since rc.1 Changes in [5.1.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.1.0-rc.1) (2020-02-26) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.0.1...v5.1.0-rc.1) * Add latest dist-tag for releases [\#1230](https://github.com/matrix-org/matrix-js-sdk/pull/1230) * Add room method for alt_aliases [\#1225](https://github.com/matrix-org/matrix-js-sdk/pull/1225) * Remove buildkite pipeline [\#1227](https://github.com/matrix-org/matrix-js-sdk/pull/1227) * don't assume verify has been called when receiving a cancellation in verifier [\#1226](https://github.com/matrix-org/matrix-js-sdk/pull/1226) * Reduce secret size for new binary packing [\#1221](https://github.com/matrix-org/matrix-js-sdk/pull/1221) * misc rageshake fixes [\#1223](https://github.com/matrix-org/matrix-js-sdk/pull/1223) * Fix cancelled historical requests not appearing as cancelled [\#1220](https://github.com/matrix-org/matrix-js-sdk/pull/1220) * Fix renaming error that broke QR code verification [\#1217](https://github.com/matrix-org/matrix-js-sdk/pull/1217) Changes in [5.0.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.0.1) (2020-02-19) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.0.0...v5.0.1) * add method for new /aliases endpoint [\#1219](https://github.com/matrix-org/matrix-js-sdk/pull/1219) * method for checking if other party supports verification method [\#1213](https://github.com/matrix-org/matrix-js-sdk/pull/1213) * add local echo state for accepting or declining a verif req [\#1210](https://github.com/matrix-org/matrix-js-sdk/pull/1210) * make logging compatible with rageshakes [\#1214](https://github.com/matrix-org/matrix-js-sdk/pull/1214) * Find existing requests when starting a new verification request [\#1209](https://github.com/matrix-org/matrix-js-sdk/pull/1209) * log MAC calculation during SAS [\#1211](https://github.com/matrix-org/matrix-js-sdk/pull/1211) Changes in [5.0.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.0.0) (2020-02-17) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.0.0-rc.1...v5.0.0) * No changes since rc.1 Changes in [5.0.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.0.0-rc.1) (2020-02-13) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v4.0.0...v5.0.0-rc.1) BREAKING CHANGES --- * The verification methods API has removed an argument ([\#1206](https://github.com/matrix-org/matrix-js-sdk/pull/1206)) All Changes --- * Remove methods argument to verification [\#1206](https://github.com/matrix-org/matrix-js-sdk/pull/1206) * don't do a dynamic import of request [\#1207](https://github.com/matrix-org/matrix-js-sdk/pull/1207) * QR self-verification fixes [\#1201](https://github.com/matrix-org/matrix-js-sdk/pull/1201) * Log every verification event [\#1204](https://github.com/matrix-org/matrix-js-sdk/pull/1204) * dont require .done event from other party [\#1203](https://github.com/matrix-org/matrix-js-sdk/pull/1203) * New option to fully reset Secret Storage keys in boostrapSecretStorage [\#1202](https://github.com/matrix-org/matrix-js-sdk/pull/1202) * Add function to estimate target device for a VerificationRequest [\#1190](https://github.com/matrix-org/matrix-js-sdk/pull/1190) * pass ssss item name to callback so we can differentiate UI on it [\#1200](https://github.com/matrix-org/matrix-js-sdk/pull/1200) * add export/import of Olm devices [\#1167](https://github.com/matrix-org/matrix-js-sdk/pull/1167) * Convert utils.js -> utils.ts [\#1199](https://github.com/matrix-org/matrix-js-sdk/pull/1199) * Don't sign ourselves as a user [\#1197](https://github.com/matrix-org/matrix-js-sdk/pull/1197) * Add a bunch of logging to verification [\#1196](https://github.com/matrix-org/matrix-js-sdk/pull/1196) * Fix: always return a valid string from InRoomChannel.getEventType [\#1198](https://github.com/matrix-org/matrix-js-sdk/pull/1198) * add logging when a request is being cancelled [\#1195](https://github.com/matrix-org/matrix-js-sdk/pull/1195) * Don't explode verification validation if we don't have an event type [\#1194](https://github.com/matrix-org/matrix-js-sdk/pull/1194) * Fix: verification request appearing for users that are not the receiver or sender if they are in room [\#1193](https://github.com/matrix-org/matrix-js-sdk/pull/1193) * Fix getting secrets encoded with passthrough keys [\#1192](https://github.com/matrix-org/matrix-js-sdk/pull/1192) * Update QR code handling for new spec [\#1175](https://github.com/matrix-org/matrix-js-sdk/pull/1175) * Don't add ephemeral events to timeline when peeking [\#1188](https://github.com/matrix-org/matrix-js-sdk/pull/1188) * Fix typo [\#1189](https://github.com/matrix-org/matrix-js-sdk/pull/1189) * Verification: resolve race between .start events from both parties [\#1187](https://github.com/matrix-org/matrix-js-sdk/pull/1187) * Add option to bootstrap to start new key backup [\#1184](https://github.com/matrix-org/matrix-js-sdk/pull/1184) * Add a bunch of null guards to feature checks [\#1182](https://github.com/matrix-org/matrix-js-sdk/pull/1182) * docs: fix MatrixClient reference [\#1183](https://github.com/matrix-org/matrix-js-sdk/pull/1183) * Add helper to obtain the cancellation code for a verification request [\#1180](https://github.com/matrix-org/matrix-js-sdk/pull/1180) * Publish pre-releases as a separate tag on npm [\#1178](https://github.com/matrix-org/matrix-js-sdk/pull/1178) * Fix support for passthrough keys [\#1177](https://github.com/matrix-org/matrix-js-sdk/pull/1177) * Trust our own cross-signing keys if we verify them with another device [\#1174](https://github.com/matrix-org/matrix-js-sdk/pull/1174) * Ensure cross-signing keys are downloaded when checking trust [\#1176](https://github.com/matrix-org/matrix-js-sdk/pull/1176) * Don't log verification validation errors for normal messages [\#1172](https://github.com/matrix-org/matrix-js-sdk/pull/1172) * Fix bootstrap cleanup [\#1173](https://github.com/matrix-org/matrix-js-sdk/pull/1173) * QR code verification [\#1155](https://github.com/matrix-org/matrix-js-sdk/pull/1155) * expose deviceId prop on device channel [\#1171](https://github.com/matrix-org/matrix-js-sdk/pull/1171) * Move & upgrade babel runtime into dependencies (like it wants) [\#1169](https://github.com/matrix-org/matrix-js-sdk/pull/1169) * Add unit tests for verifying your own device, remove .event property on verification request [\#1166](https://github.com/matrix-org/matrix-js-sdk/pull/1166) * For dm-verification, also consider events sent by other devices of same user as "our" events [\#1163](https://github.com/matrix-org/matrix-js-sdk/pull/1163) * Add a prepare script [\#1161](https://github.com/matrix-org/matrix-js-sdk/pull/1161) * Remove :deviceId from /keys/upload/:deviceId as not spec-compliant [\#1162](https://github.com/matrix-org/matrix-js-sdk/pull/1162) * Refactor and expose some logic publicly for the TimelineWindow class. [\#1159](https://github.com/matrix-org/matrix-js-sdk/pull/1159) * Allow a device key upload request without auth [\#1158](https://github.com/matrix-org/matrix-js-sdk/pull/1158) * Support for .ready verification event (MSC2366) & other things [\#1140](https://github.com/matrix-org/matrix-js-sdk/pull/1140) Changes in [4.0.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v4.0.0) (2020-01-27) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v4.0.0-rc.1...v4.0.0) * Move & upgrade babel runtime into dependencies (like it wants) [\#1170](https://github.com/matrix-org/matrix-js-sdk/pull/1170) * Add a prepare script [\#1164](https://github.com/matrix-org/matrix-js-sdk/pull/1164) Changes in [4.0.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v4.0.0-rc.1) (2020-01-20) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v3.0.0...v4.0.0-rc.1) BREAKING CHANGES ================ * The js-sdk node module now exports ES6 rather than ES5. If you wish to supports target that aren't compatible with ES6, you will need to transpile the js-sdk to a suitable dialect. All Changes =========== * Convert secret storage to new account data API [\#1154](https://github.com/matrix-org/matrix-js-sdk/pull/1154) * Add v5 as a safe room version [\#1157](https://github.com/matrix-org/matrix-js-sdk/pull/1157) * Add API to get account data from server [\#1153](https://github.com/matrix-org/matrix-js-sdk/pull/1153) * Fix sourcemaps by refactoring the build system [\#1151](https://github.com/matrix-org/matrix-js-sdk/pull/1151) * record, report, and notify about olm errors [\#1146](https://github.com/matrix-org/matrix-js-sdk/pull/1146) * Send device messages for the same user in same API call. [\#1148](https://github.com/matrix-org/matrix-js-sdk/pull/1148) * Add an option to ignore unverified devices [\#1150](https://github.com/matrix-org/matrix-js-sdk/pull/1150) * Sign key backup with cross-signing key on upgrade [\#1144](https://github.com/matrix-org/matrix-js-sdk/pull/1144) * Emoji verification: Change name of 🔒 to lock [\#1145](https://github.com/matrix-org/matrix-js-sdk/pull/1145) * use a separate object for each encrypted content [\#1147](https://github.com/matrix-org/matrix-js-sdk/pull/1147) * Sourcemaps: develop -> feature branch [\#1143](https://github.com/matrix-org/matrix-js-sdk/pull/1143) * Use a safer import/export scheme for the ContentRepo utilities [\#1134](https://github.com/matrix-org/matrix-js-sdk/pull/1134) * Fix error handling in decryptGroupMessage [\#1142](https://github.com/matrix-org/matrix-js-sdk/pull/1142) * Add additional properties to package.json for riot-web's webpack [\#1131](https://github.com/matrix-org/matrix-js-sdk/pull/1131) * Fix import for indexeddb crypto store [\#1133](https://github.com/matrix-org/matrix-js-sdk/pull/1133) * Use the right request when creating clients [\#1132](https://github.com/matrix-org/matrix-js-sdk/pull/1132) * Target NodeJS 10, minified browser bundle, and other publishing/package things [\#1127](https://github.com/matrix-org/matrix-js-sdk/pull/1127) * Re-focus sourcemap generation [\#1126](https://github.com/matrix-org/matrix-js-sdk/pull/1126) * Remove ancient polyfill for prototype inheritance [\#1125](https://github.com/matrix-org/matrix-js-sdk/pull/1125) * Remove "source-map-support" from tests because it makes sourcemaps worse [\#1124](https://github.com/matrix-org/matrix-js-sdk/pull/1124) * Remove ancient "use strict" annotations [\#1123](https://github.com/matrix-org/matrix-js-sdk/pull/1123) * Use ES6 imports/exports instead of older CommonJS ones [\#1122](https://github.com/matrix-org/matrix-js-sdk/pull/1122) * [BREAKING] Refactor the entire build process [\#1113](https://github.com/matrix-org/matrix-js-sdk/pull/1113) Changes in [3.0.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v3.0.0) (2020-01-13) ================================================================================================ [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v3.0.0-rc.1...v3.0.0) * No changes from rc.1 Changes in [3.0.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v3.0.0-rc.1) (2020-01-06) ========================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.4.6...v3.0.0-rc.1) BREAKING CHANGES ================ * matrix-js-sdk no longer uses bluebird promises, so promises returned by the js-sdk no longer support the done() method. Code that calls done() on promises returned by the js-sdk will break and will need to be updated to remove the done() call. All Changes =========== * Make displayName disambiguation more fuzzy especially against RTL/LTR content [\#1141](https://github.com/matrix-org/matrix-js-sdk/pull/1141) * stop trying to resend event if we get M_TOO_LARGE [\#1129](https://github.com/matrix-org/matrix-js-sdk/pull/1129) * Fix creating a key backup with cross signing diabled [\#1139](https://github.com/matrix-org/matrix-js-sdk/pull/1139) * Use checkDeviceTrust with key backup [\#1138](https://github.com/matrix-org/matrix-js-sdk/pull/1138) * Add support for passthrough SSSS secrets [\#1128](https://github.com/matrix-org/matrix-js-sdk/pull/1128) * Add support for key backups using secret storage [\#1118](https://github.com/matrix-org/matrix-js-sdk/pull/1118) * Remove unused user verification event [\#1117](https://github.com/matrix-org/