matrix-js-sdk 15.4.0 → 15.5.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 +48 -0
- package/dist/browser-matrix.js +3860 -829
- package/dist/browser-matrix.js.map +84 -40
- 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/event.d.ts +7 -0
- package/lib/@types/event.d.ts.map +1 -1
- package/lib/@types/event.js +11 -2
- package/lib/@types/location.d.ts +5 -0
- package/lib/@types/location.d.ts.map +1 -1
- package/lib/@types/location.js +9 -2
- package/lib/@types/requests.d.ts +2 -0
- package/lib/@types/requests.d.ts.map +1 -1
- package/lib/client.d.ts +13 -8
- package/lib/client.d.ts.map +1 -1
- package/lib/client.js +146 -38
- package/lib/content-helpers.d.ts +2 -10
- package/lib/content-helpers.d.ts.map +1 -1
- package/lib/content-helpers.js +8 -34
- package/lib/crypto/index.d.ts.map +1 -1
- package/lib/crypto/index.js +0 -6
- package/lib/crypto/store/memory-crypto-store.js +2 -2
- package/lib/event-mapper.js +1 -1
- package/lib/filter-component.d.ts +8 -1
- package/lib/filter-component.d.ts.map +1 -1
- package/lib/filter-component.js +45 -3
- package/lib/filter.js +2 -2
- package/lib/http-api.js +3 -3
- package/lib/models/MSC3089Branch.js +2 -2
- package/lib/models/MSC3089TreeSpace.js +2 -2
- package/lib/models/event-timeline-set.d.ts +4 -0
- package/lib/models/event-timeline-set.d.ts.map +1 -1
- package/lib/models/event.d.ts +117 -9
- package/lib/models/event.d.ts.map +1 -1
- package/lib/models/event.js +196 -17
- package/lib/models/related-relations.d.ts +10 -0
- package/lib/models/related-relations.d.ts.map +1 -0
- package/lib/models/related-relations.js +47 -0
- package/lib/models/relations.d.ts.map +1 -1
- package/lib/models/room-state.d.ts +8 -8
- package/lib/models/room-state.d.ts.map +1 -1
- package/lib/models/room-state.js +8 -8
- package/lib/models/room.d.ts +42 -11
- package/lib/models/room.d.ts.map +1 -1
- package/lib/models/room.js +329 -79
- package/lib/models/thread.d.ts +30 -17
- package/lib/models/thread.d.ts.map +1 -1
- package/lib/models/thread.js +166 -73
- package/lib/pushprocessor.js +2 -2
- package/lib/sync-accumulator.d.ts +1 -0
- package/lib/sync-accumulator.d.ts.map +1 -1
- package/lib/sync.d.ts.map +1 -1
- package/lib/sync.js +6 -6
- package/lib/webrtc/call.d.ts.map +1 -1
- package/lib/webrtc/call.js +11 -3
- package/lib/webrtc/mediaHandler.d.ts +7 -2
- package/lib/webrtc/mediaHandler.d.ts.map +1 -1
- package/lib/webrtc/mediaHandler.js +15 -4
- package/package.json +2 -1
- package/src/@types/event.ts +10 -0
- package/src/@types/location.ts +10 -0
- package/src/@types/requests.ts +2 -0
- package/src/client.ts +148 -46
- package/src/content-helpers.ts +14 -34
- package/src/crypto/index.ts +0 -3
- package/src/event-mapper.ts +1 -1
- package/src/filter-component.ts +48 -4
- package/src/filter.ts +2 -2
- package/src/http-api.ts +1 -1
- package/src/models/event-timeline-set.ts +6 -1
- package/src/models/event.ts +246 -25
- package/src/models/related-relations.ts +38 -0
- package/src/models/relations.ts +2 -2
- package/src/models/room-state.ts +8 -8
- package/src/models/room.ts +335 -91
- package/src/models/thread.ts +196 -74
- package/src/sync-accumulator.ts +1 -0
- package/src/sync.ts +7 -6
- package/src/webrtc/call.ts +9 -3
- package/src/webrtc/mediaHandler.ts +13 -4
- package/lib/@types/polls.d.ts +0 -39
- package/lib/@types/polls.d.ts.map +0 -1
- package/lib/@types/polls.js +0 -36
- package/src/@types/polls.ts +0 -68
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,51 @@
|
|
|
1
|
+
Changes in [15.5.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v15.5.1) (2022-02-14)
|
|
2
|
+
==================================================================================================
|
|
3
|
+
|
|
4
|
+
## 🐛 Bug Fixes
|
|
5
|
+
* Fix issue with rooms not getting marked as unread ([\#2163](https://github.com/matrix-org/matrix-js-sdk/pull/2163)). Fixes vector-im/element-web#20971.
|
|
6
|
+
* Don't store streams that are only used once ([\#2157](https://github.com/matrix-org/matrix-js-sdk/pull/2157)). Fixes vector-im/element-web#20932. Contributed by @SimonBrandner.
|
|
7
|
+
* Fix edge cases around RR calculations ([\#2160](https://github.com/matrix-org/matrix-js-sdk/pull/2160)). Fixes vector-im/element-web#20922.
|
|
8
|
+
* Account for encryption in `maySendMessage()` ([\#2159](https://github.com/matrix-org/matrix-js-sdk/pull/2159)). Contributed by @SimonBrandner.
|
|
9
|
+
* Send references to thread root to threads, even out of order ([\#2156](https://github.com/matrix-org/matrix-js-sdk/pull/2156)).
|
|
10
|
+
* Fix initial sync fail when event fetching unsuccessful ([\#2150](https://github.com/matrix-org/matrix-js-sdk/pull/2150)). Fixes vector-im/element-web#20862.
|
|
11
|
+
* Don't decrypt redacted messages ([\#2143](https://github.com/matrix-org/matrix-js-sdk/pull/2143)). Contributed by @SimonBrandner.
|
|
12
|
+
|
|
13
|
+
Changes in [15.5.1-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v15.5.1-rc.1) (2022-02-08)
|
|
14
|
+
============================================================================================================
|
|
15
|
+
|
|
16
|
+
## 🐛 Bug Fixes
|
|
17
|
+
* Fix issue with rooms not getting marked as unread ([\#2163](https://github.com/matrix-org/matrix-js-sdk/pull/2163)). Fixes vector-im/element-web#20971.
|
|
18
|
+
* Don't store streams that are only used once ([\#2157](https://github.com/matrix-org/matrix-js-sdk/pull/2157)). Fixes vector-im/element-web#20932. Contributed by @SimonBrandner.
|
|
19
|
+
* Fix edge cases around RR calculations ([\#2160](https://github.com/matrix-org/matrix-js-sdk/pull/2160)). Fixes vector-im/element-web#20922.
|
|
20
|
+
* Account for encryption in `maySendMessage()` ([\#2159](https://github.com/matrix-org/matrix-js-sdk/pull/2159)). Contributed by @SimonBrandner.
|
|
21
|
+
* Send references to thread root to threads, even out of order ([\#2156](https://github.com/matrix-org/matrix-js-sdk/pull/2156)).
|
|
22
|
+
* Fix initial sync fail when event fetching unsuccessful ([\#2150](https://github.com/matrix-org/matrix-js-sdk/pull/2150)). Fixes vector-im/element-web#20862.
|
|
23
|
+
* Don't decrypt redacted messages ([\#2143](https://github.com/matrix-org/matrix-js-sdk/pull/2143)). Contributed by @SimonBrandner.
|
|
24
|
+
|
|
25
|
+
Changes in [15.5.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v15.5.0) (2022-01-31)
|
|
26
|
+
==================================================================================================
|
|
27
|
+
|
|
28
|
+
## ✨ Features
|
|
29
|
+
* Support m.asset in m.location event content ([\#2109](https://github.com/matrix-org/matrix-js-sdk/pull/2109)).
|
|
30
|
+
* Send extensible events structure and support on-demand parsing ([\#2091](https://github.com/matrix-org/matrix-js-sdk/pull/2091)).
|
|
31
|
+
* Support cancelling events whilst they are in status = ENCRYPTING ([\#2095](https://github.com/matrix-org/matrix-js-sdk/pull/2095)).
|
|
32
|
+
|
|
33
|
+
## 🐛 Bug Fixes
|
|
34
|
+
* Fix http-api butchering idServer requests ([\#2134](https://github.com/matrix-org/matrix-js-sdk/pull/2134)). Fixes vector-im/element-web#20680.
|
|
35
|
+
* Don't remove streams that still have tracks ([\#2104](https://github.com/matrix-org/matrix-js-sdk/pull/2104)).
|
|
36
|
+
|
|
37
|
+
Changes in [15.5.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v15.5.0-rc.1) (2022-01-26)
|
|
38
|
+
============================================================================================================
|
|
39
|
+
|
|
40
|
+
## ✨ Features
|
|
41
|
+
* Support m.asset in m.location event content ([\#2109](https://github.com/matrix-org/matrix-js-sdk/pull/2109)).
|
|
42
|
+
* Send extensible events structure and support on-demand parsing ([\#2091](https://github.com/matrix-org/matrix-js-sdk/pull/2091)).
|
|
43
|
+
* Support cancelling events whilst they are in status = ENCRYPTING ([\#2095](https://github.com/matrix-org/matrix-js-sdk/pull/2095)).
|
|
44
|
+
|
|
45
|
+
## 🐛 Bug Fixes
|
|
46
|
+
* Fix http-api butchering idServer requests ([\#2134](https://github.com/matrix-org/matrix-js-sdk/pull/2134)). Fixes vector-im/element-web#20680.
|
|
47
|
+
* Don't remove streams that still have tracks ([\#2104](https://github.com/matrix-org/matrix-js-sdk/pull/2104)).
|
|
48
|
+
|
|
1
49
|
Changes in [15.4.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v15.4.0) (2022-01-17)
|
|
2
50
|
==================================================================================================
|
|
3
51
|
|