Repository navigation
SwiftCollections v8.0.0
This release introduces clearer collection names, Chronicler v1 integration, and improvements to allocation behavior and collection correctness.
Highlights:
- Breaking collection renames:
- SwiftBucket → SwiftSlotMap
- SwiftGenerationalBucket → SwiftTicketMap
- SwiftHandle → SwiftTicket
Matching state types and nested enumerators are renamed too. Collection behavior and stored state layouts are preserved, with compatibility tests covering typed v7 JSON and MemoryPack payloads.
- Updated dependencies: Chronicler v1.0.0 and FixedMathSharp v8.0.0. Shared diagnostics and guards now come from Chronicler.Diagnostics; state JSON converters use Chronicler.Serialization.
- Updated framework targets: netstandard2.1 and net10.0. The dedicated net8.0 asset is replaced by net10.0.
- Explicit retained-reference cleanup: Added Clear(clearRetainedReferences: true) to release references throughout retained backing storage while preserving capacity. SwiftTicketMap also gains clearing support that preserves generation history.
- Lookup fixes: Removed avoidable boxing from dictionary and hash-set lookups, including first-use paths, and corrected collision probing.
- Enumerator fixes: Corrected non-generic Current position checks, sparse-slot and null-value handling, and ticket-map mutation detection during Reset().
- Documentation and tooling: Expanded collection-selection examples and migration guidance, added benchmark signal tracking, and improved coordinated source builds and NuGet publishing.
Upgrade: Rebuild consumers and adapters, update renamed APIs and imports, and review the v8 migration guide. Persisted CLR type names and serializer registrations require explicit updates.