Closed renovate[bot] closed 2 months ago
Aviator will automatically update this comment as the status of the PR changes. Comment
/aviator refresh
to force Aviator to re-examine your PR (or learn about other/aviator
commands).
This PR was merged manually (without Aviator). Merging manually can negatively impact the performance of the queue. Consider using Aviator next time.
Unable to locate .performanceTestingBot config file
Hi there! :wave: Thanks for opening a PR. It looks like you've already reached the 5 review limit on our Basic Plan for the week. If you still want a review, feel free to upgrade your subscription in the Web App and then reopen the PR
View changes in DiffLens
This PR has 2
quantified lines of changes. In general, a change size of upto 200
lines is ideal for the best PR experience!
Was this comment helpful? :thumbsup: :ok_hand: :thumbsdown: (Email) Customize PullRequestQuantifier for this repository.
Thanks for opening this Pull Request! We need you to:
Fill out the description.
Action: Edit description and replace <!- ... -->
with actual values.
Complete the activities.
Action: Complete If you want to rebase/retry this PR, check this box
If an activity is not applicable, use '\~activity description\~' to mark it not applicable.
[!IMPORTANT]
Auto Review Skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai review
command.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This PR contains the following updates:
from: "1.0.0"
->from: "1.2.0"
Release Notes
apple/swift-algorithms (apple/swift-algorithms)
### [`v1.2.0`](https://togithub.com/apple/swift-algorithms/blob/HEAD/CHANGELOG.md#120---2023-11-14) [Compare Source](https://togithub.com/apple/swift-algorithms/compare/1.1.0...1.2.0) ##### Additions - Sequences have new `grouped(by:)` and `keyed(by:)` methods, which simplify building dictionaries based on sequence elements: (\[[#197](https://togithub.com/apple/swift-algorithms/issues/197)]) ```swift let evensOdds = (1...10).grouped(by: { $0.isMultiple(of: 2) ? "even" : "odd" }) // ["even": [2, 4, 6, 8, 10], "odd": [1, 3, 5, 7, 9]] let animals = ["Aardvark", "Alpaca", "Armadillo", "Barracuda", "Buffalo", ...] let alphaAnimals = animals.keyed(by: \.first!, resolvingConflictsWith: { _, first, _ in first }) // ["A": "Aardvark", "B": "Barracuda", ...] ``` - The `endOfPrefix(while:)` and `startOfSuffix(while)` methods are now public. These methods were previously implementation details of the `trimming` group of methods. (\[[#211](https://togithub.com/apple/swift-algorithms/issues/211)]) ##### Fixes - Documentation and performance improvements. (\[[#202](https://togithub.com/apple/swift-algorithms/issues/202)], \[[#210](https://togithub.com/apple/swift-algorithms/issues/210)]) The 1.2.0 release includes contributions from \[amomchilov], \[mattyoung], \[natecook1000], \[stephentyrone], and \[ttsugriy]. Thank you! *** ### [`v1.1.0`](https://togithub.com/apple/swift-algorithms/blob/HEAD/CHANGELOG.md#110---2023-10-05) [Compare Source](https://togithub.com/apple/swift-algorithms/compare/1.0.0...1.1.0) ##### Additions - New nonmutating `partitioned(by:)` methods that return both the failing and passing elements of a sequence or collection in separate arrays. (\[[#152](https://togithub.com/apple/swift-algorithms/issues/152)]) ```swift let cast = ["Vivien", "Marlon", "Kim", "Karl"] let (longNames, shortNames) = cast.partitioned(by: { $0.count < 5 }) print(longNames) // Prints "["Vivien", "Marlon"]" print(shortNames) // Prints "["Kim", "Karl"]" ``` - A new `evenlyChunked(in:)` method that chunks a sequence or collection into the specified number of evenly-sized subsequences. (\[[#96](https://togithub.com/apple/swift-algorithms/issues/96)]) ```swift let numbers = Array(0..<10) for chunk in numbers.evenlyChunked(in: 4) { print(chunk) } // Prints: // [0, 1, 2] // [3, 4, 5] // [6, 7] // [8, 9] ``` ##### Changes - The package now has a minimum Swift version of Swift 5.4. ##### Fixes - Improvements to documentation, including a new DocC-based documentation structure. The 1.1.0 release includes contributions from \[dickoff], \[gwynne], \[mdznr], \[natecook1000], \[ole], \[stephentyrone], and \[timvermeulen]. Thank you! ***Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.