Skip to content

Releases: sideeffect-io/AsyncExtensions

Fluorine

27 Jun 12:41
Compare
Choose a tag to compare

The release fixes a conflict on the Failure primary associated type newly defined in Swift.

Oxygen

03 Jan 14:42
0.5.2
1f0729e
Compare
Choose a tag to compare

This release is a bug fix version.

  • Multicast: don't cancel the upstream sequence when a client is cancelled (#32)
  • SwitchToLatest: fix a situation where child task could hang indefinitely (#20)

Nitrogen

29 Sep 09:01
ee170c2
Compare
Choose a tag to compare

This version removes the compilation unsafe flags

Carbon

26 Sep 08:47
e7e74cf
Compare
Choose a tag to compare

This version brings a lot of internal refactoring and breaking changes + some new operators.

Now swift-async-algorithms has been anounced, this library can be seen as a companion for the Apple repo.
For now there is an overlap between both libraries, but when swift-async-algorithms becomes stable the overlapping operators while be deprecated in AsyncExtensions.

Nevertheless AsyncExtensions will continue to provide the operators that the community needs and are not provided by Apple.

  • 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.
  • Subjects: the subject suffix has been adopted to all the "hot" AsyncSequence with a shared output. A throwing counterpart has been added.
  • zip and merge are top level functions to match Apple repo.
  • AsyncThrowingJustSequence: an AsyncSequence that takes a throwing closure to compute the only element to emit.
  • AsyncStream.pipe(): creates and AsyncStream by escaping the Continuation and returning a tuple to manipulate the inputs and outputs of the stream.
  • mapToResult(): maps events (elements or failure) from an AsyncSequence to a Result. The resulting AsyncSequence cannot fail.
  • AsyncLazySequence: is a renaming to match Apple repo for creating an AsyncSequence from a Sequence.

Bore

21 Mar 09:42
Compare
Choose a tag to compare

This release brings:

  • a fix to finish a Timer when the Task is canceled
  • a new @Streamed property wrapper

Beryllium

13 Mar 16:39
6d3d520
Compare
Choose a tag to compare
  • Operators: new share() operator
  • Operators: new withLatestFrom(_:) operator
  • AsyncSequences: new Timer AsyncSequence
  • AsyncStreams: send() functions are now synchronous

Lithium

02 Mar 10:39
1e2f3fe
Compare
Choose a tag to compare

This release fixes a potential issue where ConcurrentAccessRegulator could call the onNext function in a non deterministic way timeline wise.

Helium

02 Mar 09:40
aae817b
Compare
Choose a tag to compare

This release brings:

  • AsyncStreams.CurrentValue element made public and available with get/set
  • A new Multicast operator
  • A new Assign operator

Hydrogen

31 Jan 20:15
c205cbc
Compare
Choose a tag to compare

This release brings the first set of operators:

Async Sequences:

  • Just
  • Empty
  • Fail
  • From
  • Merge
  • Zip2
  • Zip3
  • Zip

Async Streams:

  • Passthrough
  • CurrentValue
  • Replay

Operators:

  • Collect
  • Scan
  • SwitchToLatest
  • FlatMapLatest
  • HandleEvents
  • EraseToAnyAsyncSequence