---
title: "matrix-js-sdk 45.2.0 Breaking Changes on npm | Since.dev"
description: "What each matrix-js-sdk release removed, renamed or changed: 170 breaking changes in 25 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/matrix-js-sdk
last_updated: 2026-12-04
---

# matrix-js-sdk breaking changes

matrix-js-sdk 45.2.0 (November 24, 2026) is its newest release with breaking changes, 3 of them. The first: Signature changed EventTimelineSet.insertEventIntoTimeline. Every breaking API change we have recorded in matrix-js-sdk on npm: 170 breaking changes in 25 versions. Below, its 25 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `45.2.0`, released November 24, 2026. [Source repository](https://github.com/matrix-org/matrix-js-sdk)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [44.0.0](#v-44-0-0) to [45.2.0](#v-45-2-0): 23 breaking changes in 3 versions.
- From [39.0.0](#v-39-0-0) to [45.2.0](#v-45-2-0): 161 breaking changes in 24 versions.

## matrix-js-sdk 45.2.0 breaking changes

matrix-js-sdk 45.2.0, released November 24, 2026: 3 breaking changes.

- **Signature changed** `EventTimelineSet.insertEventIntoTimeline`  

Was insertEventIntoTimeline(event: MatrixEvent, timeline: EventTimeline, roomState: RoomState, addToState: boolean): void; now insertEventIntoTimeline(event: MatrixEvent, timeline: EventTimeline, roomState: RoomState, addToState: boolean... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/45.2.0)
- **Signature changed** `IPublicRoomsChunkRoom.join_rule`  

Was join_rule?: JoinRule.Knock | JoinRule.Public; now join_rule?: JoinRule.Knock | JoinRule.KnockRestricted | JoinRule.Public. [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/45.2.0)
- **Signature changed** `Thread.insertEventIntoTimeline`  

Was insertEventIntoTimeline(event: MatrixEvent): void; now insertEventIntoTimeline(event: MatrixEvent, liveEvent?: boolean): void. [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/45.2.0)

## matrix-js-sdk 45.1.0 breaking changes

matrix-js-sdk 45.1.0, released November 11, 2026: 4 breaking changes.

- **Behavior changed**  

Key material for MatrixRTC encryption is now 32 bytes. Code that depends on the previous key length or format may need to be updated. [github.com](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v45.1.0)
- **Behavior changed**  

Sticky durations that are zero or negative are now rejected. Code that passes such values must be changed to pass a positive number. [github.com](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v45.1.0)
- **Signature changed** `MatrixClient._unstable_sendDelayedStateEvent`  

Was \_unstable_sendDelayedStateEvent\<K extends keyof StateEvents>(roomId: string, delayMsOrOpts: number | SendDelayedEventRequestOpts, eventType: K, content: StateEvents\[K\], stateKey?: string, opts?: IRequestOpts)... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/45.1.0)
- **Signature changed** `StickyMatrixEvent`  

Was type StickyMatrixEvent = MatrixEvent & {unstableStickyExpiresAt: number;}; now type StickyMatrixEvent = MatrixEvent & {unstableStickyExpiresAt: number; unstableStickyIntendedExpiresAt: number;}. [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/45.1.0)

## matrix-js-sdk 45.0.0 breaking changes

matrix-js-sdk 45.0.0, released October 27, 2026: 16 breaking changes.

- **Removed**  

Parent delay IDs were removed; code that relies on them must stop using them. [github.com](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v45.0.0)
- **Signature changed**  

Request types for the LiveKit endpoints changed to use member_id, so code building these requests must be updated. [github.com](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v45.0.0)
- **Signature changed** `MatrixClient._unstable_sendDelayedEvent`  

Was \_unstable_sendDelayedEvent\<K extends keyof TimelineEvents>(roomId: string, delayOpts: SendDelayedEventRequestOpts, threadId: string | null, eventType: K, content: TimelineEvents\[K\], txnId?: string): Promise\<SendDelayedEventResponse>... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/45.0.0)
- **Signature changed** `MatrixClient._unstable_sendDelayedStateEvent`  

