Packages

cron-parser

5.10.6 · 14 Nov 2026MIT34.2M / weekRepositoryHomepagenpmAtom feed

Upgrading cron-parser From 5.1.1 to 5.10.6

19 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 5.1.1yours
  2. 5.2.0breaking
  3. 17 releases
  4. 5.10.6target

Before you upgrade

Tick each one off as you go
  • Breaking5.2.0
  • Deprecated5.6.2

Release by release

  1. 5.10.6

    14 Nov 20261 fix
    • Fixed

      Allow only whitelisted characters around an H token

  2. 5.10.5

    12 Nov 20261 new · 5 fixes
    • New

      Skip luxon set when a setter value does not change

    • Fixed

      Only allow 0L-7L in day of week and a bare L in day of month

    • Fixed

      Reject an L inside a range or step, or combined with #

    • Fixed

      Reject a day of month that none of the listed months have

    • Fixed

      Do not skip a day when a DST change removes its midnight hour

    • Fixed

      Reject a wildcard that is part of a larger value

  3. 5.10.4

    6 Nov 20267 fixes
    • Fixed

      Stop treating crontab entries that contain = as variables

    • Fixed

      Parse crontab entries that start with a nickname

    • Fixed

      Restore initial date on reset

    • Fixed

      Only remove the quotes around a crontab variable value

    • Fixed

      Treat a timestamp of 0 as the Unix epoch, not as a missing date

    • Fixed

      Only resolve month names in the month field and weekday names in the day of week field

    • Fixed

      Reject a range with more than two parts

  4. 5.10.3

    31 Oct 20263 fixes
    • Fixed

      Accept the RFC 850 and asctime HTTP date formats as string dates

    • Fixed

      Skip non-scheduled months when day-of-month is unrestricted

    • Fixed

      Use own keys for crontab entries and predefined expressions

  5. 5.10.2

    9 Oct 20262 fixes
    • Fixed

      Preserve crontab fields separated by whitespace

    • Fixed

      Bound expression length and hashed step expansion at parse time

  6. 5.10.1

    12 Sep 20262 fixes
    • Fixed

      Reject duplicate zero values in field validation

    • Fixed

      Bound field value expansion at parse time

  7. 5.10.0

    14 Aug 20261 fix
    • Fixed

      Pad short expressions from the leading field slot

  8. 5.9.0

    13 Aug 20263 fixes
    • Fixed

      Keep explicit range bounds when stringifying stepped fields

    • Fixed

      Compensate DST transitions wider than one hour

    • Fixed

      Keep a hashed step wider than its range from emptying the field

6 other lines we could not sort, mostly version bumps
  • Clamp currentDate value when startDate or endDate are provided

    5.4.0
  • CronFieldCollection.from should allow passing in special chars

    5.3.1
  • Update luxon to the latest version 1c32a8498cd71a8eaa8bc114754a6470f08b6305

    5.3.1
  • Hashed values (H) ranges and steps support

    5.3.0
  • Adding support for the H syntax, allowing to add jitter to a cron expression

    5.2.0
  • Extended serialization for cron fields

    5.2.0

7 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.