- 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.