This release adds 1 notable feature for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+2 more
ReleasePort's take
Light signalgocron 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 summaryHTTP client made injectable for tests.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| 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_amd64gocron_<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
About gocron
Task scheduler that allows users to specify recurring jobs via a simple YAML configuration file. `MIT` `Docker`
Related context
Related tools
Beta — feedback welcome: [email protected]