Skip to content

Commit 2327673

Browse files
authored
Update the changelog/README for the 0.2.1 release (apple#145)
1 parent 4b779b8 commit 2327673

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

CHANGELOG.md

+20-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,21 @@ package updates, you can specify your package dependency using
1616

1717
---
1818

19+
## [0.2.1] - 2021-06-01
20+
21+
### Additions
22+
23+
Expanded versatility for two existing operations:
24+
25+
- A series of `joined(by:)` overloads concatenate a sequence of sequences using
26+
an element or a collection, either passed in or generated from consecutive
27+
elements via a closure. ([#138])
28+
- Additional `trimming(while:)` methods for trimming only the start or end of a
29+
collection, as well as mutating versions of all three variants. ([#104])
30+
31+
The 0.2.1 release includes contributions from [fedeci] and [timvermeulen].
32+
Thank you!
33+
1934
## [0.2.0] - 2021-05-17
2035

2136
### Additions
@@ -191,7 +206,8 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co
191206

192207
<!-- Link references for releases -->
193208

194-
[Unreleased]: https://github.com/apple/swift-algorithms/compare/0.2.0...HEAD
209+
[Unreleased]: https://github.com/apple/swift-algorithms/compare/0.2.1...HEAD
210+
[0.2.1]: https://github.com/apple/swift-algorithms/compare/0.2.0...0.2.1
195211
[0.2.0]: https://github.com/apple/swift-algorithms/compare/0.1.1...0.2.0
196212
[0.1.1]: https://github.com/apple/swift-algorithms/compare/0.1.0...0.1.1
197213
[0.1.0]: https://github.com/apple/swift-algorithms/compare/0.0.4...0.1.0
@@ -219,12 +235,14 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co
219235
[#85]: https://github.com/apple/swift-algorithms/pull/85
220236
[#90]: https://github.com/apple/swift-algorithms/pull/90
221237
[#91]: https://github.com/apple/swift-algorithms/pull/91
238+
[#104]: https://github.com/apple/swift-algorithms/pull/104
222239
[#106]: https://github.com/apple/swift-algorithms/pull/106
223240
[#112]: https://github.com/apple/swift-algorithms/pull/112
224241
[#119]: https://github.com/apple/swift-algorithms/pull/119
225242
[#124]: https://github.com/apple/swift-algorithms/pull/124
226243
[#125]: https://github.com/apple/swift-algorithms/pull/125
227244
[#130]: https://github.com/apple/swift-algorithms/pull/130
245+
[#138]: https://github.com/apple/swift-algorithms/pull/138
228246

229247
<!-- Link references for contributors -->
230248

@@ -235,6 +253,7 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co
235253
[danielctull]: https://github.com/apple/swift-algorithms/commits?author=danielctull
236254
[dhruvshah8]: https://github.com/apple/swift-algorithms/commits?author=dhruvshah8
237255
[egorzhdan]: https://github.com/apple/swift-algorithms/commits?author=egorzhdan
256+
[fedeci]: https://github.com/apple/swift-algorithms/commits?author=fedeci
238257
[hashemi]: https://github.com/apple/swift-algorithms/commits?author=hashemi
239258
[IanKeen]: https://github.com/apple/swift-algorithms/commits?author=IanKeen
240259
[iSame7]: https://github.com/apple/swift-algorithms/commits?author=iSame7

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ Read more about the package, and the intent behind it, in the [announcement on s
2020
#### Combining collections
2121

2222
- [`chain(_:_:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/Chain.md): Concatenates two collections with the same element type.
23-
- [`product(_:_:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/Product.md): Iterates over all the pairs of two collections; equivalent to nested `for`-`in` loops.
2423
- [`cycled()`, `cycled(times:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/Cycle.md): Repeats the elements of a collection forever or a set number of times.
24+
- [`joined(by:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/Joined.md): Concatenate sequences of sequences, using an element or sequence as a separator, or using a closure to generate each separator.
25+
- [`product(_:_:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/Product.md): Iterates over all the pairs of two collections; equivalent to nested `for`-`in` loops.
2526

2627
#### Subsetting operations
2728

@@ -30,7 +31,7 @@ Read more about the package, and the intent behind it, in the [announcement on s
3031
- [`randomStableSample(count:)`, `randomStableSample(count:using:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/RandomSampling.md): Randomly selects a specific number of elements from a collection, preserving their original relative order.
3132
- [`striding(by:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/Stride.md): Returns every nth element of a collection.
3233
- [`suffix(while:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/Suffix.md): Returns the suffix of a collection where all element pass a given predicate.
33-
- [`trimming(while:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/Trim.md): Returns a slice by trimming elements from a collection's start and end.
34+
- [`trimmingPrefix(while:)`, `trimmingSuffix(while)`, `trimming(while:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/Trim.md): Returns a slice by trimming elements from a collection's start, end, or both. The mutating `trim...` methods trim a collection in place.
3435
- [`uniqued()`, `uniqued(on:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/Unique.md): The unique elements of a collection, preserving their order.
3536
- [`minAndMax()`, `minAndMax(by:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/MinMax.md): Returns the smallest and largest elements of a sequence.
3637

0 commit comments

Comments
 (0)