Skip to content

build(deps): bump matrix-js-sdk from 24.1.0 to 41.6.0#677

Open
dependabot[bot] wants to merge 3 commits into
developfrom
dependabot-npm_and_yarn-matrix-js-sdk-41.4.0
Open

build(deps): bump matrix-js-sdk from 24.1.0 to 41.6.0#677
dependabot[bot] wants to merge 3 commits into
developfrom
dependabot-npm_and_yarn-matrix-js-sdk-41.4.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 5, 2026

Bumps matrix-js-sdk from 24.1.0 to 41.6.0.

Release notes

Sourced from matrix-js-sdk's releases.

v41.6.0

🐛 Bug Fixes

  • Throw sane error on completeLoginOnNewDevice IdP rejection (#5321). Contributed by @​t3chguy.

v41.6.0-rc.0

🐛 Bug Fixes

  • Throw sane error on completeLoginOnNewDevice IdP rejection (#5321). Contributed by @​t3chguy.

v41.5.0

✨ Features

v41.5.0-rc.0

✨ Features

v41.4.0

✨ Features

  • Handle secret pushing for key backups (#5189). Contributed by @​uhoreg.
  • Add support for m.recent_emoji account data event (#5280). Contributed by @​t3chguy.
  • Adapt LiveKit Identity hash calculation to latest MSC4195 update (#5268). Contributed by @​fkwp.
  • Support the stable prefix for MSC4287 (key backup preference) (#5258). Contributed by @​andybalaam.
  • Handle response_mode=fragment in completeAuthorizationCodeGrant (#5266). Contributed by @​t3chguy.
  • Allow generating OIDC URIs with response_mode=fragment (#5265). Contributed by @​t3chguy.
  • Expose UserVerificationStatus.known flag (#5255). Contributed by @​richvdh.

🐛 Bug Fixes

v41.4.0-rc.0

✨ Features

  • Handle secret pushing for key backups (#5189). Contributed by @​uhoreg.
  • Add support for m.recent_emoji account data event (#5280). Contributed by @​t3chguy.

... (truncated)

Changelog

Sourced from matrix-js-sdk's changelog.

Changes in 41.6.0 (2026-05-26)

🐛 Bug Fixes

  • Throw sane error on completeLoginOnNewDevice IdP rejection (#5321). Contributed by @​t3chguy.

Changes in 41.5.0 (2026-05-12)

✨ Features

Changes in 41.4.0 (2026-04-28)

✨ Features

  • Handle secret pushing for key backups (#5189). Contributed by @​uhoreg.
  • Add support for m.recent_emoji account data event (#5280). Contributed by @​t3chguy.
  • Adapt LiveKit Identity hash calculation to latest MSC4195 update (#5268). Contributed by @​fkwp.
  • Support the stable prefix for MSC4287 (key backup preference) (#5258). Contributed by @​andybalaam.
  • Handle response_mode=fragment in completeAuthorizationCodeGrant (#5266). Contributed by @​t3chguy.
  • Allow generating OIDC URIs with response_mode=fragment (#5265). Contributed by @​t3chguy.
  • Expose UserVerificationStatus.known flag (#5255). Contributed by @​richvdh.

🐛 Bug Fixes

Changes in 41.3.0 (2026-04-07)

🐛 Bug Fixes

  • Rotate the current room key when we see a member leave (#5231). Contributed by @​kaylendog.

Changes in 41.2.0 (2026-03-24)

✨ Features

  • Only share history if room history visibility is shared (#5216). Contributed by @​kaylendog.
  • History sharing: resume key-bundle import on restart (#5214). Contributed by @​richvdh.
  • Move CryptoApi.shareRoomHistoryWithUser to CryptoBackend (#5218). Contributed by @​richvdh.

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for matrix-js-sdk since your current version.

Install script changes

This version adds prepare script that runs during installation. Review the package contents before updating.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 5, 2026
@github-actions github-actions Bot enabled auto-merge May 5, 2026 02:38
@dependabot dependabot Bot force-pushed the dependabot-npm_and_yarn-matrix-js-sdk-41.4.0 branch 2 times, most recently from f63f717 to 99b03f1 Compare May 5, 2026 02:49
@dependabot dependabot Bot changed the title build(deps): bump matrix-js-sdk from 24.1.0 to 41.4.0 build(deps): bump matrix-js-sdk from 24.1.0 to 41.5.0 May 23, 2026
@dependabot dependabot Bot force-pushed the dependabot-npm_and_yarn-matrix-js-sdk-41.4.0 branch from 99b03f1 to 78126b3 Compare May 23, 2026 13:44
Bumps [matrix-js-sdk](https://github.com/matrix-org/matrix-js-sdk) from 24.1.0 to 41.6.0.
- [Release notes](https://github.com/matrix-org/matrix-js-sdk/releases)
- [Changelog](https://github.com/matrix-org/matrix-js-sdk/blob/develop/CHANGELOG.md)
- [Commits](matrix-org/matrix-js-sdk@v24.1.0...v41.6.0)

---
updated-dependencies:
- dependency-name: matrix-js-sdk
  dependency-version: 41.4.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title build(deps): bump matrix-js-sdk from 24.1.0 to 41.5.0 build(deps): bump matrix-js-sdk from 24.1.0 to 41.6.0 May 27, 2026
@dependabot dependabot Bot force-pushed the dependabot-npm_and_yarn-matrix-js-sdk-41.4.0 branch from 78126b3 to e6a98a6 Compare May 27, 2026 22:15
@yoganandaness
Copy link
Copy Markdown
Contributor

@copilot make sure all the checks passes. Analyse the failed checks and fix them

auto-merge was automatically disabled May 29, 2026 08:37

Head branch was pushed to by a user without write access

Copy link
Copy Markdown
Contributor

Copilot AI commented May 29, 2026

@copilot make sure all the checks passes. Analyse the failed checks and fix them

Fixed the failed checks in commit 61e849b. I analyzed the failed CI jobs, updated SynapseService to handle matrix-js-sdk ESM loading, adjusted the related unit test mocking, and added ES2021 lib support for AggregateError. Local npm run lint, npm test, and npm run build all pass now.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades matrix-js-sdk from 24.1.0 to 41.6.0 and adapts the Synapse service to load the SDK dynamically for ESM compatibility.

Changes:

  • Adds a loadMatrixSdk() dynamic import wrapper.
  • Refactors SynapseService to await the asynchronously loaded Matrix client.
  • Updates tests and dependency lockfile entries for the new SDK version.

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
package.json Bumps matrix-js-sdk to 41.6.0.
package-lock.json Updates resolved dependency graph for the SDK upgrade.
tsconfig.json Adds es2021 library support.
src/services/synapse/matrixSdk.ts Introduces dynamic SDK loading helper.
src/services/synapse/SynapseService.ts Switches Matrix SDK usage to async dynamic loading and type-only imports.
src/services/synapse/SynapseService.spec.ts Updates tests to mock the new SDK loader.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@yoganandaness yoganandaness disabled auto-merge May 29, 2026 10:07
@yoganandaness
Copy link
Copy Markdown
Contributor

@Junjiequan Requesting your review.

@yoganandaness yoganandaness requested a review from Junjiequan May 29, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants