UNPKG

40.4 kBMarkdownView Raw
1## [4.11.2](https://github.com/OptimalBits/bull/compare/v4.11.1...v4.11.2) (2023-08-08)
2
3
4### Bug Fixes
5
6* **worker:** better client name support ([5910f44](https://github.com/OptimalBits/bull/commit/5910f44b03a264d979c8ade54d64d13fdc908b51))
7
8## [4.11.1](https://github.com/OptimalBits/bull/compare/v4.11.0...v4.11.1) (2023-08-08)
9
10
11### Bug Fixes
12
13* **queue:** deep clone opts ([#2634](https://github.com/OptimalBits/bull/issues/2634)) fixes [#2633](https://github.com/OptimalBits/bull/issues/2633) ([35f1da3](https://github.com/OptimalBits/bull/commit/35f1da3cf631bee97e96a774d9f1127466e7a66a))
14
15# [4.11.0](https://github.com/OptimalBits/bull/compare/v4.10.4...v4.11.0) (2023-08-08)
16
17
18### Bug Fixes
19
20* add mising getMetrics type ([#2640](https://github.com/OptimalBits/bull/issues/2640)) ([a217a7d](https://github.com/OptimalBits/bull/commit/a217a7d56d52385eb56ffe386b7503eca9a24604))
21* remove deprecated debuglog ([4ce36fe](https://github.com/OptimalBits/bull/commit/4ce36febe3a63a45198e2fe24b46fc371ee3f6e5))
22* **types:** add missing keys to repeat opts ([e4e6457](https://github.com/OptimalBits/bull/commit/e4e64572a3ad259d9cb90d5dec81e8565eeadca1))
23* **types:** rename strategyOptions to options to reflect js file ([bae6427](https://github.com/OptimalBits/bull/commit/bae6427ce9d9fac26b198402068bd84647fd8208))
24* **typings:** return type of getJobCountByTypes ([#2622](https://github.com/OptimalBits/bull/issues/2622)) ([47722ed](https://github.com/OptimalBits/bull/commit/47722ed791429b087128ce5f35847663b2d8fc9c))
25* **worker:** high-memory-usage-when-providing-float-to-concurrency ([#2620](https://github.com/OptimalBits/bull/issues/2620)) ([dcca1e8](https://github.com/OptimalBits/bull/commit/dcca1e8c39b121fb01ac299bec30a3d011059c1f))
26* change option name to match ts declaration ([909a07e](https://github.com/OptimalBits/bull/commit/909a07e27075a63b9ca178a3074b0b5c80d86355))
27* ts declaration metrics option and getMetrics function ([11331b7](https://github.com/OptimalBits/bull/commit/11331b718a8e534ac6822917a536eab32b10446b))
28
29
30### Features
31
32* upgrade ioredis to 5.3.2 ([e1883f0](https://github.com/OptimalBits/bull/commit/e1883f01c2cb23a51b5485ef8048c4268ee968ea))
33
34## [4.10.4](https://github.com/OptimalBits/bull/compare/v4.10.3...v4.10.4) (2023-02-09)
35
36
37### Bug Fixes
38
39* **retry:** handle pause queue status ([9f945d6](https://github.com/OptimalBits/bull/commit/9f945d60c69e8b5d7b46f58189a1c49a83897099))
40
41## [4.10.3](https://github.com/OptimalBits/bull/compare/v4.10.2...v4.10.3) (2023-02-03)
42
43
44### Bug Fixes
45
46* don't reschedule delay timer if closing ([#2535](https://github.com/OptimalBits/bull/issues/2535)) ([8a0292a](https://github.com/OptimalBits/bull/commit/8a0292a574df82a62d718e13d8995800fd8529d0))
47
48## [4.10.2](https://github.com/OptimalBits/bull/compare/v4.10.1...v4.10.2) (2022-11-24)
49
50
51### Bug Fixes
52
53* **queue:** throw error when needed instead of hiding it in a closure ([8a742c1](https://github.com/OptimalBits/bull/commit/8a742c1176e7147e2069602f18089d8becb4cb15))
54
55## [4.10.1](https://github.com/OptimalBits/bull/compare/v4.10.0...v4.10.1) (2022-10-13)
56
57
58### Bug Fixes
59
60* support for instantiation using redisUrl ([6288f7d](https://github.com/OptimalBits/bull/commit/6288f7de9b82e712e480510eb10c03bd4d1cd24e))
61
62# [4.10.0](https://github.com/OptimalBits/bull/compare/v4.9.0...v4.10.0) (2022-09-29)
63
64
65### Features
66
67* **types:** add typescript types to package ([e793f8d](https://github.com/OptimalBits/bull/commit/e793f8d1502bc5ed4a2e15087dc048c18e5e8644))
68
69# [4.9.0](https://github.com/OptimalBits/bull/compare/v4.8.5...v4.9.0) (2022-09-05)
70
71
72### Features
73
74* support .cjs files ([75e6775](https://github.com/OptimalBits/bull/commit/75e6775fc3720563aac9cd9a07d1722dfbdfa177))
75
76## [4.8.5](https://github.com/OptimalBits/bull/compare/v4.8.4...v4.8.5) (2022-07-27)
77
78
79### Performance Improvements
80
81* **clean:** use ZRANGEBYSCORE to improve performance ([#2363](https://github.com/OptimalBits/bull/issues/2363)) ([3331188](https://github.com/OptimalBits/bull/commit/3331188bce510e0bb4749d92cb63f4c73203d076))
82
83## [4.8.4](https://github.com/OptimalBits/bull/compare/v4.8.3...v4.8.4) (2022-06-16)
84
85
86### Bug Fixes
87
88* **worker:** better disconnect when blocking connection ([b9ea7f4](https://github.com/OptimalBits/bull/commit/b9ea7f4780948d4556548e6bf13e2c3271939d12))
89
90## [4.8.3](https://github.com/OptimalBits/bull/compare/v4.8.2...v4.8.3) (2022-05-12)
91
92
93### Bug Fixes
94
95* **stalled-jobs:** move stalled jobs to wait in batches ([2f1fb6c](https://github.com/OptimalBits/bull/commit/2f1fb6cdc1329f98b2dd30e847b5a79839db0346))
96
97## [4.8.2](https://github.com/OptimalBits/bull/compare/v4.8.1...v4.8.2) (2022-04-21)
98
99
100### Bug Fixes
101
102* unlock job when moving it to delayed ([#2329](https://github.com/OptimalBits/bull/issues/2329)) ([11eae6b](https://github.com/OptimalBits/bull/commit/11eae6b960c83b47dadb22991b2b3e239c177508))
103
104## [4.8.1](https://github.com/OptimalBits/bull/compare/v4.8.0...v4.8.1) (2022-03-21)
105
106
107### Performance Improvements
108
109* speed up clean operation ([#2326](https://github.com/OptimalBits/bull/issues/2326)) ([ef5f471](https://github.com/OptimalBits/bull/commit/ef5f4717258940042fa11f980622034cde765860))
110
111# [4.8.0](https://github.com/OptimalBits/bull/compare/v4.7.0...v4.8.0) (2022-03-19)
112
113
114### Features
115
116* have Queue#clean consult job.{finishedOn,processedOn,timestamp} ([#2309](https://github.com/OptimalBits/bull/issues/2309)) ([b7058e6](https://github.com/OptimalBits/bull/commit/b7058e6e8f4bb56febebaf9452f993883240fa9d))
117
118# [4.7.0](https://github.com/OptimalBits/bull/compare/v4.6.2...v4.7.0) (2022-03-02)
119
120
121### Features
122
123* **metrics:** add support for collecting queue metrics ([886d764](https://github.com/OptimalBits/bull/commit/886d7643819dcf52902d2e92394267dbd495c71b))
124
125## [4.6.2](https://github.com/OptimalBits/bull/compare/v4.6.1...v4.6.2) (2022-02-23)
126
127
128### Bug Fixes
129
130* better handling of maxRetriesPerRequest ([d3b9138](https://github.com/OptimalBits/bull/commit/d3b91386e30d7205efdc19bcd18fe1e5fefa3542))
131
132## [4.6.1](https://github.com/OptimalBits/bull/compare/v4.6.0...v4.6.1) (2022-02-21)
133
134
135### Bug Fixes
136
137* **sandbox:** better error reporting broken processor file ([10db479](https://github.com/OptimalBits/bull/commit/10db479731bcb8ba27c3a0e2dd4094c8e9ff1c57))
138
139# [4.6.0](https://github.com/OptimalBits/bull/compare/v4.5.6...v4.6.0) (2022-02-21)
140
141
142### Features
143
144* handle redis uri queries ([54e5463](https://github.com/OptimalBits/bull/commit/54e5463bffee1b8b56b460460c79d8751142d859))
145
146## [4.5.6](https://github.com/OptimalBits/bull/compare/v4.5.5...v4.5.6) (2022-02-20)
147
148
149### Bug Fixes
150
151* **sandbox:** wait for result of sending start command ([232ed85](https://github.com/OptimalBits/bull/commit/232ed85d4c980d94dee5d9e4c5b6f8758dbb82d9))
152
153## [4.5.5](https://github.com/OptimalBits/bull/compare/v4.5.4...v4.5.5) (2022-02-16)
154
155
156### Bug Fixes
157
158* **worker:** better closing when disconnected ([41b9404](https://github.com/OptimalBits/bull/commit/41b940457b3447619c3c2887674a8cebf1508b07))
159
160## [4.5.4](https://github.com/OptimalBits/bull/compare/v4.5.3...v4.5.4) (2022-02-14)
161
162
163### Bug Fixes
164
165* **queue:** return correct workers with getWorkers() ([193644c](https://github.com/OptimalBits/bull/commit/193644c5ed290901448f8c35ede99e1063a90f4a))
166
167## [4.5.3](https://github.com/OptimalBits/bull/compare/v4.5.2...v4.5.3) (2022-02-14)
168
169
170### Bug Fixes
171
172* **commands:** do not wait for redis to load commands ([ad7b647](https://github.com/OptimalBits/bull/commit/ad7b6474db426b4970a0d1d3ddb8a032a22c481b))
173
174## [4.5.2](https://github.com/OptimalBits/bull/compare/v4.5.1...v4.5.2) (2022-02-14)
175
176
177### Bug Fixes
178
179* **scripts:** make it easier for tools like vercel to find the .lua scripts ([8ab5b1d](https://github.com/OptimalBits/bull/commit/8ab5b1d1c3eecf41b20d97f464030377ece01640))
180
181## [4.5.1](https://github.com/OptimalBits/bull/compare/v4.5.0...v4.5.1) (2022-02-06)
182
183
184### Bug Fixes
185
186* **sandbox:** broken processor files should fail jobs ([dd0b853](https://github.com/OptimalBits/bull/commit/dd0b853a516c32baac535395377a19e361964dc8))
187
188# [4.5.0](https://github.com/OptimalBits/bull/compare/v4.4.0...v4.5.0) (2022-02-01)
189
190
191### Features
192
193* **queue:** add retryJobs for failed status ([501b2cc](https://github.com/OptimalBits/bull/commit/501b2cc49ccd0d7de82fea50144b52fa9879d1f5))
194
195# [4.4.0](https://github.com/OptimalBits/bull/compare/v4.3.0...v4.4.0) (2022-01-26)
196
197
198### Features
199
200* add support for removeOn based on time ([90f040c](https://github.com/OptimalBits/bull/commit/90f040c052325da302c99f17111a12d1afbe88bd))
201
202# [4.3.0](https://github.com/OptimalBits/bull/compare/v4.2.1...v4.3.0) (2022-01-26)
203
204
205### Features
206
207* upgrade cron version enabling new cron expressions ([79337a3](https://github.com/OptimalBits/bull/commit/79337a30758ea7e6d6b1536eb0edebcd0b3c8274))
208
209## [4.2.1](https://github.com/OptimalBits/bull/compare/v4.2.0...v4.2.1) (2022-01-17)
210
211
212### Bug Fixes
213
214* **sandbox:** exit if uncaughtException ([43dc2e6](https://github.com/OptimalBits/bull/commit/43dc2e69dfa0cbaf960ce6f1bd6c4125b1052ff9))
215
216# [4.2.0](https://github.com/OptimalBits/bull/compare/v4.1.4...v4.2.0) (2021-12-21)
217
218
219### Features
220
221* **queue:** enabled queues to share childPool instance ([#2237](https://github.com/OptimalBits/bull/issues/2237)) ([16fdbe9](https://github.com/OptimalBits/bull/commit/16fdbe90a05ae2e2bcb134a550a97dc84dfe573e))
222
223## [4.1.4](https://github.com/OptimalBits/bull/compare/v4.1.3...v4.1.4) (2021-12-14)
224
225
226### Bug Fixes
227
228* **queue:** check redisOptions is available fixes [#2186](https://github.com/OptimalBits/bull/issues/2186) ([071c51d](https://github.com/OptimalBits/bull/commit/071c51d16db58ed9f71138058dbbc25f73383e56))
229
230## [4.1.3](https://github.com/OptimalBits/bull/compare/v4.1.2...v4.1.3) (2021-12-14)
231
232
233### Bug Fixes
234
235* typo on url ([#2195](https://github.com/OptimalBits/bull/issues/2195)) ([7e7d9cb](https://github.com/OptimalBits/bull/commit/7e7d9cb58d7cb5c1a92020f7c4333932526d8e98))
236
237## [4.1.2](https://github.com/OptimalBits/bull/compare/v4.1.1...v4.1.2) (2021-12-14)
238
239
240### Performance Improvements
241
242* speed up performance of queue.clean when called with a limit ([#2205](https://github.com/OptimalBits/bull/issues/2205)) ([c20e469](https://github.com/OptimalBits/bull/commit/c20e469dcd71fd13e23e922f2720f55450311d22))
243
244## [4.1.1](https://github.com/OptimalBits/bull/compare/v4.1.0...v4.1.1) (2021-11-16)
245
246
247### Bug Fixes
248
249* **emit:** protect emit calls fixes [#2213](https://github.com/OptimalBits/bull/issues/2213) ([4978a2b](https://github.com/OptimalBits/bull/commit/4978a2b40ee840ba91e0939e86e1e3b15e8b16e9))
250
251# [4.1.0](https://github.com/OptimalBits/bull/compare/v4.0.0...v4.1.0) (2021-10-31)
252
253
254### Features
255
256* emit event on job lock extend failure ([7247b3b](https://github.com/OptimalBits/bull/commit/7247b3bb9741c5eb18ce4027ea14349cbc8504c5))
257
258# [4.0.0](https://github.com/OptimalBits/bull/compare/v3.29.3...v4.0.0) (2021-10-27)
259
260
261### Bug Fixes
262
263* force options to guarantee correct reconnects ([3ade8e6](https://github.com/OptimalBits/bull/commit/3ade8e6727d7b906a30b09bccb6dc10d76ed1b5f))
264
265
266### BREAKING CHANGES
267
268* If redis opts are missing:
269 { maxRetriesPerRequest: null,
270 enableReadyCheck: false }
271then a exception will be thrown.
272
273## [3.29.3](https://github.com/OptimalBits/bull/compare/v3.29.2...v3.29.3) (2021-10-13)
274
275
276### Bug Fixes
277
278* **name-processors:** wait for all processors when closing fixes [#1618](https://github.com/OptimalBits/bull/issues/1618) ([79ce013](https://github.com/OptimalBits/bull/commit/79ce013af695f96ff57106b213982647e0783d3f))
279
280## [3.29.2](https://github.com/OptimalBits/bull/compare/v3.29.1...v3.29.2) (2021-09-08)
281
282
283### Bug Fixes
284
285* **connection:** fail only if redis connection does not recover ([0ca4c6b](https://github.com/OptimalBits/bull/commit/0ca4c6b4d57efa78e5ca484cb8bed2a6961646a3))
286
287## [3.29.1](https://github.com/OptimalBits/bull/compare/v3.29.0...v3.29.1) (2021-08-26)
288
289
290### Bug Fixes
291
292* protect getJob with isReady, fixes [#1386](https://github.com/OptimalBits/bull/issues/1386) ([2f27faa](https://github.com/OptimalBits/bull/commit/2f27faa410f70504f24df2ebd6bb7831df21660d))
293
294# [3.29.0](https://github.com/OptimalBits/bull/compare/v3.28.1...v3.29.0) (2021-08-20)
295
296
297### Features
298
299* **jobs:** add extendLock method ([30d5959](https://github.com/OptimalBits/bull/commit/30d59590c34cb664e3b9a62695c4092c9b1ae3f3))
300
301## [3.28.1](https://github.com/OptimalBits/bull/compare/v3.28.0...v3.28.1) (2021-08-06)
302
303
304### Bug Fixes
305
306* **queue:** changed user prop to username for redisOptions ([71baea9](https://github.com/OptimalBits/bull/commit/71baea91de702d9bd1d5516f09b22599b7f13045))
307
308# [3.28.0](https://github.com/OptimalBits/bull/compare/v3.27.0...v3.28.0) (2021-08-05)
309
310
311### Features
312
313* **queue:** handle redis url containing username ([a245fc4](https://github.com/OptimalBits/bull/commit/a245fc403827fd22b08dbe1499fe843eb1ad633a))
314
315# [3.27.0](https://github.com/OptimalBits/bull/compare/v3.26.0...v3.27.0) (2021-07-27)
316
317
318### Features
319
320* support job.discard function in sandboxed processors ([5adcf2c](https://github.com/OptimalBits/bull/commit/5adcf2ceed263d46089cceefcdcaa658151c53b7))
321
322# [3.26.0](https://github.com/OptimalBits/bull/compare/v3.25.2...v3.26.0) (2021-07-16)
323
324
325### Features
326
327* **repeatable:** store key in repeat options ([dab0d82](https://github.com/OptimalBits/bull/commit/dab0d8266174f1d25ec914cff8450594d85db511))
328
329## [3.25.2](https://github.com/OptimalBits/bull/compare/v3.25.1...v3.25.2) (2021-07-16)
330
331
332### Bug Fixes
333
334* **repeatable:** honor endDate fixes [#1573](https://github.com/OptimalBits/bull/issues/1573) ([7f0db0e](https://github.com/OptimalBits/bull/commit/7f0db0e293367752971be8a1bf7b6c8cf4190350))
335
336## [3.25.1](https://github.com/OptimalBits/bull/compare/v3.25.0...v3.25.1) (2021-07-16)
337
338
339### Bug Fixes
340
341* error when .lua scripts missing in built bundle ([85307c3](https://github.com/OptimalBits/bull/commit/85307c3a8e48b910590b2682700c5062c84d32b0))
342
343# [3.25.0](https://github.com/OptimalBits/bull/compare/v3.24.0...v3.25.0) (2021-07-15)
344
345
346### Features
347
348* pass clientName to createClient function ([2a29569](https://github.com/OptimalBits/bull/commit/2a295691b88318ff64beaa7b83e03487854a7fe4))
349
350# [3.24.0](https://github.com/OptimalBits/bull/compare/v3.23.3...v3.24.0) (2021-07-15)
351
352
353### Features
354
355* **backoff:** add option to specify options for custom backoff strategy ([e573010](https://github.com/OptimalBits/bull/commit/e5730107688a41c7268a717f16302c5959eaf6f6))
356
357## [3.23.3](https://github.com/OptimalBits/bull/compare/v3.23.2...v3.23.3) (2021-07-15)
358
359
360### Bug Fixes
361
362* **delayed:** do not get lock twice fixes [#2033](https://github.com/OptimalBits/bull/issues/2033) ([2800cf8](https://github.com/OptimalBits/bull/commit/2800cf8923ccac52dcd4da4e7fd19b3404c68fe8))
363
364## [3.23.2](https://github.com/OptimalBits/bull/compare/v3.23.1...v3.23.2) (2021-07-15)
365
366
367### Bug Fixes
368
369* **job:** add default err object fixes [#2029](https://github.com/OptimalBits/bull/issues/2029) ([39684e9](https://github.com/OptimalBits/bull/commit/39684e9f941e2ea4191809fdc2aa52b3d7b267ae))
370
371## [3.23.1](https://github.com/OptimalBits/bull/compare/v3.23.0...v3.23.1) (2021-07-15)
372
373
374### Bug Fixes
375
376* wait in queue to be ready in getNextJob fixes [#1852](https://github.com/OptimalBits/bull/issues/1852) ([4e224e5](https://github.com/OptimalBits/bull/commit/4e224e5533f729b9781b1db81e1875b1bd50afb0))
377
378# [3.23.0](https://github.com/OptimalBits/bull/compare/v3.22.12...v3.23.0) (2021-07-13)
379
380
381### Features
382
383* support job.update function in sandboxed processors ([ff79fb4](https://github.com/OptimalBits/bull/commit/ff79fb494ea3e123256b35d18b46b24fbb9b8365)), closes [#1279](https://github.com/OptimalBits/bull/issues/1279) [#1608](https://github.com/OptimalBits/bull/issues/1608) [#1056](https://github.com/OptimalBits/bull/issues/1056)
384
385## [3.22.12](https://github.com/OptimalBits/bull/compare/v3.22.11...v3.22.12) (2021-07-13)
386
387
388### Bug Fixes
389
390* remove stalled job when finishing fixes [#1600](https://github.com/OptimalBits/bull/issues/1600) ([90763fd](https://github.com/OptimalBits/bull/commit/90763fd66404d8bc5a47ff8555cbe2da776c030d))
391
392## [3.22.11](https://github.com/OptimalBits/bull/compare/v3.22.10...v3.22.11) (2021-07-08)
393
394
395### Bug Fixes
396
397* **close:** clear timers after waiting jobs fixes [#1415](https://github.com/OptimalBits/bull/issues/1415) ([77b319d](https://github.com/OptimalBits/bull/commit/77b319da6acaa93351830f0a4e38b5ad1d3d8cf5))
398
399## [3.22.10](https://github.com/OptimalBits/bull/compare/v3.22.9...v3.22.10) (2021-07-01)
400
401
402### Bug Fixes
403
404* deep clone options ([#2083](https://github.com/OptimalBits/bull/issues/2083)) ([1e00a90](https://github.com/OptimalBits/bull/commit/1e00a90d1216083cdf33bc78a9753ece1acdddb2))
405
406## [3.22.9](https://github.com/OptimalBits/bull/compare/v3.22.8...v3.22.9) (2021-06-22)
407
408
409### Bug Fixes
410
411* **reprocess:** do not store job.id in added list ([3fbc506](https://github.com/OptimalBits/bull/commit/3fbc506aee4c36fd612ed18fc3a1619c0c8069d8))
412
413## [3.22.8](https://github.com/OptimalBits/bull/compare/v3.22.7...v3.22.8) (2021-06-09)
414
415
416### Bug Fixes
417
418* upgrade ioredis fixes [#1445](https://github.com/OptimalBits/bull/issues/1445) ([f6a2364](https://github.com/OptimalBits/bull/commit/f6a23648146f5a53bb2e4084f8de9b783b782bed))
419
420## [3.22.7](https://github.com/OptimalBits/bull/compare/v3.22.6...v3.22.7) (2021-05-31)
421
422
423### Bug Fixes
424
425* **obliterate:** remove job logs fixes [#2050](https://github.com/OptimalBits/bull/issues/2050) ([6ccf2b9](https://github.com/OptimalBits/bull/commit/6ccf2b90892bf16b4edb0095d6e770f978bc660a))
426
427## [3.22.6](https://github.com/OptimalBits/bull/compare/v3.22.5...v3.22.6) (2021-05-17)
428
429
430### Bug Fixes
431
432* **job:** fix job log pagination, fixes [#2031](https://github.com/OptimalBits/bull/issues/2031) ([30aa0a9](https://github.com/OptimalBits/bull/commit/30aa0a99acb4a04a12f988840bc8ccc7a014fed3))
433
434## [3.22.5](https://github.com/OptimalBits/bull/compare/v3.22.4...v3.22.5) (2021-05-11)
435
436
437### Bug Fixes
438
439* emit failed event when stalled job fails ([f68da41](https://github.com/OptimalBits/bull/commit/f68da4176658b9935cf4b63b218130008619b25b))
440
441## [3.22.4](https://github.com/OptimalBits/bull/compare/v3.22.3...v3.22.4) (2021-04-27)
442
443
444### Bug Fixes
445
446* also populate retriedOn when loading from id with excludeData ([0964b39](https://github.com/OptimalBits/bull/commit/0964b390d9190510f0d016f4eb2a3f1bc6cdb4e5))
447
448## [3.22.3](https://github.com/OptimalBits/bull/compare/v3.22.2...v3.22.3) (2021-04-23)
449
450
451### Bug Fixes
452
453* **delayed:** re-schedule updateDelay in case of error fixes [#2015](https://github.com/OptimalBits/bull/issues/2015) ([16bbfad](https://github.com/OptimalBits/bull/commit/16bbfadb270bc6c7d6df9cf5ab30b7f66028b2b3))
454
455## [3.22.2](https://github.com/OptimalBits/bull/compare/v3.22.1...v3.22.2) (2021-04-23)
456
457
458### Bug Fixes
459
460* **obliterate:** obliterate many jobs fixes [#2016](https://github.com/OptimalBits/bull/issues/2016) ([7a923b4](https://github.com/OptimalBits/bull/commit/7a923b468d5299bbdfe06d1ee7447fd810e2779b))
461
462
463## v.3.22.1
464
465- fix(obliterate): remove repeatable jobs fixes #2012
466
467[Changes](https://github.com/OptimalBits/bull/compare/v3.22.0...v3.22.1)
468
469## v.3.22.0
470
471- feat: do not rely on comma to encode jobid in progress fixes #2003
472
473[Changes](https://github.com/OptimalBits/bull/compare/v3.21.1...v3.22.0)
474
475
476## v.3.21.1
477
478- fix: safer implementation of obliterate.
479Note: If you want to use the new method "obliterate" it is highly recommended
480that you upgrade to this version, since previous version is not safe to use
481if using the colon ':' character in your queue names.
482
483
484[Changes](https://github.com/OptimalBits/bull/compare/v3.21.0...v3.21.1)
485
486## v.3.21.0
487
488- feat: add a method to "obliterate" a queue
489- fix: upgrade lodash fixes #1996
490
491[Changes](https://github.com/OptimalBits/bull/compare/v3.20.1...v3.21.0)
492
493## v.3.20.1
494
495- fix(queue): possible infinite loop when disconnect fixes #1746
496- fix(clean-priority): remove job from priority set on clean (#1405)
497- fix(sandbox): job update (#1957)
498- fix: use async version of process.send for progress and log (#1948)
499- fix: promote jobs to the right "list" when paused
500
501[Changes](https://github.com/OptimalBits/bull/compare/v3.20.0...v3.20.1)
502
503## v.3.20.0
504
505- feat(job): implement Job#retriedOn (#1868)
506- fix: job default opts fixes #1904
507
508[Changes](https://github.com/OptimalBits/bull/compare/v3.19.1...v3.20.0)
509
510## v.3.19.1
511
512- fix(getters): properly zip hmget result
513
514[Changes](https://github.com/OptimalBits/bull/compare/v3.19.0...v3.19.1)
515
516## v.3.19.0
517
518- feat: add option to exclude data on getters (#1910)
519- fix: lock ioredis to 4.18.0 to avoid breakage with newer 4.19.0+.
520
521[Changes](https://github.com/OptimalBits/bull/compare/v3.18.1...v3.19.0)
522
523## v.3.18.1
524
525- fix(repeat): remove last delayed job.
526- fix(rate-limiter): increment jobCounter only when a job is processed. fixes #1875.
527- fix(sandbox): clear dangling timeout.
528
529[Changes](https://github.com/OptimalBits/bull/compare/v3.18.0...v3.18.1)
530
531## v.3.18.0
532
533- feat: make pause forward compatible with bullmq (#1818) (@manast)
534
535[Changes](https://github.com/OptimalBits/bull/compare/v3.17.0...v3.18.0)
536
537## v.3.17.0
538
539- feat: better rate limiter (#1816) (@manast)
540- feat(sandbox): kill child workers gracefully (#1802) (@GabrielCastro)
541
542[Changes](https://github.com/OptimalBits/bull/compare/v3.16.0...v3.17.0)
543
544## v.3.16.0
545
546- feat(rate-limiter): add grouping support.
547
548[Changes](https://github.com/OptimalBits/bull/compare/v3.15.0...v3.16.0)
549
550## v.3.15.0
551
552- feat: add isPaused fixes #1274
553- fix: emit waiting event when adding a priority job (#1134)
554
555[Changes](https://github.com/OptimalBits/bull/compare/v3.14.0...v3.15.0)
556
557## v.3.14.0
558
559- feat(queue): add removeJobs function
560- fix: clamp negative job delay values to 0 to prevent thrashing
561- fix: use DEFAULT_JOB_NAME (#1585)
562- fix: remove the lazy client error handler on close (#1605)
563- fix: prevent exceeding the maximum stack call size when emptying large queues (#1660)
564
565[Changes](https://github.com/OptimalBits/bull/compare/v3.13.0...v3.14.0)
566
567## v.3.13.0
568
569- feat: add "preventParsingData" job option to prevent data parsing
570- fix: queue.clean clean job logs as well
571- fix: whenCurrentJobsFinished should wait for all jobs
572
573[Changes](https://github.com/OptimalBits/bull/compare/v3.12.1...v3.13.0)
574
575## v.3.12.1
576
577- fix: catch errors parsing invalid progress data
578- fix(pause): don't initialize bclient if not waiting for jobs to finish
579
580[Changes](https://github.com/OptimalBits/bull/compare/v3.12.0...v3.12.1)
581
582## v.3.12.0
583
584- feat: support async custom backoffs.
585- feat(sandbox): emulate job.progress function.
586
587- fix: queue.pause(true, true) doesn't pause queue.
588
589[Changes](https://github.com/OptimalBits/bull/compare/v3.11.0...v3.12.0)
590
591## v.3.11.0
592
593- feat(queue): basic support for bulk adding jobs.
594- feat(job): save data on job instance when updated.
595
596- fix(queue): whenCurrentJobsFinished shouldn't initialize bclient. Fixes #1346.
597- fix(queue): unhandled promise warning in updateDelayTimer.
598- fix(sandbox): if the child process is killed, remove it from the pool.
599
600[Changes](https://github.com/OptimalBits/bull/compare/v3.10.0...v3.11.0)
601
602## v.3.10.0
603
604- fix: remove logs automtically when using autoremove fixes #1330
605- feat: add support for keeping a specified number of jobs when using auto-remove.
606- feat: add support for node 12
607- fix: fix check for supported file types in sandboxed processors #1311
608- ci: drop support for node 6
609
610[Changes](https://github.com/OptimalBits/bull/compare/v3.9.1...v3.10.0)
611
612## v.3.9.1
613
614- fix: add log to job wrapper
615
616[Changes](https://github.com/OptimalBits/bull/compare/v3.9.0...v3.9.1)
617
618## v.3.9.0
619
620- feat: add job.log #1165
621
622[Changes](https://github.com/OptimalBits/bull/compare/v3.8.1...v3.9.0)
623
624## v.3.8.1
625
626- fix: wait for ready in cleanJobsInSet fixes #1298
627
628[Changes](https://github.com/OptimalBits/bull/compare/v3.8.0...v3.8.1)
629
630## v.3.8.0
631
632- fix: improve delay logic fixing #1226, #1222
633- feat: store finishedOn on the job instance
634- fix: return every in getRepeatableJobs #1284
635- fix: remove broken child processes #1098
636- feat: update sandbox exit handler to log signals #1252
637- fix: Ignore unknown command client error #1240
638
639[Changes](https://github.com/OptimalBits/bull/compare/v3.7.0...v3.8.0)
640
641## v.3.7.0
642
643- perf: improve update delay set logic.
644- feat: consider priority when promoting a job #1205.
645- fix: better delay for rate limited jobs.
646- feat: update port selection mechanism for child node process inspect flag.
647
648[Changes](https://github.com/OptimalBits/bull/compare/v3.6.0...v3.7.0)
649
650## v.3.6.0
651
652- feat: add function to remove repeatable jobs by key.
653- fix: properly remove sandbox events. Fixes #1179.
654- fix: make progress functions in sandbox consistently return a promise.
655
656[Changes](https://github.com/OptimalBits/bull/compare/v3.5.3...v3.6.0)
657
658## v.3.5.3
659
660- chore: upgrade ioredis to ^4.5.1.
661- fix: fix #1044 support for typescript processors.
662- chore: remove bluebird.
663- chore: use lockKey method instead of private property.
664- fix(queue): convert delay setting to number.
665
666[Changes](https://github.com/OptimalBits/bull/compare/v3.5.2...v3.5.3)
667
668## v.3.5.2
669
670- chore(queue): remove bluebird config from the codebase.
671
672[Changes](https://github.com/OptimalBits/bull/compare/v3.5.1...v3.5.2)
673
674## v.3.5.1
675
676- chore(yarn): updated yarn.lock
677
678[Changes](https://github.com/OptimalBits/bull/compare/v3.5.0...v3.5.1)
679
680## v.3.5.0
681
682- fix(delayed): pause delayed jobs #1087
683- fix(lua): correct numJobs fetch in moveToActive
684- perf(moveToActive): used local var for rate limiter
685- perf(queue): replace bluebird by native promises where possible
686- chore(queue): fix typo in forcedReconnection variable
687- feat(child-processes): catch sub process crashes
688- fix(jobs): reset 'failedReason', 'finishedOn' and 'processedOn' fields on job retry
689- fix(queue): fix Warning: cancellation is disabled
690- fix(queue): remove the correct listener in isRedisReady
691- feat(jobs): allow cancelling of retries when using custom backoff strategy
692- feat(rate-limiter): add discard config for rate-limiter
693- feat(jobs): make job progress accepts variant types
694- fix(repeatable): Fixed wrong repeatable count updates
695- fix(jobs): fix copy paste mistake for stacktrace in job toData
696- feat(child-processes): Propagate stack traces
697- feat(repeatable): add ability for cron repeatable job with startDate
698
699[Changes](https://github.com/OptimalBits/bull/compare/v3.4.8...v3.5.0)
700
701## v.3.4.8
702
703- emit waiting event when waking up sleep jobs fixing #792
704- throw error if missing processor file fixing #954
705
706[Changes](https://github.com/OptimalBits/bull/compare/v3.4.7...v3.4.8)
707
708## v.3.4.7
709
710- Fixes to deal with removing correctly in priority queues #984
711
712[Changes](https://github.com/OptimalBits/bull/compare/v3.4.6...v3.4.7)
713
714## v.3.4.6
715
716- Reverted use of arrow function that was incompatible with older versions of node.
717
718[Changes](https://github.com/OptimalBits/bull/compare/v3.4.5...v3.4.6)
719
720## v.3.4.5
721
722- Fixed Unhandled promise rejections #1012.
723
724[Changes](https://github.com/OptimalBits/bull/compare/v3.4.4...v3.4.5)
725
726## v.3.4.4
727
728- Partially fixed #845. When call queue.close() bull throws Error: Connection is closed.
729- Fixed #998. Check for existence of rate limiter options.
730- Fixed #1003. Fixed fixed repeatable jobs duplication using every.
731- Feature/provide error to custom backoff strategy.
732
733[Changes](https://github.com/OptimalBits/bull/compare/v3.4.3...v3.4.4)
734
735## v.3.4.3
736
737- Fixed #994 queue.getJobs() race condition.
738- Fixed #966 Race conditions reviving repeatable jobs.
739- Fixed getters: Update types array to include paused.
740- Fixed #958 job.finished slowdown.
741- Fixed #949 TypeError: job.queue.client.isFinished is not a function.
742- Fixed #870 TypeError when retrying jobs.
743- Fixed #942 Support for milliseconds intervals in repeatable jobs.
744
745[Changes](https://github.com/OptimalBits/bull/compare/v3.4.2...v3.4.3)
746
747## v.3.4.2
748
749- Fixed #903 Globally paused queue cannot receive job (or not shown in Arena untill queue is globally resumed).
750- Workaround for #911 Seperate process worker fails to launch when Node is started with --inspect flag
751- added missing retain on reused child job #908.
752- added more tests for child jobs.
753
754[Changes](https://github.com/OptimalBits/bull/compare/v3.4.1...v3.4.2)
755
756## v.3.4.1
757
758- Better check for closing in moveUnlockedJobsToWait, possibly fixing #806.
759
760[Changes](https://github.com/OptimalBits/bull/compare/v3.4.0...v3.4.1)
761
762## v.3.4.0
763
764- Added support for prioritized delayed jobs.
765- Added ability to process all named jobs from one process function.
766- Fixed #893, warning 'a promise was rejected with a non-error' for external queues in case of an error.
767
768[Changes](https://github.com/OptimalBits/bull/compare/v3.3.10...v3.4.0)
769
770## v.3.3.10
771
772- Faster next job fetch #868
773- Added global default options for jobs. Fixes #706.
774- Added a limit for repeatable jobs. #854.
775
776[Changes](https://github.com/OptimalBits/bull/compare/v3.3.9...v3.3.10)
777
778## v.3.3.9
779
780- Support custom backoff strategies.
781- Fixed #786. Handling of ES6 default export.
782- Fixed #782. Better handling of "isReady".
783
784[Changes](https://github.com/OptimalBits/bull/compare/v3.3.8...v3.3.9)
785
786## v.3.3.8
787
788- Fixed #812. External process doesn't terminate on `queue.close()`.
789- Fixed #830. Named Process Sent to Wrong Processor.
790- Fixed #572. Do not close external connections.
791
792[Changes](https://github.com/OptimalBits/bull/compare/v3.3.7...v3.3.8)
793
794## v.3.3.7
795
796- Fixed #807.
797- Adding ability to limit by stacktrace. #798.
798
799[Changes](https://github.com/OptimalBits/bull/compare/v3.3.6...v3.3.7)
800
801## v.3.3.6
802
803- Fixed #766, #781, #716.
804- Correctly accept DB in redis connection string.
805- Fixed global progress event.
806
807[Changes](https://github.com/OptimalBits/bull/compare/v3.3.5...v3.3.6)
808
809## v.3.3.5
810
811- Fixed #764, #762, #759.
812
813[Changes](https://github.com/OptimalBits/bull/compare/v3.3.4...v3.3.5)
814
815## v.3.3.4
816
817- Fixed #748.
818
819[Changes](https://github.com/OptimalBits/bull/compare/v3.3.3...v3.3.4)
820
821## v.3.3.3
822
823- Re-fixed #739.
824- Possibly fixed for #747.
825- Fixed removeRepeatable (missing file)
826
827[Changes](https://github.com/OptimalBits/bull/compare/v3.3.2...v3.3.3)
828
829## v.3.3.2
830
831- Fixed #721. SyntaxError: Unexpected token u in JSON at position 0.
832- Fixed #739. childs are not added to the retained set.
833- Fixed #734. fixed Promise warnings.
834
835[Changes](https://github.com/OptimalBits/bull/compare/v3.3.1...v3.3.2)
836
837## v.3.3.1
838
839- Fixed #714
840
841[Changes](https://github.com/OptimalBits/bull/compare/v3.3.0...v3.3.1)
842
843## v.3.3.0
844
845- Added a method `Queue##removeRepeatable` to remove repeatable jobs.
846- Now also emits drained as a global event.
847- Fixed #518, #624
848
849[Changes](https://github.com/OptimalBits/bull/compare/v3.2.0...v3.3.0)
850
851## v.3.2.0
852
853- Added support for running jobs in child processes #488
854
855[Changes](https://github.com/OptimalBits/bull/compare/v3.1.0...v3.2.0)
856
857## v.3.1.0
858
859- Added rate limiter support.
860- Added method to update jobs data.
861- Implemented stalled as global event.
862
863[Changes](https://github.com/OptimalBits/bull/compare/v3.0.0...v3.1.0)
864
865## v.3.0.0
866
867- No changes.
868
869## v.3.0.0-rc.10
870
871- Fixed #666.
872- Small improvements in the repeat code.
873
874[Changes](https://github.com/OptimalBits/bull/compare/v3.0.0-rc.9...v3.0.0-rc.10)
875
876## v.3.0.0-rc.9
877
878- Fixed #672.
879- Fixed #670
880
881[Changes](https://github.com/OptimalBits/bull/compare/v3.0.0-rc.8...v3.0.0-rc.9)
882
883## v.3.0.0-rc.8
884
885- Enhanced job fetching #651 (faster and more reliable).
886
887[Changes](https://github.com/OptimalBits/bull/compare/v3.0.0-rc.7...v3.0.0-rc.8)
888
889## v.3.0.0-rc.7
890
891- Fixed #659
892
893[Changes](https://github.com/OptimalBits/bull/compare/v3.0.0-rc.6...v3.0.0-rc.7)
894
895## v.3.0.0-rc.6
896
897- Fixed #645.
898
899[Changes](https://github.com/OptimalBits/bull/compare/v3.0.0-rc.5...v3.0.0-rc.6)
900
901## v.3.0.0-rc.5
902
903- Improved performance, specially when having many concurrent workers.
904- Fixed #609 using zsets for storing repeatable jobs.
905- Fixed #608 Event chaining no longer works.
906- Improved getters.
907- Fixed #601 Add multiple repeatable jobs with the same cron pattern.
908
909[Changes](https://github.com/OptimalBits/bull/compare/3.0.0-rc.4...v3.0.0-rc.5)
910
911## v.3.0.0-rc.4
912
913- Added support for naming workers in redis connections #530.
914- Lazy instantiation of redis clients. Fixes #526.
915- job.finished captures result from queue process. #588.
916- Caches LUA scripts to avoid reading files in every queue instantiation. #591.
917- Emit 'drain' event when queue is empty. #596.
918- store finished and processed timestamps. #594, #606.
919
920[Changes](https://github.com/OptimalBits/bull/compare/v3.0.0-rc.3...3.0.0-rc.4)
921
922## v.3.0.0-rc.3
923
924- Fixed #579.
925- Lazy subscription to events for better performance.
926- Corrected calculation of next repeat job. #563.
927
928[Changes](https://github.com/OptimalBits/bull/compare/v3.0.0-rc.2...v3.0.0-rc.3)
929
930## v.3.0.0-rc.2
931
932- Improved performance of moveToActive #550.
933- Fixed issue with cancelable promise #546.
934
935[Changes](https://github.com/OptimalBits/bull/compare/v3.0.0-rc.1...v3.0.0-rc.2)
936
937## v.3.0.0-rc.1
938
939- Improved error and lock handling for failed jobs #499, #539.
940- Corrected instantiation from urls #538.
941- Return jobs in proper order in jobs getters.
942
943[Changes](https://github.com/OptimalBits/bull/compare/v3.0.0-alpha.4...v3.0.0-rc.1)
944
945## v.3.0.0-alpha.4
946
947- Implemented repeatable jobs. #252.
948
949[Changes](https://github.com/OptimalBits/bull/compare/v3.0.0-alpha.3...v3.0.0-alpha.4)
950
951## v.3.0.0-alpha.3
952
953- Simplified global events #501.
954
955[Changes](https://github.com/OptimalBits/bull/compare/v3.0.0-alpha.2...v3.0.0-alpha.3)
956
957## v.3.0.0-alpha.2
958
959- Eliminated possible memory leak #503
960
961[Changes](https://github.com/OptimalBits/bull/compare/v3.0.0-alpha.1...v3.0.0-alpha.2)
962
963## v.3.0.0-alpha.1
964
965- improved job fetch mechanism. #480.
966- job.jobId changed to job.id.
967- refactored error messages into separate error module.
968- refactored lua scripts into separate files, and preloaded.
969- many atomizations and clean ups.
970- completed and failed job states are now represented in ZSETs. #190.
971
972[Changes](https://github.com/OptimalBits/bull/compare/v2.2.6...v3.0.0-alpha.1)
973
974## v.2.2.6
975
976- Persisted failedReason when storing job data.
977- added queue##isReady()
978
979[Changes](https://github.com/OptimalBits/bull/compare/v2.2.5...v2.2.6)
980
981## v.2.2.5
982
983- Fixed so that redis key prefix works properly.
984
985[Changes](https://github.com/OptimalBits/bull/compare/v2.2.4...v2.2.5)
986
987## v.2.2.4
988
989- Allow reusing certain redis connections.
990
991[Changes](https://github.com/OptimalBits/bull/compare/v2.2.3...v2.2.4)
992
993## v.2.2.3
994
995- Added getJobCounts.
996- Fixed global events #394.
997
998[Changes](https://github.com/OptimalBits/bull/compare/v2.2.2...v2.2.3)
999
1000## v.2.2.2
1001
1002- Fixed redis script cache gets bloated after update to bull 2.0 #426
1003
1004[Changes](https://github.com/OptimalBits/bull/compare/v2.2.1...v2.2.2)
1005
1006## v.2.2.1
1007
1008- Re-added createClient option that was removed by mistake.
1009- Corrected getJobCountByTypes, fixes #419 and #401
1010
1011[Changes](https://github.com/OptimalBits/bull/compare/v2.2.0...v2.2.1)
1012
1013## v.2.2.0
1014
1015- Much improved priority queues, simpler, faster and more reliable.
1016- Fixed issue where lua scripts where leaking memory.
1017- Improvements in local pause, fixing #446 and #447.
1018- Fix to increase delay time over 24 days #244
1019
1020[Changes](https://github.com/OptimalBits/bull/compare/v2.1.2...v2.2.0)
1021
1022## v.2.1.2
1023
1024- Fixed Error renewing lock LockError: Exceeded 0 attempts to lock the resource #437
1025- Fixed Unable to renew nonexisting lock on job fail #441
1026
1027[Changes](https://github.com/OptimalBits/bull/compare/v2.1.1...v2.1.2)
1028
1029## v.2.1.1
1030
1031- Catch errors produced in timers. Related to #441
1032
1033[Changes](https://github.com/OptimalBits/bull/compare/v2.1.0...v2.1.1)
1034
1035## v.2.1.0
1036
1037- Fixed #397, Error: Unable to renew nonexisting lock
1038- Fixed #402, Job.prototype.finished contains error in promise
1039- Fixed #371, "Unexpected token u in JSON at position 0" while processing job
1040- New feature #363, "method to permanently fail a job"
1041- Fix job.progress() to return the correct progress
1042
1043[Changes](https://github.com/OptimalBits/bull/compare/v2.0.0...v2.1.0)
1044
1045## v.2.0.0
1046
1047- Changed redis module to ioredis fixing many issues along the way, see changes.
1048
1049[Changes](https://github.com/OptimalBits/bull/compare/v1.1.3...v2.0.0)
1050
1051## v.1.1.3
1052
1053- fixed "Broken constructor pattern from recent commit" #384
1054- fixed "Queue.prototype.getWaiting() returns empty list if Queue is paused" #342
1055
1056[Changes](https://github.com/OptimalBits/bull/compare/v1.1.2...v1.1.3)
1057
1058## v1.1.2
1059
1060- regained backwards compatibility in events by using disturbed 1.0.6
1061
1062[Changes](https://github.com/OptimalBits/bull/compare/v1.1.1...v1.1.2)
1063
1064## v1.1.1
1065
1066- Returned this in queue##on and queue##once for backwards compatibility.
1067- [Fixes PriorityQueue Events and Local Worker Pause/Resume](https://github.com/OptimalBits/bull/pull/341)
1068
1069[Changes](https://github.com/OptimalBits/bull/compare/v1.1.0...v1.1.1)
1070
1071## v1.1.0
1072
1073- Fixed [job corruption issue](https://github.com/OptimalBits/bull/pull/359)
1074- The job id can be [overridden](https://github.com/OptimalBits/bull/pull/335) to implement job throttling behavior
1075- Added [`removeOnComplete` job option](https://github.com/OptimalBits/bull/pull/361)
1076- [More robust job retry](https://github.com/OptimalBits/bull/pull/318)
1077- Events are [now broadcast to all workers](https://github.com/OptimalBits/bull/commit/d55ad1c8f44f86be9b4e9f4fa9a3fc8a16c6e02d)
1078
1079[Changes](https://github.com/OptimalBits/bull/compare/v1.0.0...v1.1.0)
1080
1081## v1.0.0
1082
1083- improvements in clean (fixes and performance).
1084
1085[Changes](https://github.com/OptimalBits/bull/compare/v1.0.0-rc4...v1.0.0)
1086
1087## v1.0.0-rc4
1088
1089- fixed lock renew logic.
1090- atomized code for getting stalled jobs.
1091
1092[Changes](https://github.com/OptimalBits/bull/compare/v1.0.0-rc3...v1.0.0-rc4)
1093
1094## v1.0.0-rc3
1095
1096- smaller fixes.
1097
1098[Changes](https://github.com/OptimalBits/bull/compare/v1.0.0-rc2...v1.0.0-rc3)
1099
1100## v1.0.0-rc2
1101
1102- Improved locking when removing and processing stalled jobs.
1103- Fixed #302 EVALSHA failure.
1104- Fixed #295 error with redis 3.2.
1105- Correctly allows the specification of the db
1106- Honor start/end range for complete/failed jobs.
1107- Fixed #277 Memory Leaks With Large Queue.
1108- Support for custom key prefix for redis keys.
1109
1110[Changes](https://github.com/OptimalBits/bull/compare/v1.0.0-rc1...v1.0.0-rc2)
1111
1112## v1.0.0-rc1
1113
1114- Removed all potential dangerous hazards by atomizing many operations using
1115 cached LUA scripts.
1116- Improved performance around 400% compared to previous version.
1117- Better pause/resume (#266), and added pause for local workers.
1118- Fixed #272, #271, #261, #253, #240, #239
1119
1120[Changes](https://github.com/OptimalBits/bull/compare/v0.7.2...v1.0.0-rc1)
1121
1122## v0.7.2
1123
1124- Added local pause/resume functionality
1125- fixed memory leaks present in the run promise chain.
1126- fixed "Illegal access to a strict mode caller function".
1127
1128[Changes](https://github.com/OptimalBits/bull/compare/v0.7.1...v0.7.2)
1129
1130## v0.7.1
1131
1132- fixed storing of stacktraces
1133
1134[Changes](https://github.com/OptimalBits/bull/compare/v0.7.0...v0.7.1)
1135
1136## v0.7.0
1137
1138- store the return value from the job handlers.
1139- store stacktraces.
1140- improvements in delayed jobs.
1141
1142[Changes](https://github.com/OptimalBits/bull/compare/v0.6.0...v0.7.0)
1143
1144## v0.4.0
1145
1146- added a Queue##clean method
1147
1148[Changes](https://github.com/OptimalBits/bull/compare/v0.3.0...v0.4.0)
1149
1150## v0.3.0
1151
1152- added support for custom clients.
1153- added test support for node 0.12.
1154- timeout improvements.
1155- unit test improvements.
1156- added timeout to queue pop blocking call.
1157- removed when dependency.
1158
1159[Changes](https://github.com/OptimalBits/bull/compare/v0.2.7...v0.3.0)
1160
1161## v0.2.7
1162
1163[Changes](https://github.com/OptimalBits/bull/compare/v0.2.6...v0.2.7)
1164
1165## v0.2.6
1166
1167- [Fix] #103 When a queue start it do not process delayed job.
1168 [Changes](https://github.com/OptimalBits/bull/compare/v0.2.5...v0.2.6)
1169
1170## v0.2.5
1171
1172- [upgrade] Upgraded node redis to version 0.12.x
1173- [improvement] eslinted all code.
1174- [fix] added missing token when calling takeLock on jobs.
1175
1176[Changes](https://github.com/OptimalBits/bull/compare/v0.2.4...v0.2.5)
1177
1178## v0.2.4
1179
1180[Changes](https://github.com/OptimalBits/bull/compare/v0.2.3...v0.2.4)
1181
1182## v0.2.3
1183
1184[Changes](https://github.com/OptimalBits/bull/compare/v0.1.9...v0.2.3)
1185
1186## v0.1.9
1187
1188- [Improvement] Faster job removal. (manast)
1189
1190## v0.1.8
1191
1192- [Improvement] Better promisification of redis methods. (manast)
1193
1194## v0.1.7
1195
1196- [Feature] Added a convenience method for getting a job. (loginx)
1197- [Fix] Only set a redis db from options if defined. (jboga)
1198- [Fix] Fixed issue #52. (manast)
1199
1200## v0.1.6
1201
1202- [Fix] Improved and corrected job's getters.
1203- [Fix] Automatically restart queues in the event of redis disconnections.
1204- [Feature] Added support for adding jobs in a LIFO fashion.