# What changed in croner

> 24 changes in croner 10 from its official release notes, upgrade guides and advisories: 3 breaking, 1 deprecations, 14 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/croner/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## croner 10

### Breaking changes

- The ? character now acts as a wildcard alias for *, rather than substituting current time values. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)
- The minimum supported Deno version increased from 1.16 to 2.0. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)
- Range parsing is strict by default; legacy non-standard stepping syntax requires sloppyRanges: true. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)

### Deprecations

- legacyMode is deprecated in favor of domAndDow but remains supported. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)

### New APIs and options

- Enable Quartz-style weekday numbering, with Sunday as 1 and Saturday as 7. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)
- The + modifier enables explicit AND logic for matching days. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)
- The + modifier provides explicit AND logic for day matching. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)
- Offset scheduled dates by days before or after pattern matches. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)
- Use domAndDow to select day-of-month and day-of-week matching logic in place of legacyMode; legacyMode remains supported. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)
- Return the original run-once date for date-based jobs. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)
- Check whether a date matches a cron pattern. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)
- The @midnight pattern nickname is supported. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)
- Control expected pattern field counts and how seconds and years are handled, with automatic, fixed, or flexible modes. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)
- Enumerate past scheduled execution times, complementing nextRuns. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)
- The @reboot pattern nickname is supported. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)
- Enable relaxed, backward-compatible non-standard range and stepping syntax. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)
- The W modifier schedules for the nearest weekday to a specified date. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)
- Seven-field patterns can specify an optional year from 1 to 9999, restricting scheduled runs to that year. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)

### Behavior and default changes

- Patterns accept leading and trailing whitespace and consecutive whitespace. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)

### Fixes and other changes

- Fixed the distribution structure and TypeScript issues in the distributed version of 10.0.0. (10.0.1) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.1)
- A cron job no longer stops when the catch callback throws with protect enabled. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)
- Fixes prevent rapid-fire execution during timezone transitions and hour skipping during local DST transitions with UTC. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)
- getPattern() no longer returns the wrong value for date-based jobs. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)
- L and W modifiers in cron patterns are case-insensitive. (10.0.0) — [release notes](https://github.com/Hexagon/croner/releases/tag/10.0.0)
