Skip to content

Sync --> matrix-js-sdk/v34.5.0 #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 186 commits into
base: verji-develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
186 commits
Select commit Hold shift + click to select a range
3ee6472
Add note about MSC3886, MSC3903 and MSC3906 being closed (#4189)
hughns May 30, 2024
8535604
Update actions/checkout digest to a5ac7e5 (#4219)
renovate[bot] May 30, 2024
0426103
Update dependency typedoc-plugin-mdn-links to v3.1.27 (#4222)
renovate[bot] May 30, 2024
8dfb6de
Update all non-major dependencies (#4220)
renovate[bot] May 30, 2024
5c27e30
Fix the queueToDevice tests for the new fakeindexeddb (#4225)
dbkr May 30, 2024
131e814
Update typescript-eslint monorepo to v7.10.0 (#4223)
renovate[bot] May 30, 2024
9c94393
Merge branch 'master' into develop
RiotRobot Jun 4, 2024
89875b8
Resetting package fields for development
RiotRobot Jun 4, 2024
c88487d
Update all non-major dependencies (#4226)
renovate[bot] Jun 4, 2024
a3cea8c
Add crypto methods for export and import of secrets bundle (#4227)
t3chguy Jun 5, 2024
a0fadeb
Update babel monorepo to v7.24.6 (#4221)
renovate[bot] Jun 5, 2024
43022d5
RustCrypto: fix ordering of methods (#4230)
richvdh Jun 5, 2024
87c2ac3
Use LegacyRendezvousFailureReason over RendezvousFailureReason (#4231)
t3chguy Jun 5, 2024
6436fbb
MSC4108 support OIDC QR code login (#4134)
t3chguy Jun 6, 2024
9fc557f
Fix typo
t3chguy Jun 6, 2024
fa5f2d3
Fix incorrect assumptions about required fields in /search response (…
t3chguy Jun 6, 2024
f95954c
Add support for stable name for MSC4115 (#4232)
uhoreg Jun 7, 2024
395c3cf
v33.1.0-rc.0
RiotRobot Jun 11, 2024
f80366f
Update all non-major dependencies (#4229)
renovate[bot] Jun 11, 2024
e8b91f2
Update babel monorepo to v7.24.7 (#4234)
renovate[bot] Jun 11, 2024
969ecdb
Update dependency @types/node to v18.19.34 (#4235)
renovate[bot] Jun 11, 2024
10e7a2d
Update dependency typedoc-plugin-mdn-links to v3.1.28 (#4236)
renovate[bot] Jun 11, 2024
3eed74f
Update dependency uuid to v10 (#4238)
renovate[bot] Jun 11, 2024
5a3d24a
Update typescript-eslint monorepo to v7.12.0 (#4237)
renovate[bot] Jun 11, 2024
4cb851c
Replace usages of setImmediate with setTimeout for wider compatibilit…
t3chguy Jun 13, 2024
661ba76
Use stable endpoints for MSC3916 (#4239)
turt2live Jun 13, 2024
9218f63
Fix screen sharing in recent Chrome (#4241)
dbkr Jun 13, 2024
2ee43ca
[Backport staging] Fix screen sharing in recent Chrome (#4243)
RiotRobot Jun 13, 2024
222e95d
v33.1.0-rc.1
RiotRobot Jun 14, 2024
7ecaa53
Work around spec bug for m.room.avatar state event content type (#4245)
t3chguy Jun 17, 2024
d754392
Make the js-sdk compatible with MSC preferred foci and active focus. …
toger5 Jun 17, 2024
3f5a994
Add via parameter for MSC4156 (#4247)
Johennes Jun 18, 2024
a4c4e7e
v33.1.0
RiotRobot Jun 18, 2024
76b240c
Merge branch 'master' into develop
RiotRobot Jun 18, 2024
987ec1e
Resetting package fields for development
RiotRobot Jun 18, 2024
c55289e
Use server name instead of homeserver url to allow well-known lookups…
t3chguy Jun 18, 2024
b1701ff
Correctly transform base64 with multiple instances of + or / (#4252)
robintown Jun 18, 2024
697d5d3
Update all non-major dependencies (#4256)
renovate[bot] Jun 19, 2024
240b43b
Update typedoc (#4258)
renovate[bot] Jun 19, 2024
c70aa33
Update typescript-eslint monorepo to v7.13.1 (#4257)
renovate[bot] Jun 19, 2024
819fc75
Fetch capabilities in the background (#4246)
dbkr Jun 19, 2024
ab6f865
Replace deprecated babel proposal plugins (#4254)
t3chguy Jun 19, 2024
238eea0
Upgrade Rust Crypto SDK to 6.1.0 (#4261)
richvdh Jun 20, 2024
6a15e8f
Use legacy call membership if anyone else is (#4260)
AndrewFerr Jun 21, 2024
9f1aebb
Bump ES target version to ES2022 (#4264)
richvdh Jun 21, 2024
4ccb72c
Element-R: Fix resource leaks in verification logic (#4263)
richvdh Jun 21, 2024
78b6b87
Remove domexception polyfill, has been native in NodeJS since v17 (#4…
t3chguy Jun 21, 2024
25a7c9e
Prefix the user+device state key if needed (#4262)
AndrewFerr Jun 21, 2024
ab62600
v34.0.0-rc.0
RiotRobot Jun 25, 2024
4bae83f
Update dependency @types/uuid to v10 (#4273)
renovate[bot] Jun 25, 2024
8790cde
Update dependency typedoc to ^0.26.0 (#4270)
renovate[bot] Jun 25, 2024
b8c68eb
Update dependency @types/node to v18.19.39 (#4269)
renovate[bot] Jun 25, 2024
c29e116
Update dependency typescript to v5.5.2 (#4271)
renovate[bot] Jun 25, 2024
a0073dd
Update typescript-eslint monorepo to v7.14.1 (#4272)
renovate[bot] Jun 25, 2024
6417f4f
Update dependency fetch-mock to v10 (#4276)
renovate[bot] Jun 25, 2024
d9f372c
Update dependency eslint-plugin-unicorn to v54 (#4275)
renovate[bot] Jun 25, 2024
3e0017f
Update actions/checkout digest to 692973e (#4267)
renovate[bot] Jun 25, 2024
2ea4ce0
Update dependency bs58 to v6 (#4274)
renovate[bot] Jun 25, 2024
0f98df1
Fix ingest of release notes wiping out the parent notes (#4266)
t3chguy Jun 25, 2024
29c02d8
Update all non-major dependencies (#4268)
renovate[bot] Jun 25, 2024
16db2c5
Update dependency @types/node to v18.19.39 (#4278)
renovate[bot] Jun 25, 2024
2d492f6
Update dependency typescript to v5.5.2 (#4280)
renovate[bot] Jun 25, 2024
c755810
Update dependency typedoc-plugin-mdn-links to v3.2.0 (#4279)
renovate[bot] Jun 25, 2024
3e05a71
Update dependency typedoc-plugin-coverage to v3.3.0 (#4281)
renovate[bot] Jun 25, 2024
0210106
Add fetching the well known in embedded mode. (#4259)
toger5 Jun 26, 2024
d629a68
Declare matrix-js-sdk as an ES module (#4285)
richvdh Jun 26, 2024
65b9c31
Rename `crypto-api.ts` -> `crypto-api/index.ts` (#4283)
richvdh Jun 26, 2024
3de0c02
Remove redundant hack for using the old pickle key in rust crypto (#4…
richvdh Jun 27, 2024
d90292b
Use prebuilt js-sdk for node example (#4286)
richvdh Jun 27, 2024
3337bda
Remove useless log line (#4289)
kegsay Jun 28, 2024
20a6704
Remove redundant `TextEncoder` shim (#4290)
richvdh Jul 1, 2024
ae58d0c
Rust crypto: Clean up handling of verification events (#4288)
richvdh Jul 1, 2024
0a7f7ef
Sync labels with element-meta and add local labels yml for others. (#…
langleyd Jul 3, 2024
ccc2fb5
Bump matrix-rust-sdk to 6.2.0 (#4296)
richvdh Jul 3, 2024
b71099d
Bump matrix-rust-sdk to 6.2.0 (#4296)
richvdh Jul 3, 2024
04ea2a4
Merge pull request #4297 from matrix-org/backport-4296-to-staging
dbkr Jul 3, 2024
b36682c
Bump matrix-rust-sdk to 6.2.1 (#4298)
richvdh Jul 3, 2024
1586de4
[Backport staging] Fix "Unable to restore session" error (#4299)
RiotRobot Jul 3, 2024
6e641a2
Add ability to choose how many timeline events to sync when peeking (…
jgarplind Jul 4, 2024
03ed4f5
Bump node.js requirement to 20. (#4293)
richvdh Jul 4, 2024
24c5899
v34.0.0-rc.1
RiotRobot Jul 4, 2024
1733ec7
Remove redundant checks on `global.Olm` (#4301)
richvdh Jul 4, 2024
957329b
Fix room state being updated with old (now overwritten) state and emi…
toger5 Jul 5, 2024
712ba61
Remove `crypto` shims (#4292)
richvdh Jul 5, 2024
7a51798
v34.0.0
RiotRobot Jul 8, 2024
c06b22a
Merge branch 'master' into develop
RiotRobot Jul 8, 2024
a5ef569
Resetting package fields for development
RiotRobot Jul 8, 2024
2868308
Prettier
t3chguy Jul 8, 2024
eff52b8
v34.1.0-rc.0
RiotRobot Jul 9, 2024
5d2500b
Fix bump-downstreams using incompatible Node version
t3chguy Jul 9, 2024
a0d73df
v34.1.0-rc.1
RiotRobot Jul 9, 2024
51544f2
Fix bump-downstreams using incompatible Node version
t3chguy Jul 9, 2024
24eff50
v34.1.0-rc.2
RiotRobot Jul 9, 2024
ed7b314
Promote olm to a real dep given the types refer to it
t3chguy Jul 9, 2024
6520e0f
v34.1.0-rc.3
RiotRobot Jul 9, 2024
af4b6bc
Update typescript-eslint monorepo to v7.15.0 (#4306)
renovate[bot] Jul 9, 2024
fe0edcd
Stop testing on Node 21 as it is EOL (#4308)
t3chguy Jul 9, 2024
565bb0e
Update dependency typescript to v5.5.3 (#4303)
renovate[bot] Jul 9, 2024
b2665f2
Update typedoc (#4304)
renovate[bot] Jul 9, 2024
d6e4338
Update all non-major dependencies (#4305)
renovate[bot] Jul 9, 2024
996663b
Update dependency rimraf to v6 (#4307)
renovate[bot] Jul 9, 2024
5320168
Element-R: detect "withheld key" UTD errors, and mark them as such (#…
richvdh Jul 9, 2024
94e393c
Update dependency typedoc to v0.26.4 (#4309)
renovate[bot] Jul 10, 2024
f17a4fe
Lock file maintenance (#4199)
renovate[bot] Jul 10, 2024
30a2681
Deprecate `CreateSecretStorageOpts.getKeyBackupPassphrase` (#4313)
richvdh Jul 13, 2024
4d90fec
v34.1.0
RiotRobot Jul 16, 2024
6f63ff1
Remove the compare function from utils (#4315)
dbkr Jul 17, 2024
1a02835
Merge branch 'develop' of github.com:matrix-org/matrix-js-sdk into st…
t3chguy Jul 23, 2024
5feab37
v34.2.0-rc.0
RiotRobot Jul 23, 2024
aa97bea
Update dependency @types/node to v18.19.41 (#4319)
renovate[bot] Jul 24, 2024
c3d7f4e
Update dependency typedoc-plugin-mdn-links to v3.2.5 (#4320)
renovate[bot] Jul 24, 2024
cfb21fa
Update typescript-eslint monorepo to v7.16.1 (#4322)
renovate[bot] Jul 24, 2024
60c2e9b
Update babel monorepo (#4318)
renovate[bot] Jul 24, 2024
509e64c
Update dependency typescript to v5.5.4 (#4321)
renovate[bot] Jul 24, 2024
553758e
Bump rust sdk wasm version to 7.0.0 (#4316)
BillCarsonFr Jul 24, 2024
46604ab
Update dependency matrix-widget-api to v1.7.0 (#4326)
renovate[bot] Jul 24, 2024
f9f6d81
Lock file maintenance (#4327)
renovate[bot] Jul 24, 2024
99f157a
Update all non-major dependencies (#4323)
renovate[bot] Jul 24, 2024
6b261b9
Add index.ts for matrixrtc module (#4314)
toger5 Jul 25, 2024
0f08c00
Be specific about what is considered a MSC4143 call member event. (#4…
toger5 Jul 25, 2024
d32f398
Fix comment for useAuthorizationHeader config. (#4330)
uhoreg Jul 28, 2024
7929989
Detect cycles when looking for predecessor rooms
dbkr Jul 22, 2024
dc1cccf
Handle late-arriving `m.room_key.withheld` messages (#4310)
richvdh Jul 29, 2024
e0ef467
break instead of return
dbkr Jul 29, 2024
0300d63
Remove flaky test (#4332)
t3chguy Jul 29, 2024
7f91db8
v34.2.0
RiotRobot Jul 30, 2024
687d08d
Support MSC4140: Delayed events (#4294)
AndrewFerr Jul 30, 2024
89a9a7f
Fix hashed ID server lookups with no Olm (#4333)
dbkr Aug 1, 2024
e10c362
Support MSC4157: delayed events via Widget API (#4311)
AndrewFerr Aug 1, 2024
fbdd78b
Also check for MSC3757 for session state keys (#4334)
AndrewFerr Aug 1, 2024
dfec3dc
Make code tsc es2022 compliant (#4335)
t3chguy Aug 1, 2024
0fe5387
Bump matrix-widget-api (#4336)
AndrewFerr Aug 2, 2024
0978067
Fix release-gitflow.yml node version
t3chguy Aug 6, 2024
4e28317
Merge branch 'master' into develop
t3chguy Aug 6, 2024
b8e40ad
Resetting package fields for development
t3chguy Aug 6, 2024
8c3b249
Re-add olm dependency which is needed for types
t3chguy Aug 6, 2024
39216d4
v34.3.0-rc.0
RiotRobot Aug 6, 2024
5568dfd
Move olm to dependencies as its types are needed downstream
t3chguy Aug 6, 2024
de50129
v34.3.0-rc.1
RiotRobot Aug 6, 2024
9176d3a
Use non-legacy calls if any are found (#4337)
AndrewFerr Aug 7, 2024
affaa95
delayBeforeuse => delayBeforeUse for consistency (#4344)
hughns Aug 9, 2024
1ae0c2f
v34.3.0
RiotRobot Aug 13, 2024
dc7c1a4
Merge branch 'master' into develop
RiotRobot Aug 13, 2024
78cbf7c
Resetting package fields for development
RiotRobot Aug 13, 2024
c65ef03
Resend MatrixRTC encryption keys if a membership has changed (#4343)
hughns Aug 14, 2024
87eddaf
Handle MatrixRTC encryption keys arriving out of order (#4345)
hughns Aug 15, 2024
4679087
Don't attempt to adjust for clock skews when calculating group call m…
hughns Aug 15, 2024
d608039
Add "type" = "module" to ensure it is present (#4350)
BLCK-B Aug 15, 2024
c408c0d
Retry event decryption failures on first failure (#4346)
hughns Aug 19, 2024
a0efed8
Merge commit from fork
dbkr Aug 20, 2024
8214fd7
Revert "Add "type" = "module" to ensure it is present (#4350)" (#4352)
dbkr Aug 20, 2024
340bbe1
v34.3.1
RiotRobot Aug 20, 2024
8d19782
Merge branch 'master' into develop
RiotRobot Aug 20, 2024
2544c14
Unrevert prerelease fix, and fix release error (#4353)
richvdh Aug 20, 2024
43e5887
v34.4.0-rc.0
RiotRobot Aug 20, 2024
b8e8b14
Move `type:module` declaration into package.json. (#4355)
richvdh Aug 20, 2024
d413f50
Rename slowReporter to reflect that it is CommonJS (#4356)
richvdh Aug 20, 2024
968bc51
Rename slowReporter to reflect that it is CommonJS (#4356)
richvdh Aug 20, 2024
7ef4062
Move `type:module` declaration into package.json. (#4355)
richvdh Aug 20, 2024
1f48544
Merge pull request #4359 from matrix-org/dbkr/backport_4355
dbkr Aug 21, 2024
a4bd7dc
Merge branch 'staging' into backport-4356-to-staging
dbkr Aug 21, 2024
26d3033
Merge pull request #4358 from matrix-org/backport-4356-to-staging
dbkr Aug 21, 2024
658563e
v34.4.0-rc.1
RiotRobot Aug 21, 2024
03baa3e
Update all non-major dependencies (#4362)
renovate[bot] Aug 21, 2024
cd6787e
Update dependency @types/node to v18.19.44 (#4364)
renovate[bot] Aug 21, 2024
5f0978a
Update babel monorepo (#4363)
renovate[bot] Aug 21, 2024
4251002
Update dependency typescript to v5.5.4 (#4365)
renovate[bot] Aug 21, 2024
17b6e59
Update shogo82148/actions-upload-release-asset digest to 6d4fd50 (#4366)
renovate[bot] Aug 21, 2024
31c4786
Update dependency fetch-mock to v11 (#4369)
renovate[bot] Aug 21, 2024
ee94e93
set entrypoints to use ./lib rather than ./src (#4357)
richvdh Aug 21, 2024
6a21d81
Update typescript-eslint monorepo to v7.18.0 (#4368)
renovate[bot] Aug 22, 2024
ab5f32f
Update typedoc (#4367)
renovate[bot] Aug 22, 2024
a72a1b2
Update dependency eslint-plugin-jsdoc to v50 (#4370)
renovate[bot] Aug 22, 2024
8d44f9d
Update dependency eslint-plugin-unicorn to v55 (#4371)
renovate[bot] Aug 22, 2024
802b996
Set web team as codeowner for the scripts dir (#4354)
dbkr Aug 23, 2024
3f74b9a
Deprecate unused `CryptoCallbacks` (#4376)
richvdh Aug 23, 2024
fe984ed
Use prefixed loggers for MatrixRTC (#4378)
hughns Aug 23, 2024
2f8b05b
v34.4.0
RiotRobot Aug 27, 2024
2a6612c
Merge branch 'master' into develop
RiotRobot Aug 27, 2024
e6acfdf
Rename merge release notes script to cjs (#4361)
dbkr Aug 28, 2024
05ba27f
Change imports for Node.js compatibility (#4377)
Johennes Aug 29, 2024
9be0b3e
Update dependency matrix-widget-api to v1.9.0
renovate[bot] Aug 30, 2024
27cb16f
Merge pull request #4379 from matrix-org/renovate/matrix-org
dbkr Aug 30, 2024
5a1c70a
v34.5.0-rc.0
RiotRobot Sep 3, 2024
593a57f
v34.5.0
RiotRobot Sep 10, 2024
a88f5f4
Merge tag 'tags/v34.5.0' into jts/verji-develop-final-sync
Nov 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .eslintrc.js → .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,22 @@ module.exports = {
},
],

"no-restricted-properties": [
"error",
{
object: "window",
property: "setImmediate",
message: "Use setTimeout instead.",
},
],
"no-restricted-globals": [
"error",
{
name: "setImmediate",
message: "Use setTimeout instead.",
},
],

"import/no-restricted-paths": [
"error",
{
Expand Down
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/.github/workflows/** @matrix-org/element-web-team
/package.json @matrix-org/element-web-team
/yarn.lock @matrix-org/element-web-team
/scripts/** @matrix-org/element-web-team
/src/webrtc @matrix-org/element-call-reviewers
/src/matrixrtc @matrix-org/element-call-reviewers
/spec/*/webrtc @matrix-org/element-call-reviewers
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/sign-release-tarball/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:

- name: Upload tarball signature
if: ${{ inputs.upload-url }}
uses: shogo82148/actions-upload-release-asset@8f032eff0255912cc9c8455797fd6d72f25c7ab7 # v1
uses: shogo82148/actions-upload-release-asset@6d4fd50e333ee797e83ae380e6bc55b048baec41 # v1
with:
upload_url: ${{ inputs.upload-url }}
asset_path: ${{ env.VERSION }}.tar.gz.asc
4 changes: 2 additions & 2 deletions .github/actions/upload-release-assets/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ runs:

- name: Upload asset signatures
if: inputs.gpg-fingerprint
uses: shogo82148/actions-upload-release-asset@8f032eff0255912cc9c8455797fd6d72f25c7ab7 # v1
uses: shogo82148/actions-upload-release-asset@6d4fd50e333ee797e83ae380e6bc55b048baec41 # v1
with:
upload_url: ${{ inputs.upload-url }}
asset_path: ${{ inputs.asset-path }}.asc

- name: Upload assets
uses: shogo82148/actions-upload-release-asset@8f032eff0255912cc9c8455797fd6d72f25c7ab7 # v1
uses: shogo82148/actions-upload-release-asset@6d4fd50e333ee797e83ae380e6bc55b048baec41 # v1
with:
upload_url: ${{ inputs.upload-url }}
asset_path: ${{ inputs.asset-path }}
43 changes: 43 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
- name: "A-Element-R"
description: "Issues affecting the port of Element's crypto layer to Rust"
color: "bfd4f2"
- name: "A-Packaging"
description: "Packaging, signing, releasing"
color: "bfd4f2"
- name: "A-Technical-Debt"
color: "bfd4f2"
- name: "A-Testing"
description: "Testing, code coverage, etc."
color: "bfd4f2"
- name: "backport staging"
description: "Label to automatically backport PR to staging branch"
color: "B60205"
- name: "Dependencies"
description: "Pull requests that update a dependency file"
color: "0366d6"
- name: "Easy"
color: "5dc9f7"
- name: "Sponsored"
color: "ffc8f4"
- name: "T-Deprecation"
description: "A pull request that makes something deprecated"
color: "98e6ae"
- name: "T-Other"
description: "Questions, user support, anything else"
color: "98e6ae"
- name: "X-Blocked"
color: "ff7979"
- name: "X-Breaking-Change"
color: "ff7979"
- name: "X-Reverted"
description: "PR has been reverted"
color: "F68AA3"
- name: "X-Upcoming-Release-Blocker"
description: "This does not affect the current release cycle but will affect the next one"
color: "e99695"
- name: "Z-Community-PR"
description: "Issue is solved by a community member's PR"
color: "ededed"
- name: "Z-Flaky-Test"
description: "A test is raising false alarms"
color: "ededed"
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
script: |
const { RELEASE_ID: releaseId, DEPENDENCY, VERSION } = process.env;
const { owner, repo } = context.repo;
const script = require("./.action-repo/scripts/release/merge-release-notes.js");
const script = require("./.action-repo/scripts/release/merge-release-notes.cjs");

let deps = [];
if (DEPENDENCY.includes("/")) {
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-gitflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version-file: package.json

- name: Install Deps
run: "yarn install --frozen-lockfile"
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/release-make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ on:
description: List of github projects (owner/repo) which should have their dependency bumped to the newly released version (in JSON string array string syntax)
type: string
required: false
include-changes:
description: Project to include changelog entries from in this release.
type: string
required: false
gpg-fingerprint:
description: Fingerprint of the GPG key to use for signing the git tag and assets, if any.
type: string
Expand Down Expand Up @@ -120,6 +116,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version-file: package.json

- name: Install dependencies
run: "yarn install --frozen-lockfile"
Expand Down Expand Up @@ -319,6 +316,11 @@ jobs:
ref: staging
token: ${{ secrets.ELEMENT_BOT_TOKEN }}

- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: "lts/*"

- name: Bump dependency
env:
DEPENDENCY: ${{ needs.npm.outputs.id }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
with:
cache: "yarn"
registry-url: "https://registry.npmjs.org"
node-version-file: package.json

- name: 🔨 Install dependencies
run: "yarn install --frozen-lockfile"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
uses: actions/setup-node@v4
with:
cache: "yarn"
node-version-file: package.json

- name: 🔨 Install dependencies
run: "yarn install --frozen-lockfile"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
target_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

- name: "🧮 Checkout code"
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
repository: ${{ github.event.workflow_run.head_repository.full_name }}
ref: ${{ github.event.workflow_run.head_branch }} # checkout commit that triggered this workflow
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/static_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version-file: package.json

- name: Install Deps
run: "yarn install"
Expand All @@ -44,6 +45,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version-file: package.json

- name: Install Deps
run: "yarn install"
Expand All @@ -60,6 +62,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version-file: package.json

- name: Install Deps
run: "yarn install --frozen-lockfile"
Expand All @@ -76,12 +79,13 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version-file: package.json

- name: Install Deps
run: "yarn install"

- name: Generate Docs
run: "yarn run gendoc --treatWarningsAsErrors"
run: "yarn run gendoc --treatWarningsAsErrors --suppressCommentWarningsInDeclarationFiles"

- name: Upload Artifact
uses: actions/upload-artifact@v4
Expand All @@ -100,6 +104,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version-file: package.json

- name: Install Deps
run: "yarn install --frozen-lockfile"
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Sync labels
on:
workflow_dispatch: {}
schedule:
- cron: "0 1 * * *" # 1am every day
push:
branches:
- develop
paths:
- .github/labels.yml
jobs:
sync-labels:
uses: element-hq/element-meta/.github/workflows/sync-labels.yml@develop
with:
LABELS: |
element-hq/element-meta
.github/labels.yml
DELETE: true
WET: true
secrets:
ELEMENT_BOT_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
12 changes: 11 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
specs: [integ, unit]
node: [18, "lts/*", 21]
node: ["lts/*", 22]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -63,6 +63,16 @@ jobs:
coverage
!coverage/lcov-report

# Dummy completion job to simplify branch protections
jest-complete:
name: Jest tests
needs: jest
if: always()
runs-on: ubuntu-latest
steps:
- if: needs.jest.result != 'skipped' && needs.jest.result != 'success'
run: exit 1

matrix-react-sdk:
name: Downstream test matrix-react-sdk
if: github.event_name == 'merge_group'
Expand Down
File renamed without changes.
106 changes: 106 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,109 @@
Changes in [34.5.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v34.5.0) (2024-09-10)
==================================================================================================
## 🦖 Deprecations

* Deprecate unused callback hooks `CryptoCallbacks.onSecretRequested` and `CryptoCallbacks.getDehydrationKey` ([#4376](https://github.com/matrix-org/matrix-js-sdk/pull/4376)). Contributed by @richvdh.


Changes in [34.4.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v34.4.0) (2024-08-27)
==================================================================================================
## ✨ Features

* Use non-legacy calls if any are found ([#4337](https://github.com/matrix-org/matrix-js-sdk/pull/4337)). Contributed by @AndrewFerr.

## 🐛 Bug Fixes

* Retry event decryption failures on first failure ([#4346](https://github.com/matrix-org/matrix-js-sdk/pull/4346)). Contributed by @hughns.
* Ensure "type" = "module" ES declaration in pre-release.sh ([#4350](https://github.com/matrix-org/matrix-js-sdk/pull/4350)). Contributed by @BLCK-B.
* Handle MatrixRTC encryption keys arriving out of order ([#4345](https://github.com/matrix-org/matrix-js-sdk/pull/4345)). Contributed by @hughns.
* Resend MatrixRTC encryption keys if a membership has changed ([#4343](https://github.com/matrix-org/matrix-js-sdk/pull/4343)). Contributed by @hughns.


Changes in [34.3.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v34.3.1) (2024-08-20)
==================================================================================================
# Security
- Fixes for [CVE-2024-42369](https://nvd.nist.gov/vuln/detail/CVE-2024-42369) / [GHSA-vhr5-g3pm-49fm](https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-vhr5-g3pm-49fm).

Changes in [34.3.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v34.3.0) (2024-08-13)
==================================================================================================
## ✨ Features

* Bump matrix-widget-api ([#4336](https://github.com/matrix-org/matrix-js-sdk/pull/4336)). Contributed by @AndrewFerr.
* Also check for MSC3757 for session state keys ([#4334](https://github.com/matrix-org/matrix-js-sdk/pull/4334)). Contributed by @AndrewFerr.
* Support Futures via widgets ([#4311](https://github.com/matrix-org/matrix-js-sdk/pull/4311)). Contributed by @AndrewFerr.
* Support MSC4140: Delayed events (Futures) ([#4294](https://github.com/matrix-org/matrix-js-sdk/pull/4294)). Contributed by @AndrewFerr.
* Handle late-arriving `m.room_key.withheld` messages ([#4310](https://github.com/matrix-org/matrix-js-sdk/pull/4310)). Contributed by @richvdh.
* Be specific about what is considered a MSC4143 call member event. ([#4328](https://github.com/matrix-org/matrix-js-sdk/pull/4328)). Contributed by @toger5.
* Add index.ts for matrixrtc module ([#4314](https://github.com/matrix-org/matrix-js-sdk/pull/4314)). Contributed by @toger5.

## 🐛 Bug Fixes

* Fix hashed ID server lookups with no Olm ([#4333](https://github.com/matrix-org/matrix-js-sdk/pull/4333)). Contributed by @dbkr.


Changes in [34.2.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v34.2.0) (2024-07-30)
==================================================================================================
## 🐛 Bug Fixes

* Element-R: detect "withheld key" UTD errors, and mark them as such ([#4302](https://github.com/matrix-org/matrix-js-sdk/pull/4302)). Contributed by @richvdh.


Changes in [34.1.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v34.1.0) (2024-07-16)
==================================================================================================
## ✨ Features

* Add ability to choose how many timeline events to sync when peeking ([#4300](https://github.com/matrix-org/matrix-js-sdk/pull/4300)). Contributed by @jgarplind.
* Remove redundant hack for using the old pickle key in rust crypto ([#4282](https://github.com/matrix-org/matrix-js-sdk/pull/4282)). Contributed by @richvdh.
* Add fetching the well known in embedded mode. ([#4259](https://github.com/matrix-org/matrix-js-sdk/pull/4259)). Contributed by @toger5.

## 🐛 Bug Fixes

* Fix room state being updated with old (now overwritten) state and emitting for those updates. ([#4242](https://github.com/matrix-org/matrix-js-sdk/pull/4242)). Contributed by @toger5.
* Fix incorrect "Olm is not available" errors ([#4301](https://github.com/matrix-org/matrix-js-sdk/pull/4301)). Contributed by @richvdh.
* Fix build for example script ([#4286](https://github.com/matrix-org/matrix-js-sdk/pull/4286)). Contributed by @richvdh.
* Declare matrix-js-sdk as an ES module ([#4285](https://github.com/matrix-org/matrix-js-sdk/pull/4285)). Contributed by @richvdh.


Changes in [34.0.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v34.0.0) (2024-07-08)
==================================================================================================
## 🚨 BREAKING CHANGES

* Fetch capabilities in the background ([#4246](https://github.com/matrix-org/matrix-js-sdk/pull/4246)). Contributed by @dbkr.

## ✨ Features

* Prefix the user+device state key if needed ([#4262](https://github.com/matrix-org/matrix-js-sdk/pull/4262)). Contributed by @AndrewFerr.
* Use legacy call membership if anyone else is ([#4260](https://github.com/matrix-org/matrix-js-sdk/pull/4260)). Contributed by @AndrewFerr.
* Fetch capabilities in the background ([#4246](https://github.com/matrix-org/matrix-js-sdk/pull/4246)). Contributed by @dbkr.
* Use server name instead of homeserver url to allow well-known lookups during QR OIDC reciprocation ([#4233](https://github.com/matrix-org/matrix-js-sdk/pull/4233)). Contributed by @t3chguy.
* Add via parameter for MSC4156 ([#4247](https://github.com/matrix-org/matrix-js-sdk/pull/4247)). Contributed by @Johennes.
* Make the js-sdk compatible with MSC preferred foci and active focus. ([#4195](https://github.com/matrix-org/matrix-js-sdk/pull/4195)). Contributed by @toger5.
* Replace usages of setImmediate with setTimeout for wider compatibility ([#4240](https://github.com/matrix-org/matrix-js-sdk/pull/4240)). Contributed by @t3chguy.

## 🐛 Bug Fixes

* [Backport staging] Fix "Unable to restore session" error ([#4299](https://github.com/matrix-org/matrix-js-sdk/pull/4299)). Contributed by @RiotRobot.
* [Backport staging] Fix error when sending encrypted messages in large rooms ([#4297](https://github.com/matrix-org/matrix-js-sdk/pull/4297)). Contributed by @RiotRobot.
* Element-R: Fix resource leaks in verification logic ([#4263](https://github.com/matrix-org/matrix-js-sdk/pull/4263)). Contributed by @richvdh.
* Upgrade Rust Crypto SDK to 6.1.0 ([#4261](https://github.com/matrix-org/matrix-js-sdk/pull/4261)). Contributed by @richvdh.
* Correctly transform base64 with multiple instances of + or / ([#4252](https://github.com/matrix-org/matrix-js-sdk/pull/4252)). Contributed by @robintown.
* Work around spec bug for m.room.avatar state event content type ([#4245](https://github.com/matrix-org/matrix-js-sdk/pull/4245)). Contributed by @t3chguy.


Changes in [33.1.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v33.1.0) (2024-06-18)
==================================================================================================
## ✨ Features

* MSC4108 support OIDC QR code login ([#4134](https://github.com/matrix-org/matrix-js-sdk/pull/4134)). Contributed by @t3chguy.
* Add crypto methods for export and import of secrets bundle ([#4227](https://github.com/matrix-org/matrix-js-sdk/pull/4227)). Contributed by @t3chguy.

## 🐛 Bug Fixes

* Fix screen sharing in recent Chrome ([#4243](https://github.com/matrix-org/matrix-js-sdk/pull/4243)). Contributed by @RiotRobot.
* Fix incorrect assumptions about required fields in /search response ([#4228](https://github.com/matrix-org/matrix-js-sdk/pull/4228)). Contributed by @t3chguy.
* Fix the queueToDevice tests for the new fakeindexeddb ([#4225](https://github.com/matrix-org/matrix-js-sdk/pull/4225)). Contributed by @dbkr.


Changes in [33.0.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v33.0.0) (2024-06-04)
==================================================================================================
## 🚨 BREAKING CHANGES
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ client.publicRooms(function (err, data) {
```

See below for how to include libolm to enable end-to-end-encryption. Please check
[the Node.js terminal app](examples/node) for a more complex example.
[the Node.js terminal app](examples/node/README.md) for a more complex example.

To start the client:

Expand Down Expand Up @@ -95,7 +95,7 @@ Object.keys(client.store.rooms).forEach((roomId) => {

## Authenticated media

Servers supporting [MSC3916](https://github.com/matrix-org/matrix-spec-proposals/pull/3916) will require clients, like
Servers supporting [MSC3916](https://github.com/matrix-org/matrix-spec-proposals/pull/3916) (Matrix 1.11) will require clients, like
yours, to include an `Authorization` header when `/download`ing or `/thumbnail`ing media. For NodeJS environments this
may be as easy as the following code snippet, though web browsers may need to use [Service Workers](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API)
to append the header when using the endpoints in `<img />` elements and similar.
Expand Down
Loading
Loading