Changelog History
Page 1
-
v3.1.0 Changes
April 07, 2020Stay safe!
- ๐ Fix for skipImmediate resetting nextRunAt to current date (#860) (Thanks @AshlinDuncan!)
- ๐ Fix deprecated reconnect options (#948) (Thanks @ekegodigital!)
- โ Add ability to set a skip when querying jobs. (#898) (Thanks @cjolif!)
Internal:
- ๐ Fixed deprecated MongoDB functions in tests (#928) (Thanks @MichielDeMey!)
- โก๏ธ Updated devDependencies
๐ Thank you @koresar, @sampathBlam, and @MichielDeMey helping to review PRs for this release! ๐
-
v3.0.0 Changes
February 13, 2020- ๐ Support MongoDB's Unified Topology Design (#921) (Thanks @viktorzavadil!)
- ๐ Fix: check that the new nextRunAt is different that the previous nextRunAt (#863) (Thanks @RaphaelRheault!)
- โก๏ธ Update dependencies. Most notably MongoDB driver 3.4 โ 3.5 (#899, #900, #903, #906, #908, #910, #912, #913, #920, #922)
- ๐ Documentation updates, thanks @MichielDeMey and @Sunghee2. (#923 & #907)
๐ฅ BREAKING
- โ Stop testing for Node.js 8. This might still work but we're no longer actively testing for it. (#925)
# 2.3.0 / 2019-12-16
- ๐ Improved performance in situations when there are many "expired" jobs in the database (#869) (Thanks @mfred488!)
- ๐ Fix periodic node.js process unhandledRejection (#887) (Thanks @koresar and @Scorpil)
- โก๏ธ Update dependencies
# 2.2.0 / 2019-11-24
- Fix
skipImmediate
option in.every
(#861) (Thanks @erics2783!) - Add try/catch block to agenda#now method (#876) (Thanks @sampathBlam!)
- Refactor job queuing mechanism. Agenda n ow guarantees priority when executing jobs scheduled the same datetime. Fixes also some tests. (#852) (Thank you @dmbarreiro!)
- Update dependencies (Kudos @simison!)
Most notably
mongodb
~3.2.7 -> ~3.3.0 (changelog) โ highlights:- Mongo DB Server Version 4.2 feature support
- Merged
mongodb-core
intonode-mongodb-native
- Beta support for MongoDB Client-Side Encryption
- SRV Polling for Sharded Clusters
- Updates to documentation (Thank you @lautarobock, @sampathBlam, @indatawetrust)
# 2.1.0 / 2019-09-09
- Support async functions in job processing (#653) (thanks @princjef!)
- Allow sorting and limiting jobs when searching (#665) (thank you @edwin-jones)
- Update MongoClient connection settings with
useNewUrlParser: true
to remove the deprecation warning. (#806) (thanks @dpawson905!) - Allow valid date strings when scheduling (#808) (Thanks @wingsbob!)
- Update dependencies (#820)
- Update documentation (kudos @dandv, @pedruino and many others!)
- Fix linting errors (#847) (thanks @dmbarreiro!)
# 2.0.2 / 2018-09-15
- Fixes a MongoDB connection string issue with Atlas (#674
# 2.0.1 / 2018-08-30
- Fix a bug where
job.touch()
wasn't promise based, as it should've been (#667
# 2.0.0 / 2018-07-19
- Rewrite tests: replace
mocha
andblanket
withava
andnyc
(#506) - Optimization: don't try and unlock jobs when
_lockedJobs
is empty (#509) - Code cleanup (#503)
- Ensure tests pass for Node.js version 10 #608)
- Add
skipImmediate
torepeatEvery()
options to skip immediate run of repeated jobs when Agenda starts. See documentation (#594) - Fixes some flaky tests
- Adds docs generator (
npm run docs
to generate/docs
)
๐ฅ BREAKING
- ๐ Rewrite Agenda API support promises! (#557)
No more callbacks! Instead of:
function graceful() { agenda.stop(function () { process.exit(0); }); }
You need to:
async function graceful() { await agenda.stop(); process.exit(0); }
You don't anymore have to listen for
start
event. Instead you can do:await agenda.start(); agenda.every("10 minutes", "example");
However, this will still work:
agenda.on("ready", function () { agenda.every("10 minutes", "example"); agenda.start(); });
See the documentation for more!
-
v2.3.0 Changes
December 16, 2019 -
v2.2.0 Changes
November 24, 2019- Fix
skipImmediate
option in.every
(#861) (Thanks @erics2783!) - Add try/catch block to agenda#now method (#876) (Thanks @sampathBlam!)
- Refactor job queuing mechanism. Agenda n ow guarantees priority when executing jobs scheduled the same datetime. Fixes also some tests. (#852) (Thank you @dmbarreiro!)
- Update dependencies (Kudos @simison!)
Most notably
mongodb
~3.2.7 -> ~3.3.0 (changelog) โ highlights:- Mongo DB Server Version 4.2 feature support
- Merged
mongodb-core
intonode-mongodb-native
- Beta support for MongoDB Client-Side Encryption
- SRV Polling for Sharded Clusters
- Updates to documentation (Thank you @lautarobock, @sampathBlam, @indatawetrust)
- Fix
-
v2.1.0 Changes
September 09, 2019- Support async functions in job processing (#653) (thanks @princjef!)
- Allow sorting and limiting jobs when searching (#665) (thank you @edwin-jones)
- Update MongoClient connection settings with
useNewUrlParser: true
to remove the deprecation warning. (#806) (thanks @dpawson905!) - Allow valid date strings when scheduling (#808) (Thanks @wingsbob!)
- Update dependencies (#820)
- Update documentation (kudos @dandv, @pedruino and many others!)
- Fix linting errors (#847) (thanks @dmbarreiro!)
-
v2.0.2 Changes
September 15, 2018- Fixes a MongoDB connection string issue with Atlas (#674
-
v2.0.1 Changes
August 30, 2018- Fix a bug where
job.touch()
wasn't promise based, as it should've been (#667
- Fix a bug where
-
v2.0.0 Changes
July 19, 2018- Rewrite tests: replace
mocha
andblanket
withava
andnyc
(#506) - Optimization: don't try and unlock jobs when
_lockedJobs
is empty (#509) - Code cleanup (#503)
- Ensure tests pass for Node.js version 10 #608)
- Add
skipImmediate
torepeatEvery()
options to skip immediate run of repeated jobs when Agenda starts. See documentation (#594) - Fixes some flaky tests
- Adds docs generator (
npm run docs
to generate/docs
)
๐ฅ BREAKING
Rewrite Agenda API support promises! (#557)
No more callbacks! Instead of:
function graceful() { agenda.stop(function() { process.exit(0); }); }
You need to:
async function graceful() { await agenda.stop(); process.exit(0); }
You don't anymore have to listen for
start
event. Instead you can do:await agenda.start(); agenda.every('10 minutes', 'example');
However, this will still work:
agenda.on('ready', function () { agenda.every('10 minutes', 'example'); agenda.start(); });
See the documentation for more!
Drop support for MongoDB 2.4 (#497)
Update Native MongoDB driver to 3.1 from 2.2 (#616)
Jobs emit errors instead of throwing them
- Rewrite tests: replace
-
v1.0.3 Changes
October 17, 2017- Update dependencies (2854c7e)
-
v1.0.2 Changes
October 17, 2017- Update dependencies (2854c7e)