Update dependency matrix-js-sdk to v17 - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
matrix-js-sdk | dependencies | major | ^12.0.0 -> ^17.0.0 |
Release Notes
matrix-org/matrix-js-sdk
v17.2.0
==================================================================================================
✨ Features
- Live location sharing: handle encrypted messages in processBeaconEvents (#2327).
🐛 Bug Fixes
- Fix race conditions around threads (#2331). Fixes vector-im/element-web#21627.
- Ignore m.replace relations on state events, they're invalid (#2306). Fixes vector-im/element-web#21851.
- fix example in readme (#2315).
- Don't decrement the length count of a thread when root redacted (#2314).
- Prevent attempt to create thread with id "undefined" (#2308).
- Update threads handling for replies-to-thread-responses as per MSC update (#2305). Fixes vector-im/element-web#19678.
v17.1.0
==================================================================================================
✨ Features
- Add MatrixClient.doesServerSupportLogoutDevices() for MSC2457 (#2297).
- Live location sharing - expose room liveBeaconIds (#2296).
- Support for MSC2457 logout_devices param for setPassword() (#2285).
- Stabilise token authenticated registration support (#2181). Contributed by @govynnus.
- Live location sharing - Aggregate beacon locations on beacons (#2268).
🐛 Bug Fixes
- Prevent duplicated re-emitter setups in event-mapper (#2293).
- Make self membership less prone to races (#2277). Fixes vector-im/element-web#21661.
v17.0.0
==================================================================================================
🚨 BREAKING CHANGES
- Remove groups and groups-related APIs (#2234).
✨ Features
🐛 Bug Fixes
- Fix getSessionsNeedingBackup() limit support (#2270). Contributed by @adamvy.
- Fix issues with /search and /context API handling for threads (#2261). Fixes vector-im/element-web#21543.
- Prevent exception 'Unable to set up secret storage' (#2260).
v16.0.1
==================================================================================================
✨ Features
- emit aggregate room beacon liveness (#2241).
- Live location sharing - create m.beacon_info events (#2238).
- Beacon event types from MSC3489 (#2230).
🐛 Bug Fixes
- Fix incorrect usage of unstable variant of
is_falling_back
(#2227).
v16.0.0
==================================================================================================
🚨 BREAKING CHANGES
- Improve typing around event emitter handlers (#2180).
✨ Features
- Fix defer not supporting resolving with a Promise (#2216).
- add LocationAssetType enum (#2214).
- Support for mid-call devices changes (#2154). Contributed by @SimonBrandner.
- Add new room state emit RoomStateEvent.Update for lower-frequency hits (#2192).
🐛 Bug Fixes
- Fix wrong event_id being sent for m.in_reply_to of threads (#2213).
- Fix wrongly asserting that PushRule::conditions is non-null (#2217).
- Make createThread more resilient when missing rootEvent (#2207). Fixes vector-im/element-web#21130.
- Fix bug with the /hierarchy API sending invalid requests (#2201). Fixes vector-im/element-web#21170.
- fix relation sender filter (#2196). Fixes vector-im/element-web#20877.
- Fix bug with one-way audio after a transfer (#2193).
v15.6.0
==================================================================================================
✨ Features
- Return send event response from MSC3089Branch.createNewVersion() (#2186).
- Add functions to support refresh tokens (#2178).
🐛 Bug Fixes
- [Release] Fix bug with the /hierarchy API sending invalid requests (#2202).
- Fix bug where calls could break if rejected from somewhere else (#2189).
- Fix camera stuck on after call transfer (#2188).
- Fix synthetic read receipt handling (#2174). Fixes vector-im/element-web#21016.
- Revert "Sign backup with cross-signing key when we reset it." (#2175).
- Sign backup with cross-signing key when we reset it. (#2170).
- Fix error in uploadContent() when file is empty under Node.js (#2155).
- Check the backup info against the stored private key when determining trust. (#2167).
- Back up keys before logging out (#2158). Fixes vector-im/element-web#13151.
v15.5.2
==================================================================================================
🐛 Bug Fixes
- Fix synthetic read receipt handling
v15.5.1
==================================================================================================
🐛 Bug Fixes
- Fix issue with rooms not getting marked as unread (#2163). Fixes vector-im/element-web#20971.
- Don't store streams that are only used once (#2157). Fixes vector-im/element-web#20932. Contributed by @SimonBrandner.
- Fix edge cases around RR calculations (#2160). Fixes vector-im/element-web#20922.
- Account for encryption in
maySendMessage()
(#2159). Contributed by @SimonBrandner. - Send references to thread root to threads, even out of order (#2156).
- Fix initial sync fail when event fetching unsuccessful (#2150). Fixes vector-im/element-web#20862.
- Don't decrypt redacted messages (#2143). Contributed by @SimonBrandner.
v15.5.0
==================================================================================================
✨ Features
- Support m.asset in m.location event content (#2109).
- Send extensible events structure and support on-demand parsing (#2091).
- Support cancelling events whilst they are in status = ENCRYPTING (#2095).
🐛 Bug Fixes
- Fix http-api butchering idServer requests (#2134). Fixes vector-im/element-web#20680.
- Don't remove streams that still have tracks (#2104).
v15.4.0
==================================================================================================
✨ Features
- Don't consider alt_aliases when calculating room name (#2094). Fixes vector-im/element-web#13887.
- Load room history if necessary when searching for MSC3089 getFileEvent() (#2066).
- Add support for MSC3030
/timestamp_to_event
(#2072).
🐛 Bug Fixes
- Stop encrypting redactions as it isn't spec compliant (#2098). Fixes vector-im/element-web#20460.
- Fix more function typings relating to key backup (#2086).
- Fix timeline search in MSC3089 getFileEvent() (#2085).
- Set a
deviceId
for VoIP example and useconst
/let
(#2090). Fixes #2083. Contributed by @SimonBrandner. - Fix incorrect TS return type for secret storage and key backup functions (#2082).
v15.3.0
==================================================================================================
✨ Features
- Improve fallback key behaviour (#2037).
- Add new room event filter fields (#2051).
- Add method to fetch /account/whoami (#2046).
🐛 Bug Fixes
- Filter out falsey opts in /relations API hits (#2059). Fixes vector-im/element-web#20137.
- Fix paginateEventTimeline resolve to boolean (#2054).
- Fix incorrect MSC3089 typings and add null checks (#2049).
v15.2.1
==================================================================================================
- Security release with updated version of Olm to fix https://matrix.org/blog/2021/12/03/pre-disclosure-upcoming-security-release-of-libolm-and-matrix-js-sdk
v15.2.0
==================================================================================================
✨ Features
- Remove support for
ArrayBuffer
in unstable MSC3089createFile()
andcreateNewVersion()
and instead use same content types as handled byMatrixClient.uploadContent()
. This enables support for Node.js. (#2014). - Support for password-based backup on Node.js (#2021).
- Add optional force parameter when ensuring Olm sessions (#2027).
🐛 Bug Fixes
- Fix call upgrades (#2024). Contributed by @SimonBrandner.
v15.1.1
==================================================================================================
🐛 Bug Fixes
- Fix edit history being broken after editing an unencrypted event with an encrypted event (#2013). Fixes vector-im/element-web#19651 and vector-im/element-web#19651. Contributed by @aaronraimist.
- Make events pagination responses parse threads (#2011). Fixes vector-im/element-web#19587 and vector-im/element-web#19587.
v15.1.0
==================================================================================================
🦖 Deprecations
- Mark old verification methods as deprecated (#1994).
✨ Features
- Try to set a sender on search result events if possible (#2004).
- Port some changes from group calls branch to develop (#2001). Contributed by @SimonBrandner.
- Fetch room membership from server rather than relying on stored data (#1998).
- Add method to fetch the MSC3266 Room Summary of a Room (#1988).
🐛 Bug Fixes
- Don't show
Unable to access microphone
when cancelling screensharing dialog (#2005). Fixes vector-im/element-web#19533 and vector-im/element-web#19533. Contributed by @SimonBrandner. - Strip direction override characters from display names (#1992). Fixes vector-im/element-web#1712 and vector-im/element-web#1712.
v15.0.0
===================================================================================================
🚨 BREAKING CHANGES
- Use
ICallFeedOpts
in theCallFeed
constructor. To construct a newCallFeed
object you have to passICallFeedOpts
e.g. `const callFeed = new CallFeed({client (#1964). Contributed by SimonBrandner.
✨ Features
- Make threads use 'm.thread' relation (#1980).
- Try to answer a call without video if we can't access the camera (#1972). Fixes vector-im/element-web#17975 and vector-im/element-web#17975. Contributed by SimonBrandner.
- Make
opts
inimportRoomKeys()
optional (#1974). Contributed by SimonBrandner. - Enable TypeScript declaration maps (#1966). Contributed by Alexendoo.
🐛 Bug Fixes
- Fix
requestVerificationDM
with chronologicalpendingEventOrdering
(#1943). Contributed by freaktechnik.
v14.0.1
===================================================================================================
🚨 BREAKING CHANGES
- Support for call upgrades.
setLocalVideoMuted()
andsetMicrophoneMuted()
are nowasync
and return the new mute state (#1827). Contributed by SimonBrandner.
✨ Features
- Implement file versioning for tree spaces (#1952).
- Allow answering calls without audio/video (#1950). Contributed by SimonBrandner.
- Add
bound
toIThreepid
(#1941). Contributed by SimonBrandner. - Add
trusted_locally
toTrustInfo
(#1942). Contributed by SimonBrandner.
🐛 Bug Fixes
- Fix incorrect return value type in getJoinedRooms() (#1959). Contributed by psrpinto.
- Make sure to set
callLengthInterval
only once (#1958). Fixes vector-im/element-web#19221 and vector-im/element-web#19221. Contributed by SimonBrandner. - Fix event partitioning from non threading ready clients (#1948).
- Ensure unencrypted fields get exposed by getEffectiveEvent() (#1938). Fixes vector-im/element-web#19062 and vector-im/element-web#19062.
v14.0.0
=============================================================================================================
🚨 BREAKING CHANGES
- Support for call upgrades.
setLocalVideoMuted()
andsetMicrophoneMuted()
are nowasync
and return the new mute state (#1827). Contributed by SimonBrandner.
✨ Features
- Implement file versioning for tree spaces (#1952).
- Allow answering calls without audio/video (#1950). Contributed by SimonBrandner.
- Add
bound
toIThreepid
(#1941). Contributed by SimonBrandner. - Add
trusted_locally
toTrustInfo
(#1942). Contributed by SimonBrandner.
🐛 Bug Fixes
- Fix incorrect return value type in getJoinedRooms() (#1959). Contributed by psrpinto.
- Make sure to set
callLengthInterval
only once (#1958). Fixes vector-im/element-web#19221 and vector-im/element-web#19221. Contributed by SimonBrandner. - Fix event partitioning from non threading ready clients (#1948).
- Ensure unencrypted fields get exposed by getEffectiveEvent() (#1938). Fixes vector-im/element-web#19062 and vector-im/element-web#19062.
v13.0.0
===================================================================================================
✨ Features
- Add
getHistoryVisibility()
andgetGuestAccess()
(#1940). Contributed by SimonBrandner. - Add
getBuffer()
toQRCodeData
(#1927). Contributed by SimonBrandner. - Added
createDataChannel()
andCallEvent.DataChannel
toMatrixCall
for creating and listening for WebRTC datachannels. (#1929). Contributed by robertlong. - Add file locking to MSC3089 branches (#1909).
- Add
hasBeenCancelled
toVerificationBase
(#1915). Contributed by SimonBrandner. - Add
ISasEvent
(#1908). Contributed by SimonBrandner. - Count notifications in encrypted rooms client-side (#1872). Fixes vector-im/element-web#15393 and vector-im/element-web#15393. Contributed by SimonBrandner.
- Exclude opt-in Element performance metrics from encryption (#1897).
🐛 Bug Fixes
- Fix race on automatic backup restore (#1936). Fixes vector-im/element-web#17781 and vector-im/element-web#17781.
v12.5.0
===================================================================================================
✨ Features
- [Release] Exclude opt-in Element performance metrics from encryption (#1901).
- Give
MatrixCall
the capability to emitLengthChanged
events (#1873). Contributed by SimonBrandner. - Improve browser example (#1875). Contributed by psrpinto.
- Give
CallFeed
the capability to emit on volume changes (#1865). Contributed by SimonBrandner.
🐛 Bug Fixes
- Fix verification request cancellation (#1871).
v12.4.1
===================================================================================================
🔒 SECURITY FIXES
- Fix a security issue with message key sharing. See https://matrix.org/blog/2021/09/13/vulnerability-disclosure-key-sharing for details.
v12.4.0
===================================================================================================
🦖 Deprecations
- Deprecate groups APIs. Groups are no longer supported, only Synapse has support. They are being replaced by Spaces which build off of Rooms and are far more flexible. (#1792).
✨ Features
- Add method for including extra fields when uploading to a tree space (#1850).
🐛 Bug Fixes
- Fix broken voice calls, no ringing and broken call notifications (#1858). Fixes vector-im/element-web#18578 vector-im/element-web#18538 and vector-im/element-web#18578. Contributed by SimonBrandner.
- Revert "Fix glare related regressions" (#1857).
- Fix glare related regressions (#1851). Fixes vector-im/element-web#18538 and vector-im/element-web#18538. Contributed by SimonBrandner.
- Fix temporary call messages being handled without call (#1834). Contributed by Palid.
- Fix conditional on returning file tree spaces (#1841).
v12.3.1
===================================================================================================
🐛 Bug Fixes
- Fix multiple VoIP regressions (#1860).
v12.3.0
===================================================================================================
✨ Features
- Support for MSC3291: Muting in VoIP calls (#1812). Contributed by SimonBrandner.
- Support for screen-sharing using multi-stream VoIP (MSC3077) (#1685). Contributed by SimonBrandner.
- Handle DTMF support (#1813). Contributed by SimonBrandner.
🐛 Bug Fixes
- [Release] Fix glare related regressions (#1854). Contributed by SimonBrandner.
- Fix the types in shipped package (#1842). Fixes vector-im/element-web#18503 and vector-im/element-web#18503.
- Fix error on turning off screensharing (#1833). Fixes vector-im/element-web#18449. Contributed by SimonBrandner.
- Fix blank profile in join events (#1837). Fixes vector-im/element-web#18321.
- fix TURN by fixing regression preventing multiple ICE candidates from sending. (#1838).
- Send
user_hangup
reason if the opponent supports it (#1820). Fixes vector-im/element-web#18219. Contributed by SimonBrandner. - Apply hidden char check to rawDisplayName too (#1816).
- Only clear bit 63 when we create the IV (#1819).
v12.2.0
===================================================================================================
✨ Features
- Improve calculateRoomName performances by using Intl.Collator #1801
- Switch callEventHandler from listening on
event
toRoom.timeline
#1789 - Expose MatrixEvent's internal clearEvent as a function #1784
🐛 Bug Fixes
- Clean up Event.clearEvent handling to fix a bug where malformed events with falsey content wouldn't be considered decrypted #1807
- Standardise spelling and casing of homeserver, identity server, and integration manager #1782
v12.1.0
================================================================================================== Full Changelog
- No changes from rc.1
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.