Commit Graph

1244 Commits

Author SHA1 Message Date
Robin
a6696c2304 Return to latest livekit-client version (2.11.3)
This latest release of livekit-client fixes the regression observed in https://github.com/element-hq/element-call/issues/3219.
2025-04-23 11:59:13 +02:00
Timo
78a41c09de Fix MatrixRTC js-sdk logs in rageshakes (#3226) 2025-04-22 21:24:09 +02:00
Robin
e751248fee Revert livekit-client to 2.10.0
Closes https://github.com/element-hq/element-call/issues/3219.
2025-04-22 16:31:44 +02:00
Timo
e63aff3e9b Bump js-sdk to develop branch (#3205) 2025-04-15 10:05:00 +02:00
renovate[bot]
58e542e15d Update dependency vite to v6.2.6 [SECURITY] 2025-04-11 15:06:47 +00:00
Timo
770b94eb44 Add RoomAndToDeviceKeyTransport and enable as default. (#3185) 2025-04-11 17:05:57 +02:00
renovate[bot]
9c9d38cd95 Update dependency livekit-client to v2.11.2 2025-04-11 11:47:19 +00:00
Timo
3c0d81844f Add option to enable to-device-encryption (#3167)
* enable to-device-encryption

* add logging for key provider

* make rooms encrypted

* add dev setting to choose to-device or room encryption

* add indicator when to-device is used.
2025-04-11 10:07:50 +02:00
renovate[bot]
e166f36ab5 Update dependency livekit-client to v2.11.1 2025-04-10 19:10:55 +00:00
renovate[bot]
7977101578 Update dependency livekit-client to v2.11.0 2025-04-10 14:09:33 +00:00
fkwp
23b1a5fff5 cleanup yarn.lock 2025-04-08 16:39:09 +02:00
fkwp
95fed3fc2d bump to 2.10.0 2025-04-08 09:52:48 +02:00
renovate[bot]
6398fd2783 Update dependency livekit-client to v2.9.9 2025-04-08 07:15:13 +00:00
renovate[bot]
e5358e8609 Update dependency vite to v6.2.5 [SECURITY] (#3169)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-04 23:26:09 +02:00
renovate[bot]
622d91d7cc Update dependency vite to v6.2.4 [SECURITY] (#3151)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-02 11:12:25 +02:00
Robin
f99eb3c88f Merge branch 'livekit' into robin/berry 2025-03-27 14:07:24 -04:00
renovate[bot]
3ce9d71983 Update dependency vite to v6.2.3 [SECURITY] (#3125)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-25 15:53:30 +01:00
Hugh Nimmo-Smith
9bf046b714 Merge branch 'livekit' into robin/berry 2025-03-21 17:14:10 +00:00
Robin
213f234e94 Downgrade to livekit-client v2.9.1
livekit-client v2.9.2 regresses switching between the front/back cameras.
2025-03-18 11:36:08 -04:00
Robin
cb14b727ba Merge branch 'livekit' into robin/berry 2025-03-14 11:59:21 -04:00
Robin
95b37ea341 Upgrade to Yarn Berry 2025-03-14 03:23:37 -04:00
Valere
687dafab3e First integration tests with playwright 2025-03-13 20:04:26 +01:00
Timo
46e7e8e9cd Fix: js-sdk version that uses expected value for isJoined (isJoined will now be false before we left as expected by EC) (#3092) 2025-03-13 19:09:18 +01:00
Hugh Nimmo-Smith
7aac56aac0 Vite embedded build of Element Call (#3077)
* Embedded package build of Element Call

Part of https://github.com/element-hq/element-call/issues/2994

This creates a new "embedded" build (vs "full" build) at the vite level. It will be used by a later PR that actually provides platform specific packages.

Embedded build:

- Uses relative URLs
- Uses relative config.json path and other resource loading
- Has a config.json built in
- Doesn't include the public folder (e.g. favicon)

Out of scope:

- this doesn't attempt to exclude SPA functionality, so technically the build could be used in SPA
- the above means that the crypto-wasm binary is included in the build

* CI artifact name based on type of build

* Update src/config/Config.ts
2025-03-12 17:00:44 +00:00
Robin
3cf0ce3dcb Pin matrix-js-sdk to a specific commit
Whenever we use a Git dependency, we should reference a specific tag or commit rather than a branch name, because Yarn Classic is bad at recognizing when a Git dependency needs to be re-installed due to it resolving to a new version. (It seems to simply use the version from package.json as a cache key.)

This is relevant only for developers who run 'yarn install' on top of a previously up-to-date working copy, not for CI which re-installs the project on every run.
2025-03-11 16:25:03 -04:00
Timo
93ae2aed98 New Membership Manager js-sdk develop (#3067)
* fix experimentalDecorators like we do in the js-sdk

* bump-js-sdk

* update to develop branch of js-sdk (new membership manager)
2025-03-11 19:48:02 +01:00
Timo
750db09156 Use the New MatrixRTCSession MembershipManager (#3015)
* provide option to use the New MembershipManager

* fix cryptoApi import change

* add error screen

* bump js-sdk

* rename to `setUnrecoverableError` and remove onLeave call because that will be handled by an effect.

* this was doing nothing (it is a fragment back when there was no deprecated `rtcSession.room`)

* rename to error

* Update src/utils/errors.ts

Co-authored-by: Hugh Nimmo-Smith <hughns@users.noreply.github.com>

* Update src/utils/errors.ts

Co-authored-by: Hugh Nimmo-Smith <hughns@users.noreply.github.com>

* review

* bump js-sdk

* expose lk log level changing in `window`

* bump js-sdk
 - always log "Missing own membership: force re-join"
 - also check insertions queue

* change lk log level to warn

* Bump js-sdk

* Bump js-sdk

* .

* Bump js-sdk

* show user count based on meberships not users.

Signed-off-by: Timo K <toger5@hotmail.de>

* bump js-sdk

* rename setting name

* remove unused import

* js sdk bump

* remove `window.setLKLogLevel`

* bump js sdk with reverted incompatible change

* bump js-sdk with one less merge

---------

Signed-off-by: Timo K <toger5@hotmail.de>
Co-authored-by: Hugh Nimmo-Smith <hughns@users.noreply.github.com>
Co-authored-by: Hugh Nimmo-Smith <hughns@element.io>
2025-03-07 16:27:04 +00:00
Robin
36203c2017 Work around LiveKit's overly constrained dependencies
We need compatible versions of RxJS in our dependencies and LiveKit's dependencies, but LiveKit has pinned it to a very specific version which is now holding us back from updating. See https://github.com/livekit/components-js/issues/1101 for a request for a proper solution.
2025-03-04 00:13:00 -05:00
renovate[bot]
518f1f7bee Update all non-major dependencies 2025-03-03 15:55:00 +00:00
renovate[bot]
4ebbb3382a Update dependency livekit-client to v2.9.5 2025-02-28 10:56:09 +00:00
renovate[bot]
ad461a7643 Update dependency livekit-client to v2.9.3 2025-02-24 02:54:51 +00:00
Timo
4015efa6c6 fix lk usage in test 2025-02-20 06:33:01 +03:00
renovate[bot]
f111c64264 Update dependency livekit-client to v2.9.1 2025-02-18 15:52:41 +00:00
Hugh Nimmo-Smith
0128f2f258 Don't produce compressed assets at build time and instead do it as part of the nginx build (#2995)
The core vite build shouldn't be responsible for implementing optimisations that are specific to a particular distribution mechanism. e.g. static compressed files for nginx.

This way the core build is "clean".

Instead, the packager/distributor of the build should be responsible for it. e.g. the nginx docker distribution should do any optimisations that it chooses.
2025-02-06 15:16:55 +01:00
renovate[bot]
f49355a51f Update LiveKit components (#2962)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-05 16:14:04 +00:00
renovate[bot]
c3ad7844fb Update dependency vitest to v3.0.5 [SECURITY] (#2986)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-05 16:07:33 +00:00
Timo
e25e6caa89 Resolve version clash in matrix-widget-api dependency (#2988)
* Downgrade widget api version to v1.11.0 to not include STATE_UPDATE api version

* Downgrade to v1.10.0 for js-sdk compatibility

* Add "matrix-widget-api" to resolutions block

* bump matrix-widget-api to v1.11.0 for theme change compatibility
2025-02-05 10:11:13 +00:00
Timo
bff2b73c85 Bump matrix-js-sdk to v36.1.0 (#2967)
Co-authored-by: Hugh Nimmo-Smith <hughns@element.io>
2025-02-03 12:28:12 +00:00
renovate[bot]
26ce899548 Update dependency @stylistic/eslint-plugin to v3 (#2968)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-28 09:46:36 +01:00
renovate[bot]
06d4206524 Update dependency livekit-client to v2.8.1 (#2970)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-28 09:45:25 +01:00
renovate[bot]
a16391c342 Update all non-major dependencies (#2969)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 13:55:46 +01:00
renovate[bot]
5f78f544b7 Update all non-major dependencies (#2961)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-23 09:25:49 +01:00
renovate[bot]
d862466bb0 Update dependency vite to v6.0.9 [SECURITY] (#2964)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 17:58:32 +00:00
Robin
74d4556878 Merge pull request #2954 from element-hq/renovate/major-vitest-monorepo
Update vitest monorepo to v3 (major)
2025-01-16 15:49:34 -05:00
Robin
e68593ec47 Upgrade to vitest 3.0.1 2025-01-16 15:47:53 -05:00
Robin
e79a32ac63 Merge pull request #2950 from element-hq/renovate/sentry-vite-plugin-3.x
Update dependency @sentry/vite-plugin to v3
2025-01-16 15:34:45 -05:00
renovate[bot]
a1eb5a9770 Update vitest monorepo to v3 2025-01-16 15:31:49 +00:00
Hugh Nimmo-Smith
723fa290ff Bump matrix-js-sdk to latest (#2946)
Co-authored-by: Timo <toger5@hotmail.de>
2025-01-16 10:31:05 -05:00
renovate[bot]
d2e5514928 Update dependency @sentry/vite-plugin to v3 2025-01-15 10:37:27 +00:00
renovate[bot]
c8b30dd8a7 Update dependency eslint-config-prettier to v10 (#2944)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-13 15:52:11 +01:00