---
title: "werift 0.29.2 Breaking Changes on npm | Since.dev"
description: "What each werift release removed, renamed or changed: 350 breaking changes in 9 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/werift
last_updated: 2026-12-04
---

# werift breaking changes

werift 0.29.2 (December 1, 2026) is its newest release with breaking changes, 7 of them. The first: DTLS 1.2 handshakes now verify the peer's signatures and Finished messages in werift 0.29.2. Every breaking API change we have recorded in werift on npm: 350 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.29.3`, released December 2, 2026. [Source repository](https://github.com/shinyoshiaki/werift-webrtc)

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

- From [0.25.0](#v-0-25-0) to [0.29.2](#v-0-29-2): 319 breaking changes in 8 versions.

## werift 0.29.2 breaking changes

werift 0.29.2, released December 1, 2026: 7 breaking changes.

- **Behavior changed**  

A DTLS 1.2 peer whose signatures or Finished messages fail the new checks no longer connects. Peers that relied on the SDP fingerprint alone may need their handshake fixed. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.29.2)
- **Signature changed** `DtlsSocket.onHandleHandshakes`  

Was onHandleHandshakes: (assembled: FragmentedHandshake\[\], peer?: Address, meta?: DatagramRxMeta) => Promise\<void>; now onHandleHandshakes: (assembled: FragmentedHandshake\[\], peer?: Address, meta?: DatagramRxMeta, recordSequence?: number)... [npmjs.com](https://www.npmjs.com/package/werift/v/0.29.2)
- **Signature changed** `DtlsSocket.sendPlaintextAlert`  

Was protected sendPlaintextAlert(description: number, dest?: Address): Promise\<void>; now protected sendPlaintextAlert(description: number, dest?: Address, echoRecordSequence?: number): Promise\<void>. [npmjs.com](https://www.npmjs.com/package/werift/v/0.29.2)
- **Signature changed** `PeerConfig.dtls`  

Was dtls: Partial<{keys: DtlsKeys; protocolVersions: readonly DtlsVersion\[\]; helloRetryRequest?: boolean;}>; now dtls: Partial<{keys: DtlsKeys; protocolVersions: readonly DtlsVersion\[\]; helloRetryRequest?: boolean; maxEarlyAppDataRecords?... [npmjs.com](https://www.npmjs.com/package/werift/v/0.29.2)
- **Signature changed** `RTCPeerConnection.getConfiguration`  

Was getConfiguration(): {codecs: {audio: RTCRtpCodecParameters\[\] | undefined; video: RTCRtpCodecParameters\[\] | undefined;}; headerExtensions: {audio: import("./media").RTCRtpHeaderExtensionParameters\[\] | undefined; video... [npmjs.com](https://www.npmjs.com/package/werift/v/0.29.2)
- **Signature changed** `RTCPeerConnectionConfig.dtls`  

Was dtls: Partial<{keys: DtlsKeys; protocolVersions: readonly DtlsVersion\[\]; helloRetryRequest?: boolean;}>; now dtls: Partial<{keys: DtlsKeys; protocolVersions: readonly DtlsVersion\[\]; helloRetryRequest?: boolean; maxEarlyAppDataRecords?... [npmjs.com](https://www.npmjs.com/package/werift/v/0.29.2)
- **Signature changed** `RTCRtpSenderOptions`  

Was type RTCRtpSenderOptions = {bandwidthEstimator?: BandwidthEstimator; pendingRtp?: boolean | PendingRtpOptions;}; now type RTCRtpSenderOptions = {bandwidthEstimator?: BandwidthEstimator; pendingRtp?: boolean | PendingRtpOptions... [npmjs.com](https://www.npmjs.com/package/werift/v/0.29.2)

## werift 0.29.1 breaking changes

werift 0.29.1, released November 29, 2026: 2 breaking changes.

- **Behavior changed** `addTrack`  

addTrack() now skips a trackless transceiver that has negotiated a sending direction and creates a new one, which adds an m-line. To send on such a slot, call transceiver.sender.replaceTrack(track) instead. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.29.1)
- **Signature changed** `RedHandler.push`  

Was push(red: Red, base: RtpPacket): RtpPacket\[\]; now push(red: Red, base: RtpPacket, accepts?: (payloadType: number) => boolean): RtpPacket\[\]. [npmjs.com](https://www.npmjs.com/package/werift/v/0.29.1)

## werift 0.29.0 breaking changes

werift 0.29.0, released November 27, 2026: 75 breaking changes.

- **Removed** `RTCDtlsTransport.config.debug`  

RTCDtlsTransport.config.debug was removed in werift 0.29.0 [npmjs.com](https://www.npmjs.com/package/werift/v/0.29.0)
- **Behavior changed**  

The SCTP initiator follows the DTLS role instead of the ICE role, so mismatched role setups can behave differently. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.29.0)
- **Behavior changed** `compatibility`  

Connections created with compatibility standard deliver binary messages as ArrayBuffer instead of Buffer. Set dataChannelBinaryType to nodebuffer to keep Buffers, or use channel.onMessage. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.29.0)
- **Behavior changed** `getStats`  

Code reading the remote certificate from stats outside the connected state will get nothing. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.29.0)
- **Behavior changed** `MediaStream.getTrackById`  

Code that checks for undefined must check for null. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.29.0)
- **Behavior changed** `MediaStreamTrack.stop`  

An exception thrown by an ended listener is logged instead of being thrown from MediaStreamTrack.stop(). [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.29.0)
- **Behavior changed** `pc.createDataChannel`  

Without negotiated true, the id option is ignored and the stream ID comes from the DTLS role. For a fixed stream ID, pass negotiated true with the id. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.29.0)
- **Behavior changed** `RTCDataChannel.bufferedAmount`  

Unsent messages discarded on close stay in bufferedAmount, and bufferedamountlow never fires once the channel is closed. Wait for the close event instead of bufferedAmount reaching zero. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.29.0)
- **Behavior changed** `RTCSessionDescription`  

The polyfill global is now the same class as the core one instead of a separate polyfill class. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.29.0)
- **Behavior changed** `setConfiguration`  

Options not passed in the new dtls object keep their previous values. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.29.0)

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

## werift 0.28.0 breaking changes

werift 0.28.0, released November 19, 2026: 44 breaking changes.

- **Behavior changed** `interfaceAddresses`  

Setting the family to 0.0.0.0 or :: no longer advertises the wildcard address; it advertises the enumerated interface addresses. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.28.0)
- **Behavior changed** `RTCIceTransport.getSelectedCandidatePair`  

Code that reads the selected pair right after connecting must handle null until ICE nominates a pair. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.28.0)
- **Behavior changed** `RTCPeerConnection.close`  

connectionState, DTLS transports and the SCTP transport now read closed immediately when close() is called, before the SCTP ABORT is sent. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.28.0)
- **Behavior changed** `SessionDescription.parse`  

SessionDescription.parse() and setRemoteDescription() now reject a malformed a=rtcp attribute instead of storing NaN. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.28.0)
- **Behavior changed** `transceiver.codecs`  

