Skip to content

v4.0.0

Compare
Choose a tag to compare
@P4sca1 P4sca1 released this 30 Mar 19:34
· 45 commits to main since this release

4.0.0 (2023-03-30)

Bug Fixes

  • correctly parse weekday ranges that include sunday (#283) (2fb78b5)
  • specify types for legacy support (7288c13)

chore

  • drop support for node14 (d47ac6a)

Features

BREAKING CHANGES

  • If your environment does not support conditional exports, you have to import the schedulers from cron-schedule/dist/schedulers instead of cron-schedule/schedulers.

Signed-off-by: Pascal Sthamer [email protected]

  • Support for node14 is dropped,
    due to its EOL in the next month and missing ESM module support

Signed-off-by: Pascal Sthamer [email protected]

  • The package is now ESM only. A CommonJS or IIFE build is no longer provided.
  • The minimum required version of Node.js is now 14
  • utils are no longer exposed
  • schedulers are no longer exposed in the default entry point.
    Import them from cron-schedule/schedulers/interval-based.js and
    cron-schedule/schedulers/timer-based.js instead.

Signed-off-by: Pascal Sthamer [email protected]