unstale

npm / ipaddr.js

ipaddr.js

What changed in ipaddr.js 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-26.

6 breaking1 security1 new APIs and options1 behavior and defaults

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

ipaddr.js 29 changes

Breaking changes 6

  • ipaddr.min.js is removed; end users must provide their own minification or bundling.

    2.5.0release notes

  • Strict IPv6 validation now rejects :: with zero compression and hextets longer than four hex digits.

    2.5.0release notes

  • Malformed input now produces a descriptive error.

    2.5.0release notes

  • toString now compresses the leftmost zero run in accordance with RFC 5952, 4.2.3.

    2.5.0release notes

  • toString now compresses a trailing zero run when a zoneIndex is present.

    2.5.0release notes

  • Bower support was removed.

    2.4.0release notes

Security 1

New APIs and options 1

  • Adds a helper to validate IPv4 CIDR in four-part decimal form.

    2.3.0release notes

Behavior and default changes 1

  • Added reserved address ranges from RFC9637, RFC9602, RFC8215, and RFC3879.

    2.4.0release notes