New
Swift Collections 1.2.0
This feature release includes the following improvements:
- The package now compiles without warnings using Swift 6.0 and 6.1.
- New functionality:
Heap.removeAll(where:)(#454)OrderedSet.appending(contentsOf:)(#452)
- Bug fixes and performance improvements:
Heapoperations now agree on the identity of the maximal element, even if it has duplicates (#439)OrderedSetnow runs faster in unspecialized generic contexts (#433)- Building on OpenBSD no longer requires
ManagedBuffer.capacity(#456)
This version supports Swift toolchain versions 5.10, 6.0 and 6.1.
What's Changed
- Set up release/1.2 branch by @lorentey in https://github.com/apple/swift-collections/pull/423
- Optimize unspecialized
OrderedSet.initandOrderedSet.firstIndex(of:)by @dnadoba in https://github.com/apple/swift-collections/pull/433 - fix amd64 support by @michael-yuji in https://github.com/apple/swift-collections/pull/447
- [cmake] Install libraries in standard directories by @Steelskin in https://github.com/apple/swift-collections/pull/446
- [1.2][OrderedDictionary] fix a typo by @lorentey in https://github.com/apple/swift-collections/pull/449
- [release/1.2] [CI] Add support for GitHub Actions by @shahmishal in https://github.com/apple/swift-collections/pull/453
- Reimplement
_specialize(_:for:)for the 5.9 stdlib by @lorentey in https://github.com/apple/swift-collections/pull/472 - Add .editorconfig by @lorentey in https://github.com/apple/swift-collections/pull/471
- Cherry pick recent PRs destined for 1.2 by @lorentey in https://github.com/apple/swift-collections/pull/473
- Drop support for the Swift 5.9.* toolchains by @lorentey in https://github.com/apple/swift-collections/pull/475
- [Rope] Resolve deprecation warnings on
String.Index._descriptionby @lorentey in https://github.com/apple/swift-collections/pull/474
New Contributors
- @dnadoba made their first contribution in https://github.com/apple/swift-collections/pull/433
- @michael-yuji made their first contribution in https://github.com/apple/swift-collections/pull/447
- @Steelskin made their first contribution in https://github.com/apple/swift-collections/pull/446
Full Changelog: https://github.com/apple/swift-collections/compare/1.1.4...1.2.0