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

# classnames breaking changes

classnames 2.5.0 (December 28, 2023) is its newest release with breaking changes. The first: Signature changed Mapping. Every breaking API change we have recorded in classnames on npm: 4 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 `2.5.1`, released December 29, 2023. [Source repository](https://github.com/JedWatson/classnames)

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

- From [2.0.0](#v-2-0-0) to [2.5.0](#v-2-5-0): 3 breaking changes in 2 versions.

## classnames 2.5.0 breaking changes

classnames 2.5.0, released December 28, 2023: 1 breaking change.

- **Signature changed** `Mapping`  

Was type Mapping = Record\<string, unknown>; now type Mapping = Record\<string, any>. [npmjs.com](https://www.npmjs.com/package/classnames/v/2.5.0)

## classnames 2.3.3 breaking changes

classnames 2.3.3, released December 25, 2023: 2 breaking changes.

- **Signature changed** `Argument`  

Was type Argument = Value | Mapping | ArgumentArray; now type Argument = Value | Mapping | ArgumentArray | ReadonlyArgumentArray. [npmjs.com](https://www.npmjs.com/package/classnames/v/2.3.3)
- **Signature changed** `default`  

Was function classNames(...args: classNames.ArgumentArray): string; now const classNames: ClassNames. [npmjs.com](https://www.npmjs.com/package/classnames/v/2.3.3)

## classnames 2.0.0 breaking changes

classnames 2.0.0, released May 3, 2015: 1 breaking change.

- **Removed**  

Type detection now uses Array.isArray, so IE8 users must add an Array.isArray polyfill to keep working. [github.com](https://github.com/JedWatson/classnames/blob/v2.0.0/HISTORY.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.
