Skip to content

2.0.0 — Swift 6 modernization

Choose a tag to compare

@younatics younatics released this 08 Jul 07:40
· 2 commits to master since this release

Modernized for the current Xcode / Swift toolchain.

Highlights

  • Swift 6 language mode across all targets.
  • Swift Package Manager support added — the repo previously shipped no Package.swift. It now has a proper swift-tools-version:6.0 manifest with a library product and an SPM test target.
  • Converted Edge's deprecated hashValue to hash(into:), and made it commutative so undirected edges (a-b == b-a) hash equally — fixing a latent Hashable-contract violation. Added a missing import Foundation to the Delaunay core.
  • Minimum iOS raised 9.0 → 13.0. Demo migrated @UIApplicationMain → @main.

Tests

  • Added deterministic tests for vertex/edge semantics and Delaunay triangulation output. 4 tests pass on the iOS 26 simulator; pod lib lint passes.

Breaking changes

  • Minimum deployment target is now iOS 13.0.
  • Built in Swift 6 language mode.

The public API is otherwise source-compatible with 1.0.0.