Packages

node-cron

4.6.0 · 5 Jul 2026ISC5.7M / weekRepositoryHomepagenpmAtom feed

Upgrading node-cron from 4.4.1 to 4.6.0

2 releases in betweenevery note read

0
changes to make
0
advisories fixed
13
new
20
fixes

Release by release

  1. 4.6.0

    5 Jul 20265 new · 19 fixes
    • new

      Add cron.shutdown(timeout?) for graceful process teardown

    • new

      Add unref option for heartbeat timers

    • new

      day-of-month: Quartz-style W, L-n and ? modifiers

    • new

      Emit task:failed when a background daemon exits unexpectedly

  2. 4.5.0

    21 Jun 20268 new · 1 fix
    • new

      lastRun() introspection getter on ScheduledTask: returns { date, result } after a successful execution, { date, error } after a failed one, or null before the first run.

    • new

      Extended day-of-week tokens: <weekday>#<nth> (nth weekday of the month, e.g. 1#1 for the first Monday) and <weekday>L (last weekday of the month, e.g. 5L for the last Friday).

    • new

      Cache Intl.DateTimeFormat instances per timezone instead of rebuilding on every call.

    • new

      Parse the cron expression once per TimeMatcher instead of re-parsing in MatcherWalker.

3 other lines we could not sort, mostly version bumps
  • Replace chai and sinon with native vitest assertions

    4.6.0
  • Renamed internal functions interprete to interpret and appendSeccondExpression to appendSecondExpression.

    4.5.0
  • Rewritten README and package metadata to surface scheduling capabilities (overlap prevention, distributed coordination, background tasks).

    4.5.0