@@ -16,6 +16,47 @@ package updates, you can specify your package dependency using
1616
1717---
1818
19+ ## [ 0.0.3] - 2021-02-26
20+
21+ ### Additions
22+
23+ An exciting group of new algorithms, contributed by the community:
24+
25+ - ` trimming(while:) ` returns a subsequence of a bidirectional collection with
26+ the matching elements removed from the start and end. ([ #4 ] )
27+ - ` min(ofCount:) ` and ` max(ofCount:) ` find the smallest or largest elements in
28+ a collection. ([ #9 ] , [ #77 ] )
29+ - ` windows(ofCount:) ` lets you iterate over all the overlapping subsequences of
30+ a particular length. ([ #20 ] )
31+ - ` striding(by:) ` iterates over every * n* th element of a sequence or collection.
32+ ([ #24 ] )
33+ - ` interspersed(with:) ` places a new element between every pair of elements in
34+ a sequence or collection. ([ #35 ] )
35+ - ` chunks(ofCount:) ` breaks a collection into subsequences of the given number
36+ of elements. ([ #54 ] )
37+ - ` suffix(while:) ` matches the standard library's ` prefix(while:) ` , by
38+ returning the suffix of all matching elements from a bidirectional collection.
39+ ([ #65 ] )
40+ - Variations of ` combinations(ofCount:) ` and ` permutations(ofCount:) ` that take
41+ a range expression as a parameter, returning combinations and permutations of
42+ multiple lengths. ([ #51 ] , [ #56 ] )
43+
44+ ### Changes
45+
46+ - The ` LazyChunked ` type now precomputes its ` startIndex ` , making performance
47+ more predictable when using the collection.
48+
49+ ### Fixes
50+
51+ - ` randomSample(count:) ` no longer traps in rare circumstances.
52+ - Index calculations have been improved in a variety of collection wrappers.
53+ - A variety of documentation improvements and corrections.
54+
55+ The 0.0.3 release includes contributions from [ benrimmington] , [ danielctull] ,
56+ [ dhruvshah8] , [ karwa] , [ LucianoPAlmeida] , [ markuswntr] , [ mdznr] , [ michiboo] ,
57+ [ natecook1000] , [ ollieatkinson] , [ rakaramos] , [ rockbruno] , [ Roshankumar350] ,
58+ [ sidepelican] , and [ timvermeulen] . Thank you!
59+
1960## [ 0.0.2] - 2020-10-23
2061
2162### Changes
@@ -32,7 +73,7 @@ package updates, you can specify your package dependency using
3273
3374### Fixes
3475
35- - Swift Algorithms now builds under SwiftPM on Windows.
76+ - ` Algorithms ` now builds under SwiftPM on Windows.
3677- A wide variety of errors, misspellings, and ommissions in the documentation
3778 and guides have been fixed.
3879- Index/distance calculations for the ` Product2 ` and ` Chain ` types have been
@@ -44,6 +85,7 @@ The 0.0.2 release includes contributions from [AustinConlon], [egorzhdan],
4485[ IanKeen] , [ iSame7] , [ karwa] , [ kylemacomber] , [ natecook1000] , [ nordicio] ,
4586[ pmtao] , [ schlagelk] , [ stephentyrone] , and [ timvermeulen] . Thank you!
4687
88+
4789## [ 0.0.1] - 2020-10-07
4890
4991- ** Swift Algorithms** initial release.
@@ -54,23 +96,47 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co
5496
5597<!-- Link references for releases -->
5698
57- [ Unreleased ] : https://github.com/apple/swift-algorithms/compare/0.0.2...HEAD
99+ [ Unreleased ] : https://github.com/apple/swift-algorithms/compare/0.0.3...HEAD
100+ [ 0.0.3 ] : https://github.com/apple/swift-algorithms/compare/0.0.2...0.0.3
58101[ 0.0.2 ] : https://github.com/apple/swift-algorithms/compare/0.0.1...0.0.2
59102[ 0.0.1 ] : https://github.com/apple/swift-algorithms/releases/tag/0.0.1
60103
61104<!-- Link references for pull requests -->
62105
106+ [ #4 ] : https://github.com/apple/swift-algorithms/pull/4
107+ [ #9 ] : https://github.com/apple/swift-algorithms/pull/9
108+ [ #20 ] : https://github.com/apple/swift-algorithms/pull/20
109+ [ #24 ] : https://github.com/apple/swift-algorithms/pull/24
110+ [ #35 ] : https://github.com/apple/swift-algorithms/pull/35
111+ [ #51 ] : https://github.com/apple/swift-algorithms/pull/51
112+ [ #54 ] : https://github.com/apple/swift-algorithms/pull/54
113+ [ #56 ] : https://github.com/apple/swift-algorithms/pull/56
114+ [ #65 ] : https://github.com/apple/swift-algorithms/pull/65
115+ [ #77 ] : https://github.com/apple/swift-algorithms/pull/77
116+
63117<!-- Link references for contributors -->
64118
65119[ AustinConlon ] : https://github.com/apple/swift-algorithms/commits?author=AustinConlon
120+ [ benrimmington ] : https://github.com/apple/swift-algorithms/commits?author=benrimmington
121+ [ danielctull ] : https://github.com/apple/swift-algorithms/commits?author=danielctull
122+ [ dhruvshah8 ] : https://github.com/apple/swift-algorithms/commits?author=dhruvshah8
66123[ egorzhdan ] : https://github.com/apple/swift-algorithms/commits?author=egorzhdan
67124[ IanKeen ] : https://github.com/apple/swift-algorithms/commits?author=IanKeen
68125[ iSame7 ] : https://github.com/apple/swift-algorithms/commits?author=iSame7
69126[ karwa ] : https://github.com/apple/swift-algorithms/commits?author=karwa
70127[ kylemacomber ] : https://github.com/apple/swift-algorithms/commits?author=kylemacomber
128+ [ LucianoPAlmeida ] : https://github.com/apple/swift-algorithms/commits?author=LucianoPAlmeida
129+ [ markuswntr ] : https://github.com/apple/swift-algorithms/commits?author=markuswntr
130+ [ mdznr ] : https://github.com/apple/swift-algorithms/commits?author=mdznr
131+ [ michiboo ] : https://github.com/apple/swift-algorithms/commits?author=michiboo
71132[ natecook1000 ] : https://github.com/apple/swift-algorithms/commits?author=natecook1000
72133[ nordicio ] : https://github.com/apple/swift-algorithms/commits?author=nordicio
134+ [ ollieatkinson ] : https://github.com/apple/swift-algorithms/commits?author=ollieatkinson
73135[ pmtao ] : https://github.com/apple/swift-algorithms/commits?author=pmtao
136+ [ rakaramos ] : https://github.com/apple/swift-algorithms/commits?author=rakaramos
137+ [ rockbruno ] : https://github.com/apple/swift-algorithms/commits?author=rockbruno
138+ [ Roshankumar350 ] : https://github.com/apple/swift-algorithms/commits?author=Roshankumar350
74139[ schlagelk ] : https://github.com/apple/swift-algorithms/commits?author=schlagelk
140+ [ sidepelican ] : https://github.com/apple/swift-algorithms/commits?author=sidepelican
75141[ stephentyrone ] : https://github.com/apple/swift-algorithms/commits?author=stephentyrone
76142[ timvermeulen ] : https://github.com/apple/swift-algorithms/commits?author=timvermeulen
0 commit comments