---
title: "github.com/jonboulle/clockwork v0.5.0 Breaking Changes"
description: "What each github.com/jonboulle/clockwork release removed, renamed or changed: 7 breaking changes in 2 versions on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/jonboulle/clockwork
last_updated: 2026-12-04
---

# github.com/jonboulle/clockwork breaking changes

github.com/jonboulle/clockwork v0.5.0 (January 2, 2025) is its newest release with breaking changes, 5 of them. The first: github.com/jonboulle/clockwork v0.5.0 requires Go 1.21 or later. Every breaking API change we have recorded in github.com/jonboulle/clockwork on Go modules: 7 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v0.5.0`, released January 2, 2025. 

Its v0.5.0 release requires [Go 1.21](https://since.dev/calendar/go/1.21.md) or later. [Go end of life dates](https://since.dev/calendar/go.md).

- From [v0.4.0](#v-v0-4-0) to [v0.5.0](#v-v0-5-0): 5 breaking changes in 1 version.

## github.com/jonboulle/clockwork v0.5.0 breaking changes

github.com/jonboulle/clockwork v0.5.0, released January 2, 2025: 5 breaking changes.

- **Removed**  

The minimum Go version is raised to 1.21. Users on older Go versions must upgrade their toolchain. [github.com](https://github.com/jonboulle/clockwork/releases/tag/v0.5.0)
- **Behavior changed** `NewTicker`  

NewTicker panics if d<=0, matching time.NewTicker. Code that passes a non-positive duration will now panic. [github.com](https://github.com/jonboulle/clockwork/releases/tag/v0.5.0)
- **Signature changed** `github.com/jonboulle/clockwork.FakeClock`  

FakeClock was converted to a struct. Code that uses FakeClock as an interface type must be updated. [pkg.go.dev](https://pkg.go.dev/github.com/jonboulle/clockwork@v0.5.0)
- **Signature changed** `github.com/jonboulle/clockwork.NewFakeClock`  

Was func NewFakeClock() FakeClock; now func NewFakeClock() \*FakeClock. [pkg.go.dev](https://pkg.go.dev/github.com/jonboulle/clockwork@v0.5.0)
- **Signature changed** `github.com/jonboulle/clockwork.NewFakeClockAt`  

Was func NewFakeClockAt(time.Time) FakeClock; now func NewFakeClockAt(time.Time) \*FakeClock. [pkg.go.dev](https://pkg.go.dev/github.com/jonboulle/clockwork@v0.5.0)

## github.com/jonboulle/clockwork v0.4.0 breaking changes

github.com/jonboulle/clockwork v0.4.0, released April 1, 2023: 2 breaking changes.

- **Behavior changed** `NewFakeClock`  

A fake clock created with NewFakeClock now begins at the current time. Code that relied on the previous initial value must set the time explicitly. [github.com](https://github.com/jonboulle/clockwork/releases/tag/v0.4.0)
- **Configuration changed**  

The package now requires Go 1.15 or later. Projects on older Go versions must upgrade their toolchain. [github.com](https://github.com/jonboulle/clockwork/releases/tag/v0.4.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
