1 | # Next
|
2 |
|
3 | _Contributions welcome!_ https://github.com/agenda/agenda/pulls
|
4 |
|
5 | # [4.4.0](https://github.com/agenda/agenda/releases/tag/v4.4.0) / 2022-10-19
|
6 |
|
7 | - Feat: Add `drain()` method for graceful process shutdowns ([#1488](https://github.com/agenda/agenda/pull/1488)) thanks @nmehmedrnd
|
8 |
|
9 | # [4.3.0](https://github.com/agenda/agenda/releases/tag/v4.3.0) / 2022-05-10
|
10 |
|
11 | - Feat: `disableAutoIndex`
|
12 | - Feat: `shouldSaveResult`
|
13 |
|
14 | # 4.2.1 / 2021-08-09
|
15 |
|
16 | - fix: deprecation warning for collection.findOneAndUpdate ([#1338](https://github.com/agenda/agenda/pull/1338)) thanks @frobinsonj
|
17 |
|
18 | # 4.2.0 / 2021-08-05
|
19 |
|
20 | - Feat: Add top level disable and enable ([#1109](https://github.com/agenda/agenda/pull/1109)) thanks @pdfowler
|
21 | - fix(history): match cron-parser pattern ([#1335](https://github.com/agenda/agenda/pull/1335)) thanks @dockleryxk
|
22 | - fix: "RangeError: Maximum call stack size exceeded" ([#1365](https://github.com/agenda/agenda/pull/1365)) thanks @koresar
|
23 | - fix: JobAttributes.lockedAt to allow null values ([#1340](https://github.com/agenda/agenda/pull/1340)) thanks @tjramage
|
24 | - Updated dependencies: `mongodb@3.6.6`, `lodash@4.17.21`, as well as various dev dependencies.
|
25 | - Added node 16 in tests ([#1314](https://github.com/agenda/agenda/pull/1086)) thanks @simison
|
26 |
|
27 | # 4.1.3 / 2021-05-02
|
28 |
|
29 | - fix: export cjs and es (#1298) thanks @koresar
|
30 |
|
31 | # 4.1.2 / 2021-05-02
|
32 |
|
33 | - fix: broken main cjs export works again. See more [here](https://github.com/agenda/agenda/issues/1266#issuecomment-830628762).
|
34 |
|
35 | # 4.1.2 / 2021-04-04
|
36 |
|
37 | - Docs, JSDocs and TS typo fixes. Thanks @niftylettuce @thebestnom @simllll and @Igor-lkm
|
38 |
|
39 | - fix: typescript export needs es6 ([#1268](https://github.com/agenda/agenda/pull/#1268)) thanks @simllll
|
40 |
|
41 | # 4.1.1 / 2021-03-02
|
42 |
|
43 | - Compatibility with DefinitelyTyped/agenda ([#1258](https://github.com/agenda/agenda/pull/1258)) thanks @boredland
|
44 |
|
45 | # 4.1.0 / 2021-02-25
|
46 |
|
47 | - Added type information ([#1202](https://github.com/agenda/agenda/pull/1202) [#1243](https://github.com/agenda/agenda/pull/1243)) thanks @boredland, @leonardlin
|
48 |
|
49 | # 4.0.1 / 2021-01-16
|
50 |
|
51 | - Fix _"Cannot find module ./lib/agenda"_ bug due us not targeting correct ES5 files for distribution after the TypeScript rewrite. ([#1193](https://github.com/agenda/agenda/pull/1193))
|
52 | - Update dependencies
|
53 |
|
54 | # 4.0.0 / 2021-01-16
|
55 |
|
56 | - Add `agenda.close()` ([#450](https://github.com/agenda/agenda/pull/450)) thanks @simison
|
57 |
|
58 | - Add ability to schedule jobs with startDate, endDate, and skipping ([#361](https://github.com/agenda/agenda/pull/361)) thanks @suryanaik
|
59 |
|
60 | - Fix issue with concurrent locking beyond locklimit ([#1086](https://github.com/agenda/agenda/pull/1086)) thanks @leonardlin
|
61 |
|
62 | - Fix issue with too many locks being set asynchronously ([#1119](https://github.com/agenda/agenda/pull/1119)) thanks @GimpMaster
|
63 |
|
64 | - Upgrade `mongodb` dependency ~3.5.0 -> ~3.6.2 (security) ([#1122](https://github.com/agenda/agenda/pull/1122)) thanks @Elisa23
|
65 |
|
66 | - Upgrade to [Human Interval v2](https://github.com/agenda/human-interval/blob/master/History.md#200--2020-10-16), a refactor using [numbered](https://www.npmjs.com/package/numbered) package:
|
67 |
|
68 | - Supports all the formats as previously, and more!
|
69 | - Supports numbers written as English words (one, two hundred)
|
70 | - Supports time expressions in singular and plural (minute and minutes)
|
71 | - Supports negative numbers (-2)
|
72 | - Supports hyphenated words (twenty-five)
|
73 |
|
74 | - Upgrade various dependencies
|
75 |
|
76 | ## BREAKING
|
77 |
|
78 | - Switch from [ncb000gt/node-cron](https://www.npmjs.com/package/cron) to [harrisiirak/cron-parser](https://www.npmjs.com/package/cron-parser) for cron-pattern parsing. See issue ([#475](https://github.com/kelektiv/node-cron/issues/475))
|
79 |
|
80 | Previously month was 0-based (0=January). Going forward standard Unix pattern is used, which is 1-based (1=January).
|
81 |
|
82 | Please update existing cron-patterns that specify a month (4th position of a pattern). The month is now 1 - 12
|
83 |
|
84 | 1 = January
|
85 |
|
86 | 2 = February
|
87 |
|
88 | 3...
|
89 |
|
90 | | Example | Execute on 1st of January |
|
91 | |---------|---------------------------|
|
92 | | Old | 0 0 1 **0** * |
|
93 | | New | 0 0 1 **1** * |
|
94 |
|
95 | ([#1150](https://github.com/agenda/agenda/pull/1150))
|
96 |
|
97 | old Cron patterns
|
98 |
|
99 | ```
|
100 | * * * * * *
|
101 | | | | | | |
|
102 | | | | | | +-- Year (range: 1900-3000)
|
103 | | | | | +---- Day of the Week (range: 1-7, 1 standing for Monday)
|
104 | | | | +------ Month of the Year (range: 0-11) NOTE: Difference here
|
105 | | | +-------- Day of the Month (range: 1-31)
|
106 | | +---------- Hour (range: 0-23)
|
107 | +------------ Minute (range: 0-59)
|
108 | ```
|
109 |
|
110 | new cron patterns
|
111 |
|
112 | ```
|
113 | * * * * * *
|
114 | | | | | | |
|
115 | | | | | | +-- Day of the Week (range: 0-7, 0 or 7 is Sunday)
|
116 | | | | | +---- Month of the Year (range: 1-12) NOTE: Difference here
|
117 | | | | +------ Day of the Month (range: 1-31)
|
118 | | | +-------- Hour (range: 0-23)
|
119 | | +---------- Minute (range: 0-59)
|
120 | +------------ Second (range: 0-59, optional)
|
121 | ```
|
122 |
|
123 | # 3.1.0 / 2020-04-07
|
124 |
|
125 | _Stay safe!_
|
126 |
|
127 | - Fix for skipImmediate resetting nextRunAt to current date ([#860](https://github.com/agenda/agenda/pull/860)) (Thanks @AshlinDuncan!)
|
128 | - Fix deprecated reconnect options ([#948](https://github.com/agenda/agenda/pull/948)) (Thanks @ekegodigital!)
|
129 | - Add ability to set a skip when querying jobs. ([#898](https://github.com/agenda/agenda/pull/898)) (Thanks @cjolif!)
|
130 |
|
131 | Internal:
|
132 |
|
133 | - Fixed deprecated MongoDB functions in tests ([#928](https://github.com/agenda/agenda/pull/928)) (Thanks @MichielDeMey!)
|
134 | - Updated devDependencies
|
135 |
|
136 | Thank you @koresar, @sampathBlam, and @MichielDeMey helping to review PRs for this release! 👏
|
137 |
|
138 | # 3.0.0 / 2020-02-13
|
139 |
|
140 | - Support MongoDB's Unified Topology Design ([#921](https://github.com/agenda/agenda/pull/921)) (Thanks @viktorzavadil!)
|
141 | - Fix: check that the new nextRunAt is different that the previous nextRunAt ([#863](https://github.com/agenda/agenda/pull/863)) (Thanks @RaphaelRheault!)
|
142 | - Update dependencies. Most notably MongoDB driver 3.4 → 3.5 ([#899](https://github.com/agenda/agenda/pull/899), [#900](https://github.com/agenda/agenda/pull/900), [#903](https://github.com/agenda/agenda/pull/903), [#906](https://github.com/agenda/agenda/pull/906), [#908](https://github.com/agenda/agenda/pull/908), [#910](https://github.com/agenda/agenda/pull/910), [#912](https://github.com/agenda/agenda/pull/912), [#913](https://github.com/agenda/agenda/pull/913), [#920](https://github.com/agenda/agenda/pull/920), [#922](https://github.com/agenda/agenda/pull/922))
|
143 | - Documentation updates, thanks @MichielDeMey and @Sunghee2. ([#923](https://github.com/agenda/agenda/pull/923) & [#907](https://github.com/agenda/agenda/pull/907))
|
144 |
|
145 | ## BREAKING
|
146 |
|
147 | - Stop testing for Node.js 8. This might still work but we're no longer actively testing for it. ([#925](https://github.com/agenda/agenda/pull/925))
|
148 |
|
149 | # 2.3.0 / 2019-12-16
|
150 |
|
151 | - Improved performance in situations when there are many "expired" jobs in the database ([#869](https://github.com/agenda/agenda/pull/869)) (Thanks @mfred488!)
|
152 | - Fix periodic node.js process unhandledRejection ([#887](https://github.com/agenda/agenda/pull/887)) (Thanks @koresar and @Scorpil)
|
153 | - Update dependencies
|
154 |
|
155 | # 2.2.0 / 2019-11-24
|
156 |
|
157 | - Fix `skipImmediate` option in `.every` ([#861](https://github.com/agenda/agenda/pull/861)) (Thanks @erics2783!)
|
158 | - Add try/catch block to agenda#now method ([#876](https://github.com/agenda/agenda/pull/876)) (Thanks @sampathBlam!)
|
159 | - Refactor job queuing mechanism. Agenda n ow guarantees priority when executing jobs scheduled the same datetime. Fixes also some tests. ([#852](https://github.com/agenda/agenda/pull/852)) (Thank you @dmbarreiro!)
|
160 | - Update dependencies (Kudos @simison!)
|
161 | Most notably `mongodb` ~3.2.7 -> ~3.3.0 ([changelog](https://github.com/mongodb/node-mongodb-native/tree/v3.3.0)) — highlights:
|
162 | - Mongo DB Server Version 4.2 feature support
|
163 | - Merged `mongodb-core` into `node-mongodb-native`
|
164 | - Beta support for MongoDB Client-Side Encryption
|
165 | - SRV Polling for Sharded Clusters
|
166 | - Updates to documentation (Thank you @lautarobock, @sampathBlam, @indatawetrust)
|
167 |
|
168 | # 2.1.0 / 2019-09-09
|
169 |
|
170 | - Support async functions in job processing ([#653](https://github.com/agenda/agenda/pull/653)) (thanks @princjef!)
|
171 | - Allow sorting and limiting jobs when searching ([#665](https://github.com/agenda/agenda/pull/665)) (thank you @edwin-jones)
|
172 | - Update MongoClient connection settings with `useNewUrlParser: true` to remove the deprecation warning. ([#806](https://github.com/agenda/agenda/pull/806)) (thanks @dpawson905!)
|
173 | - Allow valid date strings when scheduling ([#808](https://github.com/agenda/agenda/pull/808)) (Thanks @wingsbob!)
|
174 | - Update dependencies ([#820](https://github.com/agenda/agenda/pull/820))
|
175 | - Update documentation (kudos @dandv, @pedruino and many others!)
|
176 | - Fix linting errors ([#847](https://github.com/agenda/agenda/pull/847)) (thanks @dmbarreiro!)
|
177 |
|
178 | # 2.0.2 / 2018-09-15
|
179 |
|
180 | - Fixes a MongoDB connection string issue with Atlas ([#674](https://github.com/agenda/agenda/pull/674)
|
181 |
|
182 | # 2.0.1 / 2018-08-30
|
183 |
|
184 | - Fix a bug where `job.touch()` wasn't promise based, as it should've been ([#667](https://github.com/agenda/agenda/pull/667)
|
185 |
|
186 | # 2.0.0 / 2018-07-19
|
187 |
|
188 | - Rewrite tests: replace `mocha` and `blanket` with `ava` and `nyc` ([#506](https://github.com/agenda/agenda/pull/506))
|
189 | - Optimization: don't try and unlock jobs when `_lockedJobs` is empty ([#509](https://github.com/agenda/agenda/pull/509))
|
190 | - Code cleanup ([#503](https://github.com/agenda/agenda/pull/503))
|
191 | - Ensure tests pass for Node.js version 10 [#608](https://github.com/agenda/agenda/pull/608))
|
192 | - Add `skipImmediate` to `repeatEvery()` options to skip immediate run of repeated jobs when Agenda starts. See [documentation](https://github.com/agenda/agenda/blob/202c9e95b40115dc763641f55180db9a4f358272/README.md#repeateveryinterval-options) ([#594](https://github.com/agenda/agenda/pull/594))
|
193 | - Fixes some flaky tests
|
194 | - Adds docs generator (`npm run docs` to generate `/docs`)
|
195 |
|
196 | ## BREAKING
|
197 |
|
198 | - Rewrite Agenda API support promises! ([#557](https://github.com/agenda/agenda/pull/557))
|
199 |
|
200 | No more callbacks! Instead of:
|
201 |
|
202 | ```js
|
203 | function graceful() {
|
204 | agenda.stop(function () {
|
205 | process.exit(0);
|
206 | });
|
207 | }
|
208 | ```
|
209 |
|
210 | You need to:
|
211 |
|
212 | ```js
|
213 | async function graceful() {
|
214 | await agenda.stop();
|
215 | process.exit(0);
|
216 | }
|
217 | ```
|
218 |
|
219 | You don't anymore have to listen for `start` event. Instead you can do:
|
220 |
|
221 | ```js
|
222 | await agenda.start();
|
223 | agenda.every("10 minutes", "example");
|
224 | ```
|
225 |
|
226 | However, this will still work:
|
227 |
|
228 | ```js
|
229 | agenda.on("ready", function () {
|
230 | agenda.every("10 minutes", "example");
|
231 | agenda.start();
|
232 | });
|
233 | ```
|
234 |
|
235 | See the documentation for more!
|
236 |
|
237 | - Drop support for Node.js versions 4, 5 and 6 ([#557](https://github.com/agenda/agenda/pull/557) / [#608](https://github.com/agenda/agenda/pull/608))
|
238 | - Drop support for MongoDB 2.4 ([#497](https://github.com/agenda/agenda/pull/497))
|
239 | - Update Native MongoDB driver to 3.1 from 2.2 ([#616](https://github.com/agenda/agenda/pull/616))
|
240 | - Jobs _emit_ errors instead of throwing them
|
241 |
|
242 | # 1.0.3 / 2017-10-17
|
243 |
|
244 | - Update dependencies ([2854c7e](https://github.com/agenda/agenda/commit/65159172b34b9a1344814619c117474bcc323f8d))
|
245 |
|
246 | # 1.0.2 / 2017-10-17
|
247 |
|
248 | - Update dependencies ([2854c7e](https://github.com/agenda/agenda/commit/2854c7e3847cc8aecea702df8532789c51b1ed30))
|
249 |
|
250 | # 1.0.1 / 2017-10-10
|
251 |
|
252 | - Update dependencies `cron` and `debug` ([#505](https://github.com/agenda/agenda/pull/505))
|
253 |
|
254 | # 1.0.0 / 2017-08-12
|
255 |
|
256 | - Gracefully recover from losing connection to MongoDB ([#472](https://github.com/agenda/agenda/pull/472))
|
257 | - Code cleanup ([#492](https://github.com/agenda/agenda/pull/492))
|
258 |
|
259 | ## BREAKING
|
260 |
|
261 | - Fix jobs not running in order of them being queued ([#464](https://github.com/agenda/agenda/pull/464))
|
262 |
|
263 | - Changes in Cron string parsing, changed parsing library from [ncb000gt/node-cron](https://www.npmjs.com/package/cron) to [harrisiirak/cron-parser](https://www.npmjs.com/package/cron-parser) ([#475](https://github.com/agenda/agenda/pull/475))
|
264 |
|
265 | Previously Agenda would treat months as 0-11 where as normally, cron months are parsed as 1-12.
|
266 |
|
267 | ```
|
268 | * * * * * *
|
269 | | | | | | |
|
270 | | | | | | +-- Year (range: 1900-3000)
|
271 | | | | | +---- Day of the Week (range: 1-7, 1 standing for Monday)
|
272 | | | | +------ Month of the Year (range: 0-11) NOTE: Difference here
|
273 | | | +-------- Day of the Month (range: 1-31)
|
274 | | +---------- Hour (range: 0-23)
|
275 | +------------ Minute (range: 0-59)
|
276 | ```
|
277 |
|
278 | Starting in version `1.0.0`, cron will be parsed in the standard UNIX style:
|
279 |
|
280 | ```
|
281 | * * * * * *
|
282 | | | | | | |
|
283 | | | | | | +-- Year (range: 1900-3000)
|
284 | | | | | +---- Day of the Week (range: 1-7, 1 standing for Monday)
|
285 | | | | +------ Month of the Year (range: 1-12) NOTE: Difference here
|
286 | | | +-------- Day of the Month (range: 1-31)
|
287 | | +---------- Hour (range: 0-23)
|
288 | +------------ Minute (range: 0-59)
|
289 | ```
|
290 |
|
291 | # 0.10.2 / 2017-08-10
|
292 |
|
293 | - Adds debugging, [see instructions from README.md](https://github.com/agenda/agenda#to-turn-on-logging-please-set-your-debug-env-variable-like-so).
|
294 |
|
295 | # 0.10.1 / 2017-08-10
|
296 |
|
297 | - Unpublished and re-published as v0.10.2
|
298 |
|
299 | # 0.10.0 / 2017-08-08
|
300 |
|
301 | - Replace the deprecated `findAndModify` method from native MongoDB driver to `findOneAndUpdate` ([#448](https://github.com/agenda/agenda/pull/448))
|
302 | - Going forward, we won't ensure Node.js v0.10 and v0.11 compatibility anymore ([#449](https://github.com/agenda/agenda/pull/449))
|
303 | - Code cleanup ([#491](https://github.com/agenda/agenda/pull/491), [#489](https://github.com/agenda/agenda/pull/489), [#488](https://github.com/agenda/agenda/pull/488), [#487](https://github.com/agenda/agenda/pull/487))
|
304 |
|
305 | # 0.9.1 / 2017-03-22
|
306 |
|
307 | Republish release for NPM. Includes fixes from 0.9.0 release:
|
308 |
|
309 | - add support for `mongoose.connection` for `agenda.mongo()`, fixes #156
|
310 | - Fix for race condition in the afterEach clean up code (#355)
|
311 | - Fixes + protects against concurrency not being honored (#379)
|
312 |
|
313 | # 0.9.0 / 2016-12-28
|
314 |
|
315 | - add support for `mongoose.connection` for `agenda.mongo()`, fixes #156
|
316 | - Fix for race condition in the afterEach clean up code (#355)
|
317 | - Fixes + protects against concurrency not being honored (#379)
|
318 | - Bump mongodb dep version to support ssl conns (#368)
|
319 | - Increase Mongo compatability to 2.4
|
320 |
|
321 | # 0.8.1 / 2016-05-08
|
322 |
|
323 | - Add Node v6 to CI
|
324 | - 1. Update dev dependencies for out of date. 2. Small fix to job.js for invalid repeatAt
|
325 | - Update .npmignore
|
326 | - Fix doc: cb not marked as optional (closes #279)
|
327 | - Including nextRunAt check in query for on the fly lock.
|
328 | - Picking up any job with an expired lock (not just recurring or queued).
|
329 | - Fixed failing test
|
330 | - throw on processJobResult error
|
331 | - Requeuing concurrency blocked jobs wrt priority.
|
332 | - Processing the next job that is not blocked by concurrency.
|
333 | - Fix test which fails only sometimes
|
334 | - Add agendash as alternative ui
|
335 | - Merge pull request #288 from diesal11/master
|
336 |
|
337 | # 0.8.0 / 2016-02-21
|
338 |
|
339 | - Implementing lock limit
|
340 | - Use callback to handle errors if we can.
|
341 |
|
342 | # 0.7.9 / 2016-02-05
|
343 |
|
344 | - fix: ReferenceError: MongoError is not defined
|
345 |
|
346 | # 0.7.8 / 2016-02-03
|
347 |
|
348 | - fix: computeNextRunAt timezone bug
|
349 |
|
350 | # 0.7.7 / 2016-01-25
|
351 |
|
352 | - feat: add timezone option for repeatAt.
|
353 | - fix: job locking logic
|
354 | - fix: bug with jobs expiring and being enqueued anyway
|
355 | - fix: bug where jobs wouldn't run concurrently
|
356 | - fix: agenda throwing an exception when starting a job defined on another instance
|
357 | - fix: possible bug when using extended Array.prototype
|
358 |
|
359 | # 0.7.6 / 2016-01-04
|
360 |
|
361 | - feat: Add failCount attribute to jobs
|
362 | - fix: job priority for on the fly job lock and queueing is now respected
|
363 | - fix: make agenda.cancel no longer require a callback
|
364 | - fix: stale jobs running after a more up-to-date job has completed
|
365 | - fix: fail/success event emit after jobs have been saved in the database
|
366 | - fix: ready event when using config.mongo
|
367 |
|
368 | # 0.7.5 / 2015-12-05
|
369 |
|
370 | - Adds options.insertOnly to job.unique that prevents the job from being updated multiple times on multiple runs
|
371 |
|
372 | # 0.7.4 / 2015-11-26
|
373 |
|
374 | - fix job priority scheduling
|
375 |
|
376 | # 0.7.3 / 2015-11-22
|
377 |
|
378 | - add support for success callbacks on schedule, every and now (@mgregson)
|
379 | - using self for reference to collection (@3choBoomer)
|
380 | - emit ready from db_init (@jdiamond)
|
381 |
|
382 | # 0.7.2 / 2015-10-22
|
383 |
|
384 | - Rollback job completion callback to pre-0.7.0
|
385 | - Emit events when Agenda init is ready or has failed
|
386 |
|
387 | # 0.7.0 / 2015-09-29
|
388 |
|
389 | - Switch from mongoskin to mongodb native. Big thanks to the
|
390 | [classdojo](http://classdojo.com) team for this. Shoutouts to @liamdon,
|
391 | @jetzhou and @byronmwong for the help!
|
392 |
|
393 | # 0.6.28 / 2015-02-13
|
394 |
|
395 | - Fix for when \_findAndLockNextJob returns multiple jobs.
|
396 |
|
397 | # 0.6.27 / 2015-02-04
|
398 |
|
399 | - code cleanup, fix leaking ignoreErrors
|
400 |
|
401 | # 0.6.26 / 2014-11-30
|
402 |
|
403 | - fix double run bug
|
404 |
|
405 | # 0.6.25 / 2014-11-20
|
406 |
|
407 | - Allow specifying mongo config (optionally)
|
408 |
|
409 | # 0.6.24 / 2014-10-31
|
410 |
|
411 | - Fix .every() running when using cron strings.
|
412 |
|
413 | # 0.6.23 / 2014-10-25
|
414 |
|
415 | - Remove debugger
|
416 |
|
417 | # 0.6.22 / 2014-10-22
|
418 |
|
419 | - add job.unique (@nwkeeley)
|
420 |
|
421 | # 0.6.21 / 2014-10-20
|
422 |
|
423 | - Re-add tests for those who use the `npat` option.
|
424 |
|
425 | # 0.6.20 / 2014-10-14
|
426 |
|
427 | - add job.disable() and job.enable()
|
428 | - Added .npmignore for test/ build scripts.
|
429 |
|
430 | # 0.6.19 / 2014-09-03
|
431 |
|
432 | - Create database indexes when initializing Agenda instance (@andyneville)
|
433 |
|
434 | # 0.6.18 / 2014-08-16
|
435 |
|
436 | - Implemented job.isRunning()
|
437 | - Fixed issue where jobs would continue being processed after agenda is explicitly stopped
|
438 | - Fixed complete event being emitted before asynchronous jobs are finished
|
439 |
|
440 | # 0.6.17 / 2014-08-11
|
441 |
|
442 | - add job.repeatAt
|
443 |
|
444 | # 0.6.16 / 2014-06-16
|
445 |
|
446 | - fix job queue being processed even when agenda was stopped
|
447 | - fix agenda.every method
|
448 |
|
449 | # 0.6.15 / 2014-06-11
|
450 |
|
451 | - fix agenda.every overwriting nextRunAt [closes #70]
|
452 |
|
453 | # 0.6.14 / 2014-06-06
|
454 |
|
455 | - Added agenda.cancel function
|
456 | - Fix more circumstances where jobs re-create after remove
|
457 |
|
458 | # 0.6.13 / 2014-06-01
|
459 |
|
460 | - fix jobs resaving after remove [closes #66]
|
461 | - fix jobs skipping in line from database querying
|
462 |
|
463 | # 0.6.12/ 2014-05-22
|
464 |
|
465 | - update saveJob to allow for pre-set Ids [closes #64]
|
466 |
|
467 | # 0.6.11/ 2014-05-19
|
468 |
|
469 | - add job.touch to reset lock lifetime [references #63]
|
470 |
|
471 | # 0.6.10 / 2014-05-13
|
472 |
|
473 | - make job saving use agenda.\_name
|
474 |
|
475 | # 0.6.9 / 2014-05-13
|
476 |
|
477 | - add agenda.name config method
|
478 | - fix agenda.mongo not being chainable
|
479 |
|
480 | # 0.6.8 / 2014-05-06
|
481 |
|
482 | - add graceful job unlocking to stop
|
483 |
|
484 | # 0.6.7 / 2014-04-21
|
485 |
|
486 | - Implement, document, and test defaultLockLifetime [@shakefu]
|
487 |
|
488 | # 0.6.6 / 2014-04-21
|
489 |
|
490 | - Bump date.js version [@psema4]
|
491 |
|
492 | # 0.6.5 / 2014-04-17
|
493 |
|
494 | - mongoskin version bump (better support for mongodb 2.6) [@loginx]
|
495 |
|
496 | # 0.6.4 / 2014-04-09
|
497 |
|
498 | - fix $setOnInsert with empty obj cause mongodb 2.6 complain [@inetfuture]
|
499 |
|
500 | # 0.6.3 / 2014-04-07
|
501 |
|
502 | - fix cron-jobs executing multiple times
|
503 | - fail the job if repeat interval is wrong
|
504 |
|
505 | # 0.6.2 / 2014-03-25
|
506 |
|
507 | - fix bug that resulted in jobs scheduled in memory to always re-run
|
508 | - Update mongoskin to 1.3
|
509 |
|
510 | # 0.6.1 / 2014-03-24
|
511 |
|
512 | - allow every and schedule to take array of job names
|
513 |
|
514 | # 0.6.0 / 2014-03-21 (NO BREAKING CHANGES)
|
515 |
|
516 | - convert to using setTimeout for precise job scheduling [closes #6]
|
517 |
|
518 | # 0.5.10/ 2014-03-20
|
519 |
|
520 | - fix agenda.every not properly saving jobs
|
521 | - improve instantiating jobs, fixes bug where certain attrs weren't loaded in
|
522 |
|
523 | # 0.5.9 / 2014-03-10
|
524 |
|
525 | - add job#remove method
|
526 |
|
527 | # 0.5.8 / 2014-03-07
|
528 |
|
529 | - Fixed single jobs not being saved properly [closes #38]
|
530 |
|
531 | # 0.5.7 / 2014-03-06
|
532 |
|
533 | - fix every re-running jobs out of queue at load
|
534 |
|
535 | # 0.5.6 / 2014-02-18
|
536 |
|
537 | - Added failing for jobs with undefined definitions
|
538 | - Added agenda.purge() to remove old jobs
|
539 |
|
540 | # 0.5.5 / 2014-01-28
|
541 |
|
542 | - added support to directly give mongoskin object, to help minimize connections
|
543 |
|
544 | # 0.5.4 / 2014-01-09
|
545 |
|
546 | - Added start event to jobs. (@clayzermki)
|
547 |
|
548 | # 0.5.3 / 2014-01-06
|
549 |
|
550 | - Added agenda.now method
|
551 |
|
552 | # 0.5.2 / 2014-01-06
|
553 |
|
554 | - Added ability for job.fail to take an error
|
555 |
|
556 | # 0.5.1 / 2013-01-04 (Backwards compatible!)
|
557 |
|
558 | - Updated version of humanInterval, adding weeks and months support
|
559 |
|
560 | # 0.5.0 / 2013-12-19 (Backwards compatible!)
|
561 |
|
562 | - Added job locking mechanism, enabling support for multiple works / agenda instances (@bars3s)
|
563 |
|
564 | # 0.4.4 / 2013-12-13
|
565 |
|
566 | - fix job.toJson method: add failReason & failedAt attrs (Broken in 0.4.3 and 0.4.2)
|
567 | - fix job cb for working with 'q' promises
|
568 |
|
569 | # 0.4.3 / 2013-12-13
|
570 |
|
571 | - fix job.schedule's taking Date object as 'when' argument [@bars3s]
|
572 |
|
573 | # 0.4.2 / 2013-12-11
|
574 |
|
575 | - Refactored Job to ensure that everything is stored as an ISODate in the Database. [Closes #14] [@raisch]
|
576 |
|
577 | # 0.4.1 / 2013-12-10
|
578 |
|
579 | - Added support for synchronous job definitions
|
580 |
|
581 | # 0.4.0 / 2013-12-04
|
582 |
|
583 | - Added Cron Support [Closes #2]
|
584 | - removed modella dependency
|
585 |
|
586 | # 0.3.1 / 2013-11-19
|
587 |
|
588 | - Fix for setImmediate on Node 0.8
|
589 |
|
590 | # 0.3.0 / 2013-11-19
|
591 |
|
592 | - Added Events to the Event Queue [References #7]
|
593 |
|
594 | # 0.2.1 / 2013-11-14
|
595 |
|
596 | - Fixed a bug where mongo wasn't giving updated document
|
597 |
|
598 | # 0.2.0 / 2013-11-07
|
599 |
|
600 | - Added error for running undefined job. [Closes #4]
|
601 | - Fixed critical error where new jobs are not correctly saved.
|
602 |
|
603 | # 0.1.3 / 2013-11-06
|
604 |
|
605 | - Small Bug fix for global-namespace pollution
|
606 |
|
607 | # 0.1.2 / 2013-10-31
|
608 |
|
609 | - Updated write concern to avoid annoying notices
|
610 |
|
611 | # 0.1.1 / 2013-10-28
|
612 |
|
613 | - Removed unecessary UUID code
|
614 |
|
615 | # 0.1.0 / 2013-10-28
|
616 |
|
617 | - Initial Release
|
618 |
|
\ | No newline at end of file |