matrix-js-sdk 16.0.0 → 16.0.2-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 +29 -0
- package/dist/browser-matrix.js +1060 -1117
- package/dist/browser-matrix.js.map +31 -29
- package/dist/browser-matrix.min.js +5 -5
- package/dist/browser-matrix.min.js.map +1 -1
- package/git-revision.txt +1 -1
- package/lib/@types/beacon.d.ts +108 -0
- package/lib/@types/beacon.d.ts.map +1 -0
- package/lib/@types/beacon.js +79 -0
- package/lib/@types/event.d.ts +4 -9
- package/lib/@types/event.d.ts.map +1 -1
- package/lib/@types/event.js +3 -1
- package/lib/@types/location.d.ts +50 -15
- package/lib/@types/location.d.ts.map +1 -1
- package/lib/@types/location.js +12 -31
- package/lib/NamespacedValue.d.ts +5 -0
- package/lib/NamespacedValue.d.ts.map +1 -1
- package/lib/NamespacedValue.js +28 -2
- package/lib/client.d.ts +34 -249
- package/lib/client.d.ts.map +1 -1
- package/lib/client.js +147 -562
- package/lib/content-helpers.d.ts +26 -4
- package/lib/content-helpers.d.ts.map +1 -1
- package/lib/content-helpers.js +126 -31
- package/lib/crypto/algorithms/megolm.js +2 -1
- package/lib/crypto/index.d.ts.map +1 -1
- package/lib/crypto/index.js +2 -2
- package/lib/crypto/store/localStorage-crypto-store.js +1 -1
- package/lib/crypto/verification/request/VerificationRequest.d.ts +1 -1
- package/lib/crypto/verification/request/VerificationRequest.d.ts.map +1 -1
- package/lib/crypto/verification/request/VerificationRequest.js +1 -0
- package/lib/event-mapper.d.ts.map +1 -1
- package/lib/event-mapper.js +20 -15
- package/lib/filter-component.d.ts +4 -3
- package/lib/filter-component.d.ts.map +1 -1
- package/lib/filter-component.js +15 -17
- package/lib/filter.d.ts +4 -5
- package/lib/filter.d.ts.map +1 -1
- package/lib/filter.js +2 -9
- package/lib/http-api.d.ts +0 -1
- package/lib/http-api.d.ts.map +1 -1
- package/lib/http-api.js +0 -1
- package/lib/matrix.d.ts +1 -1
- package/lib/matrix.d.ts.map +1 -1
- package/lib/matrix.js +12 -12
- package/lib/models/beacon.d.ts +40 -0
- package/lib/models/beacon.d.ts.map +1 -0
- package/lib/models/beacon.js +146 -0
- package/lib/models/event-context.d.ts +1 -0
- package/lib/models/event-context.d.ts.map +1 -1
- package/lib/models/event-context.js +1 -0
- package/lib/models/event.d.ts +14 -5
- package/lib/models/event.d.ts.map +1 -1
- package/lib/models/event.js +3 -2
- package/lib/models/room-state.d.ts +24 -2
- package/lib/models/room-state.d.ts.map +1 -1
- package/lib/models/room-state.js +67 -1
- package/lib/models/room.d.ts +35 -8
- package/lib/models/room.d.ts.map +1 -1
- package/lib/models/room.js +316 -100
- package/lib/models/search-result.d.ts.map +1 -1
- package/lib/models/search-result.js +9 -5
- package/lib/models/thread.d.ts +10 -1
- package/lib/models/thread.d.ts.map +1 -1
- package/lib/models/thread.js +67 -57
- package/lib/store/index.d.ts +1 -22
- package/lib/store/index.d.ts.map +1 -1
- package/lib/store/indexeddb-local-backend.d.ts +0 -1
- package/lib/store/indexeddb-local-backend.d.ts.map +1 -1
- package/lib/store/indexeddb-local-backend.js +3 -6
- package/lib/store/memory.d.ts +0 -21
- package/lib/store/memory.d.ts.map +1 -1
- package/lib/store/memory.js +0 -33
- package/lib/store/stub.d.ts +0 -20
- package/lib/store/stub.d.ts.map +1 -1
- package/lib/store/stub.js +0 -29
- package/lib/sync-accumulator.d.ts +0 -14
- package/lib/sync-accumulator.d.ts.map +1 -1
- package/lib/sync-accumulator.js +0 -45
- package/lib/sync.d.ts +1 -12
- package/lib/sync.d.ts.map +1 -1
- package/lib/sync.js +27 -113
- package/lib/timeline-window.d.ts +1 -1
- package/lib/timeline-window.d.ts.map +1 -1
- package/lib/timeline-window.js +8 -16
- package/package.json +1 -1
- package/src/@types/beacon.ts +147 -0
- package/src/@types/event.ts +3 -8
- package/src/@types/location.ts +47 -21
- package/src/NamespacedValue.ts +16 -0
- package/src/client.ts +163 -563
- package/src/content-helpers.ts +144 -20
- package/src/crypto/algorithms/megolm.ts +1 -0
- package/src/crypto/index.ts +3 -2
- package/src/crypto/store/localStorage-crypto-store.ts +1 -1
- package/src/crypto/verification/request/VerificationRequest.ts +1 -1
- package/src/event-mapper.ts +16 -2
- package/src/filter-component.ts +25 -20
- package/src/filter.ts +6 -13
- package/src/http-api.ts +1 -1
- package/src/matrix.ts +1 -1
- package/src/models/beacon.ts +134 -0
- package/src/models/event-context.ts +1 -1
- package/src/models/event.ts +18 -10
- package/src/models/room-state.ts +75 -1
- package/src/models/room.ts +363 -99
- package/src/models/search-result.ts +9 -4
- package/src/models/thread.ts +71 -48
- package/src/store/index.ts +1 -25
- package/src/store/indexeddb-local-backend.ts +1 -5
- package/src/store/memory.ts +0 -30
- package/src/store/stub.ts +0 -27
- package/src/sync-accumulator.ts +0 -50
- package/src/sync.ts +31 -113
- package/src/timeline-window.ts +11 -20
- package/lib/models/group.js +0 -108
- package/src/models/group.js +0 -100
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
Changes in [16.0.2-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v16.0.2-rc.1) (2022-04-05)
|
|
2
|
+
============================================================================================================
|
|
3
|
+
|
|
4
|
+
## 🚨 BREAKING CHANGES
|
|
5
|
+
* Remove groups and groups-related APIs ([\#2234](https://github.com/matrix-org/matrix-js-sdk/pull/2234)).
|
|
6
|
+
|
|
7
|
+
## ✨ Features
|
|
8
|
+
* Add Element video room type ([\#2273](https://github.com/matrix-org/matrix-js-sdk/pull/2273)).
|
|
9
|
+
* Live location sharing - handle redacted beacons ([\#2269](https://github.com/matrix-org/matrix-js-sdk/pull/2269)).
|
|
10
|
+
|
|
11
|
+
## 🐛 Bug Fixes
|
|
12
|
+
* Fix getSessionsNeedingBackup() limit support ([\#2270](https://github.com/matrix-org/matrix-js-sdk/pull/2270)). Contributed by @adamvy.
|
|
13
|
+
* Fix issues with /search and /context API handling for threads ([\#2261](https://github.com/matrix-org/matrix-js-sdk/pull/2261)). Fixes vector-im/element-web#21543.
|
|
14
|
+
* Prevent exception 'Unable to set up secret storage' ([\#2260](https://github.com/matrix-org/matrix-js-sdk/pull/2260)).
|
|
15
|
+
|
|
16
|
+
Changes in [16.0.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v16.0.1) (2022-03-28)
|
|
17
|
+
==================================================================================================
|
|
18
|
+
|
|
19
|
+
## ✨ Features
|
|
20
|
+
* emit aggregate room beacon liveness ([\#2241](https://github.com/matrix-org/matrix-js-sdk/pull/2241)).
|
|
21
|
+
* Live location sharing - create m.beacon_info events ([\#2238](https://github.com/matrix-org/matrix-js-sdk/pull/2238)).
|
|
22
|
+
* Beacon event types from MSC3489 ([\#2230](https://github.com/matrix-org/matrix-js-sdk/pull/2230)).
|
|
23
|
+
|
|
24
|
+
## 🐛 Bug Fixes
|
|
25
|
+
* Fix incorrect usage of unstable variant of `is_falling_back` ([\#2227](https://github.com/matrix-org/matrix-js-sdk/pull/2227)).
|
|
26
|
+
|
|
27
|
+
Changes in [16.0.1-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v16.0.1-rc.1) (2022-03-22)
|
|
28
|
+
============================================================================================================
|
|
29
|
+
|
|
1
30
|
Changes in [16.0.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v16.0.0) (2022-03-15)
|
|
2
31
|
==================================================================================================
|
|
3
32
|
|