Skip to content

SwiftCollections v7.0.0

Choose a tag to compare

@mrdav30 mrdav30 released this 05 Aug 04:04
· 95 commits to main since this release

SwiftCollections v7 strengthens deterministic fixed-point spatial queries, trims hot-path overhead, and ships with a new API reference plus enforced 100% coverage.

Highlights

  • Full-domain fixed-point queries: normalized fixed bounds, exact nearest-even centers, overflow-safe octree subdivision, and exact BVH union-cost calculations.
  • Exact fixed spatial hashing: deterministic cell mapping for negative and fractional coordinates, safe traversal at integer limits, deterministic cell hashes, and new GetCellIndex and CollectPointCandidates APIs.
  • Leaner hot paths: generic value-type null guards no longer box, and BVH, octree, and spatial-hash index callbacks are cached instead of recreated during lookups and mutations.
  • Collection correctness: assigning a missing SwiftObservableDictionary key now adds it with the expected notifications, while custom dictionary and set comparers remain intact through deep collision chains.
  • Documentation and quality: DocFX API documentation now covers both runtime assemblies, with exact 100% Release line, branch, and method coverage enforced by CI.

Breaking change

  • The FixedMathSharp companion packages now require FixedMathSharp / FixedMathSharp.Lean 7.0.0. Upgrade them together. Fixed bounds adopt v7's normalized, full-domain semantics; Size and Volume throw OverflowException when an exact positive span cannot be represented.
  • There are no other intentional breaking changes.

Dependency updates

  • Chronicler packages updated to 0.4.0.

Full changelog: 8042108 through 16aec0c