Skip to content

v2.0.0

Compare
Choose a tag to compare
@Hexagon Hexagon released this 17 Dec 00:38
· 29 commits to main since this release

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