Skip to content

chore(deps): bump github.com/routeobjects/swift-cidr from 0.8.1 to 0.9.0 - #19

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/swift/github.com/routeobjects/swift-cidr-0.9.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/swift/github.com/routeobjects/swift-cidr-0.9.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 13, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/routeobjects/swift-cidr from 0.8.1 to 0.9.0.

Release notes

Sourced from github.com/routeobjects/swift-cidr's releases.

swift-cidr 0.9.0

Release date: 2026-11-07. These notes cover the changes since 0.8.1.

This minor version intentionally changes public APIs before 1.0. It routes shared CIDR formatting through the address family, renames the structural protocol to CIDRForm, makes storage width authoritative for IP prefix math, and exposes concrete subnet and address iterators.

The Swift 6.2 minimum, macOS 15 / iOS 18 deployment floors, and four products (CIDR, CIDRPOSIX, CIDRNIO, and CIDRArgumentParser) are unchanged.

Family formatting and parsing

IPAddressFamily now requires formatCIDR(_:prefixLength:). The IPv4 and IPv6 families implement it with their family formatters; the default implementation joins formatAddress(_:) and the prefix length. Shared CIDRForm.description and formatted(_:) implementations call that requirement. Generic and existential formatting therefore reaches the family's implementation without depending on a constrained extension overload at the original call site.

The shared address and network string initializers are inlinable. This exposes their bodies to the caller's optimizer and permits specialization where a concrete family is visible. It does not guarantee specialization across opaque generic, existential, Codable, or ArgumentParser boundaries.

The per-family string-initializer and formatting overloads have been removed. Ordinary calls such as IPv4Address(text), IPv6Network(text), and value.formatted(.compressed) retain their syntax through the shared APIs.

The IPv6 style-formatting wrapper is now inlinable, and its out-of-line helper entry points are usable from that inlinable code. PrefixLength raw-value validation and the default host-prefix construction chain are also inlinable. These visibility changes let concrete callers retain the fast style formatter and fold host prefixes to /32 or /128; they do not change formatting or validation rules. No additional IPAddress constructor annotations are required.

Migration

Rename protocol references to CIDRForm

Update conformances, generic constraints, and extensions that refer to the former CIDR protocol. The module is still named CIDR. There is deliberately no typealias CIDR: that would hide the module again and prevent qualified names from resolving alongside similarly named types in other modules.

For example, on Apple platforms using Network.framework:

... (truncated)

Commits
  • a7f661a Merge pull request #20 from RouteObjects/codex/finalize-0.9.0-readme
  • e25c155 docs: link 0.9.0 migration guidance from README
  • 238e94f Merge pull request #19 from RouteObjects/perf/family-format-dispatch
  • 8fe3e99 perf!: route CIDR formatting through address families
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/routeobjects/swift-cidr](https://github.com/RouteObjects/swift-cidr) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/RouteObjects/swift-cidr/releases)
- [Commits](RouteObjects/swift-cidr@0.8.1...0.9.0)

---
updated-dependencies:
- dependency-name: github.com/routeobjects/swift-cidr
  dependency-version: 0.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file swift_package_manager Pull requests that update swift_package_manager code labels Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file swift_package_manager Pull requests that update swift_package_manager code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants