Skip to content

3.0.1

Latest

Choose a tag to compare

@Hexagon Hexagon released this 27 Oct 23:52

Croner 3.0.1 Release Notes

This is a patch release that fixes a grammatical issue in cron pattern descriptions and updates several dependencies to their latest versions.

Bug Fixes

Fixed Incorrect Cron Descriptors (#35)

Fixed grammatical errors in human-readable descriptions for patterns with wildcard minutes/seconds and specific hours.

Before:

Cron::from_str("* 0 * * *").unwrap().describe()
// Output: "At of hour 0."  ❌

After:

Cron::from_str("* 0 * * *").unwrap().describe()
// Output: "Every minute past hour 0."  ✅

Additional patterns fixed:

  • * 5 * * * → "Every minute past hour 5."
  • * 0,12 * * * → "Every minute past hour 0 and 12."
  • * 0-5 * * * → "Every minute past hour 0-5."
  • * */2 * * * → "Every minute past of every 2 hours."
  • * * 0 * * * → "Every second past hour 0." (6-field patterns)
  • * * 5 * * * → "Every second past hour 5." (6-field patterns)

Dependency Updates

All dependencies have been updated to their latest compatible versions:

Production Dependencies

  • chrono: 0.4.38 → 0.4.42 (bug fixes and improvements)
  • strum: 0.27.1 → 0.27.2 (minor update)

Development Dependencies

  • chrono-tz: 0.10.0 → 0.10.4 (IANA timezone database updates)
  • criterion: 0.5.1 → 0.7.0 (benchmarking improvements)
  • rstest: 0.25.0 → 0.26.1 (test framework improvements)

All updates maintain full backwards compatibility.

🙏 Contributors

Thanks to @JosiahParry for reporting issue #35!


Full Changelog: v3.0.0...v3.0.1