From 36bcc5581bf848703b2ded576549b969bcb1705d Mon Sep 17 00:00:00 2001 From: Nate Cook Date: Tue, 13 Apr 2021 23:53:07 -0500 Subject: [PATCH] Update changelog for 0.1.0 release (#128) --- CHANGELOG.md | 38 ++++++++++++++++++++++++++++++++++++-- README.md | 4 ++-- 2 files changed, 38 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 366a2a46..6779d9ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ 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. +`.upToNextMinor(from: "0.1.0")` as the requirement. ## [Unreleased] @@ -16,6 +16,32 @@ package updates, you can specify your package dependency using --- +## [0.1.0] - 2021-04-13 + +### Additions + +- The `compacted()` method lazily finds the non-`nil` elements of a sequence or + collection ([#112]). + +### Changes + +- The `uniqued()` method now lazily computes the unique elements of a sequence + or a collection ([#71]). Pass this resulting sequence to an `Array` + initializer to recover the behavior of the previous release. +- Calling `cycled(times:)` now returns a new `FiniteCycle` type, which has the + same conformances as its underlying collection ([#106]). +- The base collections of the sequence and collection wrapper types are no + longer public ([#85], [#125]), and the wrapper types no longer conform to the + `Equatable` or `Hashable` protocols ([#124]). If you need those conformances, + convert the wrapper type to an `Array` or other collection currrency type + before storing. Please file an issue if these changes pose a problem for your + use case. + +The 0.1.0 release includes contributions from [LemonSpike], [LucianoPAlmeida], +[natecook1000], and [timvermeulen]. Thank you! + +--- + ## [0.0.4] - 2021-03-29 ### Additions @@ -123,7 +149,8 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co -[Unreleased]: https://github.com/apple/swift-algorithms/compare/0.0.4...HEAD +[Unreleased]: https://github.com/apple/swift-algorithms/compare/0.1.0...HEAD +[0.1.0]: https://github.com/apple/swift-algorithms/compare/0.0.4...0.1.0 [0.0.4]: https://github.com/apple/swift-algorithms/compare/0.0.3...0.0.4 [0.0.3]: https://github.com/apple/swift-algorithms/compare/0.0.2...0.0.3 [0.0.2]: https://github.com/apple/swift-algorithms/compare/0.0.1...0.0.2 @@ -142,9 +169,15 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co [#54]: https://github.com/apple/swift-algorithms/pull/54 [#56]: https://github.com/apple/swift-algorithms/pull/56 [#65]: https://github.com/apple/swift-algorithms/pull/65 +[#71]: https://github.com/apple/swift-algorithms/pull/71 [#77]: https://github.com/apple/swift-algorithms/pull/77 [#78]: https://github.com/apple/swift-algorithms/pull/78 +[#85]: https://github.com/apple/swift-algorithms/pull/85 [#91]: https://github.com/apple/swift-algorithms/pull/91 +[#106]: https://github.com/apple/swift-algorithms/pull/106 +[#112]: https://github.com/apple/swift-algorithms/pull/112 +[#124]: https://github.com/apple/swift-algorithms/pull/124 +[#125]: https://github.com/apple/swift-algorithms/pull/125 @@ -159,6 +192,7 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co [iSame7]: https://github.com/apple/swift-algorithms/commits?author=iSame7 [karwa]: https://github.com/apple/swift-algorithms/commits?author=karwa [kylemacomber]: https://github.com/apple/swift-algorithms/commits?author=kylemacomber +[LemonSpike]: https://github.com/apple/swift-algorithms/commits?author=LemonSpike [LucianoPAlmeida]: https://github.com/apple/swift-algorithms/commits?author=LucianoPAlmeida [markuswntr]: https://github.com/apple/swift-algorithms/commits?author=markuswntr [mdznr]: https://github.com/apple/swift-algorithms/commits?author=mdznr diff --git a/README.md b/README.md index c3454f32..410a5310 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ If you don't want potentially source-breaking package updates, use this dependency specification instead: ```swift -.package(url: "https://github.com/apple/swift-algorithms", .upToNextMinor(from: "0.0.1")), +.package(url: "https://github.com/apple/swift-algorithms", .upToNextMinor(from: "0.1.0")), ``` Finally, include `"Algorithms"` as a dependency for your executable target: @@ -71,7 +71,7 @@ Finally, include `"Algorithms"` as a dependency for your executable target: let package = Package( // name, platforms, products, etc. dependencies: [ - .package(url: "https://github.com/apple/swift-algorithms", from: "0.0.1"), + .package(url: "https://github.com/apple/swift-algorithms", from: "0.1.0"), // other dependencies ], targets: [