laravel-echo breaking changes
laravel-echo 2.0.0 (February 11, 2025) is its newest release with breaking changes, 21 of them. The first: Signature changed Channel.error. Every breaking API change we have recorded in laravel-echo on npm: 21 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.6.3, released October 27, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
laravel-echo 2.0.0 breaking changes
- Signature changed
Channel.error
Was abstract error(callback: Function): this; now abstract error(callback: CallableFunction): this. npmjs.com - Signature changed
Channel.listen
Was abstract listen(event: string, callback: Function): this; now abstract listen(event: string, callback: CallableFunction): this. npmjs.com - Signature changed
Channel.listenForWhisper
Was listenForWhisper(event: string, callback: Function): this; now listenForWhisper(event: string, callback: CallableFunction): this. npmjs.com - Signature changed
Channel.notification
Was notification(callback: Function): this; now notification(callback: CallableFunction): this. npmjs.com - Signature changed
Channel.options
Was options: any; now options: EchoOptionsWithDefaults<BroadcastDriver>. npmjs.com - Signature changed
Channel.stopListening
Was abstract stopListening(event: string, callback?: Function): this; now abstract stopListening(event: string, callback?: CallableFunction): this. npmjs.com - Signature changed
Channel.stopListeningForWhisper
Was stopListeningForWhisper(event: string, callback?: Function): this; now stopListeningForWhisper(event: string, callback?: CallableFunction): this. npmjs.com - Signature changed
Channel.subscribed
Was abstract subscribed(callback: Function): this; now abstract subscribed(callback: CallableFunction): this. npmjs.com - Signature changed
Connector
Was abstract class Connector<TPublic extends Channel, TPrivate extends Channel, TPresence extends PresenceChannel>; now abstract class Connector<TBroadcastDriver extends BroadcastDriver, TPublic extends Channel, TPrivate extends Channel... npmjs.com - Signature changed
Connector.constructor
Was constructor(options: any); now constructor(options: EchoOptions<TBroadcastDriver>). npmjs.com - Signature changed
Connector.options
Was options: any; now options: EchoOptionsWithDefaults<TBroadcastDriver>. npmjs.com - Signature changed
Connector.setOptions
Was protected setOptions(options: any): any; now protected setOptions(options: EchoOptions<TBroadcastDriver>): void. npmjs.com - Signature changed
Connector.socketId
Was abstract socketId(): string; now abstract socketId(): string | undefined. npmjs.com - Signature changed
default.connector
Was connector: Broadcaster[T]['connector']; now connector: Broadcaster[Exclude<T, 'function'>]['connector']. npmjs.com - Signature changed
default.listen
Was listen(channel: string, event: string, callback: Function): Broadcaster[T]['public']; now listen(channel: string, event: string, callback: CallableFunction): Broadcaster[T]['public']. npmjs.com - Signature changed
default.socketId
Was socketId(): string; now socketId(): string | undefined. npmjs.com - Signature changed
EventFormatter.constructor
Was constructor(namespace: string | boolean); now constructor(namespace: string | boolean | undefined). npmjs.com - Signature changed
PresenceChannel.here
Was here(callback: Function): this; now here(callback: CallableFunction): this. npmjs.com - Signature changed
PresenceChannel.joining
Was joining(callback: Function): this; now joining(callback: CallableFunction): this. npmjs.com - Signature changed
PresenceChannel.leaving
Was leaving(callback: Function): this; now leaving(callback: CallableFunction): this. npmjs.com - Signature changed
PresenceChannel.whisper
Was whisper(eventName: string, data: any): this; now whisper(eventName: string, data: Record<any, any>): this. npmjs.com
Related packages
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.