node-cron
4.6.0 · 5 Jul 2026ISC5.7M / weekRepositoryHomepagenpmAtom feed
Upgrading node-cron from 4.4.1 to 4.5.0
1 release in betweenevery note read
Release by release
- new
lastRun()introspection getter onScheduledTask: returns{ date, result }after a successful execution,{ date, error }after a failed one, ornullbefore the first run. - new
Extended day-of-week tokens:
<weekday>#<nth>(nth weekday of the month, e.g.1#1for the first Monday) and<weekday>L(last weekday of the month, e.g.5Lfor the last Friday). - new
Cache
Intl.DateTimeFormatinstances per timezone instead of rebuilding on every call. - new
Parse the cron expression once per
TimeMatcherinstead of re-parsing inMatcherWalker.
- new
2 other lines we could not sort, mostly version bumps
- 4.5.0
Renamed internal functions
interpretetointerpretandappendSeccondExpressiontoappendSecondExpression. - 4.5.0
Rewritten README and package metadata to surface scheduling capabilities (overlap prevention, distributed coordination, background tasks).