mirror of
https://github.com/apple/swift-algorithms
synced 2026-11-25 04:27:47 +00:00
3.0 KiB
3.0 KiB
CHANGELOG
This project follows semantic versioning. While still in major version 0,
source-stability is only guaranteed within minor versions (e.g. between
0.0.3 and 0.0.4). If you want to guard against potentially source-breaking
package updates, you can specify your package dependency using
.upToNextMinor(from: "0.0.1") as the requirement.
Unreleased
No changes yet.
0.0.2 - 2020-10-23
Changes
- The
rotate(at:)method has been updated torotate(toStartAt:), with the old name deprecated. - The
chained(with:)method has been changed to the free functionchain(_:_:), with the old version deprecated. Algorithmsnow usesRealModulefrom theswift-numericspackage for its cross-platform elementary functions.- Sequence/collection wrapper types, like
PermutationsandIndexed, now have conformance to the lazy protocols, so that any following operations maintain their laziness.
Fixes
- Swift Algorithms now builds under SwiftPM on Windows.
- A wide variety of errors, misspellings, and ommissions in the documentation and guides have been fixed.
- Index/distance calculations for the
Product2andChaintypes have been corrected. - Calling
stablePartition(subrange:by:)now correctly uses the subrange's length instead of the whole collection.
The 0.0.2 release includes contributions from AustinConlon, egorzhdan, IanKeen, iSame7, karwa, kylemacomber, natecook1000, nordicio, pmtao, schlagelk, stephentyrone, and timvermeulen. Thank you!
0.0.1 - 2020-10-07
- Swift Algorithms initial release.
This changelog's format is based on Keep a Changelog.