What's Changed
Enhancements 馃殌
- Convert FakeClock to a struct. by @DPJacques in https://github.com/jonboulle/clockwork/pull/71
Dependency Updates 猬嗭笍
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in https://github.com/jonboulle/clockwork/pull/73
- build(deps): bump actions/setup-go from 4 to 5 by @dependabot in https://github.com/jonboulle/clockwork/pull/80
- build(deps): bump github/codeql-action from 2 to 3 by @dependabot in https://github.com/jonboulle/clockwork/pull/81
Other Changes
- Make NewTicker panic if d<=0, like time.NewTicker. by @DPJacques in https://github.com/jonboulle/clockwork/pull/70
- Fix typos and grammar issue by @alexandear in https://github.com/jonboulle/clockwork/pull/72
- Set minimal workflow permissions by @pnacht in https://github.com/jonboulle/clockwork/pull/75
- Add security policy by @pnacht in https://github.com/jonboulle/clockwork/pull/78
- add Until method on clock interface by @WillMatthews in https://github.com/jonboulle/clockwork/pull/85
- Bump Go version to 1.21. by @DPJacques in https://github.com/jonboulle/clockwork/pull/89
- Remove some duplication & use slices package. by @DPJacques in https://github.com/jonboulle/clockwork/pull/90
- Standardize tests for core clockwork functions. by @DPJacques in https://github.com/jonboulle/clockwork/pull/91
- Add contexts that use FakeClock rather than the system time. by @DPJacques in https://github.com/jonboulle/clockwork/pull/92
- Remove firer struct & fix ticker reset by @DPJacques in https://github.com/jonboulle/clockwork/pull/95
New Contributors
- @alexandear made their first contribution in https://github.com/jonboulle/clockwork/pull/72
- @pnacht made their first contribution in https://github.com/jonboulle/clockwork/pull/75
- @WillMatthews made their first contribution in https://github.com/jonboulle/clockwork/pull/85
Full Changelog: https://github.com/jonboulle/clockwork/compare/v0.4.0...v0.5.0