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

# ipaddr.js breaking changes

ipaddr.js 2.4.0 (May 3, 2026) is its newest release with breaking changes. The first: Removes Bower support in ipaddr.js 2.4.0. Every breaking API change we have recorded in ipaddr.js on npm: 8 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.5.0`, released August 4, 2026. [Source repository](https://github.com/whitequark/ipaddr.js)

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.4.0](#v-2-4-0): 5 breaking changes in 3 versions.

## ipaddr.js 2.4.0 breaking changes

ipaddr.js 2.4.0, released May 3, 2026: 1 breaking change.

- **Removed**  

The package no longer ships Bower support; users relying on Bower must use another install method such as npm. [github.com](https://github.com/whitequark/ipaddr.js/blob/v2.4.0/Changes.md)

## ipaddr.js 2.3.0 breaking changes

ipaddr.js 2.3.0, released November 28, 2025: 1 breaking change.

- **Removed**  

The package no longer lists LICENSE twice in its published files; this is a packaging change with no effect on code that uses the package. [github.com](https://github.com/whitequark/ipaddr.js/blob/v2.3.0/Changes.md)

## ipaddr.js 2.1.0 breaking changes

ipaddr.js 2.1.0, released May 30, 2023: 3 breaking changes.

- **Behavior changed**  

Addresses in the 2001: IPv6 space covered by the new reserved blocks are now reported as reserved, which can change range() results for code that checks them. [github.com](https://github.com/whitequark/ipaddr.js/blob/v2.1.0/Changes.md)
- **Behavior changed**  

Addresses in 198.18.0.0/15 are now reported as reserved rather than as unicast, which can change range() results for code that checks them. [github.com](https://github.com/whitequark/ipaddr.js/blob/v2.1.0/Changes.md)
- **Behavior changed** `IPv6.toString`  

IPv6.toString() now returns the RFC 5952 format, the same output as toRFC5952String(). Code that depends on the previous toString() output may need to change. [github.com](https://github.com/whitequark/ipaddr.js/blob/v2.1.0/Changes.md)

## ipaddr.js 2.0.0 breaking changes

ipaddr.js 2.0.0, released August 17, 2020: 3 breaking changes.

- **Signature changed** `"ipaddr.js".IPv4.match`  

Was match(addr: IPv4, bits: number): boolean match(mask: \[IPv4, number\]): boolean; now match(what: IPv4 | IPv6 | \[IPv4 | IPv6, number\], bits?: number): boolean. [npmjs.com](https://www.npmjs.com/package/ipaddr.js/v/2.0.0)
- **Signature changed** `"ipaddr.js".IPv6.match`  

Was match(addr: IPv6, bits: number): boolean match(mask: \[IPv6, number\]): boolean; now match(what: IPv4 | IPv6 | \[IPv4 | IPv6, number\], bits?: number): boolean. [npmjs.com](https://www.npmjs.com/package/ipaddr.js/v/2.0.0)
- **Signature changed** `"ipaddr.js".subnetMatch`  

Was function subnetMatch(addr: IPv4, rangeList: RangeList\<IPv4>, defaultName?: string): string function subnetMatch(addr: IPv6, rangeList: RangeList\<IPv6>, defaultName?: string): string; now function subnetMatch(addr: IPv4 | IPv6... [npmjs.com](https://www.npmjs.com/package/ipaddr.js/v/2.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.
