Skip to content

Releases: Hexagon/croner-rust

v2.1.0

23 Nov 21:37
Compare
Choose a tag to compare

What's Changed

  • impl Display for Cron and as_str to get the original pattern by @veeshi in #7

Full Changelog: v2.0.8...v2.1.0

v2.0.8

20 Nov 20:55
Compare
Choose a tag to compare

Changes

  • Fixes #13, error when using '7' as Sunday in "Nth occurrence of weekday"

Full Changelog: v2.0.7...v2.0.8

v2.0.7

20 Nov 20:36
Compare
Choose a tag to compare

Changes

  • Fixes #12, panic when passing 0 as weekday when using .with_alernative_weekdays()

Full Changelog: v2.0.6...v2.0.7

v2.0.6

26 Sep 20:48
48fc5d9
Compare
Choose a tag to compare

What's Changed

  • Make cron iterator public by @veeshi in #8
  • Fix alias combined with with_seconds_required (issue #9) by @Hexagon in #10

New Contributors

  • @veeshi made their first contribution in #8

Full Changelog: v2.0.5...v2.0.6

v2.0.5

24 Jul 23:04
9866925
Compare
Choose a tag to compare

Changes

  • feat: added debug derive impl to Cron struct by @willmalcs in #5
  • chore: Dependency update. Version bump. by @Hexagon in #6

New Contributors

Full Changelog: v2.0.4...v2.0.5

v2.0.4

03 Jan 20:30
Compare
Choose a tag to compare

Changes

This release contains a minor update, exposing the errors module to the public interface.

Full Changelog: v2.0.3...v2.0.4

v2.0.3

20 Dec 20:29
Compare
Choose a tag to compare

Changes

Maintenance release focusing mainly on documentation updates and additional test cases.

Full Changelog: v2.0.2...v2.0.3

v2.0.2

19 Dec 23:31
Compare
Choose a tag to compare

Changes

  • Added support for Quartz-style last occurrence of weekday '5L'
  • Added tests ensuring that both 5#L and 5L works, and are only allowed in the day-of-week part
  • Code cleanup
  • Documentation improvements

Full Changelog: v2.0.1...v2.0.2

v2.0.1

18 Dec 00:01
Compare
Choose a tag to compare

Changes

  • Fixed an issue related to impossible patterns. To prevent infinite loops, the search for future occurrences is now limited to the year 5000. Attempts to find times beyond this limit will result in CronError::TimeSearchLimitExceeded.

Full Changelog: v2.0.0...v2.0.1

v2.0.0

17 Dec 00:38
Compare
Choose a tag to compare

Croner 2.0 introduces key changes, notably the default disabling of second granularity and added opt-in support for Quartz-style handling of weekday numbers.

New Features

  • Introduction of .with_seconds_required and .with_seconds_optional: Now you can specify if second-level precision in your cron patterns should be disabled (default), optional or required.
  • .with_alternative_weekdays: This feature allows the configuration of alternative weekday handling (e.g. Quartz compatibility).

Improvements

  • Seconds Disabled by Default: Second-level precision is now an opt-in feature, aligning the defaults with POSIX/system cron.
  • Enhanced Testing: More cases covered with tests.
  • Documentation Updates: Documentation is both fixed and updated.

Fixes

  • Timezone Handling Enhancement: Improved timezone handling for more accurate scheduling.
  • CronPattern Chaining: Resolved an issue related to the chaining mechanism of CronPattern.

Full Changelog: v1.0.5...v2.0.0