---
title: "github.com/routeobjects/swift-cidr 0.9.0 Breaking Changes"
description: "What each github.com/routeobjects/swift-cidr release on Swift Package Index removed, renamed or changed, each with its source."
canonical_url: https://since.dev/packages/swift/github.com/routeobjects/swift-cidr
last_updated: 2026-12-04
---

# github.com/routeobjects/swift-cidr breaking changes

github.com/routeobjects/swift-cidr 0.9.0 (November 8, 2026) is its newest release with breaking changes, 6 of them. The first: Removes per-family string-initializer and formatting overloads in github.com/RouteObjects/swift-cidr 0.9.0. Every breaking API change we have recorded in github.com/routeobjects/swift-cidr on Swift Package Index: 18 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.11.0`, released November 18, 2026. [Source repository](https://github.com/RouteObjects/swift-cidr)

- From [0.3.0](#v-0-3-0) to [0.9.0](#v-0-9-0): 17 breaking changes in 5 versions.

## github.com/routeobjects/swift-cidr 0.9.0 breaking changes

github.com/routeobjects/swift-cidr 0.9.0, released November 8, 2026: 6 breaking changes.

- **Removed**  

The per-family string-initializer and formatting overloads are gone. Calls keep their syntax through the shared APIs. [github.com](https://github.com/RouteObjects/swift-cidr/releases/tag/0.9.0)
- **Renamed** `CIDR`  

The structural protocol is renamed to CIDRForm. Update conformances, generic constraints and extensions that name the old protocol. [github.com](https://github.com/RouteObjects/swift-cidr/releases/tag/0.9.0)
- **Behavior changed** `AF.V4.bitWidth`  

Prefix validation, masks and traversal use the storage width, so a custom IP family with a bitWidth that differs from its storage changes behavior. Review such families. [github.com](https://github.com/RouteObjects/swift-cidr/releases/tag/0.9.0)
- **Signature changed** `AddressFamily.ianaValue`  

AddressFamily.ianaValue and the family-erased properties now return UInt16. Custom conformers and typed consumers must use UInt16 or convert explicitly. [github.com](https://github.com/RouteObjects/swift-cidr/releases/tag/0.9.0)
- **Signature changed** `IPNetwork.makeIterator`  

The return type changes from AnyIterator to Addresses.Iterator. Code that needs the erased type must wrap it explicitly. [github.com](https://github.com/RouteObjects/swift-cidr/releases/tag/0.9.0)
- **Signature changed** `subnets`  

The return type changes from AnySequence to IPPrefixSubnets. Direct next() calls now need a var binding, and an explicit AnySequence wrapper restores the old type where required. [github.com](https://github.com/RouteObjects/swift-cidr/releases/tag/0.9.0)

## github.com/routeobjects/swift-cidr 0.8.0 breaking changes

github.com/routeobjects/swift-cidr 0.8.0, released October 23, 2026: 5 breaking changes.

- **Behavior changed** `CIDR.first`  

first, last and range endpoints retain the receiver's prefix length rather than producing /32 or /128 values. [github.com](https://github.com/RouteObjects/swift-cidr/blob/0.8.0/Documentation/ReleaseNotes/0.8.0.md)
- **Behavior changed** `IPAddress`  

Addresses with the same address bits but different prefixes are now unequal. Review address-keyed sets, dictionaries and endpoint comparisons. [github.com](https://github.com/RouteObjects/swift-cidr/releases/tag/0.8.0)
- **Behavior changed** `IPNetwork`  

Addresses yielded by iterating a network now keep the network's prefix length instead of /32 or /128. Review code that depends on the yielded prefix. [github.com](https://github.com/RouteObjects/swift-cidr/blob/0.8.0/Documentation/ReleaseNotes/0.8.0.md)
- **Behavior changed** `makeSocketAddress`  

Because first and last keep the parent prefix, passing them to makeSocketAddress() can now throw the existing IPv4 boundary errors. [github.com](https://github.com/RouteObjects/swift-cidr/blob/0.8.0/Documentation/ReleaseNotes/0.8.0.md)
- **Behavior changed** `PrefixLength`  

Standalone PrefixLength no longer accepts forms like "024" or "+24"; callers must supply canonical text. [github.com](https://github.com/RouteObjects/swift-cidr/blob/0.8.0/Documentation/ReleaseNotes/0.8.0.md)

## github.com/routeobjects/swift-cidr 0.6.0 breaking changes

github.com/routeobjects/swift-cidr 0.6.0, released August 19, 2026: 1 breaking change.

- **Configuration changed**  

The package now requires Swift tools 6.2 or later, so consumers on 6.1 must upgrade the toolchain or stay on swift-cidr 0.5.x. [github.com](https://github.com/RouteObjects/swift-cidr/releases/tag/0.6.0)

## github.com/routeobjects/swift-cidr 0.5.0 breaking changes

github.com/routeobjects/swift-cidr 0.5.0, released August 5, 2026: 1 breaking change.

- **Renamed** `CIDRMergeCore`  

Shared address-range ownership moved from CIDRMergeCore to CIDR. Code that imports CIDRMergeCore for these types should change to import CIDR. [github.com](https://github.com/RouteObjects/swift-cidr/releases/tag/0.5.0)

## github.com/routeobjects/swift-cidr 0.4.0 breaking changes

github.com/routeobjects/swift-cidr 0.4.0, released July 21, 2026: 4 breaking changes.

- **Renamed** `ASN`  

The public ASN alias was reassigned from the AF.ASN address-family marker to the new AutonomousSystemNumber value. Code using ASN as a marker must switch to AF.ASN. [github.com](https://github.com/RouteObjects/swift-cidr/releases/tag/0.4.0)
- **Renamed** `ASN.formatAddress`  

Address formatting through the ASN marker must be called as AF.ASN.formatAddress. [github.com](https://github.com/RouteObjects/swift-cidr/releases/tag/0.4.0)
- **Renamed** `ASN.parseAddress`  

Address parsing through the ASN marker must be called as AF.ASN.parseAddress. [github.com](https://github.com/RouteObjects/swift-cidr/releases/tag/0.4.0)
- **Renamed** `ASN.self`  

Marker-oriented calls through ASN must be written as AF.ASN.self. [github.com](https://github.com/RouteObjects/swift-cidr/releases/tag/0.4.0)

## github.com/routeobjects/swift-cidr 0.3.0 breaking changes

github.com/routeobjects/swift-cidr 0.3.0, released July 7, 2026: 1 breaking change.

- **Default changed**  

IPv6 CIDR descriptions now use RFC 5952-style compressed text by default. Code that compares or parses the previous IPv6 text output may need updating. [github.com](https://github.com/RouteObjects/swift-cidr/releases/tag/0.3.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.
