Skip to content
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

Upgrade 3.104.0 #9

Merged
merged 219 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
219 commits
Select commit Hold shift + click to select a range
9673df6
Update dependency @testing-library/jest-dom to v6.4.6 (#12596)
renovate[bot] Jun 11, 2024
5a1751f
Update typescript-eslint monorepo to v7.13.0 (#12598)
renovate[bot] Jun 11, 2024
c513f72
Update dependency @vector-im/compound-design-tokens to v1.3.0 (#12564)
renovate[bot] Jun 11, 2024
2282c6c
Update matrix-org (#12533)
renovate[bot] Jun 11, 2024
05ea965
Update dependency uuid to v10 (#12599)
renovate[bot] Jun 11, 2024
9c84c3e
Update dependency fake-indexeddb to v6 (#12568)
renovate[bot] Jun 11, 2024
81cd53a
Update all non-major dependencies (#12601)
renovate[bot] Jun 11, 2024
6fedf89
Update dependency @sentry/browser to v8 (#12567)
renovate[bot] Jun 11, 2024
6198ce5
[create-pull-request] automated change (#12603)
RiotRobot Jun 12, 2024
25e4515
Fix image upload preview size (#12607)
dbkr Jun 12, 2024
7802346
Remove stale `#start` route as it hasn't been used in a long time (#1…
t3chguy Jun 13, 2024
7ae50db
[create-pull-request] automated change (#12611)
RiotRobot Jun 13, 2024
2ed9b2e
Don't show 'saved' on display name save error (#12600)
dbkr Jun 13, 2024
ccf751d
Update end-to-end-tests.yaml
t3chguy Jun 13, 2024
21ae29c
Support s tags for strikethrough for Matrix v1.10 (#12604)
t3chguy Jun 13, 2024
8b4e3e6
Replace setImmediate with setTimeout (#12614)
t3chguy Jun 13, 2024
2547777
Tweak copy for user verification toast (#12605)
t3chguy Jun 13, 2024
347229b
Avoid flakiness from hover styling in screenshot tests (#12615)
t3chguy Jun 13, 2024
24e3e08
Cache e2eStatus to avoid concerning unencrypted flicker when changing…
t3chguy Jun 13, 2024
8c49f3f
Update gfm.css to github-markdown-css (#12613)
t3chguy Jun 13, 2024
6a44f5e
Use stable endpoints for MSC3916 (#12602)
turt2live Jun 13, 2024
6e13e6d
[create-pull-request] automated change (#12619)
RiotRobot Jun 14, 2024
bd196ae
[create-pull-request] automated change (#12620)
RiotRobot Jun 14, 2024
8e200dc
Add login page option for SSO redirects (#12622)
bartvdbraak Jun 14, 2024
d6b9e2a
Fix config override of other settings levels (#12593)
langleyd Jun 14, 2024
6fc9d76
Remove room key history sharing (#12618)
uhoreg Jun 14, 2024
650b9cb
Add in-progress view to display name EditInPlace (#12609)
dbkr Jun 14, 2024
72a8f8f
Show tooltips on narrow tabbed views (#12624)
dbkr Jun 14, 2024
5212ae8
[create-pull-request] automated change (#12627)
RiotRobot Jun 17, 2024
5a1b98d
Improve accessibility of the room summary card (#12586)
t3chguy Jun 17, 2024
28bcbd4
Playwright Docker image updates (#12626)
RiotRobot Jun 17, 2024
5c26d58
Fix widgets not being cleaned up correctly. (#12616)
toger5 Jun 17, 2024
1cf3045
Fix stray background colour on markdown body (#12628)
t3chguy Jun 17, 2024
042aa17
[create-pull-request] automated change (#12631)
RiotRobot Jun 18, 2024
085fa1c
Merge branch 'master' into develop
RiotRobot Jun 18, 2024
4b76fcc
Resetting package fields for development
RiotRobot Jun 18, 2024
1c59fb5
Reset matrix-js-sdk back to develop branch
RiotRobot Jun 18, 2024
28dc655
Update dependency @sentry/browser to v8.9.1 (#12597)
renovate[bot] Jun 18, 2024
f9e2425
Remove stray setState which caused encryption state shields to flicke…
t3chguy Jun 18, 2024
9aa34ce
[create-pull-request] automated change (#12640)
RiotRobot Jun 19, 2024
2b4b415
[create-pull-request] automated change (#12641)
RiotRobot Jun 19, 2024
d6f35a5
Replace deprecated babel proposal plugins (#12635)
t3chguy Jun 19, 2024
a4af287
Remove unused state fields in qr oidc (#12588)
t3chguy Jun 19, 2024
d097935
Update dependency emojibase-regex to v15.3.2 (#12644)
renovate[bot] Jun 19, 2024
c209edc
Update all non-major dependencies (#12642)
renovate[bot] Jun 19, 2024
3d8c890
Update dependency js-xxhash to v4 (#12646)
renovate[bot] Jun 19, 2024
36998f1
Update typescript-eslint monorepo to v7.13.1 (#12645)
renovate[bot] Jun 19, 2024
8ace191
Update definitelyTyped (#12647)
renovate[bot] Jun 19, 2024
b2e9de1
Update for js-sdk interface change (#12638)
dbkr Jun 19, 2024
04e1d7f
Update `@vector-im/compound-web` & fix jest snapshot updates (#12637)
florianduros Jun 19, 2024
76844f5
Hide voice call button when redundant (#12639)
t3chguy Jun 19, 2024
e49f8e0
Update to compound-web 4.8.0 (#12650)
dbkr Jun 20, 2024
7e7b55e
Playwright tests to replace old `loading-test.tsx` (#12654)
richvdh Jun 20, 2024
6c99b91
Minor tweaks to UserSettings dialog (#12651)
florianduros Jun 20, 2024
ead7303
Remove outdated iframe sandbox attribute (#12633)
t3chguy Jun 20, 2024
d5e06c9
[create-pull-request] automated change (#12655)
RiotRobot Jun 20, 2024
1bf430b
Fix background on live location sharing footer (#12629)
t3chguy Jun 20, 2024
e9abc55
Work around rust crypto bug which causes flakiness (#12656)
t3chguy Jun 20, 2024
0317755
Add a github action to check the base branch (#12665)
dbkr Jun 20, 2024
5bcf76c
Playwright test: ensure that links are preserved over login (#12657)
richvdh Jun 20, 2024
2d8c23e
Hide voip buttons in group rooms in environments with widgets disable…
t3chguy Jun 21, 2024
132669f
Remove redundant sleep from playwright test (#12667)
richvdh Jun 21, 2024
87bdc78
Playwright: check the welcome page is loaded and works (#12660)
richvdh Jun 21, 2024
4a4c172
Fix high contrast theme in settings (#12649)
florianduros Jun 21, 2024
5eb5ea8
Remove redundant copy in deactive uia modal (#12668)
t3chguy Jun 21, 2024
736b083
Deflake verification playwright tests (#12669)
richvdh Jun 21, 2024
ce7b538
[create-pull-request] automated change (#12671)
RiotRobot Jun 22, 2024
2843545
[create-pull-request] automated change (#12673)
RiotRobot Jun 24, 2024
9c86290
Switch to Rust crypto stack for all logins (#12630)
richvdh Jun 24, 2024
efd309f
Disable playwright tests for legacy crypto (#12662)
richvdh Jun 24, 2024
f59bd6d
Update `@vector-im/compound-web` (#12675)
florianduros Jun 24, 2024
cea0b7c
[create-pull-request] automated change (#12678)
RiotRobot Jun 25, 2024
15de001
Remove legacy crypto parameter (#12679)
florianduros Jun 25, 2024
1906af2
Upgrade dependency to [email protected]
RiotRobot Jun 25, 2024
6781465
v3.102.0-rc.0
RiotRobot Jun 25, 2024
4e6674b
Update dependency @sentry/browser to v8.11.0 (#12686)
renovate[bot] Jun 25, 2024
7da394b
Update dependency @playwright/test to v1.45.0 (#12685)
renovate[bot] Jun 25, 2024
91779e0
Update stylelint (#12684)
renovate[bot] Jun 25, 2024
3aba3f6
Update dependency @types/node to v18.19.39 (#12682)
renovate[bot] Jun 25, 2024
8977a05
Update matrix-org (#12683)
renovate[bot] Jun 25, 2024
8c3cc61
Update dependency @vector-im/compound-web to v4.10.0 (#12687)
renovate[bot] Jun 25, 2024
4fbfc94
Update actions/checkout action to v4 (#12690)
renovate[bot] Jun 25, 2024
894b4e7
Update dependency @types/uuid to v10 (#12692)
renovate[bot] Jun 25, 2024
eb28898
Reduce number of parallel runners for Playwright (#12695)
t3chguy Jun 25, 2024
32a8384
Update peter-evans/create-pull-request digest to 4e1beaa (#12680)
renovate[bot] Jun 25, 2024
59512f9
Update dependency eslint-plugin-unicorn to v54 (#12693)
renovate[bot] Jun 25, 2024
070c476
Update actions/github-script action to v7 (#12691)
renovate[bot] Jun 25, 2024
4bf8766
Update dependency typescript to v5.5.2 (#12688)
renovate[bot] Jun 25, 2024
5c50605
Update typescript-eslint monorepo to v7.14.1 (#12689)
renovate[bot] Jun 25, 2024
7d9ff8b
Update peter-evans/create-pull-request action to v6 (#12694)
renovate[bot] Jun 25, 2024
ffbb903
Update all non-major dependencies (#12681)
renovate[bot] Jun 25, 2024
d8a671d
Update dependency posthog-js to v1.141.3 (#12700)
renovate[bot] Jun 25, 2024
b78e6f0
[create-pull-request] automated change (#12701)
RiotRobot Jun 26, 2024
95c8aa3
[create-pull-request] automated change (#12702)
RiotRobot Jun 26, 2024
86a95cf
Switch from graphemer to Intl.Segmenter (#12697)
t3chguy Jun 26, 2024
7a81470
Pass through BASE_URL env on playwright screenshot docker wrapper (#1…
t3chguy Jun 26, 2024
7247524
Extract SearchScope and SearchInfo into Searching (#12698)
t3chguy Jun 26, 2024
ea0baee
Split out email & phone number settings to separate components & move…
dbkr Jun 26, 2024
8ede891
Adjust room header hover transition from 300ms to 200ms (#12703)
t3chguy Jun 26, 2024
33a017b
New theme ui in user settings (#12576)
florianduros Jun 26, 2024
b449dc8
[create-pull-request] automated change (#12707)
RiotRobot Jun 27, 2024
8feaae6
Playwright: use rust crypto for the bot user (#12708)
richvdh Jun 27, 2024
f475e1a
[create-pull-request] automated change (#12711)
RiotRobot Jun 28, 2024
9b00af6
[create-pull-request] automated change (#12712)
RiotRobot Jun 28, 2024
ba7ffd6
[create-pull-request] automated change (#12715)
RiotRobot Jul 1, 2024
6ebaf3b
[create-pull-request] automated change (#12717)
RiotRobot Jul 2, 2024
7d8623d
Fix `Match system theme` toggle (#12719)
florianduros Jul 2, 2024
922676a
Clear autocomplete input on selection accept (#12709)
dbkr Jul 2, 2024
510fb1b
Disable profile controls if the HS doesn't allow them to be set (#12652)
dbkr Jul 2, 2024
53ea045
Update @vector-im/compound-web (#12718)
florianduros Jul 2, 2024
2702f8b
[create-pull-request] automated change (#12722)
RiotRobot Jul 3, 2024
353b6c0
Disable xvfb as it is not necessary for headless mode (#12720)
t3chguy Jul 3, 2024
b0d2010
Update new room header facepile tooltip (#12699)
t3chguy Jul 3, 2024
6b90fe2
Extract `focus_search` dispatch action into enum (#12721)
t3chguy Jul 3, 2024
0434929
Replace deprecated temporal proposal polyfill (#12636)
t3chguy Jul 3, 2024
e75dc4e
[create-pull-request] automated change (#12724)
RiotRobot Jul 4, 2024
1fbc972
Use LTS nodejs in github workflows (#12726)
richvdh Jul 4, 2024
e48110d
Move the account management button (#12663)
dbkr Jul 4, 2024
de12d69
Flaky-test bot: reopen existing issues (#12727)
richvdh Jul 4, 2024
8febc65
Upgrade dependency to [email protected]
RiotRobot Jul 4, 2024
55fba07
v3.102.0-rc.1
RiotRobot Jul 4, 2024
489bc32
Remove references to some deprecated js-sdk identifiers (#12729)
richvdh Jul 4, 2024
c61eca8
Don't consider textual characters to be emoji (#12582)
robintown Jul 4, 2024
e288f61
Prevent Element appearing in system media controls (#10995)
SuperKenVery Jul 4, 2024
72b97ea
[create-pull-request] automated change (#12730)
RiotRobot Jul 5, 2024
6f5d21f
[create-pull-request] automated change (#12731)
RiotRobot Jul 5, 2024
2f953f1
New layout selector ui in user settings (#12676)
florianduros Jul 5, 2024
0611769
Fix close button on forgot password flow (#12732)
dbkr Jul 5, 2024
a7542dc
Remove dependency on libolm (#12704)
richvdh Jul 5, 2024
dcf7643
Fix closing all modals (#12728)
dbkr Jul 5, 2024
81f29d1
Move language settings to 'preferences' (#12723)
dbkr Jul 5, 2024
5bda8d0
[create-pull-request] automated change (#12734)
RiotRobot Jul 6, 2024
596ad38
[create-pull-request] automated change (#12735)
RiotRobot Jul 8, 2024
2a26afe
Redesign room search interface (#12677)
t3chguy Jul 8, 2024
b2a8915
Remove redundant call to `setCrypto` (#12738)
richvdh Jul 8, 2024
466f37a
Improve new room header accessibility (#12725)
t3chguy Jul 8, 2024
1e060de
Upgrade dependency to [email protected]
RiotRobot Jul 8, 2024
2bf3335
v3.102.0
RiotRobot Jul 8, 2024
8679ace
Fix incoming call toast crash due to audio refactor (#12737)
t3chguy Jul 8, 2024
7487b27
[create-pull-request] automated change (#12740)
RiotRobot Jul 9, 2024
cd39d91
Promote new room header from labs to Beta (#12739)
t3chguy Jul 9, 2024
cf8b87f
Add tabs to the right panel (#12672)
MidhunSureshR Jul 9, 2024
8580b13
Merge remote-tracking branch 'origin/develop' into staging
RiotRobot Jul 9, 2024
4d6cea0
Upgrade dependency to [email protected]
RiotRobot Jul 9, 2024
a4f82bb
Specify node version
t3chguy Jul 9, 2024
ef0a2fb
Update package.json
t3chguy Jul 9, 2024
c50c32b
v3.103.0-rc.0
RiotRobot Jul 9, 2024
6e5b6b4
Upgrade dependency to [email protected]
RiotRobot Jul 9, 2024
81f766f
v3.103.0-rc.1
RiotRobot Jul 9, 2024
2891679
Update dependency typescript to v5.5.3 (#12748)
renovate[bot] Jul 9, 2024
9be495a
Update all non-major dependencies (#12744)
renovate[bot] Jul 9, 2024
f4aec6a
Update dependency @vector-im/compound-design-tokens to v1.4.0 (#12750)
renovate[bot] Jul 9, 2024
d053cd2
Update dependency @playwright/test to v1.45.1 (#12746)
renovate[bot] Jul 9, 2024
7ceb151
Update dependency @sentry/browser to v8.15.0 (#12749)
renovate[bot] Jul 9, 2024
feb5a49
Update dependency rimraf to v6 (#12754)
renovate[bot] Jul 9, 2024
07f7832
Update typescript-eslint monorepo to v7.15.0 (#12752)
renovate[bot] Jul 9, 2024
93d5d2b
Update dependency @vector-im/compound-design-tokens to v1.5.0 (#12758)
renovate[bot] Jul 9, 2024
454e934
Update all non-major dependencies (#12756)
renovate[bot] Jul 9, 2024
fff0985
Update dependency @sentry/browser to v8.16.0 (#12757)
renovate[bot] Jul 9, 2024
2712803
[create-pull-request] automated change (#12759)
RiotRobot Jul 10, 2024
c894beb
Split up slow Playwright tests (#12741)
t3chguy Jul 10, 2024
19f9f98
Element-R: Report events with withheld keys separately to Posthog. (#…
richvdh Jul 10, 2024
44b9889
Move integrations switch (#12733)
dbkr Jul 10, 2024
2772a9b
[create-pull-request] automated change (#12763)
RiotRobot Jul 11, 2024
72e0d10
Update wording shown when keys are withheld (#12761)
richvdh Jul 11, 2024
b53baea
[create-pull-request] automated change (#12766)
RiotRobot Jul 12, 2024
0a622f1
[create-pull-request] automated change (#12767)
RiotRobot Jul 12, 2024
08ee1b8
Use multiple workers in Playwright CI to make use of multiple cores (…
t3chguy Jul 12, 2024
1082d76
Hide tooltips for certain playwright screenshots to avoid flakiness (…
t3chguy Jul 12, 2024
ba7cf60
Update dependency @vector-im/compound-web to v5.4.0 (#12773)
renovate[bot] Jul 12, 2024
db95f26
remove "Manually verify all remote sessions" setting (#12706)
uhoreg Jul 12, 2024
3480001
Cleanup tasks in SecurityManager/SetupEncryptionStore (#12764)
richvdh Jul 13, 2024
52c32f3
Add logging to encryption setup (#12765)
richvdh Jul 13, 2024
4445461
[create-pull-request] automated change (#12776)
RiotRobot Jul 15, 2024
3221f7c
Align `widget_build_url_ignore_dm` with call behaviour switch between…
t3chguy Jul 15, 2024
2e0b5bb
Fix edge case of landing on 3pid email link with registration disable…
t3chguy Jul 15, 2024
38e1da5
Fix inability to change accent colour consistently in custom theming …
t3chguy Jul 15, 2024
b4ef5d3
Fix HTML export missing a bunch of Compound variables (#12774)
t3chguy Jul 15, 2024
7f95903
Fix HTML export test (#12778)
dbkr Jul 15, 2024
7863de6
Enable Playwright forbidOnly in CI to catch accidental `test.only` (#…
t3chguy Jul 15, 2024
e6d9ecc
Add test reporter to prevent stale screenshots (#12743)
t3chguy Jul 15, 2024
13e1065
[create-pull-request] automated change (#12779)
RiotRobot Jul 16, 2024
5f10ccb
Update dependency @types/lodash to v4.17.7 (#12747)
renovate[bot] Jul 16, 2024
f7a078d
Update right panel base card styling to match Compound (#12768)
t3chguy Jul 16, 2024
d0a8365
Upgrade dependency to [email protected]
RiotRobot Jul 16, 2024
831c56d
v3.103.0
RiotRobot Jul 16, 2024
c843a41
Let Element Call widget set session memberships (#12713)
AndrewFerr Jul 16, 2024
59d08d8
Let Element Call widget receive m.room.create (#12710)
AndrewFerr Jul 16, 2024
e097cc0
Update playwright monorepo to v1.45.2 (#12783)
renovate[bot] Jul 16, 2024
cf96a6d
[create-pull-request] automated change (#12784)
RiotRobot Jul 17, 2024
c57d846
Clear settings store cache on logout (#12786)
dbkr Jul 17, 2024
4edf4e4
Remove SpaceScopeHeader (#12785)
t3chguy Jul 17, 2024
3c9bd69
Accessibility: Add Landmark navigation (#12190)
akirk Jul 17, 2024
39d453a
Stop using the js-sdk's compare function (#12782)
dbkr Jul 17, 2024
72d32bd
[create-pull-request] automated change (#12789)
RiotRobot Jul 18, 2024
924f5a0
Add test for the unsupported browser screen (#12787)
dbkr Jul 18, 2024
564ea53
Fix stray 'account' heading (#12791)
dbkr Jul 18, 2024
2920e76
Test for lack of WebAssembly support (#12792)
dbkr Jul 18, 2024
f706ac4
Update styling of UserInfo right panel card (#12788)
t3chguy Jul 18, 2024
db41121
[create-pull-request] automated change (#12794)
RiotRobot Jul 19, 2024
d202295
[create-pull-request] automated change (#12795)
RiotRobot Jul 19, 2024
0fc1c53
Iterate design of right panel empty state (#12796)
t3chguy Jul 19, 2024
1839895
[create-pull-request] automated change (#12799)
RiotRobot Jul 20, 2024
62c5625
[create-pull-request] automated change (#12800)
RiotRobot Jul 22, 2024
2fd291c
[create-pull-request] automated change (#12804)
RiotRobot Jul 23, 2024
5308c91
Close any open modals on logout (#12777)
dbkr Jul 23, 2024
25fcd6a
Update Thread Panel to match latest designs (#12797)
t3chguy Jul 23, 2024
bb1b7f1
Default the room header to on (#12803)
MidhunSureshR Jul 23, 2024
dafc97f
Add release announcement for the new room header (#12802)
MidhunSureshR Jul 23, 2024
be846e6
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into…
t3chguy Jul 23, 2024
4eff82f
Upgrade dependency to [email protected]
t3chguy Jul 23, 2024
2944632
v3.104.0-rc.0
RiotRobot Jul 23, 2024
63848da
[Backport staging] Fix broken jest tests on develop (#12821)
RiotRobot Jul 24, 2024
0e2ba42
[Backport staging] Update compound-design-tokens to satisfy compound-…
RiotRobot Jul 24, 2024
94017ab
v3.104.0-rc.1
RiotRobot Jul 24, 2024
3e903da
Upgrade dependency to [email protected]
RiotRobot Jul 30, 2024
5dda51f
v3.104.0
RiotRobot Jul 30, 2024
19b59a2
Merge tag 'v3.104.0' into upgrade-3.104.0
Jul 31, 2024
5de23c0
Fix merge conflict v3.104.0
Jul 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 18 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ module.exports = {
["*.mxcUrlToHttp", "*.getHttpUriForMxc"],
"Use Media helper instead to centralise access for customisation.",
),
...buildRestrictedPropertiesOptions(["window.setImmediate"], "Use setTimeout instead."),
],
"no-restricted-globals": [
"error",
{
name: "setImmediate",
message: "Use setTimeout instead.",
},
],

"import/no-duplicates": ["error"],
Expand Down Expand Up @@ -70,6 +78,11 @@ module.exports = {
name: "matrix-react-sdk/",
message: "Please use matrix-react-sdk/src/index instead",
},
{
name: "emojibase-regex",
message:
"This regex doesn't actually test for emoji. See the docs at https://emojibase.dev/docs/regex/ and prefer our own EMOJI_REGEX from HtmlUtils.",
},
],
patterns: [
{
Expand Down Expand Up @@ -107,13 +120,9 @@ module.exports = {
"!matrix-js-sdk/src/extensible_events_v1/InvalidEventError",
"!matrix-js-sdk/src/crypto",
"!matrix-js-sdk/src/crypto/aes",
"!matrix-js-sdk/src/crypto/olmlib",
"!matrix-js-sdk/src/crypto/crypto",
"!matrix-js-sdk/src/crypto/keybackup",
"!matrix-js-sdk/src/crypto/RoomList",
"!matrix-js-sdk/src/crypto/deviceinfo",
"!matrix-js-sdk/src/crypto/key_passphrase",
"!matrix-js-sdk/src/crypto/CrossSigning",
"!matrix-js-sdk/src/crypto/recoverykey",
"!matrix-js-sdk/src/crypto/dehydration",
"!matrix-js-sdk/src/oidc",
Expand All @@ -136,6 +145,11 @@ module.exports = {
],
message: "Please use matrix-js-sdk/src/matrix instead",
},
{
group: ["emojibase-regex/emoji*"],
message:
"This regex doesn't actually test for emoji. See the docs at https://emojibase.dev/docs/regex/ and prefer our own EMOJI_REGEX from HtmlUtils.",
},
],
},
],
Expand Down
18 changes: 10 additions & 8 deletions .github/workflows/end-to-end-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: "lts/*"

- name: Fetch layered build
id: layered_build
Expand Down Expand Up @@ -103,7 +104,7 @@ jobs:
fail-fast: false
matrix:
# Run multiple instances in parallel to speed up the tests
runner: [1, 2, 3, 4, 5, 6, 7, 8]
runner: [1, 2, 3, 4, 5, 6]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -121,6 +122,7 @@ jobs:
with:
cache: "yarn"
cache-dependency-path: matrix-react-sdk/yarn.lock
node-version: "lts/*"

- name: Install dependencies
working-directory: matrix-react-sdk
Expand All @@ -145,10 +147,8 @@ jobs:
run: yarn playwright install --with-deps

- name: Run Playwright tests
uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
with:
run: yarn playwright test --shard ${{ matrix.runner }}/${{ strategy.job-total }}
working-directory: matrix-react-sdk
run: yarn playwright test --shard ${{ matrix.runner }}/${{ strategy.job-total }}
working-directory: matrix-react-sdk

- name: Upload blob report to GitHub Actions Artifacts
if: always()
Expand All @@ -174,6 +174,7 @@ jobs:
if: inputs.skip != true
with:
cache: "yarn"
node-version: "lts/*"

- name: Install dependencies
if: inputs.skip != true
Expand All @@ -189,13 +190,14 @@ jobs:

- name: Merge into HTML Report
if: inputs.skip != true
run: yarn playwright merge-reports --reporter=html,./playwright/flaky-reporter.ts ./all-blob-reports
run: yarn playwright merge-reports --reporter=html,./playwright/flaky-reporter.ts,./playwright/stale-screenshot-reporter.ts ./all-blob-reports
env:
# Only pass creds to the flaky-reporter on main branch runs
GITHUB_TOKEN: ${{ github.event.workflow_run.head_branch == 'develop' && secrets.ELEMENT_BOT_TOKEN || '' }}
GITHUB_TOKEN: ${{ github.ref_name == 'develop' && secrets.ELEMENT_BOT_TOKEN || '' }}

# Upload the HTML report even if one of our reporters fails, this can happen when stale screenshots are detected
- name: Upload HTML report
if: inputs.skip != true
if: always() && inputs.skip != true
uses: actions/upload-artifact@v4
with:
name: html-report
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/playwright-image-updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Update matrixdotorg/synapse image
run: |
Expand All @@ -20,7 +20,7 @@ jobs:

- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6
with:
token: ${{ secrets.ELEMENT_BOT_TOKEN }}
branch: actions/playwright-image-updates
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/pull_request_base_branch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Pull Request Base Branch
on:
pull_request:
types: [opened, edited, synchronize]
jobs:
check_base_branch:
name: Check PR base branch
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
script: |
const baseBranch = context.payload.pull_request.base.ref;
if (!['develop', 'staging'].includes(baseBranch) && !baseBranch.startsWith('feat/')) {
core.setFailed(`Invalid base branch: ${baseBranch}`);
}
5 changes: 5 additions & 0 deletions .github/workflows/static_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: "lts/*"

- name: Install Deps
run: "./scripts/ci/install-deps.sh"
Expand Down Expand Up @@ -83,6 +84,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: "lts/*"

# Does not need branch matching as only analyses this layer
- name: Install Deps
Expand All @@ -100,6 +102,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: "lts/*"

# Does not need branch matching as only analyses this layer
- name: Install Deps
Expand All @@ -117,6 +120,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: "lts/*"

# Does not need branch matching as only analyses this layer
- name: Install Deps
Expand All @@ -134,6 +138,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: "lts/*"

- name: Install Deps
run: "scripts/ci/layered.sh"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
- name: Yarn cache
uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: "yarn"

- name: Install Deps
Expand Down Expand Up @@ -115,6 +116,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: "lts/*"

- name: Run tests
run: "./scripts/ci/app-tests.sh"
Expand Down
85 changes: 85 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,88 @@
Changes in [3.104.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.104.0) (2024-07-30)
=======================================================================================================
## ✨ Features

* Add release announcement for the new room header ([#12802](https://github.com/matrix-org/matrix-react-sdk/pull/12802)). Contributed by @MidhunSureshR.
* Default the room header to on ([#12803](https://github.com/matrix-org/matrix-react-sdk/pull/12803)). Contributed by @MidhunSureshR.
* Update Thread Panel to match latest designs ([#12797](https://github.com/matrix-org/matrix-react-sdk/pull/12797)). Contributed by @t3chguy.
* Close any open modals on logout ([#12777](https://github.com/matrix-org/matrix-react-sdk/pull/12777)). Contributed by @dbkr.
* Iterate design of right panel empty state ([#12796](https://github.com/matrix-org/matrix-react-sdk/pull/12796)). Contributed by @t3chguy.
* Update styling of UserInfo right panel card ([#12788](https://github.com/matrix-org/matrix-react-sdk/pull/12788)). Contributed by @t3chguy.
* Accessibility: Add Landmark navigation ([#12190](https://github.com/matrix-org/matrix-react-sdk/pull/12190)). Contributed by @akirk.
* Let Element Call widget receive m.room.create ([#12710](https://github.com/matrix-org/matrix-react-sdk/pull/12710)). Contributed by @AndrewFerr.
* Let Element Call widget set session memberships ([#12713](https://github.com/matrix-org/matrix-react-sdk/pull/12713)). Contributed by @AndrewFerr.
* Update right panel base card styling to match Compound ([#12768](https://github.com/matrix-org/matrix-react-sdk/pull/12768)). Contributed by @t3chguy.
* Align `widget_build_url_ignore_dm` with call behaviour switch between 1:1 and Widget ([#12760](https://github.com/matrix-org/matrix-react-sdk/pull/12760)). Contributed by @t3chguy.
* Move integrations switch ([#12733](https://github.com/matrix-org/matrix-react-sdk/pull/12733)). Contributed by @dbkr.
* Element-R: Report events with withheld keys separately to Posthog. ([#12755](https://github.com/matrix-org/matrix-react-sdk/pull/12755)). Contributed by @richvdh.

## 🐛 Bug Fixes

* Test for lack of WebAssembly support ([#12792](https://github.com/matrix-org/matrix-react-sdk/pull/12792)). Contributed by @dbkr.
* Fix stray 'account' heading ([#12791](https://github.com/matrix-org/matrix-react-sdk/pull/12791)). Contributed by @dbkr.
* Add test for the unsupported browser screen ([#12787](https://github.com/matrix-org/matrix-react-sdk/pull/12787)). Contributed by @dbkr.
* Fix HTML export test ([#12778](https://github.com/matrix-org/matrix-react-sdk/pull/12778)). Contributed by @dbkr.
* Fix HTML export missing a bunch of Compound variables ([#12774](https://github.com/matrix-org/matrix-react-sdk/pull/12774)). Contributed by @t3chguy.
* Fix inability to change accent colour consistently in custom theming ([#12772](https://github.com/matrix-org/matrix-react-sdk/pull/12772)). Contributed by @t3chguy.
* Fix edge case of landing on 3pid email link with registration disabled ([#12771](https://github.com/matrix-org/matrix-react-sdk/pull/12771)). Contributed by @t3chguy.


Changes in [3.103.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.103.0) (2024-07-16)
=======================================================================================================
## ✨ Features

* Add tabs to the right panel ([#12672](https://github.com/matrix-org/matrix-react-sdk/pull/12672)). Contributed by @MidhunSureshR.
* Promote new room header from labs to Beta ([#12739](https://github.com/matrix-org/matrix-react-sdk/pull/12739)). Contributed by @t3chguy.
* Redesign room search interface ([#12677](https://github.com/matrix-org/matrix-react-sdk/pull/12677)). Contributed by @t3chguy.
* Move language settings to 'preferences' ([#12723](https://github.com/matrix-org/matrix-react-sdk/pull/12723)). Contributed by @dbkr.
* New layout selector ui in user settings ([#12676](https://github.com/matrix-org/matrix-react-sdk/pull/12676)). Contributed by @florianduros.
* Prevent Element appearing in system media controls ([#10995](https://github.com/matrix-org/matrix-react-sdk/pull/10995)). Contributed by @SuperKenVery.
* Move the account management button ([#12663](https://github.com/matrix-org/matrix-react-sdk/pull/12663)). Contributed by @dbkr.
* Disable profile controls if the HS doesn't allow them to be set ([#12652](https://github.com/matrix-org/matrix-react-sdk/pull/12652)). Contributed by @dbkr.
* New theme ui in user settings ([#12576](https://github.com/matrix-org/matrix-react-sdk/pull/12576)). Contributed by @florianduros.
* Adjust room header hover transition from 300ms to 200ms ([#12703](https://github.com/matrix-org/matrix-react-sdk/pull/12703)). Contributed by @t3chguy.
* Split out email \& phone number settings to separate components \& move discovery to privacy tab ([#12670](https://github.com/matrix-org/matrix-react-sdk/pull/12670)). Contributed by @dbkr.

## 🐛 Bug Fixes

* Fix incoming call toast crash due to audio refactor ([#12737](https://github.com/matrix-org/matrix-react-sdk/pull/12737)). Contributed by @t3chguy.
* Improve new room header accessibility ([#12725](https://github.com/matrix-org/matrix-react-sdk/pull/12725)). Contributed by @t3chguy.
* Fix closing all modals ([#12728](https://github.com/matrix-org/matrix-react-sdk/pull/12728)). Contributed by @dbkr.
* Fix close button on forgot password flow ([#12732](https://github.com/matrix-org/matrix-react-sdk/pull/12732)). Contributed by @dbkr.
* Don't consider textual characters to be emoji ([#12582](https://github.com/matrix-org/matrix-react-sdk/pull/12582)). Contributed by @robintown.
* Clear autocomplete input on selection accept ([#12709](https://github.com/matrix-org/matrix-react-sdk/pull/12709)). Contributed by @dbkr.
* Fix `Match system theme` toggle ([#12719](https://github.com/matrix-org/matrix-react-sdk/pull/12719)). Contributed by @florianduros.


Changes in [3.102.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.102.0) (2024-07-08)
=======================================================================================================
## ✨ Features

* Switch to Rust crypto stack for all logins ([#12630](https://github.com/matrix-org/matrix-react-sdk/pull/12630)). Contributed by @richvdh.
* Hide voip buttons in group rooms in environments with widgets disabled ([#12664](https://github.com/matrix-org/matrix-react-sdk/pull/12664)). Contributed by @t3chguy.
* Minor tweaks to UserSettings dialog ([#12651](https://github.com/matrix-org/matrix-react-sdk/pull/12651)). Contributed by @florianduros.
* Hide voice call button when redundant ([#12639](https://github.com/matrix-org/matrix-react-sdk/pull/12639)). Contributed by @t3chguy.
* Improve accessibility of the room summary card ([#12586](https://github.com/matrix-org/matrix-react-sdk/pull/12586)). Contributed by @t3chguy.
* Show tooltips on narrow tabbed views ([#12624](https://github.com/matrix-org/matrix-react-sdk/pull/12624)). Contributed by @dbkr.
* Update gfm.css to github-markdown-css ([#12613](https://github.com/matrix-org/matrix-react-sdk/pull/12613)). Contributed by @t3chguy.
* Cache e2eStatus to avoid concerning unencrypted flicker when changing rooms ([#12606](https://github.com/matrix-org/matrix-react-sdk/pull/12606)). Contributed by @t3chguy.
* Tweak copy for user verification toast ([#12605](https://github.com/matrix-org/matrix-react-sdk/pull/12605)). Contributed by @t3chguy.
* Support s tags for strikethrough for Matrix v1.10 ([#12604](https://github.com/matrix-org/matrix-react-sdk/pull/12604)). Contributed by @t3chguy.

## 🐛 Bug Fixes

* Remove redundant copy in deactive uia modal ([#12668](https://github.com/matrix-org/matrix-react-sdk/pull/12668)). Contributed by @t3chguy.
* Fix high contrast theme in settings ([#12649](https://github.com/matrix-org/matrix-react-sdk/pull/12649)). Contributed by @florianduros.
* Fix background on live location sharing footer ([#12629](https://github.com/matrix-org/matrix-react-sdk/pull/12629)). Contributed by @t3chguy.
* Remove outdated iframe sandbox attribute ([#12633](https://github.com/matrix-org/matrix-react-sdk/pull/12633)). Contributed by @t3chguy.
* Remove stray setState which caused encryption state shields to flicker ([#12632](https://github.com/matrix-org/matrix-react-sdk/pull/12632)). Contributed by @t3chguy.
* Fix stray background colour on markdown body ([#12628](https://github.com/matrix-org/matrix-react-sdk/pull/12628)). Contributed by @t3chguy.
* Fix widgets not being cleaned up correctly. ([#12616](https://github.com/matrix-org/matrix-react-sdk/pull/12616)). Contributed by @toger5.
* Add in-progress view to display name EditInPlace ([#12609](https://github.com/matrix-org/matrix-react-sdk/pull/12609)). Contributed by @dbkr.
* Fix config override of other settings levels ([#12593](https://github.com/matrix-org/matrix-react-sdk/pull/12593)). Contributed by @langleyd.
* Don't show 'saved' on display name save error ([#12600](https://github.com/matrix-org/matrix-react-sdk/pull/12600)). Contributed by @dbkr.


Changes in [3.101.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.101.0) (2024-06-18)
=======================================================================================================
## ✨ Features
Expand Down
6 changes: 3 additions & 3 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ module.exports = {
],
plugins: [
"@babel/plugin-proposal-export-default-from",
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-transform-numeric-separator",
"@babel/plugin-transform-class-properties",
"@babel/plugin-transform-object-rest-spread",
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-transform-runtime",
],
Expand Down
2 changes: 1 addition & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const config: Config = {
testEnvironment: "jsdom",
testMatch: ["<rootDir>/test/**/*-test.[jt]s?(x)"],
globalSetup: "<rootDir>/test/globalSetup.ts",
setupFiles: ["jest-canvas-mock"],
setupFiles: ["jest-canvas-mock", "web-streams-polyfill/polyfill"],
setupFilesAfterEnv: ["<rootDir>/test/setupTests.ts"],
moduleNameMapper: {
"\\.(gif|png|ttf|woff2)$": "<rootDir>/__mocks__/imageMock.js",
Expand Down
Loading
Loading