werift breaking changes
Updated December 4, 2026
On this page
Latest version 0.29.3, released December 2, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
werift 0.29.2 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 - 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 - 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 - 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 - Signature changed
RTCPeerConnection.getConfiguration
Was getConfiguration(): {codecs: {audio: RTCRtpCodecParameters[] | undefined; video: RTCRtpCodecParameters[] | undefined;}; headerExtensions: {audio: import("./media").RTCRtpHeaderExtensionParameters[] | undefined; video... npmjs.com - 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 - Signature changed
RTCRtpSenderOptions
Was type RTCRtpSenderOptions = {bandwidthEstimator?: BandwidthEstimator; pendingRtp?: boolean | PendingRtpOptions;}; now type RTCRtpSenderOptions = {bandwidthEstimator?: BandwidthEstimator; pendingRtp?: boolean | PendingRtpOptions... npmjs.com
werift 0.29.1 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 - Signature changed
RedHandler.push
Was push(red: Red, base: RtpPacket): RtpPacket[]; now push(red: Red, base: RtpPacket, accepts?: (payloadType: number) => boolean): RtpPacket[]. npmjs.com
werift 0.29.0 breaking changes
- Removed
RTCDtlsTransport.config.debug
RTCDtlsTransport.config.debug was removed in werift 0.29.0 npmjs.com - Behavior changed
The SCTP initiator follows the DTLS role instead of the ICE role, so mismatched role setups can behave differently. github.com - 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 - Behavior changed
getStats
Code reading the remote certificate from stats outside the connected state will get nothing. github.com - Behavior changed
MediaStream.getTrackById
Code that checks for undefined must check for null. github.com - Behavior changed
MediaStreamTrack.stop
An exception thrown by an ended listener is logged instead of being thrown from MediaStreamTrack.stop(). github.com - 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 - 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 - Behavior changed
RTCSessionDescription
The polyfill global is now the same class as the core one instead of a separate polyfill class. github.com - Behavior changed
setConfiguration
Options not passed in the new dtls object keep their previous values. github.com
And 65 more in this version. Sign up to see every change
werift 0.28.0 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 - Behavior changed
RTCIceTransport.getSelectedCandidatePair
Code that reads the selected pair right after connecting must handle null until ICE nominates a pair. github.com - 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 - Behavior changed
SessionDescription.parse
SessionDescription.parse() and setRemoteDescription() now reject a malformed a=rtcp attribute instead of storing NaN. github.com - 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 - 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 - 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 - Signature changed
Connection.turnServers
Was turnServers: Required<TurnServerOptions>[]; now turnServers: NormalizedTurnServer[]. npmjs.com - Signature changed
DtlsSocket.close
Was close(): void; now close(options?: {notify?: boolean; timeoutMs?: number;}): Promise<void>. npmjs.com - 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
And 34 more in this version. Sign up to see every change
werift 0.27.0 breaking changes
- Removed
CandidatePairState.FAILED
CandidatePairState.FAILED was removed in werift 0.27.0 npmjs.com - Removed
CandidatePairState.FROZEN
CandidatePairState.FROZEN was removed in werift 0.27.0 npmjs.com - Removed
CandidatePairState.IN_PROGRESS
CandidatePairState.IN_PROGRESS was removed in werift 0.27.0 npmjs.com - Removed
CandidatePairState.SUCCEEDED
CandidatePairState.SUCCEEDED was removed in werift 0.27.0 npmjs.com - Removed
CandidatePairState.WAITING
CandidatePairState.WAITING was removed in werift 0.27.0 npmjs.com - Removed
classes.ERROR
classes.ERROR was removed in werift 0.27.0 npmjs.com - Removed
classes.INDICATION
classes.INDICATION was removed in werift 0.27.0 npmjs.com - Removed
classes.REQUEST
classes.REQUEST was removed in werift 0.27.0 npmjs.com - Removed
classes.RESPONSE
classes.RESPONSE was removed in werift 0.27.0 npmjs.com - Removed
methods.ALLOCATE
methods.ALLOCATE was removed in werift 0.27.0 npmjs.com
And 77 more in this version. Sign up to see every change
werift 0.26.0 breaking changes
- Removed
SDPManager.negotiatedBundleTag
SDPManager.negotiatedBundleTag was removed in werift 0.26.0 npmjs.com - Removed
TransceiverManager.beginRemoteOffer
TransceiverManager.beginRemoteOffer was removed in werift 0.26.0 npmjs.com - Removed
TransceiverManager.rollbackRemoteOffer
TransceiverManager.rollbackRemoteOffer was removed in werift 0.26.0 npmjs.com - Renamed
TransceiverManager.resyncAnswerCodecs
Use TransceiverManager.commitAnswerCodecs instead. npmjs.com - 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 - 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 - 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 - 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 - 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 - 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
And 75 more in this version. Sign up to see every change
Older versions
3 older versions, each with its first changes. Sign up to see every change
Show 3 older versions
werift 0.25.2 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 - Behavior changed
G.711, G.722 and Opus packets no longer all carry the marker; call startTalkspurt() to re-arm it. github.com
And 16 more in this version.
werift 0.25.1 breaking changes
- 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
werift 0.25.0 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 - 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
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, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.