Releases: vimeo/go-clocks
Releases · vimeo/go-clocks
v1.3.0 -- Timer Support
What's Changed
Full Changelog: v1.2.0...v1.3.0
v1.2.0 -- context timeout/deadline methods
What's Changed
- Clarify some Docstrings by @sergiosalvatore in #10
- Build with Go 1.18 and 1.19 by @sergiosalvatore in #11
- Add context methods to Clock interface by @justinruggles in #12
New Contributors
- @sergiosalvatore made their first contribution in #10
- @justinruggles made their first contribution in #12
Full Changelog: v1.1.2...v1.2.0
v1.1.2: Afterfunc synchronization bug fix
What's Changed
Full Changelog: v1.1.1...v1.1.2
fake.AfterFunc synchronization improvements
Provide guarantees about AfterFunc goroutines having scheduled by the time fake.Clock.Advance and fake.Clock.SetClock have returned.
Similarly, add a sync.WaitGroup to track the completion of AfterFunc callbacks (and expose it via the new fake.Clock.WaitAfterFuncs()).
AfterFunc support
Add an AfterFunc method to the Clock interface that returns a StopTimer implementation, and wraps time.AfterFunc in the default implementation.
Initial Release
Merge pull request #4 from vimeo/offset_separation offset: move offset clock into its own subpackage