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 v3.108.0 #10

Merged
merged 134 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
a35ab23
Update snapshot (#12806)
MidhunSureshR Jul 24, 2024
ae18bb9
Update compound-design-tokens to satisfy compound-web peer dependency…
t3chguy Jul 24, 2024
f17d14b
Hide tooltip when taking screenshot (#12807)
MidhunSureshR Jul 24, 2024
ae74e40
Update babel monorepo (#12809)
renovate[bot] Jul 24, 2024
182c81b
Update dependency @types/node to v18.19.41 (#12811)
renovate[bot] Jul 24, 2024
12f086e
Update dependency typescript to v5.5.4 (#12812)
renovate[bot] Jul 24, 2024
0b87cac
Update playwright monorepo to v1.45.3 (#12813)
renovate[bot] Jul 24, 2024
bbd583a
Update typescript-eslint monorepo to v7.16.1 (#12814)
renovate[bot] Jul 24, 2024
8b55139
Update dependency @sentry/browser to v8.19.0 (#12816)
renovate[bot] Jul 24, 2024
fc86c5d
Update stylelint (#12817)
renovate[bot] Jul 24, 2024
20c205e
Update dependency blob-polyfill to v9 (#12819)
renovate[bot] Jul 24, 2024
57f30f1
[create-pull-request] automated change (#12805)
RiotRobot Jul 24, 2024
bacf738
Update all non-major dependencies (#12815)
renovate[bot] Jul 24, 2024
efbd207
Update dependency @testing-library/jest-dom to v6.4.8 (#12810)
renovate[bot] Jul 24, 2024
36d02ae
Update dependency @vector-im/compound-web to v5.5.0 (#12818)
renovate[bot] Jul 24, 2024
042f7a9
Update dependency posthog-js to v1.149.1 (#12823)
renovate[bot] Jul 24, 2024
6e9fc55
[create-pull-request] automated change (#12824)
RiotRobot Jul 25, 2024
72e7df0
Acknowledge `DeviceMute` widget actions (#12790)
toger5 Jul 25, 2024
2e0716c
Fix unwanted ringing of other devices even though the user is already…
toger5 Jul 25, 2024
3c370c6
Remove MatrixRTC realted import ES lint exceptions using a index.ts f…
toger5 Jul 25, 2024
c1420ba
Allow Chrome page translator to translate messages in rooms (#11113)
lukaszpolowczyk Jul 25, 2024
25ab9e4
Revert "Use multiple workers in Playwright CI to make use of multiple…
MidhunSureshR Jul 25, 2024
95db2d9
Add some logging to pickle key save/restore (#12831)
richvdh Jul 26, 2024
76d2ab4
Support pagination while querying for issues in flaky reporter (#12832)
MidhunSureshR Jul 26, 2024
4e6b1c8
[create-pull-request] automated change (#12829)
RiotRobot Jul 29, 2024
844da7a
Fix compound typography font component issues (#12826)
t3chguy Jul 29, 2024
c2c1089
Add sign out button to settings profile section (#12666)
dbkr Jul 29, 2024
96777f8
Make micIcon display on primary (#11908)
kdanielm Jul 29, 2024
a12c187
Warn users on unsupported browsers before they lack features (#12830)
t3chguy Jul 29, 2024
077549e
[create-pull-request] automated change (#12838)
RiotRobot Jul 30, 2024
a189758
Stabilise screenshot tests (#12835)
t3chguy Jul 30, 2024
b0392b8
Update toast styles to match Figma (#12833)
t3chguy Jul 30, 2024
66a89d8
Update tests for new unsupported browser view (#12836)
t3chguy Jul 30, 2024
272a66b
Split up bodyToHtml (#12840)
dbkr Jul 30, 2024
dd20741
feat: Add autoformat and lint for ts/tsx files (#11806)
Palid Jul 30, 2024
0204724
Rework how the onboarding notifications task works (#12839)
t3chguy Jul 30, 2024
bc21ed3
Fix picklekey debug (#12845)
richvdh Jul 30, 2024
2e6f851
Extract useIsVideoRoom hook (#12843)
t3chguy Jul 30, 2024
aeecba9
[create-pull-request] automated change (#12846)
RiotRobot Jul 31, 2024
2defb10
[create-pull-request] automated change (#12847)
RiotRobot Jul 31, 2024
fae5bf1
Remove topic from new room header and expand right panel topic (#12842)
t3chguy Jul 31, 2024
b55653d
Extract Extensions into their own right panel tab (#12844)
t3chguy Jul 31, 2024
f3ac669
Handle media download errors better (#12848)
t3chguy Jul 31, 2024
a0c029c
Fix alignment of RTL messages (#12837)
dbkr Jul 31, 2024
e6a3238
Deflake the chat export test (#12854)
dbkr Aug 1, 2024
fa60edf
Ignore permalink_prefix when serializing pills (#11726)
herkulessi Aug 1, 2024
9b77279
[create-pull-request] automated change (#12851)
RiotRobot Aug 1, 2024
b6addb4
Fix React contexts (#12855)
t3chguy Aug 1, 2024
a38a516
Align RoomSummaryCard styles with Figma (#12793)
t3chguy Aug 1, 2024
1270518
Invite dialog: display MXID on its own line (#11756)
AndrewFerr Aug 1, 2024
9cd0c24
Convert general user to functional component (#12856)
dbkr Aug 1, 2024
77062ac
Move General user settings styles to more specific places
dbkr Aug 1, 2024
c1d4199
Upgrade target to es2022 (#12852)
t3chguy Aug 1, 2024
da67dbc
Merge branch 'develop' into dbkr/email_phone_css_temporary_move
dbkr Aug 1, 2024
a634542
Update snapshot
dbkr Aug 1, 2024
d60d28d
More snapshots
dbkr Aug 1, 2024
dd61eb9
Fix classname
dbkr Aug 1, 2024
69efe91
More reanaming & snapshot
dbkr Aug 1, 2024
8dfe561
Fix test to not use otherwise unused class name
dbkr Aug 1, 2024
67f5c08
[create-pull-request] automated change (#12858)
RiotRobot Aug 2, 2024
3c490fa
Fix comment typos
dbkr Aug 2, 2024
accbe07
Merge pull request #12857 from matrix-org/dbkr/email_phone_css_tempor…
dbkr Aug 2, 2024
0905864
Preparations for React 18 (#12860)
t3chguy Aug 5, 2024
54e5321
Clear settings caches on reset rather than custom lifecycle method (#…
t3chguy Aug 5, 2024
92bf203
Fixed custom emotes background color #27745 (#12798)
asimdelvi Aug 5, 2024
cbd2379
Fix formatting of rich text emotes (#12862)
dbkr Aug 5, 2024
73cc598
[create-pull-request] automated change (#12864)
RiotRobot Aug 6, 2024
c7bbc1c
Merge commit from fork
dbkr Aug 6, 2024
d4819cf
v3.105.0
RiotRobot Aug 6, 2024
edf32d2
Fix types
t3chguy Aug 6, 2024
25e67be
v3.105.1
RiotRobot Aug 6, 2024
a7bc0e4
Merge branch 'master' into develop
t3chguy Aug 6, 2024
a047f69
Resetting package fields for development
t3chguy Aug 6, 2024
3fff7bf
Reset matrix-js-sdk back to develop branch
t3chguy Aug 6, 2024
fe720ec
Re-add olm dependency which is needed for types
t3chguy Aug 6, 2024
ca8d63a
Revert: Re-add olm dependency which is needed for types
t3chguy Aug 6, 2024
f42dca2
Upgrade dependency to [email protected]
RiotRobot Aug 6, 2024
3a6ec1e
v3.106.0-rc.0
RiotRobot Aug 6, 2024
018c4f4
Upgrade dependency to [email protected]
RiotRobot Aug 6, 2024
119bc34
v3.106.0-rc.1
RiotRobot Aug 6, 2024
dde19f3
Add missing presence indicator to new room header (#12865)
t3chguy Aug 6, 2024
5519b81
Disable jump to read receipt button instead of hiding when nothing to…
t3chguy Aug 6, 2024
6ca4f67
Update settings tab icons (#12867)
dbkr Aug 6, 2024
1be4c12
Switch to ghcr.io image for Synapse (#12869)
t3chguy Aug 6, 2024
4e4c5c7
Rename general user settings to account (#12841)
dbkr Aug 6, 2024
8285283
Make tests more resilient for React 18 upgrade (#12861)
t3chguy Aug 6, 2024
7a4783f
Import base64 utils directly from js-sdk (#12871)
turt2live Aug 7, 2024
f71d8bd
[create-pull-request] automated change (#12872)
RiotRobot Aug 7, 2024
6e7ddbb
[create-pull-request] automated change (#12873)
RiotRobot Aug 7, 2024
e6835fe
Clean up editor drafts for unknown rooms (#12850)
langleyd Aug 7, 2024
5d16a38
Rich text Editor: Auto-replace plain text emoticons with emoji (#12828)
langleyd Aug 7, 2024
2978b86
Allow selecting text in the right panel topic (#12870)
t3chguy Aug 7, 2024
a35bf68
Stop the ongoing ring if another device joins the call session. (#12866)
toger5 Aug 7, 2024
a437c67
Support delayed events (MSC4140) for call widget (#12714)
AndrewFerr Aug 7, 2024
11cc174
[create-pull-request] automated change (#12874)
RiotRobot Aug 8, 2024
ff15249
Make widget tests throw when a modal is shown (#12834)
AndrewFerr Aug 8, 2024
8e45d50
[create-pull-request] automated change (#12877)
RiotRobot Aug 9, 2024
284cd40
Update @vector-im/compound-design-tokens (#12876)
florianduros Aug 9, 2024
5e98cbf
Fix user menu font (#12879)
florianduros Aug 9, 2024
239330b
[create-pull-request] automated change (#12881)
RiotRobot Aug 10, 2024
0e37c09
Show spinner whilst initial search request is in progress (#12883)
t3chguy Aug 12, 2024
eacb22e
Add chat button on new room header for maximised widgets (#12882)
t3chguy Aug 12, 2024
bdc4ca0
[create-pull-request] automated change (#12885)
RiotRobot Aug 13, 2024
269a9df
Upgrade dependency to [email protected]
RiotRobot Aug 13, 2024
6df8423
v3.106.0
RiotRobot Aug 13, 2024
95b2f3e
Merge branch 'master' into develop
RiotRobot Aug 13, 2024
349c4a1
Resetting package fields for development
RiotRobot Aug 13, 2024
ad8da83
Reset matrix-js-sdk back to develop branch
RiotRobot Aug 13, 2024
62e1641
[create-pull-request] automated change (#12886)
RiotRobot Aug 14, 2024
de898d1
[create-pull-request] automated change (#12887)
RiotRobot Aug 14, 2024
4751c52
Refactor the various email/phone management UI into a single componen…
dbkr Aug 14, 2024
d9846dc
Hide pinned messages when grouped in timeline when feature pinning is…
florianduros Aug 14, 2024
6361567
[create-pull-request] automated change (#12891)
RiotRobot Aug 15, 2024
7a91e3e
[create-pull-request] automated change (#12894)
RiotRobot Aug 16, 2024
88cf643
Tweak UIA postMessage check to work cross-origin (#12878)
t3chguy Aug 16, 2024
6f3dc30
Message Pinning: rework the message pinning list in the right panel (…
florianduros Aug 16, 2024
3f386a6
[create-pull-request] automated change (#12898)
RiotRobot Aug 17, 2024
9f5b39b
Ensure elements on Login page are disabled when in-flight (#12895)
t3chguy Aug 17, 2024
c37cb9f
[create-pull-request] automated change (#12899)
RiotRobot Aug 19, 2024
fe8c073
[create-pull-request] automated change (#12901)
RiotRobot Aug 20, 2024
64d6174
Upgrade dependency to [email protected]
RiotRobot Aug 20, 2024
20df553
v3.107.0
RiotRobot Aug 20, 2024
f0e90ad
Merge branch 'master' into develop
RiotRobot Aug 20, 2024
4961e23
Reset matrix-js-sdk back to develop branch
RiotRobot Aug 20, 2024
2a11fd5
Upgrade dependency to [email protected]
RiotRobot Aug 20, 2024
c01ad91
Rename prettier config file to .cjs
dbkr Aug 20, 2024
cd4f301
Call the commjs version of the switch script
dbkr Aug 21, 2024
aee2ca2
Upgrade dependency to [email protected]
RiotRobot Aug 21, 2024
193ae62
Merge pull request #12904 from matrix-org/dbkr/prettierrc_cjs_staging
dbkr Aug 21, 2024
750ee1a
v3.108.0-rc.0
RiotRobot Aug 21, 2024
2be2763
Upgrade dependency to [email protected]
RiotRobot Aug 27, 2024
e843fd4
v3.108.0
RiotRobot Aug 27, 2024
6cc5a1f
Merge tag 'v3.108.0' into upgrade-v3.108.0
MarcWadai Sep 10, 2024
7f1435a
fix(conflict): merge conflict on roomheader and onboardingcontext
MarcWadai Sep 10, 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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ module.exports = {
"!matrix-js-sdk/src/models/read-receipt",
"!matrix-js-sdk/src/models/relations-container",
"!matrix-js-sdk/src/models/related-relations",
"!matrix-js-sdk/src/matrixrtc",
],
message: "Please use matrix-js-sdk/src/matrix instead",
},
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 @@ -9,14 +9,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Update matrixdotorg/synapse image
- name: Update synapse image
run: |
docker pull "$IMAGE"
INSPECT=$(docker inspect --format='{{index .RepoDigests 0}}' "$IMAGE")
DIGEST=${INSPECT#*@}
sed -i "s/const DOCKER_TAG.*/const DOCKER_TAG = \"develop@$DIGEST\";/" playwright/plugins/homeserver/synapse/index.ts
env:
IMAGE: matrixdotorg/synapse:develop
IMAGE: ghcr.io/element-hq/synapse:develop

- name: Create Pull Request
id: cpr
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Switch js-sdk to release mode
working-directory: node_modules/matrix-js-sdk
run: |
scripts/switch_package_to_release.js
scripts/switch_package_to_release.cjs
yarn install
yarn run build:compile
yarn run build:types
Expand Down
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged --concurrent false
5 changes: 5 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"*": "prettier --write",
"*.(ts|tsx|js|jsx)": ["eslint --fix"],
"*.pcss": ["stylelint"]
}
File renamed without changes.
67 changes: 67 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,70 @@
Changes in [3.108.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.108.0) (2024-08-27)
=======================================================================================================
## ✨ Features

* Message Pinning: rework the message pinning list in the right panel ([#12825](https://github.com/matrix-org/matrix-react-sdk/pull/12825)). Contributed by @florianduros.
* Tweak UIA postMessage check to work cross-origin ([#12878](https://github.com/matrix-org/matrix-react-sdk/pull/12878)). Contributed by @t3chguy.
* Delayed events (Futures) / MSC4140 for call widget ([#12714](https://github.com/matrix-org/matrix-react-sdk/pull/12714)). Contributed by @AndrewFerr.
* Stop the ongoing ring if another device joins the call session. ([#12866](https://github.com/matrix-org/matrix-react-sdk/pull/12866)). Contributed by @toger5.
* Rich text Editor: Auto-replace plain text emoticons with emoji ([#12828](https://github.com/matrix-org/matrix-react-sdk/pull/12828)). Contributed by @langleyd.
* Clean up editor drafts for unknown rooms ([#12850](https://github.com/matrix-org/matrix-react-sdk/pull/12850)). Contributed by @langleyd.
* Rename general user settings to account ([#12841](https://github.com/matrix-org/matrix-react-sdk/pull/12841)). Contributed by @dbkr.
* Update settings tab icons ([#12867](https://github.com/matrix-org/matrix-react-sdk/pull/12867)). Contributed by @dbkr.
* Disable jump to read receipt button instead of hiding when nothing to jump to ([#12863](https://github.com/matrix-org/matrix-react-sdk/pull/12863)). Contributed by @t3chguy.

## 🐛 Bug Fixes

* Ensure elements on Login page are disabled when in-flight ([#12895](https://github.com/matrix-org/matrix-react-sdk/pull/12895)). Contributed by @t3chguy.
* Hide pinned messages when grouped in timeline when feature pinning is disabled ([#12888](https://github.com/matrix-org/matrix-react-sdk/pull/12888)). Contributed by @florianduros.
* Add chat button on new room header for maximised widgets ([#12882](https://github.com/matrix-org/matrix-react-sdk/pull/12882)). Contributed by @t3chguy.
* Show spinner whilst initial search request is in progress ([#12883](https://github.com/matrix-org/matrix-react-sdk/pull/12883)). Contributed by @t3chguy.
* Fix user menu font ([#12879](https://github.com/matrix-org/matrix-react-sdk/pull/12879)). Contributed by @florianduros.
* Allow selecting text in the right panel topic ([#12870](https://github.com/matrix-org/matrix-react-sdk/pull/12870)). Contributed by @t3chguy.
* Add missing presence indicator to new room header ([#12865](https://github.com/matrix-org/matrix-react-sdk/pull/12865)). Contributed by @t3chguy.


Changes in [3.107.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.107.0) (2024-08-20)
=======================================================================================================
* No changes


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

* Invite dialog: display MXID on its own line ([#11756](https://github.com/matrix-org/matrix-react-sdk/pull/11756)). Contributed by @AndrewFerr.
* Align RoomSummaryCard styles with Figma ([#12793](https://github.com/matrix-org/matrix-react-sdk/pull/12793)). Contributed by @t3chguy.
* Extract Extensions into their own right panel tab ([#12844](https://github.com/matrix-org/matrix-react-sdk/pull/12844)). Contributed by @t3chguy.
* Remove topic from new room header and expand right panel topic ([#12842](https://github.com/matrix-org/matrix-react-sdk/pull/12842)). Contributed by @t3chguy.
* Rework how the onboarding notifications task works ([#12839](https://github.com/matrix-org/matrix-react-sdk/pull/12839)). Contributed by @t3chguy.
* Update toast styles to match Figma ([#12833](https://github.com/matrix-org/matrix-react-sdk/pull/12833)). Contributed by @t3chguy.
* Warn users on unsupported browsers before they lack features ([#12830](https://github.com/matrix-org/matrix-react-sdk/pull/12830)). Contributed by @t3chguy.
* Add sign out button to settings profile section ([#12666](https://github.com/matrix-org/matrix-react-sdk/pull/12666)). Contributed by @dbkr.
* Remove MatrixRTC realted import ES lint exceptions using a index.ts for matrixrtc ([#12780](https://github.com/matrix-org/matrix-react-sdk/pull/12780)). Contributed by @toger5.
* Fix unwanted ringing of other devices even though the user is already connected to the call. ([#12742](https://github.com/matrix-org/matrix-react-sdk/pull/12742)). Contributed by @toger5.
* Acknowledge `DeviceMute` widget actions ([#12790](https://github.com/matrix-org/matrix-react-sdk/pull/12790)). Contributed by @toger5.

## 🐛 Bug Fixes

* Fix formatting of rich text emotes ([#12862](https://github.com/matrix-org/matrix-react-sdk/pull/12862)). Contributed by @dbkr.
* Fixed custom emotes background color #27745 ([#12798](https://github.com/matrix-org/matrix-react-sdk/pull/12798)). Contributed by @asimdelvi.
* Ignore permalink\_prefix when serializing pills ([#11726](https://github.com/matrix-org/matrix-react-sdk/pull/11726)). Contributed by @herkulessi.
* Deflake the chat export test ([#12854](https://github.com/matrix-org/matrix-react-sdk/pull/12854)). Contributed by @dbkr.
* Fix alignment of RTL messages ([#12837](https://github.com/matrix-org/matrix-react-sdk/pull/12837)). Contributed by @dbkr.
* Handle media download errors better ([#12848](https://github.com/matrix-org/matrix-react-sdk/pull/12848)). Contributed by @t3chguy.
* Make micIcon display on primary ([#11908](https://github.com/matrix-org/matrix-react-sdk/pull/11908)). Contributed by @kdanielm.
* Fix compound typography font component issues ([#12826](https://github.com/matrix-org/matrix-react-sdk/pull/12826)). Contributed by @t3chguy.
* Allow Chrome page translator to translate messages in rooms ([#11113](https://github.com/matrix-org/matrix-react-sdk/pull/11113)). Contributed by @lukaszpolowczyk.


Changes in [3.105.1](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.105.1) (2024-08-06)
=======================================================================================================
Fixes for CVE-2024-42347 / GHSA-f83w-wqhc-cfp4

Changes in [3.105.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.105.0) (2024-08-06)
=======================================================================================================
Fixes for CVE-2024-42347 / GHSA-f83w-wqhc-cfp4

Changes in [3.104.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.104.0) (2024-07-30)
=======================================================================================================
## ✨ Features
Expand Down
4 changes: 2 additions & 2 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ module.exports = {
"last 2 Safari versions",
"last 2 Edge versions",
],
include: ["@babel/plugin-transform-class-properties"],
},
],
"@babel/preset-typescript",
["@babel/preset-typescript", { allowDeclareFields: true }],
"@babel/preset-react",
],
plugins: [
"@babel/plugin-proposal-export-default-from",
"@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 docs/playwright.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ need to have Docker installed and working in order to run the Playwright tests.
There are a few different ways to run the tests yourself. The simplest is to run:

```shell
docker pull matrixdotorg/synapse:develop
docker pull ghcr.io/element-hq/synapse:develop
yarn run test:playwright
```

Expand Down
28 changes: 17 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "matrix-react-sdk",
"version": "0.0.0",
"version-matrix": "3.104.0",
"version-matrix": "3.108.0",
"description": "SDK for matrix.org using React for Tchap",
"author": "DINUM",
"repository": {
Expand Down Expand Up @@ -70,32 +70,36 @@
"oidc-client-ts": "3.0.1",
"jwt-decode": "4.0.0",
"@floating-ui/react": "0.26.11",
"@radix-ui/react-id": "1.1.0"
"@radix-ui/react-id": "1.1.0",
"caniuse-lite": "1.0.30001643",
"electron-to-chromium": "1.5.2"
},
"dependencies": {
"@babel/runtime": "^7.12.5",
"@matrix-org/analytics-events": "^0.24.0",
"@matrix-org/emojibase-bindings": "^1.1.2",
"@matrix-org/matrix-wysiwyg": "2.37.4",
"@matrix-org/matrix-wysiwyg": "2.37.8",
"@matrix-org/olm": "3.2.15",
"@matrix-org/react-sdk-module-api": "^2.4.0",
"@matrix-org/spec": "^1.7.0",
"@sentry/browser": "^8.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@vector-im/compound-design-tokens": "^1.6.1",
"@vector-im/compound-web": "^5.4.0",
"@vector-im/compound-design-tokens": "^1.8.0",
"@vector-im/compound-web": "^5.5.0",
"@zxcvbn-ts/core": "^3.0.4",
"@zxcvbn-ts/language-common": "^3.0.4",
"@zxcvbn-ts/language-en": "^3.0.2",
"await-lock": "^2.1.0",
"bloom-filters": "^3.0.1",
"blurhash": "^2.0.3",
"browserslist": "^4.23.2",
"classnames": "^2.2.6",
"commonmark": "^0.31.0",
"counterpart": "^0.18.6",
"css-tree": "^2.3.1",
"diff-dom": "^5.0.0",
"diff-match-patch": "^1.0.5",
"electron-to-chromium": "^1.5.2",
"emojibase-regex": "15.3.2",
"escape-html": "^1.0.3",
"file-saver": "^2.0.5",
Expand All @@ -116,15 +120,15 @@
"maplibre-gl": "^2.0.0",
"matrix-encrypt-attachment": "^1.0.3",
"matrix-events-sdk": "0.0.1",
"matrix-js-sdk": "34.2.0",
"matrix-widget-api": "^1.5.0",
"matrix-js-sdk": "34.4.0",
"matrix-widget-api": "^1.8.2",
"memoize-one": "^6.0.0",
"minimist": "^1.2.5",
"oidc-client-ts": "^3.0.1",
"opus-recorder": "^8.0.3",
"pako": "^2.0.3",
"png-chunks-extract": "^1.0.0",
"posthog-js": "1.145.0",
"posthog-js": "1.149.1",
"qrcode": "1.5.3",
"re-resizable": "^6.9.0",
"react": "17.0.2",
Expand Down Expand Up @@ -199,7 +203,7 @@
"@typescript-eslint/parser": "^7.0.0",
"axe-core": "4.9.1",
"babel-jest": "^29.0.0",
"blob-polyfill": "^7.0.0",
"blob-polyfill": "^9.0.0",
"eslint": "8.57.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^9.0.0",
Expand All @@ -216,26 +220,28 @@
"fetch-mock-jest": "^1.5.1",
"fs-extra": "^11.0.0",
"glob": "^11.0.0",
"husky": "^8.0.3",
"jest": "^29.6.2",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.6.2",
"jest-mock": "^29.6.2",
"jest-raw-loader": "^1.0.1",
"jsqr": "^1.4.0",
"lint-staged": "^15.0.2",
"mailhog": "^4.16.0",
"matrix-web-i18n": "^3.2.1",
"mocha-junit-reporter": "^2.2.0",
"node-fetch": "2",
"playwright-core": "^1.45.1",
"postcss-scss": "^4.0.4",
"prettier": "3.3.2",
"prettier": "3.3.3",
"raw-loader": "^4.0.2",
"rimraf": "^6.0.0",
"stylelint": "^16.1.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-scss": "^6.0.0",
"ts-node": "^10.9.1",
"typescript": "5.5.3",
"typescript": "5.5.4",
"web-streams-polyfill": "^4.0.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default defineConfig({
},
testDir: "playwright/e2e",
outputDir: "playwright/test-results",
workers: process.env.CI ? "50%" : 1,
workers: 1,
retries: process.env.CI ? 2 : 0,
reporter: process.env.CI ? [["blob"], ["github"]] : [["html", { outputFolder: "playwright/html-report" }]],
snapshotDir: "playwright/snapshots",
Expand Down
2 changes: 1 addition & 1 deletion playwright/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/playwright:v1.45.1-jammy
FROM mcr.microsoft.com/playwright:v1.45.3-jammy

WORKDIR /work/matrix-react-sdk
VOLUME ["/work/element-web/node_modules"]
Expand Down
8 changes: 4 additions & 4 deletions playwright/e2e/app-loading/feature-detection.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ test(`shows error page if browser lacks Intl support`, async ({ page }) => {
await page.goto("/");

// Lack of Intl support causes the app bundle to fail to load, so we get the iframed
// static error page and need to explicitly look in the iframe becuse Playwright doesn't
// static error page and need to explicitly look in the iframe because Playwright doesn't
// recurse into iframes when looking for elements
const header = await page.frameLocator("iframe").getByText("Unsupported browser");
const header = page.frameLocator("iframe").getByText("Unsupported browser");
await expect(header).toBeVisible();

await expect(page).toMatchScreenshot("unsupported-browser.png");
Expand All @@ -34,8 +34,8 @@ test(`shows error page if browser lacks WebAssembly support`, async ({ page }) =
await page.goto("/");

// Lack of WebAssembly support doesn't cause the bundle to fail loading, so we get
// CompatibilityView, ie. no iframes.
const header = await page.getByText("Unsupported browser");
// CompatibilityView, i.e. no iframes.
const header = page.getByText("Element does not support this browser");
await expect(header).toBeVisible();

await expect(page).toMatchScreenshot("unsupported-browser-CompatibilityView.png");
Expand Down
5 changes: 4 additions & 1 deletion playwright/e2e/chat-export/html-export.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ test.describe("HTML Export", () => {
});

test("should export html successfully and match screenshot", async ({ page, app, room }) => {
// Set a fixed time rather than masking off the line with the time in it: we don't need to worry
// about the width changing and we can actually test this line looks correct.
page.clock.setSystemTime(new Date("2024-01-01T00:00:00Z"));

// Send a bunch of messages to populate the room
for (let i = 1; i < 10; i++) {
await app.client.sendMessage(room.roomId, { body: `Testing ${i}`, msgtype: "m.text" });
Expand All @@ -123,7 +127,6 @@ test.describe("HTML Export", () => {
await page.goto(`file://${dirPath}/${Object.keys(zip.files)[0]}/messages.html`);
await expect(page).toMatchScreenshot("html-export.png", {
mask: [
page.getByText("This is the start of export", { exact: false }),
// We need to mask the whole thing because the width of the time part changes
page.locator(".mx_TimelineSeparator"),
page.locator(".mx_MessageTimestamp"),
Expand Down
1 change: 0 additions & 1 deletion playwright/e2e/create-room/create-room.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,5 @@ test.describe("Create Room", () => {
await expect(page).toHaveURL(/\/#\/room\/#test-room-1:localhost/);
const header = page.locator(".mx_RoomHeader");
await expect(header).toContainText(name);
await expect(header).toContainText(topic);
});
});
2 changes: 1 addition & 1 deletion playwright/e2e/file-upload/image-upload.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ test.describe("Image Upload", () => {

await expect(page.getByRole("button", { name: "Upload" })).toBeEnabled();
await expect(page.getByRole("button", { name: "Close dialog" })).toBeEnabled();
await expect(page).toMatchScreenshot("image-upload-preview.png");
await expect(page.locator(".mx_Dialog")).toMatchScreenshot("image-upload-preview.png");
});
});
6 changes: 2 additions & 4 deletions playwright/e2e/integration-manager/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ import type { ElementAppPage } from "../../pages/ElementAppPage";
export async function openIntegrationManager(app: ElementAppPage) {
const { page } = app;
await app.toggleRoomInfoPanel();
await page
.locator(".mx_RoomSummaryCard_appsGroup")
.getByRole("button", { name: "Add widgets, bridges & bots" })
.click();
await page.getByRole("tab", { name: "Extensions" }).click();
await page.getByRole("button", { name: "Add extensions" }).click();
}
Loading
Loading