- UnstableNoncopyableKeys → UnstableHashedContainers
- Delete the GeneralizedEquatable and GeneralizedHashable protocols, replacing them with the standard generalizations in the 6.4 stdlib
- Require Swift 6.4 for {Rigid,Unique}{Set,Dictionary}.
Renaming `_Htable+Debugging.swift` to `_HTable+Debugging.swift` did not stick — rename the file to `_HTable+Debug.swift` to get rid of the lowercase t for good.
This is a nongeneric type, so it makes sense to see if Swift has matured enough to use opaque/resilient types in high-performance contexts. It would be ideal if the core hash table implementation would remain flexible.
We may need to sprinkle some effect attributes over these.
- Stop using unstable import attributes with undefined/flaky semantics in package contexts.
- Freeze the contents of the Collections module. Do not make the new RigidDeque/UniqueDeque types from there, at least not yet. Replace reexported types with typealiases, and reexported protocol extensions with redefinitions forwarding to a common implementation in the original module.
- Update minimum toolchain version to Swift 6.0.
- Add a separate package manifest for Swift 6.2+.
- Upgrade to Swift 6 language mode.
- Except in _RopeModule, which has uncovered a language-mode related regression in debug builds.
- Define availability macros.
- Enable the Builtin module.
- For the 6.2+ manifest:
- Add a new package trait called “UnstableContainersPreview”. This is not yet functional.
- Enable experimental language features `Lifetimes` and `InoutLifetimeDependence`.
- Stop supporting COLLECTIONS_SINGLE_MODULE in package builds.
- Update CMake & Xcode configurations to also assume Swift 6.2, reflecting the changes above.
We are forced to do this due to an Xcode issue (#364) with underscored module names.
This module remains unstable, despite the removal of the underscore. Directly importing it from outside the package remains unsupported. This module and/or its entire contents may go away or change in incompatible ways in any future swift-collections release.
This is going to ship as is, with no promises about it remaining in future versions. It is going to be a load bearing component of the package, though — just not necessary a stable one.