Skip to content

Bump cron from 2.4.4 to 3.0.0

Dependabot requested to merge dependabot-npm_and_yarn-cron-3.0.0 into master

Bumps cron from 2.4.4 to 3.0.0.

Release notes

Sourced from cron's releases.

v3.0.0

3.0.0 (2023-09-30)

Breaking changes

  • utcOffset parameter no longer accepts a string
  • utcOffset values between -60 and 60 are no longer treated as hours
  • providing both timeZone and utcOffset parameters now throws an error
  • removed cron.job() method in favor of new CronJob(...args) / CronJob.from(argsObject)
  • removed cron.time() method in favor of new CronTime()
  • CronJob: constructor no longer accepts an object as its first and only params. Use CronJob.from(argsObject) instead.
  • CronJob: callbacks are now called in the order they were registered
  • return empty array from nextDates when called without argument (#519)
  • UNIX standard alignments (#667)

Features

🐛 Bug Fixes

  • return empty array from nextDates when called without argument (#519) (c2891ba)

📦 Code Refactoring

📚 Documentation

  • readme: remove outdated informations (#695) (b5ceaf1)

🚨 Tests

  • update new test for cron standard alignments (4a406c1)

️ Chores

... (truncated)

Changelog

Sourced from cron's changelog.

3.0.0 (2023-09-30)

Breaking changes

  • utcOffset parameter no longer accepts a string
  • utcOffset values between -60 and 60 are no longer treated as hours
  • providing both timeZone and utcOffset parameters now throws an error
  • removed cron.job() method in favor of new CronJob(...args) / CronJob.from(argsObject)
  • removed cron.time() method in favor of new CronTime()
  • CronJob: constructor no longer accepts an object as its first and only params. Use CronJob.from(argsObject) instead.
  • CronJob: callbacks are now called in the order they were registered
  • return empty array from nextDates when called without argument (#519)
  • UNIX standard alignments (#667)

Features

🐛 Bug Fixes

  • return empty array from nextDates when called without argument (#519) (c2891ba)

📦 Code Refactoring

📚 Documentation

  • readme: remove outdated informations (#695) (b5ceaf1)

🚨 Tests

  • update new test for cron standard alignments (4a406c1)

️ Chores

... (truncated)

Commits
  • a7dee32 Release v3.0.0 [skip ci]
  • dab3d69 chore: update contributors list
  • 671e933 feat!: rework utcOffset parameter (#699)
  • 47e665f style: fix linting issues
  • 737b344 feat: expose useful types
  • b5ceaf1 docs(readme): remove outdated informations (#695)
  • 2d77894 refactor!: migrate to TypeScript (#694)
  • c2891ba fix!: return empty array from nextDates when called without argument (#519)
  • 4a406c1 test: update new test for cron standard alignments
  • ff615f1 feat!: UNIX standard alignments (#667)
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports

Loading