This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| croner (source) | ^9.1.0 → ^10.0.1 |
Release Notes
hexagon/croner (croner)
v10.0.1
Fixed
- Bundle TypeScript declarations into single file to match 9.1.0 dist structure
v10.0.0
Added
- OCPS 1.2 Compliance: Year field support for 7-field patterns (range 1-9999) (#288)
- OCPS 1.3 Compliance: W (weekday) modifier for nearest weekday scheduling (#288)
- OCPS 1.4 Compliance: + (AND logic) modifier for explicit day matching (#288)
- OCPS 1.4 Compliance: @midnight and @reboot pattern nicknames (#288)
previousRuns()method to enumerate past scheduled execution times (#315)match()method to check if a date matches a cron pattern (#317)getOnce()method to return original run-once date for date-based jobs (#332)dayOffsetoption for scheduling before/after pattern matches (#308)modeoption for cron pattern precision control with enforcement and flexible modes (#294)alternativeWeekdaysoption for Quartz-style weekday numbering (1=Sunday...7=Saturday) (#312)domAndDowoption to replace deprecatedlegacyMode(no breaking change) (#309)sloppyRangesoption to allow relaxed, backward-compatible non-standard range/stepping syntax (#327)- Support for leading/trailing whitespace and consecutive whitespace in patterns
- Case-insensitive L and W modifiers in cron patterns (#328)
- Comprehensive edge case tests for year stepping, nth weekday, W modifier, Quartz mode, and boundary conditions (#329)
Changed
- BREAKING:
?character now acts as wildcard alias (same as*) per OCPS 1.4, instead of substituting current time values (#293) - BREAKING: Minimum Deno version increased from 1.16 to 2.0
- Renamed
legacyModeoption todomAndDow(backward compatible,legacyModestill works) (#309) - Improved error messages for timezone/date conversion failures (#307)
- Unified implementations of
nextRuns/previousRunsandfindNext/findPrevious(#319) - Refactored to extract duplicate code patterns into helper methods (#322)
- Consolidated duplicate tests across OCPS compliance and legacy test suites (#320)
Fixed
- DST bugs causing rapid-fire execution during timezone transitions (Issue #286) (#285)
- DST bug with UTC timezone causing hour skipping during local DST transitions (Issue #284) (#285)
- Cron job stopping when catch callback throws with protect enabled (#337)
- L modifier bug and documented W modifier edge cases (#306)
getPattern()returning wrong value for date-based jobs (#331)- Node.js timezone test failures caused by hour 24 midnight formatting (#291)
- Unclear error messages for timezone/date conversion failures (#307)
Documentation
- Complete OCPS 1.0-1.4 compliance documentation (#292)
- Migration guide for v9.x to v10.0 upgrade path (#310)
- Documented zero dependencies advantage over Luxon-dependent alternatives (#318)
- Updated year field in README ASCII pattern diagram (#311)
- Documented
getOnce()andpreviousRuns()features (#333)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.