cron 3.0.0-beta.9 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -80
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## [3.0.0
|
|
1
|
+
## [3.0.0](https://github.com/kelektiv/node-cron/compare/v2.4.4...v3.0.0) (2023-09-30)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### ⚠ Breaking changes
|
|
@@ -8,57 +8,51 @@
|
|
|
8
8
|
treated as hours
|
|
9
9
|
* providing both `timeZone` and `utcOffset` parameters
|
|
10
10
|
now throws an error
|
|
11
|
+
* removed `cron.job()` method in favor of `new CronJob(...args)` /
|
|
12
|
+
`CronJob.from(argsObject)`
|
|
13
|
+
* removed `cron.time()` method in favor of `new CronTime()`
|
|
14
|
+
* `CronJob`: constructor no longer accepts an object as its first and
|
|
15
|
+
only params. Use `CronJob.from(argsObject)` instead.
|
|
16
|
+
* `CronJob`: callbacks are now called in the order they were registered
|
|
17
|
+
* return empty array from nextDates when called without argument (#519)
|
|
18
|
+
* UNIX standard alignments (#667)
|
|
11
19
|
|
|
12
20
|
### ✨ Features
|
|
13
21
|
|
|
14
|
-
*
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
### ♻️ Chores
|
|
18
|
-
|
|
19
|
-
* improve GitHub community standards ([#698](https://github.com/kelektiv/node-cron/issues/698)) ([6bdef77](https://github.com/kelektiv/node-cron/commit/6bdef779b813ee84c03b7c708176410aa24a8cfe))
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
### 💎 Styles
|
|
22
|
+
* expose useful types ([737b344](https://github.com/kelektiv/node-cron/commit/737b34482c47033f9affab4426a3201681f42e97))
|
|
23
|
+
* rework utcOffset parameter ([#699](https://github.com/kelektiv/node-cron/issues/699)) ([671e933](https://github.com/kelektiv/node-cron/commit/671e933d9107b1e4e1166ab681f9e14a8a3a7c16))
|
|
24
|
+
* UNIX standard alignments ([#667](https://github.com/kelektiv/node-cron/issues/667)) ([ff615f1](https://github.com/kelektiv/node-cron/commit/ff615f1592287262b7ebc95312cdac0f9c59d272))
|
|
23
25
|
|
|
24
|
-
* fix linting issues ([b48c1b2](https://github.com/kelektiv/node-cron/commit/b48c1b299a25bfd3aea418652235e4e6ec92f8cf))
|
|
25
26
|
|
|
26
|
-
|
|
27
|
+
### 🐛 Bug Fixes
|
|
27
28
|
|
|
29
|
+
* return empty array from nextDates when called without argument ([#519](https://github.com/kelektiv/node-cron/issues/519)) ([c2891ba](https://github.com/kelektiv/node-cron/commit/c2891bacbc0d88616b69449fc6237f716dfe4faf))
|
|
28
30
|
|
|
29
|
-
### ✨ Features
|
|
30
31
|
|
|
31
|
-
|
|
32
|
+
### 📦 Code Refactoring
|
|
32
33
|
|
|
33
|
-
|
|
34
|
+
* migrate to TypeScript ([#694](https://github.com/kelektiv/node-cron/issues/694)) ([2d77894](https://github.com/kelektiv/node-cron/commit/2d778942c523f8480051216b4ced46c1d2651153))
|
|
34
35
|
|
|
35
36
|
|
|
36
37
|
### 📚 Documentation
|
|
37
38
|
|
|
38
|
-
* **readme:** remove outdated informations ([#695](https://github.com/kelektiv/node-cron/issues/695)) ([
|
|
39
|
-
|
|
40
|
-
## [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)
|
|
39
|
+
* **readme:** remove outdated informations ([#695](https://github.com/kelektiv/node-cron/issues/695)) ([b5ceaf1](https://github.com/kelektiv/node-cron/commit/b5ceaf16913f78ca8d4037594a86df61f116d08e))
|
|
41
40
|
|
|
42
41
|
|
|
43
|
-
###
|
|
42
|
+
### 🚨 Tests
|
|
44
43
|
|
|
45
|
-
*
|
|
46
|
-
`CronJob.from(argsObject)`
|
|
47
|
-
* removed `cron.time()` method in favor of `new CronTime()`
|
|
48
|
-
* `CronJob`: constructor no longer accepts an object as its first and
|
|
49
|
-
only params. Use `CronJob.from(argsObject)` instead.
|
|
50
|
-
* `CronJob`: callbacks are now called in the order they were registered
|
|
44
|
+
* update new test for cron standard alignments ([4a406c1](https://github.com/kelektiv/node-cron/commit/4a406c1f7e7b77ec9c7433c61a4929a341bfe300))
|
|
51
45
|
|
|
52
|
-
### 📦 Code Refactoring
|
|
53
46
|
|
|
54
|
-
|
|
47
|
+
### ♻️ Chores
|
|
55
48
|
|
|
56
|
-
|
|
49
|
+
* improve GitHub community standards ([#698](https://github.com/kelektiv/node-cron/issues/698)) ([6bdef77](https://github.com/kelektiv/node-cron/commit/6bdef779b813ee84c03b7c708176410aa24a8cfe))
|
|
50
|
+
* update contributors list ([dab3d69](https://github.com/kelektiv/node-cron/commit/dab3d6929ca47e22388a96eb92d43258b39b093a))
|
|
57
51
|
|
|
58
52
|
|
|
59
|
-
###
|
|
53
|
+
### 💎 Styles
|
|
60
54
|
|
|
61
|
-
*
|
|
55
|
+
* fix linting issues ([47e665f](https://github.com/kelektiv/node-cron/commit/47e665fb176addd0eb258d5aaff85c77e7f4b17f))
|
|
62
56
|
|
|
63
57
|
## [2.4.4](https://github.com/kelektiv/node-cron/compare/v2.4.3...v2.4.4) (2023-09-25)
|
|
64
58
|
|
|
@@ -67,17 +61,6 @@ only params. Use `CronJob.from(argsObject)` instead.
|
|
|
67
61
|
|
|
68
62
|
* added fractional offset support ([#685](https://github.com/kelektiv/node-cron/issues/685)) ([ce78478](https://github.com/kelektiv/node-cron/commit/ce784784575b65bd75b8b1a4adda3d8fd42fe1c0))
|
|
69
63
|
|
|
70
|
-
## [3.0.0-beta.4](https://github.com/kelektiv/node-cron/compare/v3.0.0-beta.3...v3.0.0-beta.4) (2023-09-10)
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
* **deps:** update dependency luxon to v3.3.0 & add [@types](https://github.com/types)/luxon ([#689](https://github.com/kelektiv/node-cron/issues/689)) ([c95a449](https://github.com/kelektiv/node-cron/commit/c95a449121e440b82d391fc11f8dc148748f93ec)), closes [#688](https://github.com/kelektiv/node-cron/issues/688)
|
|
74
|
-
* fix range parsing when upper limit = 0 ([#687](https://github.com/kelektiv/node-cron/issues/687)) ([d96746f](https://github.com/kelektiv/node-cron/commit/d96746f7b8f357e565d1fad48c9f70d3d646da64))
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
### 🚨 Tests
|
|
78
|
-
|
|
79
|
-
* add TS types check ([#690](https://github.com/kelektiv/node-cron/issues/690)) ([f046016](https://github.com/kelektiv/node-cron/commit/f046016dc64438c4a12a4615a919b046d3a846de))
|
|
80
|
-
|
|
81
64
|
## [2.4.3](https://github.com/kelektiv/node-cron/compare/v2.4.2...v2.4.3) (2023-08-26)
|
|
82
65
|
|
|
83
66
|
|
|
@@ -97,34 +80,6 @@ only params. Use `CronJob.from(argsObject)` instead.
|
|
|
97
80
|
|
|
98
81
|
* **deps:** update dependency luxon to v3.3.0 & add [@types](https://github.com/types)/luxon ([#689](https://github.com/kelektiv/node-cron/issues/689)) ([c95a449](https://github.com/kelektiv/node-cron/commit/c95a449121e440b82d391fc11f8dc148748f93ec)), closes [#688](https://github.com/kelektiv/node-cron/issues/688)
|
|
99
82
|
|
|
100
|
-
## [3.0.0-beta.3](https://github.com/kelektiv/node-cron/compare/v3.0.0-beta.2...v3.0.0-beta.3) (2023-08-15)
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
### ⚠ Breaking changes
|
|
104
|
-
|
|
105
|
-
* return empty array from nextDates when called without argument (#519)
|
|
106
|
-
|
|
107
|
-
### 🐛 Bug Fixes
|
|
108
|
-
|
|
109
|
-
* return empty array from nextDates when called without argument ([#519](https://github.com/kelektiv/node-cron/issues/519)) ([e65c3dc](https://github.com/kelektiv/node-cron/commit/e65c3dc6c334b8d4df0da317b75494d78cd5d52b))
|
|
110
|
-
|
|
111
|
-
## [3.0.0-beta.2](https://github.com/kelektiv/node-cron/compare/v3.0.0-beta.1...v3.0.0-beta.2) (2023-08-15)
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
### 🐛 Bug Fixes
|
|
115
|
-
|
|
116
|
-
* replace loop timeout by max match date ([#686](https://github.com/kelektiv/node-cron/issues/686)) ([c685c63](https://github.com/kelektiv/node-cron/commit/c685c63a6d7fa86d6c8afca29b536b9da24e824b))
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
### 🚨 Tests
|
|
120
|
-
|
|
121
|
-
* update new test for cron standard alignments ([ea56fc1](https://github.com/kelektiv/node-cron/commit/ea56fc1c32905d711b160823fc09f39169dd3efd))
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
### ⚙️ Continuous Integrations
|
|
125
|
-
|
|
126
|
-
* **renovate:** configure renovate ([#683](https://github.com/kelektiv/node-cron/issues/683)) ([9dbe962](https://github.com/kelektiv/node-cron/commit/9dbe962fad1c8b1b020441bce84ab91b1a7b4415))
|
|
127
|
-
|
|
128
83
|
## [2.4.1](https://github.com/kelektiv/node-cron/compare/v2.4.0...v2.4.1) (2023-08-14)
|
|
129
84
|
|
|
130
85
|
|
|
@@ -172,17 +127,6 @@ only params. Use `CronJob.from(argsObject)` instead.
|
|
|
172
127
|
* update default branch name ([#678](https://github.com/kelektiv/node-cron/issues/678)) ([7471e95](https://github.com/kelektiv/node-cron/commit/7471e95cb7433b4f29cfa68da0a652ec8cf630b6))
|
|
173
128
|
* wrap setTime tests in describe and move down ([31989e0](https://github.com/kelektiv/node-cron/commit/31989e06f939bf1e9dbc6c0b6fc62c0a7144b9eb))
|
|
174
129
|
|
|
175
|
-
## [3.0.0-beta.1](https://github.com/kelektiv/node-cron/compare/v2.3.1...v3.0.0-beta.1) (2023-07-23)
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
### ⚠ Breaking changes
|
|
179
|
-
|
|
180
|
-
* UNIX standard alignments (#667)
|
|
181
|
-
|
|
182
|
-
### ✨ Features
|
|
183
|
-
|
|
184
|
-
* UNIX standard alignments ([#667](https://github.com/kelektiv/node-cron/issues/667)) ([96ef954](https://github.com/kelektiv/node-cron/commit/96ef954998f9c109cc2a969296568b1b56bbbd79))
|
|
185
|
-
|
|
186
130
|
## [v2.3.1](https://github.com/kelektiv/node-cron/compare/v2.3.0...v2.3.1) (2023-05-25)
|
|
187
131
|
|
|
188
132
|
### Added
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cron",
|
|
3
3
|
"description": "Cron jobs for your node",
|
|
4
|
-
"version": "3.0.0
|
|
4
|
+
"version": "3.0.0",
|
|
5
5
|
"author": "Nick Campbell <nicholas.j.campbell@gmail.com> (https://github.com/ncb000gt)",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/kelektiv/node-cron/issues"
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"license": "MIT",
|
|
66
66
|
"contributors": [
|
|
67
67
|
"Brandon der Blätter <https://interlucid.com/contact/> (https://github.com/intcreator)",
|
|
68
|
+
"Pierre Cavin <me@sherlox.io> (https://github.com/sheerlox)",
|
|
68
69
|
"Romain Beauxis <toots@rastageeks.org> (https://github.com/toots)",
|
|
69
70
|
"James Padolsey <> (https://github.com/jamespadolsey)",
|
|
70
71
|
"Finn Herpich <fh@three-heads.de> (https://github.com/ErrorProne)",
|