pusher-js breaking changes
pusher-js 8.0.0 (December 22, 2022) is its newest release with breaking changes, 3 of them. The first: Cluster option is now required when creating a Pusher client in pusher-js 8.0.0. Every breaking API change we have recorded in pusher-js on npm: 18 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 8.6.0, released July 23, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 7.0.0 to 8.0.0: 3 breaking changes in 1 version.
- From 6.0.0 to 8.0.0: 9 breaking changes in 2 versions.
pusher-js 8.0.0 breaking changes
- Configuration changed
Creating a Pusher instance without a cluster setting now throws an exception. Users must pass a cluster in the options. github.com - Signature changed
default.constructor
Was constructor(app_key: string, options?: Options); now constructor(app_key: string, options: Options). npmjs.com - Signature changed
Options.cluster
Was cluster?: string; now cluster: string. npmjs.com
pusher-js 7.0.0 breaking changes
- Removed
AuthInfo
AuthInfo was removed in pusher-js 7.0.0 npmjs.com - Behavior changed
Errors thrown inside event handlers bound to encrypted channels now propagate instead of being silently caught. Code that relied on those errors being ignored may now fail. github.com - Behavior changed
pusher:subscription_error
The pusher:subscription_error event payload changed from a bare status code to an error object with a message and a status key. Code that reads the status directly must be updated. github.com - Behavior changed
pusher.connection
Error events from pusher.connection now have a different structure because websocket errors are no longer wrapped repeatedly. Code that depends on the old error structure may need changes. github.com - Signature changed
The authorizer callback no longer receives a boolean error flag as its first argument. Custom authorizers must be updated to the conventional function(err, data) form. github.com - Signature changed
AuthorizerCallback
Was type AuthorizerCallback = (error: boolean, authInfo: AuthInfo) => void; now type AuthorizerCallback = (error: Error | null, authData: AuthData) => void. npmjs.com
pusher-js 6.0.0 breaking changes
- Removed
Options.encrypted
The encrypted option is gone; setting it to false no longer changes behavior, so remove it from code. npmjs.com - Removed
Options.unavailable_timeout
Options.unavailable_timeout was removed in pusher-js 6.0.0 npmjs.com - Default changed
forceTLS
Connections now use TLS by default; users relying on the previous non-TLS default must set forceTLS explicitly. github.com - Configuration changed
pusher-js
Encrypted channels are no longer in the default web and worker builds; import pusher-js/with-encryption or use the pusher-with-encryption bundles to keep using them. github.com - Signature changed
AuthOptions.headers
Was headers: any; now headers?: any. npmjs.com - Signature changed
AuthOptions.params
Was params: any; now params?: any. npmjs.com - Signature changed
ConnectionManager.constructor
Was constructor(key: string, options: any); now constructor(key: string, options: ConnectionManagerOptions). npmjs.com - Signature changed
default.config
Was config: PusherOptions; now config: Config. npmjs.com - Signature changed
Runtime.getDefaultStrategy
Was getDefaultStrategy(config: any, defineTransport: Function): Strategy; now getDefaultStrategy(config: Config, options: StrategyOptions, defineTransport: Function): Strategy. npmjs.com
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.