Releases: Hexagon/croner-rust
Releases · Hexagon/croner-rust
v2.1.0
v2.0.8
v2.0.7
v2.0.6
v2.0.5
Changes
- feat: added debug derive impl to Cron struct by @willmalcs in #5
- chore: Dependency update. Version bump. by @Hexagon in #6
New Contributors
- @willmalcs made their first contribution in #5
Full Changelog: v2.0.4...v2.0.5
v2.0.4
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
Changes
Maintenance release focusing mainly on documentation updates and additional test cases.
Full Changelog: v2.0.2...v2.0.3
v2.0.2
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
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
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