Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps)!: update dependency cron to v3 #1461

Merged
merged 3 commits into from
Oct 23, 2023

Conversation

sheerlox
Copy link
Contributor

@sheerlox sheerlox commented Oct 19, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
cron 2.4.3 -> 3.1.3 age adoption passing confidence

Release Notes

kelektiv/node-cron (cron)

v3.1.3

Compare Source

πŸ› Bug Fixes
βš™οΈ Continuous Integrations

v3.1.2

Compare Source

πŸ›  Builds
♻️ Chores

v3.1.1

Compare Source

πŸ› Bug Fixes
πŸ“š Documentation

v3.1.0

Compare Source

✨ Features
🚨 Tests
♻️ Chores

v3.0.0

Compare Source

⚠ 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
🚨 Tests
  • update new test for cron standard alignments (4a406c1)
♻️ Chores
πŸ’Ž Styles

v2.4.4

Compare Source

πŸ› Bug Fixes

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe: dependency upgrade (major)

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

⚠ Breaking changes from cron impacting @nestjs/schedule users

Overview

  • utcOffset parameter no longer accepts a string (#​699)
  • utcOffset values between -60 and 60 are no longer treated as hours (#​699)
  • providing both timeZone and utcOffset parameters now throws an error (#​699)
  • callbacks are now called in the order they were registered (#​694)
  • nextDates now returns an empty array when called without argument (#​519)
  • cron string's months are now indexed from 1-12, previously was 0-11 (#​667)
  • cron string's days-of-week are now indexed from 0-7 (Sun-Sun), previously was 0-6 (Sun-Sat) (#​667)

Squash commit footer

BREAKING CHANGE: `utcOffset` parameter no longer accepts a string
BREAKING CHANGE: `utcOffset` values between -60 and 60 are no longer treated as hours
BREAKING CHANGE: providing both `timeZone` and `utcOffset` parameters now throws an error
BREAKING CHANGE: callbacks are now called in the order they were registered
BREAKING CHANGE: `nextDates` now returns an empty array when called without argument
BREAKING CHANGE: cron string's months are now indexed from 1-12, previously was 0-11
BREAKING CHANGE: cron string's days-of-week are now indexed from 0-7 (Sun-Sun), previously was 0-6 (Sun-Sat)

renovate bot and others added 2 commits October 19, 2023 11:58
BREAKING CHANGE: timeZone & utcOffset are now mutually exclusive
BREAKING CHANGE: utcOffset no longer accepts a string
@kamilmysliwiec kamilmysliwiec added the enhancement New feature or request label Oct 23, 2023
@kamilmysliwiec kamilmysliwiec merged commit 62bb95b into nestjs:master Oct 23, 2023
1 check passed
@kamilmysliwiec
Copy link
Member

LGTM

@sheerlox sheerlox deleted the renovate/cron-3.x branch October 23, 2023 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants