unstale

npm / croner

croner

What changed in croner 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

3 breaking1 deprecations14 new APIs and options1 behavior and defaults5 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.1.1 on npm

croner 1024 changes

Breaking changes 3

  • The ? character now acts as a wildcard alias for *, rather than substituting current time values.

    10.0.0release notes

  • The minimum supported Deno version increased from 1.16 to 2.0.

    10.0.0release notes

  • Range parsing is strict by default; legacy non-standard stepping syntax requires sloppyRanges: true.

    10.0.0release notes

Deprecations 1

  • legacyMode is deprecated in favor of domAndDow but remains supported.

    10.0.0release notes

New APIs and options 14

  • Enable Quartz-style weekday numbering, with Sunday as 1 and Saturday as 7.

    10.0.0release notes

  • The + modifier enables explicit AND logic for matching days.

    10.0.0release notes

  • The + modifier provides explicit AND logic for day matching.

    10.0.0release notes

  • Offset scheduled dates by days before or after pattern matches.

    10.0.0release notes

  • Use domAndDow to select day-of-month and day-of-week matching logic in place of legacyMode; legacyMode remains supported.

    10.0.0release notes

  • Return the original run-once date for date-based jobs.

    10.0.0release notes

  • Check whether a date matches a cron pattern.

    10.0.0release notes

  • The @midnight pattern nickname is supported.

    10.0.0release notes

  • Control expected pattern field counts and how seconds and years are handled, with automatic, fixed, or flexible modes.

    10.0.0release notes

  • Enumerate past scheduled execution times, complementing nextRuns.

    10.0.0release notes

  • The @reboot pattern nickname is supported.

    10.0.0release notes

  • Enable relaxed, backward-compatible non-standard range and stepping syntax.

    10.0.0release notes

  • The W modifier schedules for the nearest weekday to a specified date.

    10.0.0release notes

  • Seven-field patterns can specify an optional year from 1 to 9999, restricting scheduled runs to that year.

    10.0.0release notes

Behavior and default changes 1

  • Patterns accept leading and trailing whitespace and consecutive whitespace.

    10.0.0release notes

Fixes and other changes 5

  • Fixed the distribution structure and TypeScript issues in the distributed version of 10.0.0.

    10.0.1release notes

  • A cron job no longer stops when the catch callback throws with protect enabled.

    10.0.0release notes

  • Fixes prevent rapid-fire execution during timezone transitions and hour skipping during local DST transitions with UTC.

    10.0.0release notes

  • getPattern() no longer returns the wrong value for date-based jobs.

    10.0.0release notes

  • L and W modifiers in cron patterns are case-insensitive.

    10.0.0release notes