Changelog for timer-wheel-0.2.1
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to the Haskell Package Versioning Policy.
[Unreleased]
Added
- Add
with - Add support for GHC 8.8, GHC 8.10
Changed
- Change type of
spokesfromNaturaltoInt - Change order of delay and action arguments in
register,register_,recurring, andrecurring_ - Fix underflow bug that affected recurring timers
Removed
- Remove
create,destroy - Remove
TimerWheelDiedexception.withnow simply re-throws the exception that the timer wheel thread throws - Remove
InvalidTimerWheelConfigexception.erroris used instead - Remove support for GHC < 8.6
[0.2.0.1] - 2019-05-19
Changed
- Swap out
ghc-primandprimitiveforvector
[0.2.0] - 2019-02-03
Added
- Add
destroyfunction, for reaping the background thread - Add
recurring_function
Changed
- If the timer wheel reaper thread crashes, it will propagate the exception to the thread that spawned it
newmay now throwInvalidTimerWheelConfig- The cancel action returned by
registeris now memoized, which fixes a bug involving trying to cancel arecurringtimer twice. The second call used to spin forever and peg a CPU - Use
Configtype for creating a timer wheel - Change argument order around
- Rename
newtocreate - Make recurring timers more accurate
[0.1.0] - 2018-07-18
Added
- Initial release