Skip to content

Bump github.com/netresearch/go-cron from 0.11.0 to 0.13.0#853

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/netresearch/go-cron-0.13.0
Open

Bump github.com/netresearch/go-cron from 0.11.0 to 0.13.0#853
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/netresearch/go-cron-0.13.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 3, 2026

Bumps github.com/netresearch/go-cron from 0.11.0 to 0.13.0.

Release notes

Sourced from github.com/netresearch/go-cron's releases.

v0.13.0

Highlights

Quoted timezone values (#337, #335)

Shell users who habitually quote environment variable values can now write TZ="America/New_York" or TZ='UTC' in cron spec strings. Matching single or double quotes are stripped before validation. Mismatched or partial quotes are rejected with clear errors.

// All of these now work
c.AddFunc(`TZ="America/New_York" 0 9 * * *`, job)
c.AddFunc(`CRON_TZ='Asia/Tokyo' 30 4 * * *`, job)
c.AddFunc("TZ=UTC * * * * *", job) // unquoted still works

See ADR-021 for design rationale and scope.

Changes

Features

  • feat: allow quoted TZ and CRON_TZ values in spec strings (#337)

Documentation

  • docs: ADR-021 — Quoted Timezone Values in Spec Strings
  • docs: updated README, DST_HANDLING, TROUBLESHOOTING, COOKBOOK with quoted timezone examples

Full Changelog: netresearch/go-cron@v0.12.0...v0.13.0

v0.12.0

Highlights

Workflow/DAG job dependencies (#330, #312)

Declarative job dependency graphs with a fluent builder API. Supports DAG execution with cascade skip logic, DFS cycle detection, configurable trigger conditions (AllSuccess, AnySuccess, Always), execution status tracking, retention policies, and runtime query APIs (WorkflowStatus, ActiveWorkflows).

Per-entry pause/resume (#323, #203)

Pause and resume individual cron entries at runtime without removing them. Paused entries remain registered but skip execution until resumed. Supports both name-based and ID-based operations.

Triggered-only jobs (#325)

New @triggered, @manual, and @none schedule specifiers for jobs that only run on-demand. These entries are never scheduled by the cron engine but can be triggered programmatically or via workflow dependencies.

Rate limiting middleware (#327, #167)

New WithRateLimit middleware to control job execution rates with configurable token bucket limits. Context-aware MaxConcurrent integration for graceful shutdown.

Resilience observability (#326, #185, #186)

Hooks for monitoring retry attempts, circuit breaker state changes, and recovery events. Enables integration with metrics systems and alerting pipelines.

PrevN schedule introspection (#328, #297)

New PrevN method on schedules for querying previous execution times, complementing the existing NextN introspection API.

Changes

... (truncated)

Changelog

Sourced from github.com/netresearch/go-cron's changelog.

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

This is a fork of robfig/cron with additional features, bug fixes, and modernization improvements.

[Unreleased]

Added

  • PauseEntry/ResumeEntry (#203, [PR#323]): Temporarily suspend individual entries without removing them. Paused entries remain in the scheduler with their schedule advancing, but execution is skipped. Includes ByName variants, IsEntryPaused/IsEntryPausedByName query methods, WithPaused() JobOption, and exported Entry.Paused field visible in snapshots.
  • Triggered jobs (#311): Jobs that never fire automatically, only when explicitly triggered. Register with @triggered, @manual, or @none descriptors, then execute on demand via TriggerEntry/TriggerEntryByName. Includes TriggeredSchedule type, IsTriggered() helper, exported Entry.Triggered field, ErrEntryPaused/ErrNotRunning sentinel errors, and compatibility with all existing features (middleware, context, pause/resume, run-once, observability hooks).
  • CircuitBreaker state monitoring (#185): CircuitBreakerWithHandle() returns a *CircuitBreakerHandle for querying state (State(), Failures(), LastFailure(), CooldownEnds()). WithStateChangeCallback() option emits events on state transitions (Closed→Open, Open→HalfOpen, HalfOpen→Closed, HalfOpen→Open). New exported types: CircuitBreakerState, CircuitBreakerEvent, CircuitBreakerHandle, CircuitBreakerOption.
  • RetryWithBackoff/RetryOnError attempt callback (#186): WithRetryCallback() option invokes a callback after each attempt with RetryAttempt metadata (attempt number, delay, error/panic value, whether another retry will follow). Enables external metrics collection for retry behavior.
  • Rate limiting middleware (#167): MaxConcurrent(n) limits total concurrent job executions across all wrapped entries (wait for slot). MaxConcurrentSkip(logger, n) skips execution when full. Both propagate context and share state across all wrapped jobs, unlike per-job SkipIfStillRunning/DelayIfStillRunning.
  • PrevN schedule introspection (#297): Query the previous n execution times for any schedule implementing ScheduleWithPrev. Returns times in reverse chronological order. Complements the existing NextN, Between, Count, and Matches introspection functions.
  • Workflow/DAG dependencies (#312):
    • AddDependency/AddDependencyByName — wire dependency edges between entries
    • RemoveDependency/RemoveDependencyByName — remove dependency edges
    • Dependencies/DependenciesByName — query dependency edges for an entry
    • NewWorkflow/AddWorkflow — declarative workflow builder with Step, After, Final
    • WorkflowStatus/ActiveWorkflows — query workflow execution state
    • WorkflowExecutionID — extract execution ID from job context
    • WithWorkflowRetention — configure completed execution retention count

... (truncated)

Commits
  • 80da74e feat: allow quoted TZ and CRON_TZ values in spec strings (#337)
  • 4da5c1c feat: allow quoted TZ and CRON_TZ values in spec strings (#335)
  • 1a45aa4 feat: add CodSpeed continuous benchmarking (#333)
  • 64cfc15 fix: skip unit tests in benchmark workflow
  • d9c7ed0 feat: add CodSpeed continuous benchmarking
  • 2acf268 test: add mutation-killing tests to improve gremlins efficacy (#332)
  • ca69362 test: add mutation-killing tests to improve gremlins efficacy
  • 8c6dc0c fix: address review findings from Gemini and Codex analysis (#331)
  • 84f703d test: add patch coverage tests for review findings fixes
  • 2800ac8 fix: address review findings from Gemini and Codex analysis
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/netresearch/go-cron](https://github.com/netresearch/go-cron) from 0.11.0 to 0.13.0.
- [Release notes](https://github.com/netresearch/go-cron/releases)
- [Changelog](https://github.com/netresearch/go-cron/blob/main/CHANGELOG.md)
- [Commits](netresearch/go-cron@v0.11.0...v0.13.0)

---
updated-dependencies:
- dependency-name: github.com/netresearch/go-cron
  dependency-version: 0.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 3, 2026
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants