- UniqueBox is public API, so we cannot remove it in favor of the stdlib’s
- Remove Ref and MutableRef. Keep an internal _MutableRef to work around stdlib limitations.
Package traits already pass defines with their trait name when building. Instead of adding our own conditional defines based on the traits we can use the trait provided defines directly. I observed that various tooling behaves better with the trait provided defines.
- 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}.
This re-enables the SortedCollections for easi(er) experimentation.
The module remains source unstable — it may go away entirely or it may receive arbitrary source-breaking changes in any new swift-collections release, with no special pre-announcement.
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.
Introduce new types `IntrusiveManagedBuffer` and `PaddedStorage` that
consist of a fixed-sized header followed by variable-sized storage. The
design of these types is inspired by the existing `ManagedBuffer` type
in the standard library, but has been adjusted both to make them
non-copyable and to eliminate the requirement for heap allocation.
- 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.
The sorted collection types are not yet ready for production use. Remove them from the package manifest.
Keep the code in place for now, although it will likely make more sense to track their development in a separate feature branch of this package.
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.