Tags: Hexagon/croner
Tags
Correct repository and funding URLs to match casing
Fix DST fall-back scheduling gap for high-frequency cron patterns (#344) * Initial plan * Fix DST fall-back scheduling gap for per-second and per-minute cron patterns During DST fall-back transitions, cron jobs with high-frequency patterns (per-second, per-minute) would experience a ~1 hour scheduling gap. This was caused by the local time increment skipping over the second occurrence of the overlap period. Changes: - Add afterMs field to CronDate for DST overlap resolution - Improve fromTZ overlap detection to check both earlier and later times - Add DST overlap fix in _next() to detect and handle UTC time jumps - Preserve original UTC time in CronDate.fromDate() for correct round-trips - Add 3 new test cases for DST fall-back behavior Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com> * Clarify DST overlap handling for high-frequency vs specific-time patterns in docs Updated pattern documentation in both README.md and docs/src/usage/pattern.md to explain that DST overlap behavior differs by pattern type: - Specific-time patterns (e.g. 0 30 2 * * *): run once at first occurrence - High-frequency patterns (e.g. * * * * *): continue executing without gaps Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com> * Bump version to 10.0.2-dev.0 Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com> * Fix fromTZ JSDoc for afterMs edge case and improve test comment clarity - Clarified afterMs JSDoc to document behavior when both DST occurrences are before the threshold (returns second/later occurrence as closest option) - Fixed misleading test comment to use explicit UTC instants (08:59Z → 09:00Z) Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com> * Copy afterMs in fromCronDate to preserve DST overlap context across CronDate cloning Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com>
Fix dist structure and bump to 10.0.1 (#342) * Initial plan * Enable experimentalBundling to fix dist files structure Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com> * Bump version to 10.0.1 and add changelog entry Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com>
Cleanup of README (#341) * Initial plan * Tone down OCPS references in main README Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com>
PreviousNext