Skip to content

Commit 14ac441

Browse files
committed
πŸ“¦ v3.0.0 (npm)
πŸ“¦ v3.0.0 __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 - πŸ‘¨β€πŸ’» `JoSk#clearTimeout()` and `JoSk#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 using `opts.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 `[email protected]` (*Mongo Database*) - 🀝 Compatibility and support of `[email protected]` (*MongoDB node.js driver*) - 🀝 Compatibility ans support of `[email protected]` __Dependencies:__ - πŸ“¦ `[dev]` `[email protected]`, *was `v4.5.0`* - πŸ“¦ `[dev]` added `[email protected]` for CRON tasks tests
1 parent 3fddf2e commit 14ac441

File tree

2 files changed

+52
-15
lines changed

2 files changed

+52
-15
lines changed

β€Žpackage-lock.jsonβ€Ž

Lines changed: 48 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žpackage.jsonβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "josk",
3-
"version": "2.4.1",
3+
"version": "3.0.0",
44
"description": "Scheduler and manager for jobs and tasks in Node.js on multi-server and clusters setup",
55
"main": "index.js",
66
"scripts": {
@@ -49,9 +49,9 @@
4949
"bson": "^4.6.3",
5050
"bson-ext": "^4.0.2",
5151
"chai": "^4.3.6",
52+
"cron-parser": "^4.4.0",
5253
"mocha": "^10.0.0",
53-
"mongodb": "^4.5.0",
54+
"mongodb": "^4.6.0",
5455
"pathval": "^1.1.1"
55-
},
56-
"dependencies": {}
56+
}
5757
}

0 commit comments

Comments
Β (0)