matrix-js-sdk 27.2.0 → 27.3.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +2 -0
- package/dist/browser-matrix.js +141 -231
- package/dist/browser-matrix.js.map +16 -14
- package/dist/browser-matrix.min.js +1 -1
- package/dist/browser-matrix.min.js.map +1 -1
- package/git-revision.txt +1 -1
- package/lib/@types/requests.d.ts +0 -5
- package/lib/@types/requests.d.ts.map +1 -1
- package/lib/@types/requests.js.map +1 -1
- package/lib/autodiscovery.d.ts +3 -1
- package/lib/autodiscovery.d.ts.map +1 -1
- package/lib/autodiscovery.js +17 -2
- package/lib/autodiscovery.js.map +1 -1
- package/lib/client.d.ts +7 -69
- package/lib/client.d.ts.map +1 -1
- package/lib/client.js +21 -171
- package/lib/client.js.map +1 -1
- package/lib/content-repo.js +2 -2
- package/lib/content-repo.js.map +1 -1
- package/lib/crypto/backup.d.ts.map +1 -1
- package/lib/crypto/backup.js +18 -7
- package/lib/crypto/backup.js.map +1 -1
- package/lib/crypto/index.d.ts +7 -1
- package/lib/crypto/index.d.ts.map +1 -1
- package/lib/crypto/index.js +14 -0
- package/lib/crypto/index.js.map +1 -1
- package/lib/crypto-api/keybackup.d.ts +7 -0
- package/lib/crypto-api/keybackup.d.ts.map +1 -1
- package/lib/crypto-api/keybackup.js.map +1 -1
- package/lib/crypto-api.d.ts +20 -1
- package/lib/crypto-api.d.ts.map +1 -1
- package/lib/crypto-api.js.map +1 -1
- package/lib/http-api/index.js +3 -3
- package/lib/http-api/index.js.map +1 -1
- package/lib/http-api/prefix.d.ts +7 -7
- package/lib/http-api/prefix.d.ts.map +1 -1
- package/lib/http-api/prefix.js +2 -2
- package/lib/http-api/prefix.js.map +1 -1
- package/lib/interactive-auth.d.ts.map +1 -1
- package/lib/interactive-auth.js +2 -4
- package/lib/interactive-auth.js.map +1 -1
- package/lib/matrix.d.ts +1 -0
- package/lib/matrix.d.ts.map +1 -1
- package/lib/matrix.js +12 -0
- package/lib/matrix.js.map +1 -1
- package/lib/rust-crypto/OutgoingRequestProcessor.d.ts.map +1 -1
- package/lib/rust-crypto/OutgoingRequestProcessor.js +4 -2
- package/lib/rust-crypto/OutgoingRequestProcessor.js.map +1 -1
- package/lib/rust-crypto/backup.d.ts +53 -3
- package/lib/rust-crypto/backup.d.ts.map +1 -1
- package/lib/rust-crypto/backup.js +206 -4
- package/lib/rust-crypto/backup.js.map +1 -1
- package/lib/rust-crypto/rust-crypto.d.ts +28 -5
- package/lib/rust-crypto/rust-crypto.d.ts.map +1 -1
- package/lib/rust-crypto/rust-crypto.js +66 -7
- package/lib/rust-crypto/rust-crypto.js.map +1 -1
- package/lib/rust-crypto/verification.d.ts +10 -0
- package/lib/rust-crypto/verification.d.ts.map +1 -1
- package/lib/rust-crypto/verification.js +27 -0
- package/lib/rust-crypto/verification.js.map +1 -1
- package/lib/sync.d.ts.map +1 -1
- package/lib/sync.js +4 -11
- package/lib/sync.js.map +1 -1
- package/lib/version-support.d.ts +5 -0
- package/lib/version-support.d.ts.map +1 -0
- package/lib/version-support.js +28 -0
- package/lib/version-support.js.map +1 -0
- package/package.json +4 -4
- package/src/@types/requests.ts +0 -6
- package/src/autodiscovery.ts +19 -1
- package/src/client.ts +24 -185
- package/src/content-repo.ts +2 -2
- package/src/crypto/backup.ts +18 -10
- package/src/crypto/index.ts +15 -0
- package/src/crypto-api/keybackup.ts +8 -0
- package/src/crypto-api.ts +22 -1
- package/src/http-api/index.ts +3 -3
- package/src/http-api/prefix.ts +7 -7
- package/src/interactive-auth.ts +2 -4
- package/src/matrix.ts +1 -0
- package/src/rust-crypto/OutgoingRequestProcessor.ts +7 -2
- package/src/rust-crypto/backup.ts +244 -5
- package/src/rust-crypto/rust-crypto.ts +94 -15
- package/src/rust-crypto/verification.ts +27 -0
- package/src/sync.ts +4 -11
- package/src/version-support.ts +20 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
Changes in [27.3.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v27.3.0-rc.1) (2023-08-22)
|
|
2
|
+
============================================================================================================
|
|
3
|
+
|
|
4
|
+
## 🚨 BREAKING CHANGES
|
|
5
|
+
* Set minimum supported Matrix 1.1 version (drop legacy r0 versions) ([\#3007](https://github.com/matrix-org/matrix-js-sdk/pull/3007)). Fixes vector-im/element-web#16876.
|
|
6
|
+
|
|
7
|
+
## 🦖 Deprecations
|
|
8
|
+
* **The Browserify artifact is being deprecated, scheduled for removal in the October 10th release cycle. (#3189)**
|
|
9
|
+
|
|
10
|
+
## ✨ Features
|
|
11
|
+
* ElementR: Add `CryptoApi.requestVerificationDM` ([\#3643](https://github.com/matrix-org/matrix-js-sdk/pull/3643)). Contributed by @florianduros.
|
|
12
|
+
* Implement `CryptoApi.checkKeyBackupAndEnable` ([\#3633](https://github.com/matrix-org/matrix-js-sdk/pull/3633)). Fixes vector-im/crypto-internal#111 and vector-im/crypto-internal#112.
|
|
13
|
+
|
|
14
|
+
## 🐛 Bug Fixes
|
|
15
|
+
* ElementR: Process all verification events, not just requests ([\#3650](https://github.com/matrix-org/matrix-js-sdk/pull/3650)). Contributed by @florianduros.
|
|
16
|
+
|
|
1
17
|
Changes in [27.2.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v27.2.0) (2023-08-15)
|
|
2
18
|
==================================================================================================
|
|
3
19
|
|
package/README.md
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
This is the [Matrix](https://matrix.org) Client-Server SDK for JavaScript and TypeScript. This SDK can be run in a
|
|
12
12
|
browser or in Node.js.
|
|
13
13
|
|
|
14
|
+
#### Minimum Matrix server version: v1.1
|
|
15
|
+
|
|
14
16
|
The Matrix specification is constantly evolving - while this SDK aims for maximum backwards compatibility, it only
|
|
15
17
|
guarantees that a feature will be supported for at least 4 spec releases. For example, if a feature the js-sdk supports
|
|
16
18
|
is removed in v1.4 then the feature is _eligible_ for removal from the SDK when v1.8 is released. This SDK has no
|