transceiver.codecs keeps the negotiated codecs until an answer commits new ones, rather than being emptied by setCodecPreferences() or addTrack(). [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.28.0)
- **Default changed** `PeerConfig.iceNomination`  

A controlling agent now nominates semi-aggressively and the controlled side follows later nominations. Set PeerConfig.iceNomination to "regular" to keep RFC 8445 regular nomination. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.28.0)
- **Signature changed** `AttributeKeys`  

Was const AttributeKeys: readonly \["FINGERPRINT", "MESSAGE-INTEGRITY", "MESSAGE-INTEGRITY-SHA256", "CHANGE-REQUEST", "PRIORITY", "USERNAME", "USERHASH", "ICE-CONTROLLING", "SOURCE-ADDRESS", "USE-CANDIDATE", "ICE-CONTROLLED", "ERROR-CODE"... [npmjs.com](https://www.npmjs.com/package/werift/v/0.28.0)
- **Signature changed** `Connection.turnServers`  

Was turnServers: Required\<TurnServerOptions>\[\]; now turnServers: NormalizedTurnServer\[\]. [npmjs.com](https://www.npmjs.com/package/werift/v/0.28.0)
- **Signature changed** `DtlsSocket.close`  

Was close(): void; now close(options?: {notify?: boolean; timeoutMs?: number;}): Promise\<void>. [npmjs.com](https://www.npmjs.com/package/werift/v/0.28.0)
- **Signature changed** `findPort`  

Was function findPort(min: number, max: number, protocol?: SocketType, interfaceAddresses?: InterfaceAddresses): Promise\<number>; now function findPort(min: number, max: number, protocol?: SocketType, interfaceAddresses?... [npmjs.com](https://www.npmjs.com/package/werift/v/0.28.0)

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

## werift 0.27.0 breaking changes

werift 0.27.0, released November 10, 2026: 87 breaking changes.

- **Removed** `CandidatePairState.FAILED`  

CandidatePairState.FAILED was removed in werift 0.27.0 [npmjs.com](https://www.npmjs.com/package/werift/v/0.27.0)
- **Removed** `CandidatePairState.FROZEN`  

CandidatePairState.FROZEN was removed in werift 0.27.0 [npmjs.com](https://www.npmjs.com/package/werift/v/0.27.0)
- **Removed** `CandidatePairState.IN_PROGRESS`  

CandidatePairState.IN_PROGRESS was removed in werift 0.27.0 [npmjs.com](https://www.npmjs.com/package/werift/v/0.27.0)
- **Removed** `CandidatePairState.SUCCEEDED`  

CandidatePairState.SUCCEEDED was removed in werift 0.27.0 [npmjs.com](https://www.npmjs.com/package/werift/v/0.27.0)
- **Removed** `CandidatePairState.WAITING`  

CandidatePairState.WAITING was removed in werift 0.27.0 [npmjs.com](https://www.npmjs.com/package/werift/v/0.27.0)
- **Removed** `classes.ERROR`  

classes.ERROR was removed in werift 0.27.0 [npmjs.com](https://www.npmjs.com/package/werift/v/0.27.0)
- **Removed** `classes.INDICATION`  

classes.INDICATION was removed in werift 0.27.0 [npmjs.com](https://www.npmjs.com/package/werift/v/0.27.0)
- **Removed** `classes.REQUEST`  

classes.REQUEST was removed in werift 0.27.0 [npmjs.com](https://www.npmjs.com/package/werift/v/0.27.0)
- **Removed** `classes.RESPONSE`  

classes.RESPONSE was removed in werift 0.27.0 [npmjs.com](https://www.npmjs.com/package/werift/v/0.27.0)
- **Removed** `methods.ALLOCATE`  

methods.ALLOCATE was removed in werift 0.27.0 [npmjs.com](https://www.npmjs.com/package/werift/v/0.27.0)

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

## werift 0.26.0 breaking changes

werift 0.26.0, released November 1, 2026: 85 breaking changes.

- **Removed** `SDPManager.negotiatedBundleTag`  

SDPManager.negotiatedBundleTag was removed in werift 0.26.0 [npmjs.com](https://www.npmjs.com/package/werift/v/0.26.0)
- **Removed** `TransceiverManager.beginRemoteOffer`  

TransceiverManager.beginRemoteOffer was removed in werift 0.26.0 [npmjs.com](https://www.npmjs.com/package/werift/v/0.26.0)
- **Removed** `TransceiverManager.rollbackRemoteOffer`  

TransceiverManager.rollbackRemoteOffer was removed in werift 0.26.0 [npmjs.com](https://www.npmjs.com/package/werift/v/0.26.0)
- **Renamed** `TransceiverManager.resyncAnswerCodecs`  

Use TransceiverManager.commitAnswerCodecs instead. [npmjs.com](https://www.npmjs.com/package/werift/v/0.26.0)
- **Behavior changed**  

Enable or disable werift logs with debug.enable() or debug.disable() from werift, or set DEBUG=werift\* before startup. Several debug options and methods are no longer implemented. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.26.0)
- **Behavior changed** `addIceCandidate`  

Malformed candidates now fail with OperationError instead of being passed to the ICE agent. Check candidate strings before calling it. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.26.0)
- **Behavior changed** `iceInterfaceAddresses`  

The configured address is now advertised as the host candidate, and a failed bind is reported as an error rather than silently replaced by another address. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.26.0)
- **Behavior changed** `ntpTime2Sec`  

Returned times change by up to about one second. Code relying on the previous values for A/V sync may need adjustment. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.26.0)
- **Behavior changed** `RtpRouter.routeRtcp`  

A PLI is no longer delivered by matching its sender SSRC. Unregistered media SSRCs are handled by keyFrameRequestRouting instead. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.26.0)
- **Behavior changed** `SCTP.send`  

The promise no longer waits for the whole outbound queue to drain. Code that assumed it resolved after the full queue flushed should be reviewed. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.26.0)

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

## Older versions

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

### werift 0.25.2 breaking changes

werift 0.25.2, released October 24, 2026: 18 breaking changes.

- **Removed** `BasePacketizer`  

The webrtc-local VP8, VP9, AV1, H.264 and Opus packetizers and BasePacketizer were removed in favor of packages/rtp. [github.com](https://github.com/shinyoshiaki/werift-webrtc/blob/v0.25.2/changelog.md)
- **Behavior changed**  

G.711, G.722 and Opus packets no longer all carry the marker; call startTalkspurt() to re-arm it. [github.com](https://github.com/shinyoshiaki/werift-webrtc/blob/v0.25.2/changelog.md)

And 16 more in this version.

### werift 0.25.1 breaking changes

werift 0.25.1, released October 17, 2026: 1 breaking change.

- **Signature changed** `DtlsSocket.extractSessionKeys`  

Was extractSessionKeys(keyLength: number, saltLength: number): {localKey: any; localSalt: any; remoteKey: any; remoteSalt: any;}; now extractSessionKeys(keyLength: number, saltLength: number): {localKey: Buffer\<ArrayBufferLike>; localSalt... [npmjs.com](https://www.npmjs.com/package/werift/v/0.25.1)

### werift 0.25.0 breaking changes

werift 0.25.0, released October 7, 2026: 31 breaking changes.

- **Removed** `adoptSenderTrackCodec`  

Polyfill fixed-codec tracks no longer expand PeerConnection codec capability implicitly, and the adoptSenderTrackCodec helper is gone. Code that calls it must be changed. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.25.0)
- **Removed** `getUserMedia`  

The path, buffer and stream options of getUserMedia were removed from werift/nonstandard. File playback must go through werift/polyfill with installPolyfill and a mediaRegister. [github.com](https://github.com/shinyoshiaki/werift-webrtc/releases/tag/v0.25.0)

And 29 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.
