Repository navigation
SwiftCollections v7.0.0
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
GetCellIndexandCollectPointCandidatesAPIs. - 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
SwiftObservableDictionarykey 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.Lean7.0.0. Upgrade them together. Fixed bounds adopt v7's normalized, full-domain semantics;SizeandVolumethrowOverflowExceptionwhen 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