Releases: pointfreeco/swift-clocks
Releases · pointfreeco/swift-clocks
1.0.5
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
1.0.3
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
fromvar
tolet
(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
- @sanghun0724 made their first contribution in #29
- @Rspoon3 made their first contribution in #31
- @Matejkob made their first contribution in #38
Full Changelog: 1.0.2...1.0.3
1.0.2
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
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
- 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
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
- @b1ackturtle made their first contribution in #20
Full Changelog: 0.3.0...0.4.0
0.3.0
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
- @tgrapperon made their first contribution in #16
- @AndrewSB made their first contribution in #17
Full Changelog: 0.2.0...0.3.0
0.2.0
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
, andthrottle
operations.
Full Changelog: 0.1.4...0.2.0