diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d0511cb..888cb0d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +## [3.0.0-beta.6](https://github.com/kelektiv/node-cron/compare/v3.0.0-beta.5...v3.0.0-beta.6) (2023-09-26) + + +### ⚠ Breaking changes + +* 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 + +### 📦 Code Refactoring + +* migrate to TypeScript ([#694](https://github.com/kelektiv/node-cron/issues/694)) ([97a65e1](https://github.com/kelektiv/node-cron/commit/97a65e109d473cb037e2fb4690c18ac897d5316a)) + ## [3.0.0-beta.5](https://github.com/kelektiv/node-cron/compare/v3.0.0-beta.4...v3.0.0-beta.5) (2023-09-25) diff --git a/package-lock.json b/package-lock.json index a2a834b6..704377ef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cron", - "version": "3.0.0-beta.5", + "version": "3.0.0-beta.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "cron", - "version": "3.0.0-beta.5", + "version": "3.0.0-beta.6", "license": "MIT", "dependencies": { "@types/luxon": "~3.3.0", diff --git a/package.json b/package.json index 8b4eb214..7b9ad7af 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "cron", "description": "Cron jobs for your node", - "version": "3.0.0-beta.5", + "version": "3.0.0-beta.6", "author": "Nick Campbell (https://github.com/ncb000gt)", "bugs": { "url": "https://github.com/kelektiv/node-cron/issues"