Skip to content

gocron

v0.9.13 Feature

This release adds 1 notable feature for engineering teams evaluating rollout.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

backup cron docker go schedule scheduler
+2 more
task vue

ReleasePort's take

Light signal
editorial:auto 13d

gocron v0.9.13 makes the HTTP client injectable for tests, enabling custom client substitution. This improves test isolation for HTTP-dependent code paths.

Why it matters: v0.9.13 enables custom HTTP client substitution for testing. Optional upgrade for projects with HTTP-dependent test requirements and comprehensive testing strategies.

Summary

AI summary

HTTP client made injectable for tests.

Changes in this release

Refactor Medium

HTTP client made injectable for tests enabling custom client substitution

HTTP client made injectable for tests enabling custom client substitution

Source: llm_adapter@2026-05-21

Confidence: low

Refactor Low

Introduced package-level httpClient defaulting to http.DefaultClient

Introduced package-level httpClient defaulting to http.DefaultClient

Source: granite4.1:30b@2026-05-23-audit

Confidence: low

Refactor Low

Added roundTripFunc and withTestClient helpers for mocking HTTP responses in tests

Added roundTripFunc and withTestClient helpers for mocking HTTP responses in tests

Source: granite4.1:30b@2026-05-23-audit

Confidence: low

Full changelog

Introduce a package-level httpClient (defaulting to http.DefaultClient) and use it for requests so tests can substitute a custom client/transport. Update healthcheck tests to avoid httptest.NewServer (which binds ports) by adding roundTripFunc and withTestClient helpers that install a custom http.Client Transport returning mocked http.Responses. Tests now use fixed example URLs and the mocked transport; the original client is restored via t.Cleanup.

Changes in This Release

  • Make HTTP client injectable for tests (50fcf7c) by @flohoss

Full Changelog: https://github.com/flohoss/gocron/compare/v0.9.12...v0.9.13


Docker Image

docker pull ghcr.io/flohoss/gocron:v0.9.13
docker pull ghcr.io/flohoss/gocron:latest

Binary Downloads

Download one of the attached binaries extracted from the release image:

  • gocron_<version>_linux_amd64
  • gocron_<version>_linux_arm64

Verify with ./gocron_<version>_linux_<arch> --version.

Image digest:

ghcr.io/flohoss/gocron:v0.9.13@sha256:89db513849e4fa65e7376c18d28f11c9f84ec2a3c51b6cdec16b447e5e39c8ec

Build Information

  • Version: v0.9.13
  • Build Time: 2026-05-13T05:03:28Z
  • Repository: https://github.com/flohoss/gocron
  • Platform: linux/amd64,linux/arm64
  • Attestations: SLSA Provenance, SBOM

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track gocron

Get notified when new releases ship.

Sign up free

About gocron

Task scheduler that allows users to specify recurring jobs via a simple YAML configuration file. `MIT` `Docker`

All releases →

Related context

Earlier breaking changes

  • v0.9.12 Job detail routes use auto-generated URL-safe slugs instead of raw job names
  • v0.9.12 SQLite configuration moved under db section with db.location and db.name
  • v0.9.12 --config flag now expects direct file path instead of folder path

Beta — feedback welcome: [email protected]