Skip to content

Commit e7e74cf

Browse files
authored
Merge pull request #26 from sideeffect-io/release/0.5.0
project: bump CHANGELOG to 0.5.0
2 parents 80dd6e6 + 9112139 commit e7e74cf

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
**v0.5.0 - Carbon:**
2+
3+
This version brings a lot of internal refactoring and breaking changes + some new operators.
4+
5+
Now `swift-async-algorithms` has been anounced, this library can be seen as a companion for the Apple repo.
6+
For now there is an overlap between both libraries, but when `swift-async-algorithms` becomes stable the overlapping operators while be deprecated in `AsyncExtensions`.
7+
8+
Nevertheless `AsyncExtensions` will continue to provide the operators that the community needs and are not provided by Apple.
9+
10+
- `AsyncBufferedChannel`/`AsyncThrowingBufferedChannel`: is the equivalent to `AsyncChannel` from Apple. The difference is that back-pressure is handled with a stack and the send operation is not suspending.
11+
- Subjects: the `subject` suffix has been adopted to all the "hot" `AsyncSequence` with a shared output. A throwing counterpart has been added.
12+
- `zip` and `merge` are top level functions to match Apple repo.
13+
- `AsyncThrowingJustSequence`: an `AsyncSequence` that takes a throwing closure to compute the only element to emit.
14+
- `AsyncStream.pipe()`: creates and `AsyncStream` by escaping the `Continuation` and returning a tuple to manipulate the inputs and outputs of the stream.
15+
- `mapToResult()`: maps events (elements or failure) from an `AsyncSequence` to a `Result`. The resulting `AsyncSequence` cannot fail.
16+
- `AsyncLazySequence`: is a renaming to match Apple repo for creating an `AsyncSequence` from a `Sequence`.
17+
118
**v0.4.0 - Bore:**
219

320
- AsyncStreams: new @Streamed property wrapper

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ Include `"AsyncExtensions"` as a dependency for your executable target:
2828

2929
Finally, add `import AsyncExtensions` to your source code.
3030

31+
## Features
32+
3133
### Channels
3234
* [AsyncBufferedChannel](./Sources/AsyncChannels/AsyncBufferedChannel.swift): Buffered communication channel between tasks. The elements are not shared and will be spread across consumers (same as
3335
AsyncStream)

0 commit comments

Comments
 (0)