Skip to content

Commit af4413b

Browse files
committed
Merge tag 'v24.1.0' into sc
* Allow via_servers property in findPredecessor (update to MSC3946) ([\matrix-org#3240](matrix-org#3240)). Contributed by @andybalaam. * Fire `closed` event when IndexedDB closes unexpectedly ([\matrix-org#3218](matrix-org#3218)). * Implement MSC3952: intentional mentions ([\matrix-org#3092](matrix-org#3092)). Fixes element-hq/element-web#24376. * Send one time key count and unused fallback keys for rust-crypto ([\matrix-org#3215](matrix-org#3215)). Fixes element-hq/element-web#24795. Contributed by @florianduros. * Improve `processBeaconEvents` hotpath ([\matrix-org#3200](matrix-org#3200)). * Implement MSC3966: a push rule condition to check if an array contains a value ([\matrix-org#3180](matrix-org#3180)). * indexddb-local-backend - return the current sync to database promise … ([\matrix-org#3222](matrix-org#3222)). Contributed by @texuf. * Revert "Add the call object to Call events" ([\matrix-org#3236](matrix-org#3236)). * Handle group call redaction ([\matrix-org#3231](matrix-org#3231)). Fixes vector-im/voip-internal#128. * Stop doing O(n^2) work to find event's home (`eventShouldLiveIn`) ([\matrix-org#3227](matrix-org#3227)). Contributed by @jryans. * Fix bug where video would not unmute if it started muted ([\matrix-org#3213](matrix-org#3213)). Fixes element-hq/element-call#925. * Fixes to event encryption in the Rust Crypto implementation ([\matrix-org#3202](matrix-org#3202)).
2 parents 738c29c + 7d45947 commit af4413b

File tree

89 files changed

+4366
-992
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+4366
-992
lines changed

.eslintrc.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ module.exports = {
6969
// TODO: There are many tests with invalid expects that should be fixed,
7070
// https://github.com/matrix-org/matrix-js-sdk/issues/2976
7171
"jest/valid-expect": "off",
72-
// TODO: There are many cases to refactor away,
73-
// https://github.com/matrix-org/matrix-js-sdk/issues/2978
74-
"jest/no-conditional-expect": "off",
7572
// Also treat "oldBackendOnly" as a test function.
7673
// Used in some crypto tests.
7774
"jest/no-standalone-expect": [

.github/workflows/backport.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
)
2424
)
2525
steps:
26-
- uses: tibdex/backport@v2
26+
- uses: tibdex/backport@2e217641d82d02ba0603f46b1aeedefb258890ac # v2
2727
with:
2828
labels_template: "<%= JSON.stringify([...labels, 'X-Release-Blocker']) %>"
2929
# We can't use GITHUB_TOKEN here or CI won't run on the new PR

.github/workflows/docs-pr-netlify.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
# There's a 'download artifact' action, but it hasn't been updated for the workflow_run action
1515
# (https://github.com/actions/download-artifact/issues/60) so instead we get this mess:
1616
- name: 📥 Download artifact
17-
uses: dawidd6/action-download-artifact@5e780fc7bbd0cac69fc73271ed86edf5dcb72d67 # v2.26.0
17+
uses: dawidd6/action-download-artifact@5e780fc7bbd0cac69fc73271ed86edf5dcb72d67 # v2
1818
with:
1919
workflow: static_analysis.yml
2020
run_id: ${{ github.event.workflow_run.id }}

.github/workflows/release-npm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
registry-url: "https://registry.npmjs.org"
2121

2222
- name: 🔨 Install dependencies
23-
run: "yarn install --pure-lockfile"
23+
run: "yarn install --frozen-lockfile"
2424

2525
- name: 🚀 Publish to npm
2626
id: npm-publish
27-
uses: JS-DevTools/npm-publish@v1
27+
uses: JS-DevTools/npm-publish@0f451a94170d1699fd50710966d48fb26194d939 # v1
2828
with:
2929
token: ${{ secrets.NPM_TOKEN }}
3030
access: public

CHANGELOG.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,27 @@
1-
Changes in [24.0.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v24.0.0) (2023-03-28)
1+
Changes in [24.1.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v24.1.0) (2023-04-11)
22
==================================================================================================
33

4+
## ✨ Features
5+
* Allow via_servers property in findPredecessor (update to MSC3946) ([\#3240](https://github.com/matrix-org/matrix-js-sdk/pull/3240)). Contributed by @andybalaam.
6+
* Fire `closed` event when IndexedDB closes unexpectedly ([\#3218](https://github.com/matrix-org/matrix-js-sdk/pull/3218)).
7+
* Implement MSC3952: intentional mentions ([\#3092](https://github.com/matrix-org/matrix-js-sdk/pull/3092)). Fixes vector-im/element-web#24376.
8+
* Send one time key count and unused fallback keys for rust-crypto ([\#3215](https://github.com/matrix-org/matrix-js-sdk/pull/3215)). Fixes vector-im/element-web#24795. Contributed by @florianduros.
9+
* Improve `processBeaconEvents` hotpath ([\#3200](https://github.com/matrix-org/matrix-js-sdk/pull/3200)).
10+
* Implement MSC3966: a push rule condition to check if an array contains a value ([\#3180](https://github.com/matrix-org/matrix-js-sdk/pull/3180)).
11+
412
## 🐛 Bug Fixes
5-
* Changes for matrix-js-sdk v24.0.0
13+
* indexddb-local-backend - return the current sync to database promise … ([\#3222](https://github.com/matrix-org/matrix-js-sdk/pull/3222)). Contributed by @texuf.
14+
* Revert "Add the call object to Call events" ([\#3236](https://github.com/matrix-org/matrix-js-sdk/pull/3236)).
15+
* Handle group call redaction ([\#3231](https://github.com/matrix-org/matrix-js-sdk/pull/3231)). Fixes vector-im/voip-internal#128.
16+
* Stop doing O(n^2) work to find event's home (`eventShouldLiveIn`) ([\#3227](https://github.com/matrix-org/matrix-js-sdk/pull/3227)). Contributed by @jryans.
17+
* Fix bug where video would not unmute if it started muted ([\#3213](https://github.com/matrix-org/matrix-js-sdk/pull/3213)). Fixes vector-im/element-call#925.
18+
* Fixes to event encryption in the Rust Crypto implementation ([\#3202](https://github.com/matrix-org/matrix-js-sdk/pull/3202)).
19+
20+
Changes in [24.0.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v24.0.0) (2023-03-28)
21+
==================================================================================================
22+
23+
## 🔒 Security
24+
* Fixes for [CVE-2023-28427](https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=CVE-2023-28427) / GHSA-mwq8-fjpf-c2gr
625

726
Changes in [23.5.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v23.5.0) (2023-03-15)
827
==================================================================================================

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "matrix-js-sdk",
3-
"version": "24.0.0",
3+
"version": "24.1.0",
44
"description": "Matrix Client-Server SDK for Javascript",
55
"engines": {
66
"node": ">=16.0.0"
@@ -55,13 +55,13 @@
5555
],
5656
"dependencies": {
5757
"@babel/runtime": "^7.12.5",
58-
"@matrix-org/matrix-sdk-crypto-js": "^0.1.0-alpha.3",
58+
"@matrix-org/matrix-sdk-crypto-js": "^0.1.0-alpha.5",
5959
"another-json": "^0.2.0",
6060
"bs58": "^5.0.0",
6161
"content-type": "^1.0.4",
6262
"loglevel": "^1.7.1",
6363
"matrix-events-sdk": "0.0.1",
64-
"matrix-widget-api": "^1.0.0",
64+
"matrix-widget-api": "^1.3.1",
6565
"p-retry": "4",
6666
"sdp-transform": "^2.14.1",
6767
"unhomoglyph": "^1.0.6",
@@ -101,7 +101,7 @@
101101
"debug": "^4.3.4",
102102
"docdash": "^2.0.0",
103103
"domexception": "^4.0.0",
104-
"eslint": "8.34.0",
104+
"eslint": "8.35.0",
105105
"eslint-config-google": "^0.14.0",
106106
"eslint-config-prettier": "^8.5.0",
107107
"eslint-import-resolver-typescript": "^3.5.1",
@@ -110,7 +110,7 @@
110110
"eslint-plugin-jsdoc": "^40.0.0",
111111
"eslint-plugin-matrix-org": "^1.0.0",
112112
"eslint-plugin-tsdoc": "^0.2.17",
113-
"eslint-plugin-unicorn": "^45.0.0",
113+
"eslint-plugin-unicorn": "^46.0.0",
114114
"exorcist": "^2.0.0",
115115
"fake-indexeddb": "^4.0.0",
116116
"fetch-mock-jest": "^1.5.1",

release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ fi
130130
# global cache here to ensure we get the right thing.
131131
yarn cache clean
132132
# Ensure all dependencies are updated
133-
yarn install --ignore-scripts --pure-lockfile
133+
yarn install --ignore-scripts --frozen-lockfile
134134

135135
# ignore leading v on release
136136
release="${1#v}"
@@ -225,7 +225,7 @@ if [ $dodist -eq 0 ]; then
225225
pushd "$builddir"
226226
git clone "$projdir" .
227227
git checkout "$rel_branch"
228-
yarn install --pure-lockfile
228+
yarn install --frozen-lockfile
229229
# We haven't tagged yet, so tell the dist script what version
230230
# it's building
231231
DIST_VERSION="$tag" yarn dist

0 commit comments

Comments
 (0)