Skip to content

Releases: pointfreeco/swift-clocks

1.0.5

20 Aug 17:09
b9b24b6
Compare
Choose a tag to compare

What's Changed

  • Fixed: Address a Wasm crash related to type-erased clocks (#41).

Full Changelog: 1.0.4...1.0.5

1.0.4

24 Jul 18:31
3581e28
Compare
Choose a tag to compare

What's Changed

  • Fixed: Point Issue Reporting to xctest-dynamic-overlay repo. #40

Full Changelog: 1.0.3...1.0.4

1.0.3

22 Jul 22:46
eb64eac
Compare
Choose a tag to compare

What's Changed

  • Added: Add beta support for Swift Testing (#39).
  • Fixed: Set the default value of ImmediateClock (thanks @sanghun0724, #29).
  • Fixed: Change AnyClock, ImmediateClock, TestClock offset from var to let (thanks @sanghun0724, #28).
  • Fixed: Demote access control of non-public APIs (#30).
  • Fixed: Remove shim for Clock.sleep (thanks @Rspoon3, #31).
  • Infrastructure: Swift Language Support: Drop <5.9, Add 6.0 (#37).
  • Infrastructure: Add .editorconfig for consistent code formatting (thanks @Matejkob, #38).

New Contributors

Full Changelog: 1.0.2...1.0.3

1.0.2

07 Dec 22:26
a8421d6
Compare
Choose a tag to compare

What's Changed

  • Fixed: 1.0.1 introduced a regression in test clock behavior, in which clocks would not suspend when sleeping for zero seconds as they should (#26).

Full Changelog: 1.0.1...1.0.2

1.0.1

06 Dec 23:17
d631338
Compare
Choose a tag to compare

What's Changed

  • Fixed: TestClock.sleep should no longer hang when sleeping until a deadline that is equal to now (thanks @bobergj, #22)
  • Infrastructure: Removed test dependency on AsyncAlgorithms (thanks @brzzdev, #25).

New Contributors

Full Changelog: 1.0.0...1.0.1

1.0.0

30 Jul 18:23
Compare
Choose a tag to compare
  • Added: First "stable" release. Clocks contains APIs extracted from the Composable Architecture's suite of tools, which is now considered stable. This 1.0 release will introduce a more strict adherence to semantic versioning.

Full Changelog: 0.4.0...1.0.0

0.4.0

17 Jul 18:17
0fbaebf
Compare
Choose a tag to compare

What's Changed

  • Added: Clocks now depends on ConcurrencyExtras for its use of Task.megaYield (#21).
  • Fixed: TestClock.init(now:) correctly assigns the given argument (#20).

New Contributors

Full Changelog: 0.3.0...0.4.0

0.3.0

27 Apr 18:19
f9acfa1
Compare
Choose a tag to compare

What's Changed

  • Changed: UnimplementedClock can now wrap a base clock to provide backing behavior other than an immediate clock (#19).
  • Changed: The "mega yield" functionality can now be controlled externally by setting the TASK_MEGA_YIELD_COUNT environment variable (#18).
  • Infrastructure: Update README to mention AnyClock (#12); add comment around platform requirements (#15); typo fixes (thanks @tgrapperon, #16; @AndrewSB, #17).

New Contributors

Full Changelog: 0.2.0...0.3.0

0.2.0

08 Nov 17:22
20b25ca
Compare
Choose a tag to compare

What's Changed

  • Added: A concrete type-eraser, AnyClock, that can be used to erase clocks in positions where existentials cannot be automatically opened, .e.g. in Async Algorithms' timer, debounce, and throttle operations.

Full Changelog: 0.1.4...0.2.0

0.1.4

24 Oct 21:04
692ec4f
Compare
Choose a tag to compare

What's Changed

  • Added: macCatalyst support (#6).

Full Changelog: 0.1.3...0.1.4