Skip to content

Releases: pointfreeco/combine-schedulers

0.7.3

25 Aug 15:05
Compare
Choose a tag to compare
  • Fixed: Combine Schedulers no longer causes DocC builds to fail in projects that depend on Combine Schedulers. This includes the Composable Architecture and applications/libraries that depend on the Composable Architecture.

    Warning: This is a breaking change that may affect your application when upgrading.

    Prior to this update, Combine Schedulers automatically imported the Foundation framework alongside itself (due to an @_exported import Foundation declaration that was included in a file vendored from an Apple code base).

    Removing this has the following ramifications:

    • If you use the Composable Architecture and are pinned to a version before 0.39.1, you must also explicitly pin Combine Schedulers to 0.7.2 or lower for previous versions of the Composable Architecture to build:

      .package(url: "https://github.com/pointfreeco/combine-schedulers", .exact("0.7.2")),

      ...or you must update to the Composable Architecture 0.39.1 or higher.

    • If your application relied on ambient access to Foundation from importing Combine Schedulers (or the Composable Architecture), you must explicitly import Foundation in those files after upgrading, or you must pin Combine Schedulers to 0.7.2 or lower.

0.7.2

15 Aug 16:29
8fee20f
Compare
Choose a tag to compare

What's Changed

  • Remove the SchedulerOf typealias. by @mbrandonw in #64

    This is needed due to the typealias causing Xcode editor stability problems. A Swift bug has been filed here, and an Xcode feedback has been filed here.

Full Changelog: 0.7.1...0.7.2

0.7.1

12 Aug 01:29
73807a3
Compare
Choose a tag to compare
  • Added: Build support for non-Apple platforms. Allows libraries to depend on CombineSchedulers but still build for other platforms, like Linux.

0.7.0

08 Aug 04:48
f7c8277
Compare
Choose a tag to compare
  • Added: TestScheduler.advance(to:), for advancing to a specific moment in time (thanks @ytyubox).
  • Added: Async-friendly versions of TestScheduler's advance(by:), advance(to:), and run() methods, which yield time to cooperative concurrency while scheduling work.
  • Added: Async-friendly functions for sleeping and running timers: Scheduler.sleep(for:) and Scheduler.timer(interval:).

0.6.0

28 Jun 19:38
0ba3a56
Compare
Choose a tag to compare
  • Added: AnySchedulerOf<DispatchQueue>.global(qos:) (thanks @iampatbrown).
  • Renamed: FailingScheduler is now UnimplementedScheduler. Type aliases to FailingScheduler and failing statics are soft-deprecated and will become warnings in a future version of Combine Schedulers.
  • Infrastructure: README fix (thanks @junpluse).

0.5.3

21 Sep 14:37
4cf088c
Compare
Choose a tag to compare
  • Updated xctest-dynamic-overlay to 0.2.1 (#42) (thanks @mRs- !)

0.5.2

25 Aug 18:07
6bde3b0
Compare
Choose a tag to compare
  • Fixed: restore platform requirements to platforms with Combine. Due to a possible but in Xcode 13, Combine Schedulers would fail to build in release mode otherwise.
  • Infrastructure: fixed a README/documentation typo (thanks @kalupas226).

0.5.1

29 Jul 14:56
6dcc7c0
Compare
Choose a tag to compare
  • Changed: relaxed platform dependencies to be platform independent (thanks @maximkrouk).
  • Infrastructure: updated documentation.

0.5.0

29 Mar 20:19
c37e5ae
Compare
Choose a tag to compare
  • Added: main static helpers on AnyScheduler for dispatch queues, operation queues, and run loops, so that you can shorten, for example, DispatchQueue.main.eraseToAnyScheduler() to .main in many cases.
  • Changed: static immediateScheduler helpers have been shortened to immediate, and new, static immediate helpers have been defined directly on AnyScheduler so that you can simply pass .immediate to endpoints expecting an AnyScheduler.
  • Changed: static testScheduler helpers have been shortened to test.

0.4.1

22 Mar 15:20
f1250fa
Compare
Choose a tag to compare

Fixed: watchOS compilation.