Was \_unstable_sendDelayedStateEvent\<K extends keyof StateEvents>(roomId: string, delayOpts: SendDelayedEventRequestOpts, eventType: K, content: StateEvents\[K\], stateKey?: string, opts?: IRequestOpts): Promise\<SendDelayedEventResponse>; now... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/45.0.0)
- **Signature changed** `MatrixClient._unstable_sendStickyDelayedEvent`  

Was \_unstable_sendStickyDelayedEvent\<K extends keyof TimelineEvents>(roomId: string, stickDuration: number, delayOpts: SendDelayedEventRequestOpts, threadId: string | null, eventType: K, content: TimelineEvents\[K\] & {msc4354_sticky_key?... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/45.0.0)
- **Signature changed** `MatrixClient.encryptAndSendEvent`  

Was protected encryptAndSendEvent(room: Room | null, event: MatrixEvent, delayOpts: SendDelayedEventRequestOpts, queryDict?: QueryDict): Promise\<ISendEventResponse>; now protected encryptAndSendEvent(room: Room | null, event: MatrixEvent... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/45.0.0)
- **Signature changed** `MatrixClient.sendCompleteEvent`  

Was protected sendCompleteEvent(params: {roomId: string; threadId: string | null; eventObject: Partial\<IEvent>; delayOpts: SendDelayedEventRequestOpts; queryDict?: QueryDict; txnId?: string;}): Promise\<SendDelayedEventResponse> protected... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/45.0.0)
- **Signature changed** `MatrixRTCSession.slotId`  

The type of MatrixRTCSession.slotId is stricter, which may break typed code that assigns looser values. [github.com](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v45.0.0)
- **Signature changed** `OAuth2.constructor`  

Was constructor(metadata: ValidatedAuthMetadata, context: Context, logger?: Logger); now constructor(metadata: ValidatedAuthMetadata, context: Context, logger?: Logger, httpOptions?: OAuth2HttpOptions). [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/45.0.0)
- **Signature changed** `OAuth2.performRefreshTokenGrant`  

Was performRefreshTokenGrant(refreshToken: string): Promise\<BearerTokenResponse>; now performRefreshTokenGrant(refreshToken: string, opts?: OAuth2RequestOptions): Promise\<BearerTokenResponse>. [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/45.0.0)

And 6 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## matrix-js-sdk 44.0.0 breaking changes

matrix-js-sdk 44.0.0, released October 13, 2026: 5 breaking changes.

- **Removed**  

The separate LiveKit transports and transport configs distinction is removed, so code relying on it will break. [github.com](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v44.0.0)
- **Removed**  

Selecting an RTC transport by the "oldest membership" method is no longer supported. [github.com](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v44.0.0)
- **Removed**  

The deprecated MatrixRTC APIs are removed in this release, so code that still calls them will break. [github.com](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v44.0.0)
- **Signature changed** `EventTimelineSet.addEventToTimeline`  

Was addEventToTimeline(event: MatrixEvent, timeline: EventTimeline, {toStartOfTimeline, fromCache, roomState, timelineWasEmpty, addToState}: IAddEventToTimelineOptions): void; now addEventToTimeline(event: MatrixEvent, timeline... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/44.0.0)
- **Signature changed** `EventTimelineSet.canContain`  

Was canContain(event: MatrixEvent): boolean; now canContain(event: MatrixEvent, batch?: MatrixEvent\[\]): boolean. [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/44.0.0)

## matrix-js-sdk 43.0.0 breaking changes

matrix-js-sdk 43.0.0, released September 29, 2026: 12 breaking changes.

- **Removed** `ICreateClientOpts.tokenRefreshFunction`  

ICreateClientOpts.tokenRefreshFunction was removed in matrix-js-sdk 43.0.0 [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/43.0.0)
- **Removed** `IHttpOpts.tokenRefreshFunction`  

IHttpOpts.tokenRefreshFunction was removed in matrix-js-sdk 43.0.0 [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/43.0.0)
- **Removed** `TokenRefresher`  

TokenRefresher was removed in matrix-js-sdk 43.0.0 [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/43.0.0)
- **Removed** `TokenRefreshFunction`  

TokenRefreshFunction was removed in matrix-js-sdk 43.0.0 [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/43.0.0)
- **Behavior changed**  

The release lists a breaking change that brings OAuth token refresh into the js-sdk, but the notes do not say which calls change or what users must do. [github.com](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v43.0.0)
- **Signature changed** `MatrixClient.sendRtcDecline`  

Was sendRtcDecline(roomId: string, notificationEventId: string): Promise\<ISendEventResponse>; now sendRtcDecline(roomId: string, notificationEventId: string, stickyDurationMs?: number): Promise\<ISendEventResponse>. [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/43.0.0)
- **Signature changed** `OAuth2.completeAuthorizationCodeGrant`  

Was completeAuthorizationCodeGrant(code: string): Promise\<BearerTokenResponse>; now completeAuthorizationCodeGrant(code: string, redirectUri: string): Promise\<BearerTokenResponse>. [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/43.0.0)
- **Signature changed** `OAuth2.generateAuthorizationCodeGrantUrl`  

Was generateAuthorizationCodeGrantUrl(state: string, responseMode?: "fragment" | "query", prompt?: string, scope?: string): Promise\<string>; now generateAuthorizationCodeGrantUrl(state: string, redirectUri: string, responseMode?... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/43.0.0)
- **Signature changed** `RoomSummary`  

Was interface RoomSummary extends Omit\<IPublicRoomsChunkRoom, "canonical_alias" | "aliases">; now interface RoomSummary extends Omit\<IPublicRoomsChunkRoom, "canonical_alias" | "aliases" | "join_rule">. [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/43.0.0)
- **Signature changed** `RoomSummary.join_rule`  

Was join_rule?: JoinRule.Knock | JoinRule.Public; now "join_rule"?: JoinRule. [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/43.0.0)

And 2 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## matrix-js-sdk 42.4.0 breaking changes

matrix-js-sdk 42.4.0, released September 15, 2026: 6 breaking changes.

- **Signature changed** `MatrixClient.initRustCrypto`  

