# Release schedule for Swift Algorithms?

**URL:** <https://forums.swift.org/t/release-schedule-for-swift-algorithms/63007>\
**Category:** Algorithms\
**Created:** [February 7, 2023, 4:56pm UTC](https://forums.swift.org/t/release-schedule-for-swift-algorithms/63007 "2023-02-07T16:56:03Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjhomer](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/bjhomer/32/313_2.png) [@bjhomer](https://forums.swift.org/u/bjhomer)\
**Post date:** [February 7, 2023, 4:56pm UTC](https://forums.swift.org/t/release-schedule-for-swift-algorithms/63007/1 "2023-02-07T16:56:03Z")

</div>

Is there a release schedule for Swift Algorithms? I went to use [partitioned(by:)](https://github.com/apple/swift-algorithms/blob/main/Guides/Partition.md) today, which was [merged 15 months ago](https://github.com/apple/swift-algorithms/pull/152), but I found that it's still not part of an official release.

Should there be some sort of periodic release schedule for the package?

---

<div class="post-metadata">

**Author:** ![taylorswift](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/taylorswift/32/43413_2.png) [@taylorswift](https://forums.swift.org/u/taylorswift)\
**Post date:** [February 7, 2023, 6:32pm UTC](https://forums.swift.org/t/release-schedule-for-swift-algorithms/63007/2 "2023-02-07T18:32:51Z")

</div>

for what its worth, i am also waiting on tagged releases for swift-atomics, and there are several packages (swift-markdown, swift-syntax come to mind) that don’t even bother with releases, so they are effectively unusable in SPM-distributed libraries.

i am beginning to think this is an intractable problem and the better solution is to change the SPM to enable depending on packages by commit hash, because this problem is far more widespread than just swift-algorithms.

---

<div class="post-metadata">

**Author:** ![nnnnnnnn](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/nnnnnnnn/32/264_2.png) [@nnnnnnnn](https://forums.swift.org/u/nnnnnnnn)\
**Post date:** [February 8, 2023, 12:28am UTC](https://forums.swift.org/t/release-schedule-for-swift-algorithms/63007/3 "2023-02-08T00:28:00Z")

</div>

Thanks, @bjhomer! I had lost track of the fact that we had merged API that hadn't landed in a release. I'll work on getting that out the door soon.

> [@bjhomer](#):
>
> Should there be some sort of periodic release schedule for the package?

It probably depends on the package — this was certainly an oversight, but other packages (for example, swift-argument-parser and swift-collections) have had releases as appropriate for their progress.

---

<div class="post-metadata">

**Author:** ![davdroman](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/davdroman/32/46501_2.png) [@davdroman](https://forums.swift.org/u/davdroman)\
**Post date:** [February 14, 2023, 2:15pm UTC](https://forums.swift.org/t/release-schedule-for-swift-algorithms/63007/4 "2023-02-14T14:15:27Z")

</div>

> [@taylorswift](#):
>
> i am beginning to think this is an intractable problem and the better solution is to change the SPM to enable depending on packages by commit hash

But that is already possible, isn't it?

```swift
.package(url: "https://github.com/abc/xyz", revision: "{commit_hash}")

```

---

<div class="post-metadata">

**Author:** ![taylorswift](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/taylorswift/32/43413_2.png) [@taylorswift](https://forums.swift.org/u/taylorswift)\
**Post date:** [February 14, 2023, 8:45pm UTC](https://forums.swift.org/t/release-schedule-for-swift-algorithms/63007/5 "2023-02-14T20:45:49Z")

</div>

packages that declare such dependencies cannot themselves be used as dependencies in another project.

it is a quite pernicious problem across the ecosystem, because it is impossible to validate this in a CI pipeline; currently the only way to test that a package is usable by consumers is to _actually publish a release to the whole world_, which defeats the purpose of CI.

as a result many library authors do not realize (or do not care) that their packages are unusable as dependencies. i tend to view this as a poor design choice on the part of SPM, because in my view it is not reasonable to expect package authors to assume responsibility for something that is inherently impossible to validate in CI.

---

<div class="post-metadata">

**Author:** ![FranzBusch](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/franzbusch/32/19447_2.png) [@FranzBusch](https://forums.swift.org/u/FranzBusch)\
**Post date:** [February 15, 2023, 10:33pm UTC](https://forums.swift.org/t/release-schedule-for-swift-algorithms/63007/6 "2023-02-15T22:33:52Z")

</div>

We just released a new version of [async-algorithm 0.1.0](https://github.com/apple/swift-async-algorithms/releases/tag/0.1.0). Since the last release we changed quite a few things. We would love to get more feedback on the APIs before we release a 1.0.0 of the package.

There are two more proposal that we want to run through with the community as well:

1. The updated buffer proposal
2. The interspersed proposal

After having run both of them through review, @Philippe_Hausler and I are going to take another look at the package and make sure it is ready for 1.0.0.

---

<div class="post-metadata">

**Author:** ![mtsrodrigues](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/mtsrodrigues/32/34169_2.png) [@mtsrodrigues](https://forums.swift.org/u/mtsrodrigues)\
**Post date:** [February 16, 2023, 2:46pm UTC](https://forums.swift.org/t/release-schedule-for-swift-algorithms/63007/7 "2023-02-16T14:46:03Z")

</div>

> [@FranzBusch](#):
>
> We would love to get more feedback on the APIs before we release a 1.0.0 of the package.

At first read [`removeDuplicates()`](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncAlgorithms.docc/Guides/RemoveDuplicates.md) seems like a in-place method. I think it should be named `duplicatesRemoved` to be aligned with `chunked`, `compacted` and `interspersed`.

---

<div class="post-metadata">

**Author:** ![tonyarnold](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/tonyarnold/32/30924_2.png) [@tonyarnold](https://forums.swift.org/u/tonyarnold)\
**Post date:** [May 8, 2023, 4:28am UTC](https://forums.swift.org/t/release-schedule-for-swift-algorithms/63007/8 "2023-05-08T04:28:27Z")

</div>

I went to use `partitioned(by: …)` again today, and I've ended up switching to `branch: "main"` for the moment.

I get it's a super busy time of year for everyone at Apple, but gosh it'd be nice to have that API in a proper release 😄

---

<div class="post-metadata">

**Author:** ![BigZaphod](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/bigzaphod/32/9561_2.png) [@BigZaphod](https://forums.swift.org/u/BigZaphod)\
**Post date:** [August 2, 2023, 12:06am UTC](https://forums.swift.org/t/release-schedule-for-swift-algorithms/63007/9 "2023-08-02T00:06:19Z")

</div>

I hate to resurrect an old thread just to pile on, but: same! I wanted `partitioned(by:)` and was very surprised to see it's not only not in the tagged 1.0.0 that the README suggests using, but that there hasn't been a release since 2021?! If this weren't an "official" project I'd think it was dead.

---

<div class="post-metadata">

**Author:** ![nnnnnnnn](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/nnnnnnnn/32/264_2.png) [@nnnnnnnn](https://forums.swift.org/u/nnnnnnnn)\
**Post date:** [August 2, 2023, 12:35am UTC](https://forums.swift.org/t/release-schedule-for-swift-algorithms/63007/10 "2023-08-02T00:35:20Z")

</div>

Thanks for the continued drumbeat, y'all! The 1.1 release is nearly there — you can see the remaining bits in the related milestone here: [Swift Algorithms 1.1 Milestone · GitHub](https://github.com/apple/swift-algorithms/milestone/1)
