v3.0.0
π¦ v3.0.0
Now βοΈ meteor
and π¦ NPM
follow the same versioning pattern. In this release we have added couple of new features and improved existing codebase.
New features:
- β¨
opts.lockCollectionName
βnew JoSk()
constructor option - β¨
opts.debug
βnew JoSk()
constructor option - π¨βπ»
ready()
β Function passed as an argument to a scheduled task now accepts a callback, see CRON usage example - π¨βπ»
JoSk#clearTimeout()
andJoSk#clearInterval()
β Methods now accept callback as a last argument
Major changes:
- π·ββοΈ Now all JoSk instances share the same
*.lock
collection, this behavior can get changed usingopts.lockCollectionName
constructor option
Other changes:
- π Add examples for CRON instructions usage
- π¨βπ¬ Improve test-cases coverage to 97%
- π¨βπ» Overall codebase refactoring and performance improvements
- π€ Compatibility and support of
mongod@5.0.8
(Mongo Database) - π€ Compatibility and support of
mongodb@4.6.0
(MongoDB node.js driver) - π€ Compatibility ans support of
meteor@2.7.1
Dependencies:
- π¦
[dev]
mongodb@4.6.0
, wasv4.5.0
- π¦
[dev]
addedcron-parser@4.4.0
for CRON tasks tests