Was initRustCrypto(args?: {useIndexedDB?: boolean; cryptoDatabasePrefix?: string; storageKey?: Uint8Array; storagePassword?: string; caCertsPem?: string;}): Promise\<void>; now initRustCrypto(args?: {useIndexedDB?: boolean... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/42.4.0)
- **Signature changed** `MatrixClient.members`  

Was members(roomId: string, includeMembership?: string, excludeMembership?: string, atEventId?: string): Promise<{\[userId: string\]: IStateEventWithRoomId\[\];}>; now members(roomId: string, includeMembership?: string, excludeMembership?... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/42.4.0)
- **Signature changed** `OAuth2.constructor`  

Was constructor(metadata: ValidatedAuthMetadata, context: Context); now constructor(metadata: ValidatedAuthMetadata, context: Context, logger?: Logger). [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/42.4.0)
- **Signature changed** `OAuth2.registerClient`  

Was static registerClient(authMetadata: ValidatedAuthMetadata, clientMetadata: OAuthRegistrationRequest): Promise\<string>; now static registerClient(authMetadata: ValidatedAuthMetadata, clientMetadata: OAuthRegistrationRequest, logger?... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/42.4.0)
- **Signature changed** `startDeviceAuthorization`  

Was const startDeviceAuthorization: ({clientId, scope, metadata}: {clientId: string; scope: string; metadata: ValidatedAuthMetadata;}) => Promise\<DeviceAuthorizationResponse>; now const startDeviceAuthorization: ({clientId, scope... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/42.4.0)
- **Signature changed** `waitForDeviceAuthorization`  

Was const waitForDeviceAuthorization: ({session, metadata, clientId}: {session: DeviceAuthorizationResponse; metadata: ValidatedAuthMetadata; clientId: string;}) => Promise\<DeviceAccessTokenResponse | DeviceAccessTokenError>; now const... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/42.4.0)

## Older versions

19 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### matrix-js-sdk 42.3.0 breaking changes

matrix-js-sdk 42.3.0, released September 1, 2026: 1 breaking change.

- **Signature changed** `DeviceAccessTokenError`  

Was interface DeviceAccessTokenError; now interface DeviceAccessTokenError extends OAuth2ErrorResponse. [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/42.3.0)

### matrix-js-sdk 42.2.0 breaking changes

matrix-js-sdk 42.2.0, released August 18, 2026: 2 breaking changes.

- **Signature changed** `ClientEventHandlerMap`  

Was type ClientEventHandlerMap = {\[ClientEvent.Sync\]: (state: SyncState, prevState: SyncState | null, data?: ISyncStateData) => void; \[ClientEvent.Event\]: (event: MatrixEvent) => void; \[ClientEvent.ToDeviceEvent\]: (event: MatrixEvent) =>... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/42.2.0)
- **Signature changed** `MatrixClient.initRustCrypto`  

Was initRustCrypto(args?: {useIndexedDB?: boolean; cryptoDatabasePrefix?: string; storageKey?: Uint8Array; storagePassword?: string;}): Promise\<void>; now initRustCrypto(args?: {useIndexedDB?: boolean; cryptoDatabasePrefix?: string... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/42.2.0)

### matrix-js-sdk 42.1.0 breaking changes

matrix-js-sdk 42.1.0, released August 4, 2026: 10 breaking changes.

- **Removed**  

Support for MSC3391 and MSC3852 is removed in this release, so code relying on them will no longer work. [github.com](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v42.1.0)
- **Removed** `IMyDevice.last_seen_user_agent`  

IMyDevice.last_seen_user_agent was removed in matrix-js-sdk 42.1.0 [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/42.1.0)

And 8 more in this version.

### matrix-js-sdk 42.1.0-rc.0 breaking changes

matrix-js-sdk 42.1.0-rc.0, released August 4, 2026: 1 breaking change.

- **Removed**  

Support for MSC3391 and MSC3852 is removed in this pre-release, so code relying on them will no longer work. [github.com](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v42.1.0-rc.0)

### matrix-js-sdk 42.0.0 breaking changes

matrix-js-sdk 42.0.0, released July 21, 2026: 37 breaking changes.

- **Removed** `AuthorizationParams`  

AuthorizationParams was removed in matrix-js-sdk 42.0.0 [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/42.0.0)
- **Removed** `BearerTokenResponse.expires_at`  

BearerTokenResponse.expires_at was removed in matrix-js-sdk 42.0.0 [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/42.0.0)

And 35 more in this version.

### matrix-js-sdk 41.9.0 breaking changes

matrix-js-sdk 41.9.0, released July 7, 2026: 2 breaking changes.

- **Signature changed** `anySignal`  

Was function anySignal(signals: AbortSignal\[\]): {signal: AbortSignal; cleanup(): void;}; now function anySignal(signals: AbortSignal\[\]): {signal: AbortSignal; cleanup(this: void): void;}. [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/41.9.0)
- **Signature changed** `CrossSigningKeys`  

Was type CrossSigningKeys = Record\<CrossSigningKeyType, CrossSigningKeyInfo>; now type CrossSigningKeys = Record\<CrossSigningKey, CrossSigningKeyInfo>. [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/41.9.0)

### matrix-js-sdk 41.8.0 breaking changes

matrix-js-sdk 41.8.0, released June 23, 2026: 1 breaking change.

- **Signature changed** `ServerCapabilities`  

Was class ServerCapabilities; now class ServerCapabilities extends CapabilityPoller\<Capabilities>. [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/41.8.0)

### matrix-js-sdk 41.5.0 breaking changes

matrix-js-sdk 41.5.0, released May 12, 2026: 7 breaking changes.

- **Default changed**  

Encrypted history sharing is now on by default. Code that relied on it being off must now opt out explicitly. [github.com](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v41.5.0)
- **Signature changed** `ClientEventHandlerMap`  

Was type ClientEventHandlerMap = {\[ClientEvent.Sync\]: (state: SyncState, prevState: SyncState | null, data?: ISyncStateData) => void; \[ClientEvent.Event\]: (event: MatrixEvent) => void; \[ClientEvent.ToDeviceEvent\]: (event: MatrixEvent) =>... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/41.5.0)

And 5 more in this version.

### matrix-js-sdk 41.4.0 breaking changes

matrix-js-sdk 41.4.0, released April 28, 2026: 2 breaking changes.

- **Signature changed** `completeAuthorizationCodeGrant`  

Was const completeAuthorizationCodeGrant: (code: string, state: string) => Promise<{oidcClientSettings: {clientId: string; issuer: string;}; tokenResponse: BearerTokenResponse; homeserverUrl: string; idTokenClaims: IdTokenClaims... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/41.4.0)
- **Signature changed** `generateOidcAuthorizationUrl`  

Was const generateOidcAuthorizationUrl: ({metadata, redirectUri, clientId, homeserverUrl, identityServerUrl, nonce, prompt, urlState, loginHint}: {clientId: string; metadata: ValidatedAuthMetadata; homeserverUrl: string... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/41.4.0)

### matrix-js-sdk 41.2.0 breaking changes

matrix-js-sdk 41.2.0, released March 24, 2026: 2 breaking changes.

- **Removed** `CryptoApi.shareRoomHistoryWithUser`  

The method was moved from CryptoApi to CryptoBackend, so code calling it through CryptoApi must switch to CryptoBackend. [github.com](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v41.2.0)
- **Behavior changed**  

Room history is now shared only if the room's history visibility is set to shared, so history sharing behaves differently for other rooms. [github.com](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v41.2.0)

### matrix-js-sdk 41.1.0 breaking changes

matrix-js-sdk 41.1.0, released March 10, 2026: 1 breaking change.

- **Behavior changed** `getUrlPreview`  

getUrlPreview switches to the authenticated v1 media preview endpoint. Code that depends on the previous endpoint's behavior should be checked. [github.com](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v41.1.0)

### matrix-js-sdk 41.0.0 breaking changes

matrix-js-sdk 41.0.0, released February 24, 2026: 7 breaking changes.

- **Behavior changed**  

The release lists Matrix Spec v1.13 support under breaking changes but does not name the affected APIs, so review your usage after upgrading. [github.com](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v41.0.0)
- **Signature changed** `getHttpUriForMxc`  

Was function getHttpUriForMxc(baseUrl: string, mxc?: string, width?: number, height?: number, resizeMethod?: string, allowDirectLinks?: boolean, allowRedirects?: boolean, useAuthentication?: boolean): string; now function... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/41.0.0)

And 5 more in this version.

### matrix-js-sdk 40.2.0 breaking changes

matrix-js-sdk 40.2.0, released February 10, 2026: 10 breaking changes.

- **Removed** `ISSOFlow.delegated_oidc_compatibility`  

ISSOFlow.delegated_oidc_compatibility was removed in matrix-js-sdk 40.2.0 [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/40.2.0)
- **Behavior changed**  

The SDK no longer sends the deprecated notify event and uses m.rtc.notification instead. Code that relies on the notify event must switch to m.rtc.notification. [github.com](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v40.2.0)

And 8 more in this version.

### matrix-js-sdk 40.1.0 breaking changes

matrix-js-sdk 40.1.0, released January 27, 2026: 4 breaking changes.

- **Signature changed** `SecretStorage.AddSecretStorageKeyOpts.key`  

Was key: Uint8Array; now key: Uint8Array\<ArrayBuffer>. [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/40.1.0)
- **Signature changed** `SecretStorage.calculateKeyCheck`  

Was function calculateKeyCheck(key: Uint8Array, iv?: string): Promise\<AESEncryptedSecretStoragePayload>; now function calculateKeyCheck(key: Uint8Array\<ArrayBuffer>, iv?: string): Promise\<AESEncryptedSecretStoragePayload>. [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/40.1.0)

And 2 more in this version.

### matrix-js-sdk 40.0.0 breaking changes

matrix-js-sdk 40.0.0, released January 13, 2026: 6 breaking changes.

- **Removed** `IEventDecryptionResult.untrusted`  

IEventDecryptionResult.untrusted was removed in matrix-js-sdk 40.0.0 [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/40.0.0)
- **Behavior changed**  

MatrixRTC livekit identities are now pseudonymous. Code that relies on the previous identities should be checked and updated. [github.com](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v40.0.0)

And 4 more in this version.

### matrix-js-sdk 39.4.0 breaking changes

matrix-js-sdk 39.4.0, released December 16, 2025: 17 breaking changes.

- **Signature changed** `IContextResponse.end`  

Was end: string; now end?: string. [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/39.4.0)
- **Signature changed** `IContextResponse.event`  

Was event: IEventWithRoomId; now event?: IEventWithRoomId. [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/39.4.0)

And 15 more in this version.

### matrix-js-sdk 39.2.0 breaking changes

matrix-js-sdk 39.2.0, released November 18, 2025: 2 breaking changes.

- **Signature changed** `UnsupportedDelayedEventsEndpointError.clientEndpoint`  

Was clientEndpoint: "sendDelayedEvent" | "updateDelayedEvent" | "sendDelayedStateEvent" | "getDelayedEvents"; now clientEndpoint: "sendDelayedEvent" | "updateDelayedEvent" | "cancelScheduledDelayedEvent" | "restartScheduledDelayedEvent" |... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/39.2.0)
- **Signature changed** `UnsupportedDelayedEventsEndpointError.constructor`  

Was constructor(message: string, clientEndpoint: "sendDelayedEvent" | "updateDelayedEvent" | "sendDelayedStateEvent" | "getDelayedEvents"); now constructor(message: string, clientEndpoint: "sendDelayedEvent" | "updateDelayedEvent" |... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/39.2.0)

### matrix-js-sdk 39.1.1 breaking changes

matrix-js-sdk 39.1.1, released November 4, 2025: 3 breaking changes.

- **Removed** `DelayedEventInfo.delayed_events`  

DelayedEventInfo.delayed_events was removed in matrix-js-sdk 39.1.1 [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/39.1.1)
- **Signature changed** `DelayedEventInfo`  

Was type DelayedEventInfo = {delayed_events: (DelayedPartialEvent & SendDelayedEventResponse & SendDelayedEventRequestOpts & {running_since: number;})\[\]; next_batch?: string;}; now type DelayedEventInfo = {scheduled?... [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/39.1.1)

And 1 more in this version.

### matrix-js-sdk 39.0.0 breaking changes

matrix-js-sdk 39.0.0, released October 21, 2025: 9 breaking changes.

- **Removed** `ParentDelayId`  

ParentDelayId was removed in matrix-js-sdk 39.0.0 [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/39.0.0)
- **Removed** `SendActionDelayedEventRequestOpts`  

SendActionDelayedEventRequestOpts was removed in matrix-js-sdk 39.0.0 [npmjs.com](https://www.npmjs.com/package/matrix-js-sdk/v/39.0.0)

And 7 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
