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

# 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

Latest version `8.6.0`, released July 23, 2026. [Source repository](https://github.com/pusher/pusher-js)

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

- From [7.0.0](#v-7-0-0) to [8.0.0](#v-8-0-0): 3 breaking changes in 1 version.
- From [6.0.0](#v-6-0-0) to [8.0.0](#v-8-0-0): 9 breaking changes in 2 versions.

## pusher-js 8.0.0 breaking changes

pusher-js 8.0.0, released December 22, 2022: 3 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](https://github.com/pusher/pusher-js/releases/tag/v8.0.0)
- **Signature changed** `default.constructor`  

Was constructor(app_key: string, options?: Options); now constructor(app_key: string, options: Options). [npmjs.com](https://www.npmjs.com/package/pusher-js/v/8.0.0)
- **Signature changed** `Options.cluster`  

Was cluster?: string; now cluster: string. [npmjs.com](https://www.npmjs.com/package/pusher-js/v/8.0.0)

## pusher-js 7.0.0 breaking changes

pusher-js 7.0.0, released July 31, 2020: 6 breaking changes.

- **Removed** `AuthInfo`  

AuthInfo was removed in pusher-js 7.0.0 [npmjs.com](https://www.npmjs.com/package/pusher-js/v/7.0.0)
- **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](https://github.com/pusher/pusher-js/releases/tag/v7.0.0)
- **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](https://github.com/pusher/pusher-js/releases/tag/v7.0.0)
- **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](https://github.com/pusher/pusher-js/releases/tag/v7.0.0)
- **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](https://github.com/pusher/pusher-js/releases/tag/v7.0.0)
- **Signature changed** `AuthorizerCallback`  

Was type AuthorizerCallback = (error: boolean, authInfo: AuthInfo) => void; now type AuthorizerCallback = (error: Error | null, authData: AuthData) => void. [npmjs.com](https://www.npmjs.com/package/pusher-js/v/7.0.0)

## pusher-js 6.0.0 breaking changes

pusher-js 6.0.0, released April 27, 2020: 9 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](https://www.npmjs.com/package/pusher-js/v/6.0.0)
- **Removed** `Options.unavailable_timeout`  

Options.unavailable_timeout was removed in pusher-js 6.0.0 [npmjs.com](https://www.npmjs.com/package/pusher-js/v/6.0.0)
- **Default changed** `forceTLS`  

Connections now use TLS by default; users relying on the previous non-TLS default must set forceTLS explicitly. [github.com](https://github.com/pusher/pusher-js/releases/tag/v6.0.0)
- **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](https://github.com/pusher/pusher-js/releases/tag/v6.0.0)
- **Signature changed** `AuthOptions.headers`  

Was headers: any; now headers?: any. [npmjs.com](https://www.npmjs.com/package/pusher-js/v/6.0.0)
- **Signature changed** `AuthOptions.params`  

Was params: any; now params?: any. [npmjs.com](https://www.npmjs.com/package/pusher-js/v/6.0.0)
- **Signature changed** `ConnectionManager.constructor`  

Was constructor(key: string, options: any); now constructor(key: string, options: ConnectionManagerOptions). [npmjs.com](https://www.npmjs.com/package/pusher-js/v/6.0.0)
- **Signature changed** `default.config`  

Was config: PusherOptions; now config: Config. [npmjs.com](https://www.npmjs.com/package/pusher-js/v/6.0.0)
- **Signature changed** `Runtime.getDefaultStrategy`  

Was getDefaultStrategy(config: any, defineTransport: Function): Strategy; now getDefaultStrategy(config: Config, options: StrategyOptions, defineTransport: Function): Strategy. [npmjs.com](https://www.npmjs.com/package/pusher-js/v/6.0.0)

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