---
title: "laravel-echo 2.0.0 Breaking Changes on npm | Since.dev"
description: "What each laravel-echo release removed, renamed or changed: 21 breaking changes in 1 version on npm, each with its source."
canonical_url: https://since.dev/packages/npm/laravel-echo
last_updated: 2026-12-04
---

# 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

Latest version `2.6.3`, released October 27, 2026. [Source repository](https://github.com/laravel/echo)

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

## laravel-echo 2.0.0 breaking changes

laravel-echo 2.0.0, released February 11, 2025: 21 breaking changes.

- **Signature changed** `Channel.error`  

Was abstract error(callback: Function): this; now abstract error(callback: CallableFunction): this. [npmjs.com](https://www.npmjs.com/package/laravel-echo/v/2.0.0)
- **Signature changed** `Channel.listen`  

Was abstract listen(event: string, callback: Function): this; now abstract listen(event: string, callback: CallableFunction): this. [npmjs.com](https://www.npmjs.com/package/laravel-echo/v/2.0.0)
- **Signature changed** `Channel.listenForWhisper`  

Was listenForWhisper(event: string, callback: Function): this; now listenForWhisper(event: string, callback: CallableFunction): this. [npmjs.com](https://www.npmjs.com/package/laravel-echo/v/2.0.0)
- **Signature changed** `Channel.notification`  

Was notification(callback: Function): this; now notification(callback: CallableFunction): this. [npmjs.com](https://www.npmjs.com/package/laravel-echo/v/2.0.0)
- **Signature changed** `Channel.options`  

Was options: any; now options: EchoOptionsWithDefaults\<BroadcastDriver>. [npmjs.com](https://www.npmjs.com/package/laravel-echo/v/2.0.0)
- **Signature changed** `Channel.stopListening`  

Was abstract stopListening(event: string, callback?: Function): this; now abstract stopListening(event: string, callback?: CallableFunction): this. [npmjs.com](https://www.npmjs.com/package/laravel-echo/v/2.0.0)
- **Signature changed** `Channel.stopListeningForWhisper`  

Was stopListeningForWhisper(event: string, callback?: Function): this; now stopListeningForWhisper(event: string, callback?: CallableFunction): this. [npmjs.com](https://www.npmjs.com/package/laravel-echo/v/2.0.0)
- **Signature changed** `Channel.subscribed`  

Was abstract subscribed(callback: Function): this; now abstract subscribed(callback: CallableFunction): this. [npmjs.com](https://www.npmjs.com/package/laravel-echo/v/2.0.0)
- **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](https://www.npmjs.com/package/laravel-echo/v/2.0.0)
- **Signature changed** `Connector.constructor`  

Was constructor(options: any); now constructor(options: EchoOptions\<TBroadcastDriver>). [npmjs.com](https://www.npmjs.com/package/laravel-echo/v/2.0.0)
- **Signature changed** `Connector.options`  

Was options: any; now options: EchoOptionsWithDefaults\<TBroadcastDriver>. [npmjs.com](https://www.npmjs.com/package/laravel-echo/v/2.0.0)
- **Signature changed** `Connector.setOptions`  

Was protected setOptions(options: any): any; now protected setOptions(options: EchoOptions\<TBroadcastDriver>): void. [npmjs.com](https://www.npmjs.com/package/laravel-echo/v/2.0.0)
- **Signature changed** `Connector.socketId`  

Was abstract socketId(): string; now abstract socketId(): string | undefined. [npmjs.com](https://www.npmjs.com/package/laravel-echo/v/2.0.0)
- **Signature changed** `default.connector`  

Was connector: Broadcaster\[T\]\['connector'\]; now connector: Broadcaster\[Exclude\<T, 'function'>\]\['connector'\]. [npmjs.com](https://www.npmjs.com/package/laravel-echo/v/2.0.0)
- **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](https://www.npmjs.com/package/laravel-echo/v/2.0.0)
- **Signature changed** `default.socketId`  

Was socketId(): string; now socketId(): string | undefined. [npmjs.com](https://www.npmjs.com/package/laravel-echo/v/2.0.0)
- **Signature changed** `EventFormatter.constructor`  

Was constructor(namespace: string | boolean); now constructor(namespace: string | boolean | undefined). [npmjs.com](https://www.npmjs.com/package/laravel-echo/v/2.0.0)
- **Signature changed** `PresenceChannel.here`  

Was here(callback: Function): this; now here(callback: CallableFunction): this. [npmjs.com](https://www.npmjs.com/package/laravel-echo/v/2.0.0)
- **Signature changed** `PresenceChannel.joining`  

Was joining(callback: Function): this; now joining(callback: CallableFunction): this. [npmjs.com](https://www.npmjs.com/package/laravel-echo/v/2.0.0)
- **Signature changed** `PresenceChannel.leaving`  

Was leaving(callback: Function): this; now leaving(callback: CallableFunction): this. [npmjs.com](https://www.npmjs.com/package/laravel-echo/v/2.0.0)
- **Signature changed** `PresenceChannel.whisper`  

Was whisper(eventName: string, data: any): this; now whisper(eventName: string, data: Record\<any, any>): this. [npmjs.com](https://www.npmjs.com/package/laravel-echo/v/2.0.0)

## Related packages

- [laravel-vite-plugin](https://since.dev/packages/npm/laravel-vite-plugin.md)

## 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.
