- 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.
References to Span types trigger an issue where SwiftPM isn’t able to run command line executable targets or tests on older OSes.
Set the availability of everything that needs span types to the most recent Apple OS releases.
Hopefully we’ll be able to revert this once we figure out a better workaround.
- 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.